/* ========================================
   Premium Backlinks Theme - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-50: #eff6ff;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --success: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text-primary); background: var(--bg-white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--secondary); }
p { margin-bottom: 1rem; color: var(--text-secondary); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Button Styles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 600; font-size: 0.938rem; padding: 14px 28px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Text Gradient */
.text-gradient { background: linear-gradient(135deg, var(--primary), #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Section Styles */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-badge { display: inline-block; background: var(--primary-50); color: var(--primary); font-size: 0.875rem; font-weight: 600; padding: 6px 16px; border-radius: 50px; margin-bottom: 16px; letter-spacing: 0.5px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { font-size: 1.125rem; color: var(--text-secondary); }

/* ======= HEADER ======= */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); height: var(--header-height); transition: all var(--transition); }
.header-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-branding { flex-shrink: 0; }
.site-logo-text { display: flex; align-items: center; gap: 8px; font-size: 1.35rem; font-weight: 800; color: var(--secondary); text-decoration: none; }
.logo-icon { color: var(--primary); font-size: 1.5rem; }
.main-navigation { display: flex; align-items: center; }
.main-navigation ul { display: flex; gap: 4px; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; padding: 8px 16px; color: var(--text-secondary); font-weight: 500; font-size: 0.938rem; border-radius: var(--radius-sm); transition: all var(--transition); }
.main-navigation a:hover, .main-navigation .current-menu-item a { color: var(--primary); background: var(--primary-50); }
.menu-item-search button { background: none; border: 2px solid var(--border); padding: 8px; border-radius: var(--radius-sm); cursor: pointer; color: var(--text-secondary); transition: all var(--transition); display: flex; align-items: center; margin-left: 8px; }
.menu-item-search button:hover { border-color: var(--primary); color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all var(--transition); }
.header-actions { flex-shrink: 0; margin-left: 16px; }

/* ======= SEARCH OVERLAY (Professional) ======= */
.search-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000; display: none; align-items: center; justify-content: center; perspective: 1000px; }
.search-overlay.active { display: flex; }
.search-overlay-bg { position: absolute; inset: 0; background: rgba(15,23,42,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.search-overlay-content { width: 90%; max-width: 680px; position: relative; transform-style: preserve-3d; animation: searchFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes searchFadeIn { from { opacity: 0; transform: translateY(-30px) rotateX(-10deg) scale(0.95); } to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); } }
.search-overlay-inner { text-align: center; }
.search-overlay-label { color: rgba(255,255,255,0.5); font-size: 0.875rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.search-input-wrap { display: flex; align-items: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; padding: 6px; transition: all 0.3s ease; }
.search-input-wrap:focus-within { border-color: var(--primary); background: rgba(255,255,255,0.12); box-shadow: 0 0 0 4px rgba(37,99,235,0.15), 0 8px 32px rgba(0,0,0,0.3); }
.search-input-icon { flex-shrink: 0; margin-left: 16px; color: rgba(255,255,255,0.3); }
.search-input-wrap input[type="search"] { flex: 1; padding: 18px 16px; font-size: 1.15rem; background: transparent; border: none; outline: none; color: #fff; font-family: var(--font); }
.search-input-wrap input[type="search"]::placeholder { color: rgba(255,255,255,0.3); }
.search-submit-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--primary); color: #fff; border: none; border-radius: 12px; font-size: 0.938rem; font-weight: 600; cursor: pointer; font-family: var(--font); transition: all 0.3s ease; flex-shrink: 0; }
.search-submit-btn:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }
.search-close { position: absolute; top: -60px; right: 0; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.search-close:hover { background: rgba(255,255,255,0.15); transform: rotate(90deg); }
.search-overlay-hints { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.search-overlay-hints span { color: rgba(255,255,255,0.3); font-size: 0.813rem; }
.search-overlay-hints a { color: rgba(255,255,255,0.5); font-size: 0.813rem; padding: 6px 14px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; transition: all 0.3s ease; }
.search-overlay-hints a:hover { color: #fff; border-color: var(--primary); background: rgba(37,99,235,0.2); }

/* ======= HERO ======= */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-height); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary-50) 0%, #f0f4ff 50%, #faf5ff 100%); z-index: -1; }
.hero-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%); z-index: 0; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; padding: 80px 20px; }
.hero-badge { display: inline-block; background: rgba(37,99,235,0.1); color: var(--primary); font-size: 0.875rem; font-weight: 600; padding: 6px 16px; border-radius: 50px; margin-bottom: 24px; }
.hero-text h1 { font-size: 3.25rem; line-height: 1.2; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 1.75rem; font-weight: 800; color: var(--secondary); }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); }
.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-illustration { color: var(--primary); animation: float 6s ease-in-out infinite; display: flex; flex-direction: column; align-items: center; }
.hero-illustration img { width: 480px; height: auto; margin-top: -30px; }
.hero-wa-btn { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff; padding: 10px 22px; border-radius: 50px; text-decoration: none; font-weight: 500; font-size: 0.9rem; margin-top: 12px; transition: all 0.3s ease; box-shadow: 0 4px 16px rgba(37,211,102,0.35); }
.hero-wa-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,0.5); color: #fff; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ======= SERVICES ======= */
.services-section { padding: 100px 0; background: var(--bg-white); position: relative; }

/* Individual Service Block */
.service-service { padding: 60px 0; border-bottom: 1px solid var(--border-light); scroll-margin-top: 100px; }
.service-service:first-of-type { padding-top: 20px; }
.service-service:last-of-type { border-bottom: none; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Alternating layout: even rows swap sides */
.service-service:nth-child(even) .service-row { direction: rtl; }
.service-service:nth-child(even) .service-row > * { direction: ltr; }

/* Visual Side */
.service-visual { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.service-tag { font-size: 5rem; font-weight: 800; color: var(--border); line-height: 1; letter-spacing: -0.03em; }
.service-icon-box { width: 120px; height: 120px; background: linear-gradient(135deg, var(--primary-50), #eef2ff); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 8px 30px rgba(37,99,235,0.1); }
.service-service:hover .service-icon-box { background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; transform: scale(1.05) translateY(-4px); box-shadow: 0 12px 40px rgba(37,99,235,0.25); }

/* Info Side */
.service-info h3 { font-size: 1.75rem; margin-bottom: 16px; color: var(--secondary); }
.service-info p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; }
.service-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 24px; }
.service-features li { padding: 6px 0; font-size: 0.9rem; color: var(--text-secondary); padding-left: 24px; position: relative; }
.service-features li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; font-size: 0.85rem; }
.service-anchor { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--primary); text-decoration: none; transition: all 0.3s ease; padding: 10px 24px; border: 2px solid var(--primary); border-radius: 50px; }
.service-anchor:hover { background: var(--primary); color: #fff; gap: 12px; }



/* ======= TESTIMONIALS ======= */
.testimonials-section { padding: 100px 0; background: var(--bg-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: var(--bg-light); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); transition: all var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial-text { font-size: 0.938rem; font-style: italic; line-height: 1.7; margin-bottom: 20px; color: var(--text-primary); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.938rem; }
.testimonial-author span { font-size: 0.813rem; color: var(--text-secondary); }

/* ======= FAQ ======= */
.faq-section { padding: 100px 0; background: var(--bg-light); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-white); border-radius: var(--radius); margin-bottom: 12px; border: 1px solid var(--border); overflow: hidden; }
.faq-question { width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; background: none; border: none; cursor: pointer; font-size: 1.05rem; font-weight: 600; color: var(--text-primary); font-family: var(--font); text-align: left; transition: var(--transition); }
.faq-question:hover { color: var(--primary); }
.faq-arrow { transition: transform var(--transition); flex-shrink: 0; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 24px; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { font-size: 0.938rem; color: var(--text-secondary); }

/* ======= CTA ======= */
.cta-section { padding: 100px 0; background: var(--bg-dark); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 30% 50%, rgba(37,99,235,0.15) 0%, transparent 60%); }
.cta-content { text-align: center; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.cta-content h2 { font-size: 2.5rem; color: #fff; margin-bottom: 20px; }
.cta-content p { font-size: 1.125rem; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; }
.cta-actions .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-actions .btn-outline:hover { background: #fff; color: var(--secondary); border-color: #fff; }

/* ======= PAGE HEADER ======= */
.page-header { background: linear-gradient(135deg, var(--primary-50), #faf5ff); padding: 120px 0 60px; text-align: center; }
.page-header .page-title { font-size: 2.5rem; margin-bottom: 8px; }
.page-content { padding: 60px 0; max-width: 800px; }
.page-content h1, .page-content h2, .page-content h3 { margin: 32px 0 16px; }
.page-content p { margin-bottom: 20px; }

/* ======= BLOG ======= */
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding: 60px 0; }
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.post-thumbnail { overflow: hidden; }
.post-thumbnail img { width: 100%; height: 220px; object-fit: cover; transition: transform var(--transition); }
.post-card:hover .post-thumbnail img { transform: scale(1.05); }
.post-card-body { padding: 24px; }
.post-meta { display: flex; gap: 12px; font-size: 0.813rem; color: var(--text-secondary); margin-bottom: 12px; }
.post-title { font-size: 1.15rem; margin-bottom: 8px; }
.post-title a { color: var(--secondary); }
.post-title a:hover { color: var(--primary); }
.post-excerpt { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 16px; }
.read-more { font-weight: 600; font-size: 0.875rem; color: var(--primary); gap: 4px; display: inline-flex; align-items: center; }
.pagination { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.875rem; color: var(--text-secondary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Blog Sidebar */
.blog-sidebar .widget { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.widget-title { font-size: 1.125rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.blog-sidebar ul li { padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.blog-sidebar ul li:last-child { border-bottom: none; }
.blog-sidebar a { color: var(--text-secondary); font-size: 0.938rem; }
.blog-sidebar a:hover { color: var(--primary); }
.blog-sidebar input[type="search"] { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); }
.blog-sidebar input[type="submit"] { display: none; }

/* ======= SINGLE POST ======= */
.site-main { min-height: 60vh; padding-bottom: 40px; }
.single-post { padding-top: 48px; }
.single-post-meta { display: flex; gap: 20px; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 28px; flex-wrap: wrap; align-items: center; }
.single-post-meta span { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-light); padding: 4px 14px; border-radius: 50px; }
.single-post-meta .post-category a { color: var(--primary); font-weight: 600; }
.single-post-thumbnail { margin-bottom: 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-content { font-size: 1.05rem; line-height: 1.9; color: var(--text-primary); }
.post-content p { margin-bottom: 24px; }
.post-content h2, .post-content h3, .post-content h4 { margin-top: 40px; margin-bottom: 16px; }
.post-content ul, .post-content ol { margin: 0 0 24px 24px; }
.post-content li { margin-bottom: 8px; color: var(--text-secondary); line-height: 1.7; }
.post-content ul li { list-style: disc; }
.post-content ol li { list-style: decimal; }
.post-content blockquote { border-left: 4px solid var(--primary); padding: 16px 24px; margin: 32px 0; background: var(--primary-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.post-tags { margin: 40px 0; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.post-tags span { font-weight: 600; margin-right: 8px; color: var(--text-primary); }
.post-tags a { display: inline-block; padding: 6px 16px; background: var(--primary-50); border-radius: 50px; font-size: 0.813rem; margin: 4px; color: var(--primary); font-weight: 500; transition: all var(--transition); }
.post-tags a:hover { background: var(--primary); color: #fff; }
.post-navigation { display: flex; justify-content: space-between; margin: 32px 0 0; padding: 24px 0 0; }
.post-navigation a { font-weight: 600; padding: 10px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: all var(--transition); display: inline-block; }
.post-navigation a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }

/* ======= 404 PAGE ======= */
.error-404-content { padding: 100px 0; text-align: center; }
.error-404-inner { max-width: 500px; margin: 0 auto; }
.error-code { font-size: 8rem; font-weight: 800; color: var(--primary); line-height: 1; opacity: 0.3; }
.error-404-content h2 { margin: 24px 0 16px; }

/* ======= FOOTER ======= */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); }
.footer-top { padding: 80px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { color: #fff; font-size: 1.25rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.938rem; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all var(--transition); }
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: rgba(255,255,255,0.5); font-size: 0.938rem; }
.footer-menu a:hover { color: var(--primary); }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 0.938rem; }
.footer-contact svg { flex-shrink: 0; color: var(--primary); }
.footer-bottom { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-content { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom-content p { margin: 0; font-size: 0.875rem; color: rgba(255,255,255,0.4); }
.footer-bottom-menu { display: flex; gap: 20px; }
.footer-bottom-menu a { color: rgba(255,255,255,0.4); font-size: 0.875rem; }
.footer-bottom-menu a:hover { color: var(--primary); }

/* ======= WHATSAPP FIXED FLOAT ======= */
.whatsapp-fixed {
    position: fixed !important;
    right: 24px !important;
    bottom: 80px !important;
    top: auto !important;
    left: auto !important;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    text-decoration: none;
    animation: wa-slide-in 0.7s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    isolation: isolate;
}
.whatsapp-fixed:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37,211,102,0.6);
    color: #fff;
}
@keyframes wa-slide-in {
    0%   { opacity: 0; transform: translateX(90px); }
    65%  { opacity: 1; transform: translateX(-5px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ======= SCROLL TO TOP ======= */
.scroll-top { position: fixed; bottom: 24px; left: 24px; z-index: 999; width: 44px; height: 44px; background: var(--secondary); border: none; border-radius: 50%; color: #fff; cursor: pointer; display: none; align-items: center; justify-content: center; transition: all var(--transition); box-shadow: var(--shadow); }
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--primary); transform: translateY(-3px); }

/* ======= CONTACT FORM ======= */
.contact-section { padding: 60px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-size: 1.75rem; margin-bottom: 16px; }
.contact-info > p { margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item .icon { width: 48px; height: 48px; background: var(--primary-50); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); }
.contact-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.938rem; margin: 0; }
.contact-form-wrap { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.contact-form-wrap h3 { font-size: 1.5rem; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 6px; color: var(--text-primary); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 0.938rem; transition: border var(--transition); background: var(--bg-white); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ======= 3D ANIMATIONS ======= */

/* 3D Perspective base */
.site { transform-style: preserve-3d; perspective: 1200px; }

/* 3D Card Tilt Effect */
.testimonial-card, .post-card, .pricing-card, .faq-item, .contact-form-wrap {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    will-change: transform;
}
.testimonial-card:hover, .post-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-1deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12), 0 10px 20px rgba(0,0,0,0.06);
}

/* 3D Button Depth */
.btn {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    position: relative;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 8px 32px rgba(37,99,235,0.3);
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(0.98); }

/* 3D Hero Elements */
.hero-text {
    transform-style: preserve-3d;
    perspective: 800px;
}
.hero-text h1 {
    transform: translateZ(20px);
    transition: transform 0.4s ease;
}
.hero-text:hover h1 { transform: translateZ(30px); }
.hero-badge {
    transform: translateZ(10px);
    transition: transform 0.4s ease;
}
.hero-text:hover .hero-badge { transform: translateZ(15px); }
.hero-actions { transform: translateZ(15px); }
.hero-stats { transform: translateZ(10px); }

/* 3D Service Icons */
.service-icon-box {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-service:hover .service-icon-box {
    transform: translateZ(20px) rotateY(8deg) rotateX(-4deg) scale(1.08);
}

/* 3D Section Headers */
.section-header {
    transform-style: preserve-3d;
}
.section-header h2 {
    transition: transform 0.4s ease;
}
.section-header:hover h2 {
    transform: translateZ(15px) scale(1.02);
}
.section-badge {
    display: inline-block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.section-header:hover .section-badge {
    transform: translateZ(10px) scale(1.05);
    box-shadow: 0 4px 20px rgba(37,99,235,0.2);
}

/* 3D Testimonial Cards */
.testimonial-card {
    transform-style: preserve-3d;
}
.testimonial-stars { transform: translateZ(10px); }
.testimonial-text { transform: translateZ(5px); }
.testimonial-author { transform: translateZ(15px); }
.testimonial-card:hover .testimonial-stars { transform: translateZ(15px) scale(1.1); }

/* 3D FAQ Items */
.faq-item {
    transform-style: preserve-3d;
}
.faq-question {
    transform-style: preserve-3d;
}
.faq-item.active {
    transform: translateZ(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* 3D Footer Social */
.footer-social a {
    transform-style: preserve-3d;
}
.footer-social a:hover {
    transform: translateZ(10px) rotateY(10deg) scale(1.15);
}

/* 3D Scroll to Top */
.scroll-top {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
.scroll-top:hover { transform: translateZ(10px) translateY(-5px) scale(1.1); }

/* 3D CTA Section */
.cta-content {
    transform-style: preserve-3d;
}
.cta-content h2 { transition: transform 0.4s ease; }
.cta-section:hover .cta-content h2 { transform: translateZ(15px) scale(1.02); }

/* 3D Blog Post Cards */
.post-card {
    transform-style: preserve-3d;
}
.post-thumbnail { transform: translateZ(5px); }
.post-card-body { transform: translateZ(10px); }
.post-card:hover .post-thumbnail img {
    transform: scale(1.08) rotateX(2deg);
}

/* 3D Page Header */
.page-header {
    transform-style: preserve-3d;
}
.page-title {
    transition: transform 0.4s ease;
}
.page-header:hover .page-title {
    transform: translateZ(15px) scale(1.02);
}

/* 3D Contact Form */
.contact-form-wrap {
    transform-style: preserve-3d;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    transform: translateZ(5px);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1), 0 8px 20px rgba(0,0,0,0.06);
}

/* 3D Navigation */
.main-navigation a {
    transform-style: preserve-3d;
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.main-navigation a:hover {
    transform: translateZ(5px);
}

/* 3D Logo */
.site-logo-text {
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}
.site-logo-text:hover {
    transform: translateZ(10px) scale(1.03);
}

/* 3D Illustration Float Enhancement */
.hero-illustration {
    animation: float3d 6s ease-in-out infinite;
    transform-style: preserve-3d;
}
@keyframes float3d {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-15px) rotateX(2deg) rotateY(-2deg); }
    50% { transform: translateY(-25px) rotateX(-1deg) rotateY(3deg); }
    75% { transform: translateY(-10px) rotateX(2deg) rotateY(-1deg); }
}

/* 3D Section Entrance Animation */
.hero-section, .services-section, .testimonials-section, .faq-section, .cta-section {
    transform-style: preserve-3d;
    perspective: 1000px;
}
.service-service:nth-child(2) .reveal-left { transition-delay: 0.1s; }
.service-service:nth-child(2) .reveal-right { transition-delay: 0.15s; }
.service-service:nth-child(3) .reveal-left { transition-delay: 0.2s; }
.service-service:nth-child(3) .reveal-right { transition-delay: 0.25s; }
.service-service:nth-child(4) .reveal-left { transition-delay: 0.3s; }
.service-service:nth-child(4) .reveal-right { transition-delay: 0.35s; }
.service-service:nth-child(5) .reveal-left { transition-delay: 0.4s; }
.service-service:nth-child(5) .reveal-right { transition-delay: 0.45s; }
.service-service:nth-child(6) .reveal-left { transition-delay: 0.5s; }
.service-service:nth-child(6) .reveal-right { transition-delay: 0.55s; }
.service-service:nth-child(7) .reveal-left { transition-delay: 0.6s; }
.service-service:nth-child(7) .reveal-right { transition-delay: 0.65s; }

.testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card:nth-child(3) { transition-delay: 0.15s; }

/* WhatsApp fixed — no 3D stacking context to avoid containing-block interference */
.whatsapp-fixed { isolation: isolate; }

/* 3D Stats */
.stat-item {
    transform-style: preserve-3d;
}
.stat-number {
    display: inline-block;
    transition: transform 0.4s ease;
}
.hero-stats:hover .stat-number {
    transform: translateZ(15px) scale(1.08);
}

/* 3D Image Borders on hover */
.post-thumbnail, .single-post-thumbnail {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.post-thumbnail:hover, .single-post-thumbnail:hover {
    transform: perspective(800px) rotateX(2deg) translateZ(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ======= SCROLL REVEAL ANIMATIONS ======= */
.reveal {
    opacity: 0;
    transform: perspective(800px) translateY(40px) rotateX(4deg);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: perspective(800px) translateY(0) rotateX(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Direction variants */
.reveal-left {
    opacity: 0;
    transform: perspective(800px) translateX(-50px) rotateY(6deg);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: perspective(800px) translateX(0) rotateY(0);
}
.reveal-right {
    opacity: 0;
    transform: perspective(800px) translateX(50px) rotateY(-6deg);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: perspective(800px) translateX(0) rotateY(0);
}
.reveal-scale {
    opacity: 0;
    transform: perspective(800px) scale(0.85) translateZ(-30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: perspective(800px) scale(1) translateZ(0);
}

/* ======= PAGE TRANSITION ======= */
.page-transition {
    animation: pageEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pageEnter {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

/* No Results */
.no-results { text-align: center; padding: 60px 0; }
.no-results h2 { margin-bottom: 12px; }
.no-results form { max-width: 400px; margin: 24px auto 0; display: flex; gap: 0; }
.no-results input[type="search"] { flex: 1; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-family: var(--font); }
.no-results input[type="submit"] { padding: 14px 24px; background: var(--primary); color: #fff; border: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; font-weight: 600; }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.75rem; }
    .hero-subtitle { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { display: none; }
    .service-row { grid-template-columns: 1fr 1fr; gap: 40px; }
    .service-tag { font-size: 4rem; }
    .service-icon-box { width: 100px; height: 100px; }
    .service-service { padding: 50px 0; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-layout { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --header-height: 64px; }
    .menu-toggle { display: flex; }
    .main-navigation ul { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--bg-white); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
    .main-navigation ul.active { display: flex; }
    .main-navigation li { width: 100%; }
    .main-navigation a { padding: 12px 16px; }
    .header-actions { display: none; }
    .hero-text h1 { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .section-header h2 { font-size: 1.75rem; }
    .service-row { grid-template-columns: 1fr; gap: 30px; }
    .service-service:nth-child(even) .service-row { direction: ltr; }
    .service-service:nth-child(even) .service-row > * { direction: ltr; }
    .service-visual { order: -1; }
    .service-tag { font-size: 3rem; }
    .service-icon-box { width: 80px; height: 80px; }
    .service-service { padding: 40px 0; }
    .service-info h3 { font-size: 1.35rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-content { flex-direction: column; gap: 12px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .page-title { font-size: 1.75rem; }
    .cta-content h2 { font-size: 1.75rem; }
    .cta-actions { flex-direction: column; align-items: center; }
    .testimonial-card:hover { transform: translateY(-4px) rotateX(0) rotateY(0); }
    .post-card:hover { transform: translateY(-4px) rotateX(0) rotateY(0); }
    .service-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.75rem; }
    .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
    .stat-item { align-items: center; }
    .search-overlay-hints { display: none; }
}

.wa-float { position: fixed !important; bottom: 24px !important; right: 24px !important; z-index: 9999; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none; transition: all 0.3s ease; }
.wa-float:hover { transform: scale(1.1); color: #fff; box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-above-footer { text-align: center; padding: 40px 20px; background: #f8fafc; }
.wa-above-btn { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; padding: 14px 32px; border-radius: 50px; text-decoration: none; font-weight: 500; font-size: 1rem; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
.wa-above-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,0.55); color: #fff; }
.home .wa-above-footer { display: none; }
