/* ============================================================
   CLOVER DIGITAL — Main Stylesheet
   Brand System v2.0
   Updated: June 2026
   ============================================================ */

:root {
    /* ── Core Brand Colors ── */
    --green:            #1DB954;   /* Clover Green — hero, CTAs, highlights */
    --green-dark:       #0D7A3A;   /* Deep Forest — hover states, depth */
    --green-light:      #A8D5B5;   /* Sage — subtle accents, tags */
    --brand-black:      #090c0a;   /* Brand Black — NOT pure #000, has green tint */

    /* ── Surface Colors ── */
    --surface-dark:     #1C2B22;   /* Charcoal — dark cards, sections */
    --surface-mid:      #3D5445;   /* Forest Mid — navbars, mid surfaces */
    --surface-light:    #F4F8F5;   /* Off-White — page bg, light sections */
    --mint:             #E8F5EE;   /* Mint Tint — alternate light bg */

    /* ── Semantic Aliases ── */
    --primary:          var(--green);
    --primary-hover:    var(--green-dark);

    /* ── Text Colors ── */
    --text-primary:     var(--brand-black);
    --text-light:       #ffffff;
    --text-muted:       #5A7A65;
    --text-on-dark:     rgba(255, 255, 255, 0.85);

    /* ── Borders ── */
    --border-light:     #C5E0CE;
    --border-subtle:    rgba(29, 185, 84, 0.15);

    /* ── Shadows ── */
    --shadow-sm:        0 1px 2px 0 rgba(10, 15, 12, 0.05);
    --shadow-md:        0 4px 6px -1px rgba(10, 15, 12, 0.1);
    --shadow-lg:        0 10px 15px -3px rgba(10, 15, 12, 0.1);
    --shadow-xl:        0 20px 25px -5px rgba(10, 15, 12, 0.12);
    --shadow-2xl:       0 25px 50px -12px rgba(10, 15, 12, 0.2);
    --shadow-green:     0 20px 40px rgba(29, 185, 84, 0.18);

    /* ── Typography ── */
    --font-display:     'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:        'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* ── Transitions ── */
    --transition-fast:  0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base:  0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--brand-black);
}

.gradient-text {
    background: linear-gradient(135deg, var(--green) 0%, #2DD47A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Section Shared Styles ── */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: var(--mint);
    border: 1px solid var(--border-light);
    border-radius: 2rem;
    color: var(--green-dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ── Header / Navigation ── */
.main-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
    border-bottom: 1px solid var(--border-subtle);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--surface-dark);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 52px;
    width: 52px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.25rem;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-body);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--green-dark);
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--green);
    color: #ffffff;
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 25px 45px rgba(29, 185, 84, 0.28);
}

.btn-outline {
    background: transparent;
    color: var(--green-dark);
    border: 2px solid var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--brand-black);
    color: #066006;
}

.btn-dark:hover {
    background: var(--surface-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
    border-radius: 0.875rem;
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    background: var(--mint);
    border: 1px solid var(--border-light);
    border-radius: 2rem;
    color: var(--green-dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.6s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.4); }
    50% { opacity: 0.7; transform: scale(1.4); box-shadow: 0 0 0 6px rgba(29, 185, 84, 0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.08;
    color: var(--brand-black);
    letter-spacing: -0.03em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
    max-width: 520px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 10%;
    height: 60%;
    width: 1px;
    background: var(--border-light);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* ── Hero Terminal ── */
.hero-visual {
    flex: 1;
    max-width: 560px;
    position: relative;
}

.hero-terminal {
    background: var(--brand-black);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(10, 15, 12, 0.35), 0 0 0 1px rgba(29, 185, 84, 0.15);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.terminal-header {
    background: var(--surface-dark);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.terminal-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #FF5F57; }
.terminal-dots span:nth-child(2) { background: #FFBD2E; }
.terminal-dots span:nth-child(3) { background: var(--green); }

.terminal-title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.03em;
}

.terminal-body {
    padding: 1.75rem;
    min-height: 260px;
    position: relative;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.45rem 0;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
    font-size: 0.9rem;
    opacity: 0;
    animation: terminalSlide 0.4s ease-out forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.4s; }
.terminal-line:nth-child(2) { animation-delay: 0.6s; }
.terminal-line:nth-child(3) { animation-delay: 1.0s; }
.terminal-line:nth-child(4) { animation-delay: 1.2s; }
.terminal-line:nth-child(5) { animation-delay: 1.4s; }
.terminal-line:nth-child(6) { animation-delay: 1.8s; }
.terminal-line:nth-child(7) { animation-delay: 2.0s; }
.terminal-line:nth-child(8) { animation-delay: 2.4s; }

@keyframes terminalSlide {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

.prompt {
    color: var(--green);
    font-weight: 700;
}

.command {
    color: rgba(255, 255, 255, 0.9);
}

.check {
    color: var(--green);
    font-weight: 700;
}

.terminal-line.success span:last-child {
    color: #7ECB8A;
}

.spinner {
    color: var(--green);
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.terminal-line.loading span:last-child {
    color: rgba(255, 255, 255, 0.6);
}

.highlight-line {
    padding: 0.6rem 0;
}

.rocket {
    font-size: 1rem;
}

.gradient-text-terminal {
    background: linear-gradient(135deg, #2DD47A, var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.terminal-cursor {
    width: 8px;
    height: 18px;
    background: var(--green);
    display: inline-block;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
    border-radius: 1px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ── Floating Hero Elements ── */
.hero-float {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--green);
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.float-1 { top: 10%; right: -10px; animation-delay: 0s; color: var(--green); }
.float-2 { bottom: 25%; left: -20px; animation-delay: 2s; color: #2DD47A; }
.float-3 { bottom: 10%; right: 30px; animation-delay: 4s; color: var(--green-dark); }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

/* ═══════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════ */

.services-section {
    padding: 6rem 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: #ffffff;
    padding: 2.25rem;
    border-radius: 1rem;
    transition: var(--transition-base);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-icon {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 1.25rem;
    width: 56px;
    height: 56px;
    background: var(--mint);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.service-link {
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--green);
}

/* ═══════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════ */

.about-section {
    padding: 6rem 0;
    background: var(--mint);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
}

.about-content > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--green-dark);
    flex-shrink: 0;
}

.feature h4 {
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-light);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--green);
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.625rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-green);
}

/* ═══════════════════════════════════════════════════
   PORTFOLIO SECTION
   ═══════════════════════════════════════════════════ */

.portfolio-section {
    padding: 6rem 0;
    background: var(--surface-light);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 2rem;
    cursor: pointer;
    transition: var(--transition-base);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.filter-btn:hover {
    border-color: var(--green);
    color: var(--green-dark);
    background: var(--mint);
}

.filter-btn.active {
    background: var(--green);
    color: #ffffff;
    border-color: var(--green);
    box-shadow: var(--shadow-green);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

/* ── Portfolio Card ── */
.portfolio-card {
    border-radius: 1.25rem;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid var(--border-light);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(10, 15, 12, 0.18);
    border-color: var(--green);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.08);
}

/* ── Overlay ── */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 15, 12, 0.95) 0%,
        rgba(10, 15, 12, 0.75) 40%,
        rgba(10, 15, 12, 0.15) 70%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--green);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.portfolio-overlay h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.portfolio-overlay > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.portfolio-tech span {
    padding: 0.3rem 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.portfolio-link {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    width: fit-content;
}

.portfolio-link:hover {
    gap: 0.75rem;
}

.portfolio-link i {
    transition: transform 0.3s ease;
}

.portfolio-link:hover i {
    transform: translateX(3px);
}

/* ── Portfolio CTA ── */
.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.portfolio-cta p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════
   PROCESS SECTION
   ═══════════════════════════════════════════════════ */

.process-section {
    padding: 6rem 0;
    background: var(--mint);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

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

.step-number {
    width: 64px;
    height: 64px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-green);
    transition: var(--transition-base);
}

.step:hover .step-number {
    background: var(--green-dark);
    transform: scale(1.08);
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════ */

.testimonials-section {
    padding: 6rem 0;
    background: #ffffff;
}

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--mint);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--green-dark);
    margin-bottom: 0.25rem;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.featured-testimonial {
    background: var(--surface-dark);
    border-radius: 1.25rem;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--green);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.featured-review {
    font-size: 1.25rem;
    color: var(--text-on-dark);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-style: italic;
}

.featured-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.featured-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green);
}

.featured-author h4 {
    color: #ffffff;
    font-size: 1.1rem;
}

.featured-author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green);
}

.testimonial-rating {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
}

.author-name {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--brand-black);
    font-size: 0.95rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Video Testimonials */
.video-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.video-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.video-card:hover {
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--surface-dark);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--green);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background: var(--green-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h4 {
    padding: 1rem 1.25rem 0.25rem;
}

.video-card p {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.badge i {
    font-size: 1.25rem;
}

/* Testimonial CTA */
.testimonial-cta {
    text-align: center;
    padding: 3rem;
    background: var(--mint);
    border-radius: 1.25rem;
    border: 1px solid var(--border-light);
}

.testimonial-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.testimonial-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════ */

.cta-section {
    padding: 6rem 0;
    background: var(--brand-black);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 60% 70% at 50% 50%,
        rgba(29, 185, 84, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================
   RESET
========================= */

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

html{
    scroll-behavior:smooth;
}

body {
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Coolvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================
   DEMO CONTENT
========================= */

.demo-space{
    min-height:40vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* =========================
   FOOTER HERO
========================= */

.footer-hero{
    position:relative;
    background:#1c2b22;
    overflow:hidden;
    padding:60px 20px 0;
}

/* =========================
   GLOW
========================= */

.footer-glow{
    position:absolute;
    inset:0;
    background:
        radial-gradient(
            circle at center,
            rgba(11,124,56,.25),
            transparent 70%
        );
    filter:blur(140px);
    pointer-events:none;
}

.footer-container{
    max-width:1400px;
    margin:auto;
    position:relative;
    z-index:2;
}

/* =========================
   BRAND
========================= */

.brand-section{
    text-align:center;
    margin: 20px 0;
}

.brand-logo-row{
    display:flex;
    justify-content:center;
    align-items:center;
}

.brand-logo{
    height:600px;        /* adjust to taste based on your image dimensions */
    width:auto;
    display:block;
    filter:
        
}

.brand-description{
    margin-top:-195px;
    color:#ffffff;
    font-size:1.45rem;
    line-height:1.6;
    font-weight:600;
}

/* =========================
   CARD  — flush to footer bottom
========================= */

.footer-card{
    background:rgba(15,27,20,.95);
    border-radius:35px 35px 0 0;
    border:1px solid rgba(255,255,255,.06);
    border-bottom:none;
    backdrop-filter:blur(16px);
    padding:60px 60px 0 60px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.02),
        0 -20px 60px rgba(11,124,56,.25);
}

.footer-grid{
    display:grid;
    grid-template-columns:
        90px
        1fr
        1fr
        1.2fr;
    gap:50px;
}

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

.social-column{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.social-column a{
    color:#00c853;
    font-size:2.5rem;
    transition:.3s ease;
    text-decoration:none;
}

.social-column a:hover{
    transform:translateX(8px) scale(1.08);
    text-shadow:0 0 15px rgba(0,200,83,.6);
}

/* =========================
   COLUMNS
========================= */

.footer-column h3{
    color:#00e060;
    font-size:2.4rem;
    margin-bottom:18px;
    font-weight:800;
}

.footer-column a,
.footer-column p{
    display:block;
    color:#c2d8ca;
    text-decoration:none;
    font-size:1.25rem;
    margin-bottom:10px;
    transition:.3s ease;
}

.footer-column a:hover{
    color:#00e060;
    transform:translateX(6px);
}

.footer-column p{
    line-height:1.8;
}

/* =========================
   BOTTOM — sits at very end of card
========================= */

.footer-bottom{
    margin-top:45px;
    padding-bottom:22px;
    text-align:center;
}

.footer-line{
    height:1px;
    width:65%;
    margin:0 auto 18px;
    background:linear-gradient(
        90deg,
        transparent,
        #00c853,
        transparent
    );
}

.footer-bottom p{
    color:#9fb7a7;
    font-size:.95rem;
}

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

.whatsapp-btn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:58px;
    height:58px;
    border-radius:50%;
    background:#25D366;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:1.8rem;
    text-decoration:none;
    box-shadow:0 0 25px rgba(37,211,102,.5);
    z-index:999;
    transition:.3s ease;
}

.whatsapp-btn:hover{
    transform:scale(1.08);
}

/* =========================
   TABLET
========================= */

@media (max-width:1024px){

    .brand-logo{
        height:120px;
    }

    .brand-description{
        font-size:1.1rem;
    }

    .footer-grid{
        grid-template-columns:
            80px
            1fr
            1fr;
    }

    .footer-column:last-child{
        grid-column:span 2;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    .footer-hero{
        padding:40px 15px 0;
    }

    .brand-logo{
        height:90px;
    }

    .brand-description{
        font-size:1rem;
        padding:0 10px;
    }

    .footer-card{
        padding:35px 25px 0;
    }

    .footer-grid{
        grid-template-columns:1fr;
        gap:35px;
        text-align:center;
    }

    .social-column{
        flex-direction:row;
        justify-content:center;
    }

    .footer-column h3{
        font-size:1.8rem;
    }

    .footer-column a,
    .footer-column p{
        font-size:1rem;
    }

    .footer-line{
        width:100%;
    }
}

/* ═══════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════════════ */

.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.wa-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    background: var(--brand-black);
    color: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
}

.wa-btn {
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: var(--transition-base);
}

.wa-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

/* ═══════════════════════════════════════════════════
   NAVBAR HIDE ON SCROLL (INDEX ONLY)
   ═══════════════════════════════════════════════════ */

index.html .main-header.hidden-on-footer {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

.main-header.hidden-on-footer {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.3s ease-out;
}

/* ═══════════════════════════════════════════════════
   FOOTER (MAIN FOOTER FOR OTHER PAGES)
   ═══════════════════════════════════════════════════ */

.main-footer {
    background: var(--surface-dark);
    color: #ffffff;
    padding: 5rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #ffffff;
}

.footer-section p {
    margin-bottom: 1rem;
    color: var(--text-on-dark);
    line-height: 1.7;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--green);
    border-color: var(--green);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-section h4 {
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--green-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-on-dark);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--green);
    padding-left: 4px;
}

.footer-section i {
    margin-right: 0.625rem;
    width: 16px;
    color: var(--green);
    text-align: center;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--green);
}

/* ═══════════════════════════════════════════════════
   MOBILE MENU BUTTON
   ═══════════════════════════════════════════════════ */

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2.5px;
    background: var(--brand-black);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 7rem 2rem 4rem;
    }

    .hero-content { max-width: 100%; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 500px; width: 100%; }

    .about-grid { grid-template-columns: 1fr; }
    .about-image { max-width: 500px; margin: 0 auto; }

    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .testimonial-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn { display: flex; }

    .hero h1 { font-size: 2.25rem; }
    .section-header h2 { font-size: 1.75rem; }

    .portfolio-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .portfolio-overlay { padding: 1.5rem; }
    .portfolio-overlay h3 { font-size: 1.15rem; }

    .hero-float { display: none; }
    .stat:not(:last-child)::after { display: none; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }

    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .process-steps { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

    .cta-content h2 { font-size: 1.75rem; }
    .featured-testimonial { padding: 2rem; }
    .featured-review { font-size: 1.1rem; }
    .testimonials-slider { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .testimonial-stats { grid-template-columns: repeat(2, 1fr); }
    .trust-badges { flex-direction: column; align-items: center; gap: 1rem; }
}