/* ============================================
   Pasumai Printers — 10x SEO v2 Stylesheet
   Theme: Emerald Dark / Glassmorphism
   Mobile-first, accessible, fast
   ============================================ */

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --gold: #facc15;
  --gold-2: #fbbf24;
  --dark: #0a0f0a;
  --dark-2: #0f1f17;
  --dark-3: #132a1f;
  --light: #f8fafc;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 20px 40px -10px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 28px rgba(16,185,129,0.22);
  --max-width: 1280px;
  --header-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--emerald-300); text-decoration: none; transition: color .2s; }
a:hover { color: var(--emerald-100); }

button { font-family: inherit; cursor: pointer; }

/* Utility helpers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Typography */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--emerald-200) 50%, var(--emerald-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.tamil-text { font-family: 'Noto Sans Tamil', 'Poppins', sans-serif; }

/* Layout */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; position: relative; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 3.5rem; }
.section-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--emerald-200); opacity: .9; }

/* Glassmorphism */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
}

.card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: rgba(16,185,129,0.35); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 9999px; font-weight: 700; text-align: center;
  transition: transform .2s, box-shadow .2s; border: none; outline: none;
}
.btn-primary { background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700)); color: #fff; box-shadow: 0 10px 25px -5px rgba(16,185,129,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -5px rgba(16,185,129,0.5); color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.08); color: var(--emerald-100); border: 1px solid rgba(255,255,255,0.15); }
.btn-secondary:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn-whatsapp { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; }
.btn-whatsapp:hover { color: #fff; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height); background: rgba(10,15,10,0.75);
  backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(6,40,30,0.92); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: .75rem; }
.logo-icon {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-700));
  box-shadow: 0 0 18px rgba(16,185,129,0.35);
}
.logo-text { font-size: 1.35rem; font-weight: 800; color: #fff; line-height: 1.1; }
.logo-text span { display: block; font-size: .7rem; font-weight: 500; color: var(--emerald-200); }

.nav { display: none; align-items: center; gap: 1.5rem; }
.nav a { font-weight: 600; color: var(--emerald-100); font-size: .95rem; }
.nav a:hover { color: #fff; }
.nav a.active { color: var(--emerald-400); }

.mobile-menu-btn { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #fff; font-size: 1.25rem; }

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(80vw, 320px);
  background: rgba(6,30,22,0.98); z-index: 1001; padding: 1.5rem;
  transform: translateX(100%); transition: transform .3s ease; border-left: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 1rem;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .close { align-self: flex-end; width: 40px; height: 40px; background: rgba(255,255,255,0.06); border: none; border-radius: 10px; color: #fff; font-size: 1.25rem; }
.mobile-menu a { color: var(--emerald-100); font-weight: 600; padding: .75rem; border-radius: 10px; }
.mobile-menu a:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* Hero */
.hero { min-height: 100vh; padding-top: calc(var(--header-height) + 4rem); padding-bottom: 4rem; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(16,185,129,0.18) 0%, transparent 55%), linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 60%, var(--dark) 100%); z-index: -2; }
.hero-particles { position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 9999px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: var(--emerald-200); font-weight: 600; font-size: .85rem; margin-bottom: 1.25rem; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.05; margin-bottom: 1.25rem; }
.hero-subtitle { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--emerald-100); opacity: .9; margin-bottom: 2rem; max-width: 640px; }
.hero-tamil { font-size: .95rem; color: var(--emerald-200); opacity: .85; margin-top: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 480px; }
.hero-stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 1rem; }
.hero-stat strong { display: block; font-size: 1.5rem; color: var(--emerald-300); }
.hero-stat span { font-size: .8rem; color: var(--emerald-100); opacity: .8; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-img-wrap { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow); }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card { position: absolute; background: rgba(10,20,15,0.92); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: .75rem 1rem; box-shadow: var(--shadow); }
.hero-float-card.one { top: 10%; left: -5%; }
.hero-float-card.two { bottom: 15%; right: -5%; }

/* Section variations */
.bg-dark-2 { background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%); }
.bg-dark-3 { background: var(--dark-3); }

/* Trust bar */
.trust-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.trust-item { display: flex; align-items: center; gap: .75rem; }
.trust-item i { font-size: 1.5rem; color: var(--emerald-400); }
.trust-item strong { display: block; font-size: 1rem; color: #fff; }
.trust-item span { font-size: .8rem; color: var(--emerald-200); opacity: .8; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
.service-card { text-align: center; }
.service-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.5rem; color: #fff; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; color: #fff; }
.service-card p { font-size: .9rem; color: var(--emerald-100); opacity: .8; line-height: 1.55; }
.service-card .tamil { font-size: .82rem; opacity: .75; margin-top: .25rem; }

/* Why choose us */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.feature-card { display: flex; gap: 1.25rem; text-align: left; }
.feature-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--emerald-300); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: .35rem; color: #fff; }
.feature-card p { font-size: .9rem; color: var(--emerald-100); opacity: .8; }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.5rem; counter-reset: step; }
.step-card { position: relative; padding: 1.5rem; padding-top: 3rem; text-align: center; }
.step-card::before { counter-increment: step; content: counter(step); position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; border: 3px solid var(--dark); }
.step-card h3 { font-size: 1.1rem; margin-bottom: .4rem; color: #fff; }
.step-card p { font-size: .9rem; color: var(--emerald-100); opacity: .8; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pricing-card { display: flex; flex-direction: column; }
.pricing-card.featured { border: 1px solid var(--emerald-500); box-shadow: var(--shadow-glow); }
.pricing-header { text-align: center; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 1.25rem; }
.pricing-header h3 { font-size: 1.25rem; color: #fff; margin-bottom: .25rem; }
.pricing-header .price { font-size: 2rem; font-weight: 800; color: var(--emerald-300); }
.pricing-header .price span { font-size: .9rem; color: var(--emerald-100); opacity: .7; }
.pricing-card ul { flex: 1; list-style: none; margin-bottom: 1.5rem; }
.pricing-card li { padding: .55rem 0; padding-left: 1.6rem; position: relative; color: var(--emerald-100); opacity: .9; font-size: .92rem; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--emerald-400); font-weight: 700; }

/* Gallery */
.gallery-filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.gallery-filter button { padding: .55rem 1.1rem; border-radius: 9999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: var(--emerald-100); font-weight: 600; font-size: .85rem; }
.gallery-filter button.active, .gallery-filter button:hover { background: var(--emerald-600); color: #fff; border-color: var(--emerald-500); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; border: 1px solid rgba(255,255,255,0.08); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-size: .95rem; color: #fff; }
.gallery-overlay span { font-size: .75rem; color: var(--emerald-200); }

/* FAQ */
.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item { border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; background: rgba(255,255,255,0.03); color: #fff; font-weight: 600; border: none; text-align: left; font-size: 1rem; }
.faq-question i { transition: transform .3s; color: var(--emerald-400); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; background: rgba(255,255,255,0.02); }
.faq-item.active .faq-answer { max-height: 400px; padding: 1rem 1.25rem; }
.faq-answer p { color: var(--emerald-100); opacity: .85; font-size: .95rem; }

/* Testimonials */
.review-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.review-card { position: relative; }
.review-card .stars { color: var(--gold); font-size: .95rem; margin-bottom: .75rem; }
.review-card p { font-size: .95rem; color: var(--emerald-100); opacity: .9; margin-bottom: 1rem; font-style: italic; }
.review-author { display: flex; align-items: center; gap: .75rem; }
.review-author .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--emerald-700); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.review-author strong { display: block; color: #fff; font-size: .95rem; }
.review-author span { font-size: .78rem; color: var(--emerald-200); opacity: .75; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.contact-info { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.contact-info-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
.contact-info-card i { font-size: 1.4rem; color: var(--emerald-400); margin-top: .15rem; }
.contact-info-card h3 { font-size: 1rem; color: #fff; margin-bottom: .2rem; }
.contact-info-card p { font-size: .9rem; color: var(--emerald-100); opacity: .85; }
.contact-info-card a { color: var(--emerald-200); }
.contact-form { display: grid; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .9rem; color: var(--emerald-100); font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  padding: .85rem 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05); color: #fff; font-size: .95rem; outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--emerald-500); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }

.map-frame { width: 100%; height: 420px; border: 0; border-radius: var(--radius-lg); }

/* Local areas */
.areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.areas-grid a { display: block; padding: .85rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; color: var(--emerald-100); font-weight: 600; font-size: .9rem; transition: all .2s; }
.areas-grid a:hover { background: rgba(16,185,129,0.1); border-color: var(--emerald-500); color: #fff; transform: translateX(4px); }
.areas-grid a i { color: var(--emerald-400); margin-right: .5rem; }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--emerald-200); opacity: .85; margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--emerald-300); }
.breadcrumb a:hover { color: #fff; }

/* About page */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.stat-box { padding: 1.25rem; text-align: center; }
.stat-box strong { display: block; font-size: 1.8rem; color: var(--emerald-300); }
.stat-box span { font-size: .8rem; color: var(--emerald-100); opacity: .8; }

/* Services page */
.service-detail { margin-bottom: 2.5rem; }
.service-detail h2 { font-size: 1.65rem; color: #fff; margin-bottom: .75rem; }
.service-detail p { color: var(--emerald-100); opacity: .85; margin-bottom: .75rem; }
.service-detail ul { list-style: disc; padding-left: 1.5rem; color: var(--emerald-200); opacity: .9; }
.service-detail li { margin-bottom: .4rem; }

/* Footer */
.footer { padding: 4rem 0 2rem; background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--emerald-100); opacity: .8; margin: 1rem 0; font-size: .95rem; }
.footer-brand .rating { color: var(--gold); margin-bottom: .5rem; }
.footer-links h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: var(--emerald-200); opacity: .85; font-size: .92rem; }
.footer-links a:hover { color: #fff; opacity: 1; }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bottom p { color: var(--emerald-100); opacity: .6; font-size: .85rem; }
.payment-methods { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.payment-methods span { padding: .4rem .75rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; font-size: .75rem; color: var(--emerald-100); }

/* Floating CTA */
.floating-cta { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900; display: flex; flex-direction: column; gap: .75rem; }
.floating-cta a { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(0,0,0,0.35); transition: transform .2s; color: #fff; font-size: 1.4rem; }
.floating-cta a:hover { transform: translateY(-4px) scale(1.05); }
.floating-cta .whatsapp { background: linear-gradient(135deg, #22c55e, #15803d); }
.floating-cta .call { background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700)); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }

/* Media queries */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .nav { display: flex; }
  .mobile-menu-btn { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
