/* CSS Design System for Saiful Islam */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-main: #06070a;
    --bg-darker: #030406;
    --bg-card: #0f111a;
    --bg-card-hover: #151926;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(16, 185, 129, 0.3);
    
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent: #10b981; /* Emerald/Electric Green */
    --accent-glow: rgba(16, 185, 129, 0.15);
    --accent-hover: #34d399;
    
    --accent-alt: #3b82f6; /* Blue Accent */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-accent {
    color: var(--accent);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title-wrapper h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title-wrapper p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.125rem);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-darker);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: rgba(6, 7, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: var(--accent);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.12);
}

.logo-text {
    color: var(--text-primary);
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 0.28rem;
}

.logo-text span {
    color: var(--accent);
}

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

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.nav-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt)) !important;
    color: var(--bg-darker) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.nav-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), #60a5fa) !important;
    color: var(--bg-darker) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45) !important;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px 0;
    position: relative;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.05), transparent 60%);
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 7, 10, 0.96) 0%, rgba(6, 7, 10, 0.84) 48%, rgba(6, 7, 10, 0.62) 100%),
        linear-gradient(180deg, rgba(6, 7, 10, 0.12) 0%, rgba(3, 4, 6, 0.62) 100%),
        url("../images/hero-bg-fahim.jpg") center / cover no-repeat;
    opacity: 0.52;
    pointer-events: none;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    display: block;
}

.hero-subhead {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.metric-item .metric-val {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-item .metric-lbl {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual Element */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(16, 185, 129, 0.08);
    background: radial-gradient(circle at center 40%, rgba(16, 185, 129, 0.12), var(--bg-darker) 70%);
    aspect-ratio: 1 / 1;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    animation: heroGlowPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 1;
    transition: var(--transition-slow);
}

.hero-app-preview {
    width: min(86%, 360px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(15, 17, 26, 0.96), rgba(3, 4, 6, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.preview-topbar {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.preview-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.75;
}

.preview-topbar span:nth-child(2) {
    background: var(--accent-alt);
}

.preview-topbar span:nth-child(3) {
    background: rgba(255, 255, 255, 0.28);
}

.preview-screen {
    display: grid;
    grid-template-columns: 76px 1fr;
    min-height: 250px;
}

.preview-sidebar {
    padding: 24px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.preview-sidebar span,
.preview-title,
.preview-metrics span,
.preview-lines span,
.preview-action {
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.preview-sidebar span {
    height: 12px;
}

.preview-sidebar span:first-child {
    background: rgba(16, 185, 129, 0.45);
}

.preview-main {
    padding: 26px 22px;
}

.preview-title {
    width: 72%;
    height: 18px;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.18);
}

.preview-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.preview-metrics span {
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.preview-lines span {
    height: 10px;
}

.preview-lines span:nth-child(1) {
    width: 92%;
}

.preview-lines span:nth-child(2) {
    width: 74%;
}

.preview-lines span:nth-child(3) {
    width: 84%;
}

.preview-action {
    width: 48%;
    height: 38px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
}

.hero-image-wrapper:hover .hero-profile-img {
    transform: scale(1.04);
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top, var(--bg-darker) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(6, 7, 10, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    z-index: 10;
    animation: badgeFloat 3s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    animation: heroGlowPulse 4s ease-in-out infinite;
}

/* Trust Bar */
.trust-bar {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.01);
}

.trust-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-title {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-stat {
    display: flex;
    flex-direction: column;
}

.trust-stat-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.trust-stat-lbl {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Why Choose Me Section */
.why {
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.why-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-normal);
}

.why-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.05);
}

.why-card .card-icon {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

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

.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.skill-name {
    font-family: var(--font-heading);
    font-size: 1rem;
}

.skill-pct {
    color: var(--accent);
}

.skill-track {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 5px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.certifications-card {
    background: linear-gradient(135deg, rgba(21, 25, 38, 0.6), rgba(15, 17, 26, 0.9));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.certifications-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.certifications-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.certifications-card h4 {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 2rem;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.cert-icon {
    color: var(--accent);
    font-weight: bold;
    flex-shrink: 0;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.portfolio-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.portfolio-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.portfolio-preview {
    background-color: rgba(255, 255, 255, 0.02);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding: 1.5rem;
}

.chart-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.chart-col {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px 4px 0 0;
    height: 20%;
    transition: height 1s var(--transition-slow);
}

.portfolio-card:hover .chart-col {
    background-color: var(--accent-glow);
}

.portfolio-card:hover .chart-col.active {
    background-color: var(--accent);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 8px;
}

.port-stat-item {
    display: flex;
    flex-direction: column;
}

.port-stat-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.port-stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.portfolio-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

/* Service Niches Section */
.niches {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.niches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.niche-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition-normal);
}

.niche-card:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-card-hover);
    transform: translateY(-3px);
}

.niche-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.niche-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.niche-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 1.25rem;
}

.testimonials-label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.testimonials-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-subtext {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    position: relative;
    z-index: 2;
}

/* Card base */
.testi-card {
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.testi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testi-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(16, 185, 129, 0.06);
}

.testi-card:hover::before {
    opacity: 1;
}

/* Featured card */
.testi-featured {
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(165deg, rgba(16, 185, 129, 0.06) 0%, var(--bg-card) 40%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 25px rgba(16, 185, 129, 0.05);
}

.testi-featured::before {
    opacity: 1;
    background: linear-gradient(90deg, var(--accent), rgba(59, 130, 246, 0.6), var(--accent));
    height: 3px;
}

.testi-card-inner {
    padding: 2.25rem 2rem;
}

/* Quote icon */
.testi-quote-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Testimonial text */
.testi-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Inline metric highlight */
.testi-metric {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    padding: 8px 16px;
    margin-bottom: 1.5rem;
}

.testi-metric-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}

.testi-metric-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Divider */
.testi-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin-bottom: 1.5rem;
}

/* Author */
.testi-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.15));
    border: 2px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.testi-author-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.testi-author-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Background decorative glow */
.testimonials-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

/* How It Works Section */
.process {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.process-step {
    position: relative;
    z-index: 2;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(16, 185, 129, 0.1);
    line-height: 1;
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.process-step:hover .step-num {
    color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.price-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    position: relative;
}

.price-card.popular {
    border-color: var(--accent);
    background-color: rgba(15, 17, 26, 0.8);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.05);
}

.price-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--bg-darker);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
}

.price-header {
    margin-bottom: 2rem;
}

.price-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-amt {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

.price-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

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

.feature-check {
    color: var(--accent);
    font-weight: bold;
}

.price-btn {
    width: 100%;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-val {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-val a:hover {
    color: var(--accent);
}

.contact-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-btn:hover {
    background-color: var(--accent);
    color: var(--bg-darker);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
    background-color: rgba(255, 255, 255, 0.04);
}

.form-control option {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

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

.form-submit-btn {
    width: 100%;
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    color: var(--accent);
    display: block;
}

.form-status.error {
    color: #ef4444; /* Red */
    display: block;
}

/* Call to Action Banner */
.cta-banner {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(circle at bottom center, rgba(16, 185, 129, 0.06), transparent 75%);
    border-top: 1px solid var(--border-color);
}

.cta-banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-darker);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem 0;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

/* Pop-up Widget */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 4, 6, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    animation: overlayFadeIn 0.3s ease forwards;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-widget {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    width: 90%;
    max-width: 660px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(16, 185, 129, 0.1);
    display: none;
    overflow: hidden;
    animation: modalFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalFadeIn {
    from {
        transform: translate(-50%, -45%) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.popup-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
}

.popup-visual-side {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center 40%, rgba(16, 185, 129, 0.15), var(--bg-darker) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 350px;
}

.popup-visual-side::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -55%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
    animation: popupGlowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes popupGlowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -55%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -55%) scale(1.15); }
}

.popup-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    position: relative;
    z-index: 1;
}

.popup-logo-preview {
    width: 72%;
    min-height: 230px;
    border-radius: 24px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    background:
        linear-gradient(145deg, rgba(15, 17, 26, 0.88), rgba(3, 4, 6, 0.92)),
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.24), transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 3;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.popup-logo-preview span {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: var(--bg-darker);
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
}

.popup-logo-preview strong {
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.popup-logo-preview small {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.5;
}

.popup-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 60%, var(--bg-card) 100%);
    pointer-events: none;
    z-index: 2;
}

.popup-visual-side::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.popup-form-side {
    padding: 3rem 2.5rem;
    position: relative;
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 600px) {
    .popup-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-visual-side {
        display: none;
    }
    
    .popup-form-side {
        padding: 2.5rem 1.5rem;
    }
}

.popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 5;
}

.popup-close:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.06);
}

/* Floating badge on visual side */
.popup-visual-badge {
    position: absolute;
    bottom: 20px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 24px;
    padding: 8px 16px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.03em;
    z-index: 10;
    animation: badgeFloat 3s ease-in-out infinite;
}

.popup-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

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

/* Urgency tag above title */
.popup-urgency-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 1rem;
}

/* Popup title */
.popup-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    padding-right: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Popup description */
.popup-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.popup-input {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 100%;
    transition: all 0.25s ease;
}

.popup-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
    background-color: rgba(255, 255, 255, 0.04);
}

.popup-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.popup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.popup-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
    letter-spacing: 0.02em;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-metrics {
        width: 100%;
        max-width: 600px;
    }
    
    .hero-visual {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-logo-col {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    header {
        background-color: rgba(6, 7, 10, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-color);
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-main);
        flex-direction: column;
        padding: 3rem 1.5rem;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.25rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .nav-btn {
        width: 80%;
        margin-top: 1rem;
        font-size: 1.05rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* Hamburger Animation to X */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo-col {
        grid-column: span 2;
    }
    

}

@media (max-width: 480px) {
    .trust-wrapper {
        justify-content: center;
        text-align: center;
    }
    
    .trust-stats {
        justify-content: center;
        gap: 2rem;
        width: 100%;
    }
    
    .trust-stat {
        flex: 1 1 40%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-logo-col {
        grid-column: span 1;
    }
}
m: 1rem;
}

.cta-banner p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    padding: 60px 0 30px 0;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

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

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

.footer-bottom-links a {
    color: var(--text-muted);
}

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

/* Pop-up Widget */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

.popup-widget {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    width: 90%;
    z-index: 9999;
    animation: popupSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background-color: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.popup-visual-side {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(59, 130, 246, 0.08)), 
                url('../images/hero-profile-fahim.jpg') center / cover no-repeat;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popup-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 7, 10, 0.75), rgba(3, 4, 6, 0.85));
    pointer-events: none;
}

.popup-logo-preview {
    position: relative;
    z-index: 2;
}

.popup-logo-preview span {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2)), rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: var(--accent);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.popup-logo-preview strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.popup-logo-preview small {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.popup-visual-badge {
    position: relative;
    z-index: 2;
    background: rgba(6, 7, 10, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.6rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.popup-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.popup-form-side {
    padding: 2.5rem;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.popup-urgency-tag {
    display: inline-block;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.popup-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.popup-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-input {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.95rem 1.25rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}

.popup-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
    background-color: rgba(255, 255, 255, 0.04);
}

.popup-btn {
    width: 100%;
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
}

.popup-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

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

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

/* ===== NEW DESIGN IMPROVEMENTS ===== */

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--bg-darker);
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Contact Phone in Header */
.contact-phone {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: var(--transition-normal);
}

.contact-phone:hover {
    background: rgba(16, 185, 129, 0.15);
    transform: scale(1.05);
}

/* Technology Stack Section */
.tech-stack {
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tech-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
}

.tech-item:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.tech-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition-normal);
}

.tech-icon svg {
    width: 100%;
    height: 100%;
}

.tech-item:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.tech-note {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 12px;
}

.tech-note p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--bg-darker);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 2rem 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.faq-cta {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.faq-cta a {
    font-weight: 600;
}

/* Sticky CTA Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(59, 130, 246, 0.95));
    backdrop-filter: blur(12px);
    height: 70px;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta-bar.visible {
    bottom: 0;
}

.sticky-cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sticky-cta-text strong {
    font-size: 1rem;
    color: var(--bg-darker);
    font-weight: 700;
}

.sticky-cta-text span {
    font-size: 0.85rem;
    color: rgba(6, 7, 10, 0.8);
}

.sticky-cta-actions .btn {
    background-color: var(--bg-darker) !important;
    color: var(--accent) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sticky-cta-actions .btn:hover {
    background-color: var(--bg-card) !important;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 40px rgba(37, 211, 102, 0.2);
    z-index: 998;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6), 0 0 50px rgba(37, 211, 102, 0.3);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Focus States for Better Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Image Loading Optimization */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Improved Form Validation States */
.form-control.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 1px #ef4444;
}

.form-control.valid {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.form-error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .form-error-message {
    display: block;
}

/* Mobile Menu Styles Enhancement */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .popup-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-visual-side {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    header .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(6, 7, 10, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-right: 1px solid var(--border-color);
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .contact-phone {
        width: 100%;
        justify-content: center;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 120px 0 60px 0;
    }
    
    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1.5rem 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .sticky-cta-bar .container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        text-align: center;
    }
    
    .sticky-cta-bar {
        height: auto;
        padding: 0.75rem 0;
    }
    
    .sticky-cta-text {
        align-items: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title-wrapper h2 {
        font-size: 1.75rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

/* Print Styles */
@media print {
    .hamburger,
    .nav-menu,
    .popup-widget,
    .popup-overlay,
    .whatsapp-float,
    .sticky-cta-bar,
    .skip-link {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero::before {
        display: none;
    }
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    cursor: pointer;
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--bg-darker);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Adjust WhatsApp button position */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}
