/* ====================================
   WEBDEV PRO - FIXED & OPTIMIZED CSS
   All issues resolved and optimized
==================================== */

/* ========== GLOBAL RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

/* ========== CSS VARIABLES ========== */
:root {
    --primary: #2563eb;
    --secondary: #7c3aed;
    --whatsapp: #25d366;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --bg: #ffffff;
    --text: #1e293b;
    --card: #ffffff;
    --notice: #dc2626;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.15);
}

[data-theme="dark"] {
    --dark: #f8fafc;
    --light: #1e293b;
    --bg: #0f172a;
    --text: #f8fafc;
    --card: #1e293b;
    --border: #334155;
    --gray: #94a3b8;
}

/* ========== BASE STYLES ========== */
html {
    scroll-behavior: smooth;
}

body {
    font: 400 1rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    transition: background .3s, color .3s;
    overscroll-behavior: none;
    animation: pageEnter .6s cubic-bezier(.22,.61,.36,1);
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateX(40px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Grain texture overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: .04;
    pointer-events: none;
    z-index: 9997;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVIGATION ========== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 2000;
    transition: all .3s;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.7);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 700 1.6rem/1 inherit;
    color: var(--primary);
    text-decoration: none;
    transition: transform .3s;
    letter-spacing: .5px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 28px;
    color: var(--primary);
}

.logo span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font: 600 0.95rem/1 inherit;
    transition: color .3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width .3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

/* Status Pill */
.nav-status-pill {
    display: inline-block;
    margin-left: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-status-pill.online {
    background: rgba(16,185,129,.18);
    color: #10b981;
}

.nav-status-pill.offline {
    background: rgba(239,68,68,.18);
    color: #ef4444;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--border);
    border: none;
    padding: 0.6rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    width: 42px;
    height: 42px;
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.theme-toggle-icon {
    font-size: 1.3rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--card);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 240px;
    padding: 0.75rem 0;
    list-style: none;
    border-radius: 12px;
    border: 1px solid var(--border);
    animation: fadeInDown .3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text);
    font-size: 0.9rem;
    transition: all .2s;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--primary);
    padding-left: 2rem;
}

/* Hamburger Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 2001;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all .3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ========== NOTICE BAR ========== */
.notice-bar {
    position: relative;
    z-index: 2001;
    background: linear-gradient(90deg, #0f172a, #1e293b, #0f172a);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

.notice-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 25s linear infinite;
    font: 600 0.95rem/1 inherit;
    color: #e5e7eb;
    letter-spacing: .5px;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.notice-bar:hover .notice-content {
    animation-play-state: paused;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -50% -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    to { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font: 700 3rem/1.2 inherit;
    margin: 0 0 1rem;
    animation: fadeUp .8s ease;
}

.hero p {
    font-size: 1.5rem;
    margin: 0 0 2rem;
    animation: fadeUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1.2s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 3rem 0;
    background: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font: 700 2.5rem/1 inherit;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.stat-label {
    color: var(--gray);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font: 600 1rem/1 inherit;
    transition: all .3s cubic-bezier(.22,.61,.36,1);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.4px;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 50% 50%;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: all .6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(.94);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,.25);
    padding: 12px 22px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(124,58,237,.08);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    font-size: 1.25rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ========== SERVICES ========== */
.services-preview {
    padding: 5rem 0;
}

.services-preview h2 {
    text-align: center;
    font: 700 2.5rem/1.2 inherit;
    margin: 0 0 3rem;
    position: relative;
}

.services-preview h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 0 3rem;
}

.service-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: all .4s cubic-bezier(.22,.61,.36,1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin: 0 0 1rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.service-card p {
    color: var(--gray);
    margin: 0;
}

/* ========== PROJECTS ========== */
.projects-section {
    padding: 5rem 0;
}

.project-card {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: all .4s cubic-bezier(.22,.61,.36,1);
    border: 1px solid var(--border);
    overflow: visible;
    min-height: 1px;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.project-image {
    overflow: visible;
    transform: none !important;
}

.project-screenshot {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: auto;
    backface-visibility: hidden;
}

/* Prevent image scaling on hover */
.project-card:hover .project-image {
    transform: none !important;
}

.project-info {
    padding: 1.5rem;
    position: relative;
    z-index: 5;
}

/* Project card buttons */
.project-card .btn-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(12px);
    transition: all .35s ease;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.project-card .btn-small:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, rgba(124,58,237,.35), rgba(37,99,235,.25));
    box-shadow: 0 15px 40px rgba(124,58,237,.4);
}

.project-card .btn-small::after {
    content: "→";
    font-size: 14px;
    opacity: .7;
    transition: .3s;
}

.project-card .btn-small:hover::after {
    transform: translateX(4px);
    opacity: 1;
}

/* ========== PRICING ========== */
.pricing-section {
    padding: 5rem 0;
}

.pricing-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: all .4s cubic-bezier(.22,.61,.36,1);
    border: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(37,99,235,.3);
}

/* Pricing buttons */
.pricing-card .btn {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 14px 20px;
    font-weight: 600;
    letter-spacing: .5px;
    box-shadow: 0 10px 30px rgba(124,58,237,.4);
    position: relative;
    overflow: hidden;
}

.pricing-card .btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 50px rgba(124,58,237,.6);
}

.pricing-card .btn::after {
    content: "";
    position: absolute;
    inset: -50%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
    transform: translateX(-100%);
    transition: .6s;
}

.pricing-card .btn:hover::after {
    transform: translateX(100%);
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    padding: 5rem 0;
    background: var(--light);
}

.testimonials-section h2 {
    text-align: center;
    font: 700 2.5rem/1.2 inherit;
    margin: 0 0 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: all .4s cubic-bezier(.22,.61,.36,1);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-style: italic;
    margin: 0 0 1rem;
    color: var(--gray);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ========== CONTACT ========== */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg), var(--light));
}

.contact-info,
.contact-form-wrapper {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.2);
    padding: 2rem;
}

[data-theme="dark"] .contact-info,
[data-theme="dark"] .contact-form-wrapper {
    background: rgba(15,23,42,.85);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-radius: 16px;
    transition: .4s;
}

.contact-item:hover {
    background: rgba(124,58,237,.08);
    transform: translateY(-6px);
}

.contact-item i {
    font-size: 26px;
    color: var(--primary);
    filter: drop-shadow(0 4px 12px rgba(37,99,235,.4));
}

.contact-item h3 {
    font-weight: 700;
    letter-spacing: .5px;
}

.contact-item p {
    color: var(--gray);
}

.contact-item p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-item p a:hover {
    text-decoration: underline;
}

/* Form inputs */
input,
textarea,
select {
    border-radius: 12px;
    border: 2px solid var(--border);
    padding: 14px;
    font-size: 1rem;
    transition: .3s;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.2);
    outline: none;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(180deg, #05070d, #0a0f1a);
    color: #fff;
    padding: 6rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(102,126,234,.25), transparent 60%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3.5rem;
    margin: 0 0 2rem;
}

.footer-col {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,.12);
    transition: .5s cubic-bezier(.22,.61,.36,1);
}

.footer-col:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 80px rgba(102,126,234,.5), 0 0 40px rgba(118,75,162,.4);
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-col p,
.footer-col li {
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    font-size: .95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin: 0 0 0.5rem;
}

.footer-col a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: .3s;
    position: relative;
}

.footer-col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: .3s;
}

.footer-col a:hover::after {
    width: 100%;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    border-radius: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    box-shadow: 0 20px 50px rgba(102,126,234,.6);
    transition: .4s;
}

.footer-col .btn:hover {
    transform: translateY(-4px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.6);
}

/* ========== SCROLL TO TOP ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* ========== FLOATING WHATSAPP ========== */
.floating-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: var(--whatsapp);
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37,211,102,.5);
    z-index: 999;
    animation: pulse 2s infinite;
    text-decoration: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 90px 0 70px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255,255,255,.15), transparent 50%);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    opacity: .9;
    position: relative;
    z-index: 1;
}

/* ========== SEO SECTION ========== */
.seo-soft {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #999;
    opacity: 0.9;
}

.seo-soft h2 {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 15px;
}

.seo-soft a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color .3s ease;
}

.seo-soft a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width .35s ease;
    border-radius: 4px;
}

.seo-soft a:hover {
    color: var(--secondary);
}

.seo-soft a:hover::after {
    width: 100%;
}

[data-theme="dark"] .seo-soft a {
    color: #a5b4fc;
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--card);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 25px 30px;
        gap: 20px;
        transition: right 0.35s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        display: block;
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        width: 100%;
        padding: 10px 0;
    }

    .dropdown-menu.active {
        display: block;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-status-pill {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .notice-content {
        font-size: 0.85rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .seo-soft {
        font-size: 12px;
        color: #aaa;
    }

    /* Disable animations on mobile */
    section {
        animation: none !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ========== LOW POWER DEVICE OPTIMIZATION ========== */
@media (hover: none) and (pointer: coarse) {
    .service-card,
    .project-card,
    .pricing-card,
    .testimonial-card,
    .addon-card,
    .contact-info,
    .contact-form-wrapper,
    .footer-col {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--card) !important;
    }

    .service-card:hover,
    .project-card:hover,
    .pricing-card:hover,
    .testimonial-card:hover,
    .addon-card:hover {
        transform: none !important;
    }

    section,
    .hero,
    .page-header,
    .btn-primary {
        animation: none !important;
    }

    body::before,
    body::after {
        display: none !important;
    }
}



.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 32px;      /* control size here */
    width: auto;
    display: block;
}


















/* Hide desktop-only on mobile */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* Hide mobile-only on desktop */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    
    .desktop-only {
        display: block !important;
    }
}