/* ===========================================
   CSS VARIABLES (Design System)
   =========================================== */
:root {
    --white: #FFFFFF;
/* #FFFFFF */
/* #0e0807 */
/* #f8f6f3 */


    /* Backgrounds */
    --white-smoke: #FFFFFF;
    --hero-mint: #FFFFFF;
    --frozen-water: #f0ede9; /* subtle hover bg */

    /* Primary colour (replacing teal) */
    --dark-teal: #06192d;
;
    --dark-teal-hover: #0a2d51; /* slightly lighter for hover */

    /* Text */
    --text-primary: #06192d;
    --text-muted: #6b6463;

    /* Borders */
    --border-light: #e8e3df;
}

/* ===========================================
   RESET & BASE
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white-smoke);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===========================================
   SKIP LINK (Accessibility)
   =========================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--dark-teal);
    color: var(--white);
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0 0 4px 0;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* ===========================================
   DEV CONTROLS (Draggable Toggle Panel)
   HIDDEN - Change display to 'flex' to show again
   =========================================== */
.dev-controls {
    display: none; /* Change to 'flex' to show again */
    position: fixed;
    bottom: 12px;
    right: 12px;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
    padding: 10px 14px;
    border-radius: 8px;
    gap: 16px;
    align-items: center;
    backdrop-filter: blur(10px);
    cursor: move;
    user-select: none;
}

.dev-controls:active {
    cursor: grabbing;
}

.dev-controls .drag-handle {
    color: rgba(255,255,255,0.3);
    font-size: 14px;
    margin-right: 4px;
    cursor: grab;
}

.dev-controls .control-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dev-controls .control-label {
    color: rgba(255,255,255,0.6);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dev-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s;
}

.dev-btn:hover {
    background: rgba(255,255,255,0.2);
}

.dev-btn.active {
    background: #7c3aed;
}

/* Hidden cards when in 3-card mode */
.portfolio-card.hidden-card {
    display: none !important;
}

/* Hidden testimonial cards when in 3-card mode */
.testimonial-card-full.hidden-card {
    display: none !important;
}

/* Center track when all cards fit */
.carousel-track.centered {
    justify-content: center;
}

/* ===========================================
   PAGE CONTAINER (Seamless - no visible edge)
   =========================================== */
.page-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: max-width 0.3s ease;
}

.page-container.width-1200 {
    max-width: 1200px;
}

.page-container.width-1440 {
    max-width: 1440px;
}

/* ===========================================
   SECTION 1: NAVIGATION
   =========================================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.nav-logo-icon {
    height: 32px;
    width: auto;
}

.nav-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-teal);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--dark-teal-hover);
}

.nav-link.active {
    color: var(--dark-teal);
    border-bottom: 2px solid var(--dark-teal);
    padding-bottom: 4px;
}

.nav-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.social-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.social-icon:hover {
    opacity: 0.7;
}

/* ===========================================
   SECTION 2: HERO (Flexible proportions)
   =========================================== */
.hero {
    padding: 16px 48px 64px;
    background: var(--hero-mint);
}

.hero-container {
    display: flex;
    gap: 48px;
    margin: 0 auto;
}

/* Hide mobile intro on desktop */
.hero-intro {
    display: none;
}

.hero-left {
    flex: 1;
    min-width: 380px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-trust-badge {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-headline {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-subheadline {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* Toolstack */
.toolstack {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.toolstack-icons {
    display: flex;
    gap: 16px;
}

.tool-icon {
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon img {
    width: 100%;
    height: 100%;
}

.cta-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.cta-primary {
    display: inline-block;
    background: var(--dark-teal);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.cta-primary:hover {
    background: var(--dark-teal-hover);
}

.cta-secondary {
    display: inline-block;
    background: var(--white);
    border: 2px solid var(--dark-teal);
    color: var(--dark-teal);
    padding: 16px 38px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-secondary:hover {
    background: var(--frozen-water);
}

.hero-fud {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.hero-image {
    padding-top: 40px;      
    text-align: center;     
    flex: 1; 
    max-width: 650px;
    aspect-ratio: 637 / 530;
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(-50px);
    
    /* ADD THESE TO CENTER THE IMAGE WITHIN THE BOX */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    /* REDUCE THIS PERCENTAGE TO "ZOOM OUT" MORE */
    width: 70%;             
    height: auto;
    display: block;
    border-radius: 8px; /* Optional: adds a slight curve to the image itself */
}

/* Social Proof Bar */
.social-proof-bar {
    padding: 48px 90px;
    text-align: center;
    background: var(--white);
}

.social-proof-label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.logo-item {
    width: 200px;
    height: 80px;
    background: transparent;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    padding: 12px;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Hide duplicate logos on desktop (only needed for mobile marquee) */
.logo-item.logo-duplicate {
    display: none;
}

/* Individual logo alignment fixes for consistent baseline */
.logo-item:nth-child(4) img {
    /* Viasat - wave graphic sits high, text below, needs significant upward shift */
    transform: translateY(-8px);
}

/* ===========================================
   SECTION 3: PAIN POINT + SERVICES
   =========================================== */
.pain-header {
    text-align: center;
    padding: 80px 90px 60px;
    background: var(--white-smoke);
}

.pain-headline {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pain-subtext {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.pain-cta {
    display: inline-block;
    background: var(--dark-teal);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.pain-cta:hover {
    background: var(--dark-teal-hover);
}

/* Service Blocks - Zig Zag */
.service-block {
    display: flex;
    gap: 60px;
    padding: 10px 10px;
    align-items: center;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-block-image {
    flex: 1;
    min-width: 45%;
}

.service-image-placeholder {
    width: 100%;
    height:400px;
    background: var(--white-smoke);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
/* 
.service-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
} */

.service-image {
    width: 50%;
    max-height: 225px;   /* 👈 controls size */
    object-fit: cover;   /* keeps it looking clean */
    border-radius: 12px;
}

.service-block-content {
    flex: 1;
    min-width: 45%;
}

.service-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.service-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 16px;
}

.service-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-cta {
    display: inline-block;
    background: var(--dark-teal);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 32px;
    transition: background 0.2s;
}

.service-cta:hover {
    background: var(--dark-teal-hover);
}

/* Testimonial Card (embedded in service block) */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,55,71,0.12);
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--frozen-water);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--dark-teal);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===========================================
   SECTION 5: TESTIMONIALS CAROUSEL
   =========================================== */
.testimonials-section {
    padding: 48px 90px 80px;
    background: var(--white-smoke);
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 72px;
}

.testimonials-section .carousel-wrapper {
    margin-bottom: 0;
    margin-top: 80px;
}

.testimonials-section .testimonials-header {
    margin-bottom: 24px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 48px;
    width: 100%;
}

.testimonials-title {
    font-size: 44px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.testimonials-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Testimonial Card */
.testimonial-card-full {
    flex: 0 0 350px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card-full:hover {
    box-shadow: 0 4px 12px rgba(0,55,71,0.12);
    transform: translateY(-4px);
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #E8F3EF;
}

.testimonial-card-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-linkedin-icon {
    width: 24px;
    height: 24px;
    fill: var(--dark-teal);
    flex-shrink: 0;
}

.testimonial-card-avatar {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--dark-teal);
    flex-shrink: 0;
    object-fit: cover;
}

.testimonial-card-info {
    display: flex;
    flex-direction: column;
}

.testimonial-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-card-role {
    font-size: 14px;
    color: var(--text-muted);
}

.testimonial-card-body {
    padding: 24px 20px 28px;
}

.testimonial-card-quote {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
    /* Truncate to ~5 lines */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--dark-teal);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.testimonial-read-more:hover {
    color: var(--dark-teal-hover);
    text-decoration: underline;
}

/* Testimonial Modal */
.testimonial-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.testimonial-modal-overlay.active {
    display: flex;
}

.testimonial-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.testimonial-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--frozen-water);
    border-radius: 16px 16px 0 0;
}

.testimonial-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    line-height: 1;
}

.testimonial-modal-close:hover {
    color: var(--text-primary);
}

.testimonial-modal-body {
    padding: 24px;
}

.testimonial-modal-quote {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.7;
}

/* ===========================================
   PLACEHOLDER SECTIONS
   =========================================== */
.section {
    padding: 80px 90px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-grey {
    background: var(--white-smoke);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 44px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

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

/* Placeholder content block */
.placeholder-block {
    background: var(--white-smoke);
    border-radius: 12px;
    padding: 80px;
    text-align: center;
}

.placeholder-block p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
}

.card-image {
    width: 100%;
    height: 180px;
    background: var(--white-smoke);
    border-radius: 8px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card-text {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===========================================
   SECTION 4: PORTFOLIO (yassinemahboub style)
   =========================================== */
.portfolio-section {
    padding: 80px 90px;
    background: var(--white-smoke);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 48px;
}

.portfolio-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.portfolio-title {
    font-size: 44px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.portfolio-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Netflix-style carousel wrapper */
.carousel-wrapper {
    position: relative;
    margin-bottom: 48px;
    margin-left: -20px;   /* Extend left for shadow */
    margin-right: -20px;  /* Extend right for shadow */
    padding: 20px;        /* Space for shadow */
    overflow: hidden;
    width: calc(100% + 40px);  /* Full width + shadow space */
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
    scroll-behavior: smooth;
}

.portfolio-card {
    /* Fixed card width for carousel */
    flex: 0 0 400px;
    width: 400px;
    min-width: 400px;
    max-width: 400px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    /* Equal height cards in carousel */
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    box-shadow: 0 4px 12px rgba(0,55,71,0.12);
    transform: translateY(-4px);
}

/* Arrow navigation buttons - circular icons */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0,55,71,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s;
    text-decoration: none;
}

.carousel-arrow:hover {
    background: var(--dark-teal);
    color: var(--white);
    border-color: var(--dark-teal);
}

.carousel-arrow.left {
    left: 12px;
}

.carousel-arrow.right {
    right: 12px;
}

.carousel-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.portfolio-screenshot {
    width: 100%;
    height: 280px;
    padding: 24px;
    background: var(--hero-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.portfolio-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.portfolio-screenshot.mobile-screenshot img {
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Multi-image carousel for portfolio cards */
.portfolio-screenshot .carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.portfolio-screenshot .carousel-images img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-screenshot .carousel-images img.active {
    opacity: 1;
}

.portfolio-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.portfolio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,55,71,0.4);
    cursor: pointer;
    transition: background 0.2s ease;
}

.portfolio-dot.active {
    background: var(--dark-teal);
}

.portfolio-dot:hover {
    background: var(--dark-teal-hover);
}

/* Carousel hover arrows for cards */
.carousel-arrow-left,
.carousel-arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--dark-teal);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
    z-index: 3;
}

.carousel-arrow-left {
    left: 12px;
}

.carousel-arrow-right {
    right: 12px;
}

.portfolio-screenshot:hover .carousel-arrow-left,
.portfolio-screenshot:hover .carousel-arrow-right {
    opacity: 1;
}

.carousel-arrow-left:hover,
.carousel-arrow-right:hover {
    background: var(--dark-teal-hover);
}

/* Lightbox arrows (white for dark backdrop) */
.lightbox-arrow-left,
.lightbox-arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--dark-teal);
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
}

.lightbox-arrow-left {
    left: -70px;
}

.lightbox-arrow-right {
    right: -70px;
}

.lightbox-arrow-left:hover,
.lightbox-arrow-right:hover {
    background: white;
}

/* Lightbox dots (white for dark backdrop) */
.lightbox-dots {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.lightbox-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-dot.active {
    background: white;
}

.lightbox-dot:hover {
    background: rgba(255,255,255,0.8);
}

.expand-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--dark-teal);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.portfolio-screenshot:hover .expand-icon {
    opacity: 1;
}

.portfolio-card-content {
    padding: 24px;
    /* Grow to fill available space for equal height cards */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-tools {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.portfolio-tool-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-tool-icon img {
    width: 100%;
    height: 100%;
}

.portfolio-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.portfolio-card-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.portfolio-links {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    /* Push links to bottom for equal height cards */
    margin-top: auto;
}

.portfolio-links a {
    color: var(--dark-teal);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.portfolio-links a:hover {
    color: var(--dark-teal-hover);
    text-decoration: underline;
}

.link-separator {
    color: var(--text-muted);
    font-size: 14px;
}

.portfolio-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--dark-teal);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}

.portfolio-link-btn:hover {
    background: var(--dark-teal-hover);
}

.portfolio-link-btn.secondary {
    background: var(--white);
    color: var(--dark-teal);
    border: 1px solid var(--dark-teal);
}

.portfolio-link-btn.secondary:hover {
    background: var(--frozen-water);
}

.portfolio-link-arrow {
    font-size: 14px;
}

/* Lightbox for screenshot enlargement */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 18px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
}

.portfolio-cta-wrapper {
    text-align: center;
}

.portfolio-cta {
    display: inline-block;
    background: var(--dark-teal);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.portfolio-cta:hover {
    background: var(--dark-teal-hover);
}

/* ===========================================
   SECTION 6: FINAL CTA
   =========================================== */
.final-cta-section {
    padding: 80px 48px;
    background: var(--white-smoke);
}

.final-cta-header {
    text-align: center;
    margin-bottom: 48px;
}

.final-cta-title {
    font-size: 44px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.final-cta-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.final-cta-container {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.final-cta-content {
    flex: 1;
    max-width: 550px;
}

.final-cta-badge {
    font-size: 14px;
    font-weight: 600;
    color: #CF5F28;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.final-cta-headline {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.final-cta-body {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.value-checklist {
    margin-bottom: 28px;
}

.value-checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #CF5F28;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon::after {
    content: '';
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
    margin-bottom: 2px;
}

.value-checklist-item p {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.final-cta-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.final-cta-fud {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 400px;
    max-width: 520px;
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,55,71,0.08);
}

.contact-form-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-teal);
    box-shadow: 0 0 0 3px rgba(0, 55, 71, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    background: var(--dark-teal);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.form-submit:hover {
    background: var(--dark-teal-hover);
}

.form-submit:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
}

.h-captcha {
    margin: 16px 0;
}

.form-result {
    margin-top: 16px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.form-result:empty {
    display: none;
}

.form-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Connect Section */
.connect-section {
    text-align: center;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

.connect-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.connect-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.connect-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

.connect-icon:hover {
    border-color: var(--dark-teal);
    color: var(--dark-teal);
}

.connect-icon.upwork {
    width: auto;
    padding: 0 20px;
    gap: 8px;
}

.connect-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Calendly Popup Modal */
.calendly-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.calendly-modal-overlay.active {
    display: flex;
}

.calendly-modal {
    background: #fff;
    border-radius: 16px;
    width: 1000px;
    max-width: 95vw;
    height: 700px;
    max-height: 90vh;
    position: relative;
    overflow: hidden;
}

.calendly-modal .calendly-inline-widget {
    width: 100%;
    height: 100%;
}

.calendly-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendly-modal-close:hover {
    background: rgba(0,0,0,0.15);
    color: #333;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    background: var(--dark-teal);
    padding: 32px 90px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================================
   PORTFOLIO PAGE SPECIFIC
   =========================================== */
.page-header {
    text-align: center;
    padding: 60px 48px 40px;
    background: var(--hero-mint);
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Filters */
.filters-section {
    padding: 0 48px 40px;
    background: var(--hero-mint);
}

.filters-container {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-group {
    position: relative;
}

.filter-select {
    appearance: none;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    min-width: 200px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-select:hover {
    border-color: var(--dark-teal);
}

.filter-select:focus {
    outline: none;
    border-color: var(--dark-teal);
    box-shadow: 0 0 0 3px rgba(0, 55, 71, 0.1);
}

.filter-group::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--text-muted);
    pointer-events: none;
}

.reset-btn {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.reset-btn:hover {
    border-color: var(--dark-teal);
    color: var(--dark-teal);
}

/* Portfolio Grid */
.portfolio-grid-section {
    padding: 40px 48px 80px;
    background: var(--white-smoke);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    gap: 24px;
    justify-content: center;
    margin: 0 auto;
}

/* Responsive: 2 cards per row at 1200px and below */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 400px);
    }
}

/* No Results Message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 16px;
}

/* ===========================================
   RESOURCES PAGE SPECIFIC
   =========================================== */
.coming-soon-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 48px;
    text-align: center;
    min-height: calc(100vh - 200px);
    background: var(--hero-mint);
}

.coming-soon-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.coming-soon-text {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 480px;
}

/* ===========================================
   RESPONSIVE: MOBILE NAVIGATION
   =========================================== */

/* Hamburger button - hidden on desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-teal);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger animation when menu is open */
.nav-hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===========================================
   RESPONSIVE: TABLET (max-width: 1024px)
   =========================================== */
@media (max-width: 1024px) {
    .nav {
        padding: 0 24px;
    }

    .nav-links {
        gap: 24px;
    }
}

/* ===========================================
   RESPONSIVE: MOBILE (max-width: 767px)
   =========================================== */
@media (max-width: 767px) {
    /* Show hamburger on mobile */
    .nav-hamburger {
        display: flex;
    }

    /* Nav adjustments - fixed at top on mobile */
    .nav {
        padding: 0 20px;
        height: 64px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--white);
    }

    /* Add padding to body/container to account for fixed nav */
    .page-container {
        padding-top: 64px;
    }

    /* Keep logo text visible but smaller on mobile */
    .nav-logo-text {
        font-size: 14px;
    }

    /* Hide nav-links and nav-social by default on mobile */
    .nav-links,
    .nav-social {
        display: none;
    }

    /* When nav has .nav-open class, show as dropdown */
    .nav.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 0;
        z-index: 1000;
    }

    .nav.nav-open .nav-social {
        display: flex;
        position: absolute;
        top: calc(64px + 6 * 58px + 32px); /* nav height + 6 links (58px each) + padding */
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 20px 24px;
        justify-content: center;
        gap: 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    /* Stack nav links vertically */
    .nav.nav-open .nav-link {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-light, #eee);
        font-size: 16px;
    }

    .nav.nav-open .nav-link.active {
        border-bottom: 1px solid var(--border-light, #eee);
        padding-bottom: 16px;
    }

    /* ---- HERO SECTION: Mobile layout ---- */
    .hero {
        padding: 24px 20px;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Hide desktop elements on mobile */
    .hero-right,
    .hero-trust-badge {
        display: none;
    }

    /* Show mobile intro (photo + text side by side) */
    .hero-intro {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .hero-intro-photo {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        flex-shrink: 0;
        border: 2px solid var(--frozen-water);
    }

    .hero-intro-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    .hero-intro-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin: 0;
    }

    .hero-intro-text .badge-title {
        font-size: 11px;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .hero-intro-text .badge-stats {
        font-size: 11px;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Hero left content */
    .hero-left {
        display: flex;
        flex-direction: column;
        gap: 12px;
        min-width: unset;
        max-width: 100%;
    }

    .hero-headline {
        font-size: 24px;
        text-align: left;
        line-height: 1.2;
    }

    /* Subtext */
    .hero-subheadline {
        font-size: 16px;
        text-align: left;
        max-width: 100%;
        word-wrap: break-word;
    }

    /* Tool icons - show smaller on mobile */
    .toolstack {
        display: flex;
        margin-bottom: 8px;
    }

    .toolstack-icons {
        gap: 12px;
    }

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

    /* CTAs side by side */
    .cta-row {
        justify-content: flex-start;
        flex-direction: row;
        gap: 8px;
    }

    .cta-primary,
    .cta-secondary {
        padding: 10px 16px;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 44px;
    }

    /* FUD buster */
    .hero-fud {
        text-align: left;
        font-size: 12px;
    }

    /* ---- PREVENT OVERFLOW ---- */
    .page-container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* ---- SERVICE BLOCKS: Stack vertically ---- */
    .service-block {
        flex-direction: column !important;
        gap: 24px;
        padding: 32px 20px;
    }

    .service-image,
    .service-content {
        min-width: unset;
        width: 100%;
    }

    .service-image {
        max-height: 220px;
        object-fit: cover;
    }

    .service-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .service-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .services-section {
        padding: 32px 20px;
    }

    /* ---- SOCIAL PROOF: Auto-scroll marquee ---- */
    .social-proof-bar {
        padding: 24px 0;
        overflow: hidden;
    }

    .logos-row {
        display: flex;
        gap: 40px;
        width: max-content;
        animation: marquee 15s linear infinite;
    }

    .logo-item {
        width: 100px;
        height: 50px;
        flex-shrink: 0;
        padding: 8px;
    }

    /* Show duplicates for seamless marquee loop */
    .logo-item.logo-duplicate {
        display: flex;
    }

    /* ---- FEATURED PROJECTS: Stack vertically ---- */
    .portfolio-section {
        padding: 32px 20px;
    }

    .carousel-wrapper {
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        width: 100%;
        margin-bottom: 24px;
    }

    .carousel-track {
        flex-direction: column;
        gap: 24px;
    }

    .portfolio-card {
        flex: none;
        width: 100%;
        min-width: unset;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .portfolio-screenshot {
        height: auto;
        padding: 12px;
        min-height: 200px;
    }

    .portfolio-screenshot img,
    .portfolio-screenshot .carousel-images img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Multi-image carousel fix - reset absolute positioning */
    .portfolio-screenshot .carousel-images {
        min-height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .portfolio-screenshot .carousel-images img {
        position: relative;
        max-height: 180px;
    }
    .portfolio-screenshot .carousel-images img:not(.active) {
        display: none;
    }

    /* Mobile screenshot - portrait phone frame */
    .portfolio-screenshot.mobile-screenshot {
        min-height: 280px;
    }
    .portfolio-screenshot.mobile-screenshot img {
        max-height: 260px;
        width: auto;
        max-width: 100%;
    }

    /* Hide main section carousel arrows and expand icon on mobile */
    .carousel-arrow {
        display: none;
    }
    .expand-icon {
        display: none;
    }

    /* Show card-level carousel arrows on mobile (always visible, not hover-dependent) */
    .carousel-arrow-left,
    .carousel-arrow-right {
        opacity: 1;
        width: 28px;
        height: 28px;
        font-size: 16px;
        background: var(--dark-teal);
        color: white;
    }
    .carousel-arrow-left {
        left: 8px;
    }
    .carousel-arrow-right {
        right: 8px;
    }

    .portfolio-card-content {
        padding: 16px;
    }

    .portfolio-card-title {
        font-size: 16px;
    }

    .portfolio-card-description {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .carousel-arrow.right {
        right: 4px;
    }

    /* Lightbox arrows: move inside on mobile with inverted colours */
    .lightbox-arrow-left,
    .lightbox-arrow-right {
        width: 36px;
        height: 36px;
        font-size: 20px;
        background: var(--dark-teal);
        color: white;
    }
    .lightbox-arrow-left {
        left: 8px;
    }
    .lightbox-arrow-right {
        right: 8px;
    }

    /* ---- TESTIMONIALS: Stack vertically ---- */
    .testimonials-section {
        padding: 32px 20px;
    }

    .testimonials-section .carousel-wrapper {
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        width: 100%;
        margin-top: 24px;
    }

    .testimonials-section .carousel-track {
        flex-direction: column;
        gap: 24px;
    }

    .testimonial-card-full {
        flex: none;
        width: 100%;
        min-width: unset;
        max-width: 100%;
        height: auto;
    }

    .testimonial-card-body {
        padding: 16px;
        padding-bottom: 16px;
    }

    .testimonial-card-quote {
        font-size: 14px;
    }

    /* ---- FINAL CTA / CONTACT: Stack vertically ---- */
    .final-cta-section {
        padding: 32px 20px;
    }

    .final-cta-header {
        margin-bottom: 24px;
    }

    .final-cta-title {
        font-size: 28px;
    }

    .final-cta-container {
        flex-direction: column;
        gap: 32px;
    }

    .final-cta-content {
        min-width: unset;
        max-width: 100%;
    }

    .final-cta-headline {
        font-size: 24px;
    }

    .final-cta-body {
        font-size: 14px;
    }

    .final-cta-buttons {
        flex-direction: row;
        gap: 12px;
    }

    .final-cta-fud {
        font-size: 12px;
    }

    .contact-form-wrapper {
        min-width: unset;
        max-width: 100%;
        width: 100%;
        padding: 20px;
    }

    .contact-form-title {
        font-size: 18px;
    }

    /* CTA badge - 2 lines on mobile */
    .cta-badge-title {
        display: block;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .cta-badge-sep {
        display: none;
    }

    .cta-badge-stats {
        display: block;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    /* ---- FOOTER: Padding adjustment ---- */
    .footer {
        padding: 24px 20px;
    }

    .footer-copyright,
    .footer-text {
        font-size: 13px;
        text-align: center;
    }

    /* Footer - "All rights reserved" on new line */
    .copyright-main {
        display: block;
    }
    .copyright-rights {
        display: block;
    }

    /* ---- PORTFOLIO PAGE: Mobile styles ---- */

    /* Page header */
    .page-header {
        padding: 32px 20px 24px;
    }
    .page-title {
        font-size: 32px;
    }
    .page-subtitle {
        font-size: 15px;
    }

    /* Filters - stack vertically */
    .filters-section {
        padding: 0 20px 24px;
    }
    .filters-container {
        flex-direction: column;
        gap: 12px;
    }
    .filter-select {
        width: 100%;
        min-width: unset;
    }
    .reset-btn {
        width: 100%;
    }

    /* Portfolio grid - 1 column, full width */
    .portfolio-grid-section {
        padding: 24px 20px 40px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Marquee keyframes (outside media query) */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ===== NAV DARK THEME ===== */
/* #4B2B20 */
.nav {
    background: #06192d !important;
}

/* Logo text */
.nav-logo-text {
    color: #ffffff !important;
}

/* Nav links */
.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link:hover {
    color: #ffffff !important;
}

.nav-link.active {
    color: #ffffff !important;
    border-bottom: 2px solid #ffffff !important;
}

/* Social icons */

/* Optional: soften shadow for dark background */
.nav {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Social icons */
.social-icon img {
    filter: invert(1); /* makes icons white */



/* ===== GLOBAL WIDTH CONTROL (RESPONSIVE) ===== */

/* Main container */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Expand slightly on very large screens */
@media (min-width: 1600px) {
    .page-container {
        max-width: 1600px;
    }
}

/* Ensure all sections follow same width */
.hero-container,
.services-container,
.portfolio-container,
.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Optional: give more breathing room on ultra-wide screens */
@media (min-width: 1600px) {
    .hero-container,
    .services-container,
    .portfolio-container,
    .contact-container {
        max-width: 1600px;
    }
}

.width-1440 {
    max-width: 100% !important;
}

