/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --primary-color: #1F4FD1;
    --primary-dark: #163BA3;
    --primary-light: #8FA9F0;
    --secondary-color: #1F4FD1;
    --accent-color: #1F4FD1;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Texture Patterns */
    --texture-waves: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='waves' x='0' y='0' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0,50 Q25,30 50,50 T100,50' stroke='rgba(31, 79, 209,0.03)' fill='none' stroke-width='1'/%3E%3Cpath d='M0,60 Q25,40 50,60 T100,60' stroke='rgba(31, 79, 209,0.03)' fill='none' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23waves)'/%3E%3C/svg%3E");
    --texture-crossstitch: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='crossstitch' x='0' y='0' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Cline x1='0' y1='0' x2='20' y2='20' stroke='rgba(31, 79, 209,0.04)' stroke-width='0.5'/%3E%3Cline x1='20' y1='0' x2='0' y2='20' stroke='rgba(31, 79, 209,0.04)' stroke-width='0.5'/%3E%3Ccircle cx='10' cy='10' r='0.5' fill='rgba(31, 79, 209,0.06)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='20' height='20' fill='url(%23crossstitch)'/%3E%3C/svg%3E");
    --texture-lines: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='lines' x='0' y='0' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cline x1='0' y1='0' x2='60' y2='60' stroke='rgba(31, 79, 209,0.02)' stroke-width='1'/%3E%3Cline x1='0' y1='30' x2='60' y2='30' stroke='rgba(31, 79, 209,0.02)' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23lines)'/%3E%3C/svg%3E");
    --texture-dots: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='dots' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(31, 79, 209,0.05)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='40' height='40' fill='url(%23dots)'/%3E%3C/svg%3E");
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #5C82F0;
    --primary-dark: #1F4FD1;
    --primary-light: #8FA9F0;
    --secondary-color: #5C82F0;
    --accent-color: #1F4FD1;
    --text-dark: #f1f5f9;
    --text-light: #94a3b8;
    --text-lighter: #64748b;
    --bg-light: #1e293b;
    --bg-white: #0f172a;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .mobile-menu-toggle span {
    background: var(--text-dark);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .skill-category,
[data-theme="dark"] .factor-item,
[data-theme="dark"] .service-item,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .developer-card,
[data-theme="dark"] .payment-option-card,
[data-theme="dark"] .pricing-note {
    background: #1e293b;
    background-image: none;
}

[data-theme="dark"] .floating-card {
    background: #1e293b;
}

[data-theme="dark"] .nav-menu {
    background: #0f172a;
}


[data-theme="dark"] .pricing-disclaimer {
    background: linear-gradient(135deg, #0f2a2a, #0f2a30);
    border-color: #2dd4bf40;
}

[data-theme="dark"] .response-time-badge {
    background: linear-gradient(135deg, #0f2a2a, #0f2a30);
    border-color: #2dd4bf40;
}

[data-theme="dark"] .payment-note {
    background: #1e293b;
}

[data-theme="dark"] .footer {
    background: #020617;
}

[data-theme="dark"] .footer-logo-image,
[data-theme="dark"] .logo-image {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: #1e293b;
    color: var(--text-dark);
    border-color: #334155;
}

[data-theme="dark"] .skill-tag {
    background: #334155;
    border-color: #475569;
}

[data-theme="dark"] .filter-btn {
    background: #1e293b;
    border-color: #334155;
    color: var(--text-dark);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-white);
    background-image: var(--texture-waves);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Main Layout (Full-Width)
   ============================================ */
.main-content {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
    background-image: var(--texture-crossstitch);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   Dark Mode Toggle
   ============================================ */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }

[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: white;
    color: var(--text-dark);
    border-color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: var(--texture-waves);
}

.hero-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    max-width: 550px;
    flex-shrink: 0;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    flex-shrink: 1;
    pointer-events: none;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Browser Mockup */
.browser-mockup {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(31, 79, 209, 0.1);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.browser-bar {
    background: var(--bg-light);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #22c55e; }

.browser-url {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: var(--text-light);
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.browser-url svg {
    color: #22c55e;
    flex-shrink: 0;
}

.browser-body {
    padding: 20px 24px;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.9;
    min-height: 180px;
}

.code-line {
    white-space: nowrap;
}

.code-line.indent {
    padding-left: 2rem;
}

.code-tag { color: #e879f9; }
.code-attr { color: #38bdf8; }
.code-string { color: #4ade80; }
.code-text { color: var(--text-dark); }
.code-comment { color: var(--text-lighter); font-style: italic; }

.code-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background: var(--primary-color);
    animation: blink 1s step-end infinite;
    margin-left: 2rem;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% { opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.section-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Features Section
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    background-image: var(--texture-dots);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Process Section
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    background-image: var(--texture-dots);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .testimonial-card {
    background: #1e293b;
    background-image: none;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-stars span {
    color: #fbbf24;
    font-size: 1.2rem;
}

.testimonial-text {
    margin: 0;
    flex-grow: 1;
}

.testimonial-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
}

.testimonial-role {
    display: block;
    font-size: 0.85rem;
    color: var(--text-lighter);
}

/* ============================================
   Featured Work Section
   ============================================ */
.featured-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.featured-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.featured-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.featured-image {
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary, #f0f0f0);
}

.featured-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.featured-item:hover .featured-screenshot {
    transform: scale(1.03);
}

.featured-info {
    padding: 1.5rem;
}

.featured-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.featured-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.featured-tag {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

[data-theme="dark"] .featured-item {
    background: #1e293b;
}

/* ============================================
   Pricing Preview Section
   ============================================ */
.pricing-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-preview-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-preview-card.highlighted {
    border: 2px solid var(--primary-color);
}

.pricing-preview-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-preview-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.pricing-preview-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-preview-price {
    margin-bottom: 1.5rem;
}

.pricing-preview-from {
    display: block;
    font-size: 0.8rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-preview-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.pricing-preview-list {
    list-style: none;
    text-align: left;
    padding: 0;
}

.pricing-preview-list li {
    padding: 0.4rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-preview-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

[data-theme="dark"] .pricing-preview-card {
    background: #1e293b;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-image: var(--texture-waves), linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-image: var(--texture-waves), linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ============================================
   About Page
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
}

.placeholder-content {
    text-align: center;
    color: var(--text-lighter);
}

.placeholder-content svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* Developer Card (About Page) */
.developer-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.dev-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(31, 79, 209, 0.3);
}

.dev-avatar span {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

.dev-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.dev-role {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

.dev-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.dev-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skills-grid {
    display: grid;
    gap: 2rem;
}

.skill-category {
    background: white;
    background-image: var(--texture-lines);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    background-image: var(--texture-dots);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.value-icon svg {
    width: 30px;
    height: 30px;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Services Page
   ============================================ */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    background: white;
    background-image: var(--texture-dots);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-content > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.service-features li {
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-note {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: white;
    background-image: var(--texture-crossstitch);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.pricing-note p {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.8;
}

.pricing-factors {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-factors h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.factor-item {
    background: white;
    background-image: var(--texture-dots);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.factor-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.factor-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Pricing Jump Navigation */
.pricing-jump-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    position: sticky;
    top: 80px;
    z-index: 90;
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-jump-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.pricing-jump-pill:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pricing-jump-pill.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pricing-section {
    scroll-margin-top: 160px;
}

/* Pricing Cards (Pricing Page) */
.pricing-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #EEF3FF, #ecfeff);
    border: 1px solid var(--primary-light);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-disclaimer svg {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.pricing-disclaimer p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.pricing-disclaimer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.pricing-disclaimer a:hover {
    text-decoration: underline;
}

.pricing-disclaimer-bottom {
    margin-top: 3rem;
    margin-bottom: 0;
    background: white;
    border-color: var(--border-color);
}

.pricing-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pricing-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(31, 79, 209, 0.3);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(31, 79, 209, 0.15);
}

.pricing-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.pricing-amount {
    text-align: center;
    padding: 1.25rem 0;
    margin-bottom: 1.25rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-from {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-lighter);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.pricing-features li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.pricing-card .btn-block {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.pricing-card .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.pricing-card .btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.pricing-card .btn-primary.btn-block {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.pricing-card-compact .pricing-features {
    margin-bottom: 1rem;
}

/* Add-On & Combo lists */
.addon-intro {
    text-align: center;
    max-width: 760px;
    margin: -0.5rem auto 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.addon-list,
.combo-breakdown {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.addon-list li,
.combo-breakdown li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.4;
}

.addon-list li:last-child,
.combo-breakdown li:last-child {
    border-bottom: none;
}

.addon-list li span,
.combo-breakdown li span {
    flex: 1;
}

.addon-list li em,
.combo-breakdown li em {
    color: var(--text-lighter);
    font-style: normal;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.1rem;
}

.addon-list li strong,
.combo-breakdown li strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Payment Options (Services Page) */
.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-option-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.payment-option-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.payment-option-card.featured {
    border-color: var(--primary-color);
}

.payment-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.payment-icon svg {
    width: 32px;
    height: 32px;
}

.payment-option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.discount-badge,
.flexibility-badge {
    display: inline-block;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.discount-badge {
    background: linear-gradient(135deg, #10B981, #059669);
}

.flexibility-badge {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
}

.payment-option-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.payment-option-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-option-card li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.payment-option-card li svg {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.payment-note {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.payment-note p {
    margin: 0 0 1rem 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.payment-note p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Resources Hub Page
   ============================================ */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.resource-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(31, 79, 209, 0.3);
}

.resource-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.resource-icon svg {
    width: 28px;
    height: 28px;
}

.resource-info h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.resource-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.resource-card:hover .resource-link {
    gap: 0.6rem;
}

[data-theme="dark"] .resource-card {
    background: #1e293b;
    background-image: none;
}

/* ============================================
   Portfolio Page
   ============================================ */
.portfolio-filter {
    padding: 40px 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    background-image: var(--texture-lines);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 1;
    transform: scale(1);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-secondary, #f0f0f0);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-screenshot {
    transform: scale(1.03);
}

.placeholder-content svg {
    width: 80px;
    height: 80px;
    color: white;
    opacity: 0.5;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.portfolio-link:hover {
    color: inherit;
}

.portfolio-link-text {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.9;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-info {
    padding: 1.5rem;
    padding-bottom: 0.75rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Understand this Project */
.portfolio-understand {
    padding: 0 1.5rem 1.5rem;
}

.understand-btn {
    width: 100%;
    padding: 0.65rem 1rem;
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.understand-btn:hover {
    background: var(--primary-color);
    color: white;
}

.understand-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.understand-btn.active .understand-arrow {
    transform: rotate(180deg);
}

.project-breakdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.project-breakdown.open {
    max-height: 1200px;
    opacity: 1;
    margin-top: 1rem;
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), #1F4FD1);
    border-radius: 10px 10px 0 0;
}

.breakdown-tier {
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    letter-spacing: 0.02em;
}

.breakdown-cost {
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

.breakdown-body {
    padding: 1rem;
    background: var(--bg-secondary, #f8fafc);
    border: 1px solid rgba(0,0,0,0.08);
    border-top: none;
    border-radius: 0 0 10px 10px;
}

.breakdown-section {
    margin-bottom: 0.85rem;
}

.breakdown-section:last-of-type {
    margin-bottom: 0.5rem;
}

.breakdown-section h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.breakdown-pages-list {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
}

.breakdown-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breakdown-section ul li {
    font-size: 0.8rem;
    color: var(--text-light);
    padding: 0.2rem 0;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.4;
}

.breakdown-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.breakdown-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.breakdown-tech span {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
    letter-spacing: 0.02em;
}

/* Dual-pricing tier sub-headers */
.breakdown-subtier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: rgba(31, 79, 209, 0.08);
    border-radius: 6px;
    margin-bottom: 0.6rem;
    border: 1px solid rgba(31, 79, 209, 0.15);
}

.breakdown-subtier-name {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--primary-color);
}

.breakdown-subtier-cost {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.breakdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 1rem 0;
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: rgba(31, 79, 209, 0.12);
    border-radius: 6px;
    margin-top: 0.75rem;
    border: 1px dashed rgba(31, 79, 209, 0.3);
}

.breakdown-total-label {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-dark);
}

.breakdown-total-cost {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-color);
}

/* Dark mode breakdown overrides */
[data-theme="dark"] .breakdown-body {
    background: #0f172a;
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .breakdown-tech span {
    background: rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .breakdown-subtier {
    background: rgba(45, 212, 191, 0.08);
    border-color: rgba(45, 212, 191, 0.15);
}

[data-theme="dark"] .breakdown-total {
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.25);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.response-time {
    margin-top: 2rem;
}

.response-time-badge {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: linear-gradient(135deg, #EEF3FF, #ecfeff);
    border: 1px solid var(--primary-light);
    padding: 1.25rem;
    border-radius: 12px;
}

.response-time h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.response-time p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: white;
    background-image: var(--texture-crossstitch);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ============================================
   Questionnaire
   ============================================ */
.questionnaire-section {
    background: var(--bg-light);
}

.questionnaire-wrapper {
    max-width: 780px;
    margin: 0 auto;
}

/* Progress bar */
.q-progress {
    margin-bottom: 2.5rem;
}

.q-progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.q-progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.4s ease;
    width: 0;
}

.q-progress-steps {
    display: flex;
    justify-content: space-between;
}

.q-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.q-step-dot span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--border-color);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.q-step-dot em {
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.q-step-dot.active span {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(31, 79, 209, 0.15);
}

.q-step-dot.active em {
    color: var(--primary-color);
    font-weight: 600;
}

.q-step-dot.completed span {
    background: var(--primary-color);
    color: white;
}

.q-step-dot.completed em {
    color: var(--text-dark);
}

/* Step panels */
.q-step {
    display: none;
}

.q-step.active {
    display: block;
    animation: qStepIn 0.35s ease;
}

@keyframes qStepIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.q-step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.q-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(31, 79, 209, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.q-step-icon svg {
    width: 26px;
    height: 26px;
}

.q-step-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.q-step-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Form fields inside questionnaire */
.q-fields {
    background: white;
    background-image: var(--texture-crossstitch);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.q-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.q-fields .form-group {
    display: flex;
    flex-direction: column;
}

.q-fields .form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.q-fields .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Field error state */
.q-field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Checkbox grid */
.q-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.q-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    user-select: none;
}

.q-checkbox:hover {
    border-color: var(--primary-color);
    background: rgba(31, 79, 209, 0.03);
}

.q-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.q-checkbox input[type="checkbox"]:checked + .q-checkbox,
.q-checkbox:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(31, 79, 209, 0.06);
}

/* Radio cards (design style) */
.q-radio-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.q-radio-card {
    cursor: pointer;
}

.q-radio-card input[type="radio"] {
    display: none;
}

.q-radio-card-inner {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s ease;
}

.q-radio-card-inner strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.q-radio-card-inner span {
    font-size: 0.78rem;
    color: var(--text-light);
}

.q-radio-card input:checked + .q-radio-card-inner {
    border-color: var(--primary-color);
    background: rgba(31, 79, 209, 0.06);
    box-shadow: 0 0 0 3px rgba(31, 79, 209, 0.1);
}

.q-radio-card:hover .q-radio-card-inner {
    border-color: var(--primary-color);
}

/* Navigation buttons */
.q-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.q-btn-prev,
.q-btn-next,
.q-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.q-btn-submit {
    gap: 0.5rem;
}

/* Spinner */
.q-spinner {
    animation: qSpin 0.8s linear infinite;
}

@keyframes qSpin {
    to { transform: rotate(360deg); }
}

/* Result panel */
.q-result {
    animation: qStepIn 0.4s ease;
}

.q-result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.q-result-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.q-result-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
}

.q-prompt-box {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.q-prompt-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.q-prompt-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.q-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.q-copy-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.q-copy-btn.copied {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.q-prompt-text {
    padding: 1.5rem;
    margin: 0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.82rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--text-dark);
    max-height: 500px;
    overflow-y: auto;
}

.q-result-actions {
    text-align: center;
}

.q-result-actions p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.q-result-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.q-thankyou-body {
    margin-bottom: 2rem;
}

.q-thankyou-card {
    background: rgba(31, 79, 209, 0.04);
    border: 1px solid rgba(31, 79, 209, 0.12);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: left;
}

.q-thankyou-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.q-thankyou-card ol {
    list-style: none;
    counter-reset: steps;
    padding: 0;
    margin: 0;
}

.q-thankyou-card ol li {
    counter-increment: steps;
    position: relative;
    padding: 0.6rem 0 0.6rem 2.5rem;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.5;
}

.q-thankyou-card ol li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #1F4FD1, #163BA3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.q-thankyou-card ol li + li {
    border-top: 1px solid rgba(31, 79, 209, 0.08);
}

/* ---- Dark mode overrides for questionnaire ---- */
[data-theme="dark"] .q-fields {
    background: #1e293b;
}

[data-theme="dark"] .q-fields .form-group select {
    background: #1e293b;
    color: var(--text-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

[data-theme="dark"] .q-checkbox {
    border-color: var(--border-color);
}

[data-theme="dark"] .q-radio-card-inner {
    border-color: var(--border-color);
}

[data-theme="dark"] .q-thankyou-card {
    background: rgba(31, 79, 209, 0.06);
    border-color: rgba(31, 79, 209, 0.15);
}

[data-theme="dark"] .q-thankyou-card ol li {
    border-top-color: rgba(31, 79, 209, 0.1);
}

[data-theme="dark"] .q-prompt-box {
    background: #1e293b;
}

[data-theme="dark"] .q-prompt-toolbar {
    background: #0f172a;
    border-color: var(--border-color);
}

[data-theme="dark"] .q-copy-btn {
    background: #1e293b;
    border-color: var(--border-color);
    color: var(--text-dark);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Skip to Content (Accessibility)
   ============================================ */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.breadcrumb .current {
    color: white;
    font-weight: 500;
}

/* ============================================
   Article Content Styles
   ============================================ */
.article-content {
    line-height: 1.8;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.7;
}

.article-content li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.article-content table {
    margin: 2rem 0;
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .theme-toggle {
        order: -1;
        margin-left: 0;
        margin-right: auto;
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-wrapper {
        position: relative;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-visual {
        display: none;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
    }

    .main-content > section {
        padding-left: 0;
        padding-right: 0;
    }

    .main-content > section .container {
        padding: 0 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .portfolio-items {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid .pricing-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .featured-work-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-preview-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-jump-nav {
        gap: 0.375rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .pricing-jump-pill {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid-2 {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-disclaimer {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .payment-options-grid {
        grid-template-columns: 1fr !important;
    }

    .payment-option-card {
        padding: 2rem !important;
    }

    .hero {
        min-height: 60vh;
        padding-top: 90px;
    }

    .hero .container {
        padding: 0 1rem;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .features-grid,
    .values-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon svg {
        width: 30px;
        height: 30px;
    }

    .portfolio-items {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .q-row {
        grid-template-columns: 1fr;
    }

    .q-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .q-radio-cards {
        grid-template-columns: 1fr;
    }

    .q-fields {
        padding: 1.5rem;
    }

    .q-step-dot em {
        display: none;
    }

    .q-step-dot span {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {

    .footer-content {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .payment-options-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-top: 2rem !important;
    }

    .payment-option-card {
        padding: 1.5rem !important;
    }

    .payment-note {
        padding: 1rem !important;
        margin-top: 1.5rem !important;
    }

    .payment-note p {
        font-size: 0.9rem !important;
    }

    .page-header {
        padding: 100px 0 40px !important;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .main-content > section .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 40px 0;
    }
}

