/* EventsPlus – Modern Design System + Animations */
:root {
  --primary: #e91e8c;
  --primary-dark: #c2185b;
  --primary-light: #3d1528;
  --secondary: #e91e8c;
  --secondary-light: #2a0f1c;
  --accent: #ffffff;
  --text: #f1f5f9;
  --text-light: #cbd5e1;
  --text-muted: #94a3b8;
  --bg: #0a0a0b;
  --bg-alt: #111114;
  --bg-dark: #000000;
  --bg-card: #16161a;
  --border: #2a2a32;
  --border-soft: #1c1c22;
  --sky: #e91e8c;
  --light-blue: #1e293b;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-pink: 0 8px 28px rgba(233, 30, 140, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --font: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(233, 30, 140, 0.4); } 50% { box-shadow: 0 0 0 12px rgba(233, 30, 140, 0); } }
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: var(--transition); }
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.4rem; color: var(--accent); z-index: 10; }
.logo span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav > .nav-item > a { display: flex; align-items: center; gap: 6px; font-size: 0.92rem; font-weight: 500; color: var(--text); padding: 8px 14px; border-radius: 8px; }
.nav > a:hover, .nav > a.active, .nav > .nav-item > a:hover, .nav > .nav-item > a.active { color: var(--primary); background: var(--primary-light); }
.nav > a i, .nav > .nav-item > a i { font-size: 0.85rem; opacity: 0.85; }

.nav-item { position: relative; }
.nav-item > a .fa-chevron-down { font-size: 0.65rem; margin-left: 2px; transition: transform 0.25s ease; }
.nav-item:hover > a .fa-chevron-down { transform: rotate(180deg); }
.mega-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(10px); width: 640px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.12); border: 1px solid var(--border); padding: 28px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; z-index: 100; }
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-menu::before { content: ''; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); border: 8px solid transparent; border-bottom-color: #fff; filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.04)); }
.mega-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: var(--radius); transition: var(--transition); }
.mega-item:hover { background: var(--primary-light); }
.mega-item-icon { width: 42px; height: 42px; min-width: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), #ad1457); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.mega-item h4 { font-size: 0.95rem; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
.mega-item p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.mega-menu-footer { grid-column: 1 / -1; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.mega-menu-footer span { font-size: 0.85rem; color: var(--text-muted); }
.mega-menu-footer a { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.mega-menu-footer a:hover { text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; font-size: 0.95rem; font-weight: 600; border-radius: 50px; border: none; cursor: pointer; transition: var(--transition); font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,30,140,0.35); }
.btn-primary.pulse { animation: pulse-glow 2.5s infinite; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.8); }
.btn-outline:hover { background: #fff; color: var(--accent); }
.btn-outline-dark { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline-dark:hover { background: var(--accent); color: #fff; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 10; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--accent); margin: 5px 0; transition: var(--transition); }
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 72px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; color: #fff; padding: 80px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(233,30,140,0.2); border: 1px solid rgba(233,30,140,0.4); border-radius: 50px; font-size: 0.85rem; color: #ff8cc8; margin-bottom: 24px; letter-spacing: 0.5px; animation: fadeInUp 0.8s ease both; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 20px; animation: fadeInUp 0.8s ease 0.15s both; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 540px; animation: fadeInUp 0.8s ease 0.3s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; animation: fadeInUp 0.8s ease 0.45s both; }
.hero-stats { display: flex; gap: 40px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); animation: fadeInUp 0.8s ease 0.6s both; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.hero-stat span { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

section { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; transition: var(--transition); }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-icon { width: 56px; height: 56px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--primary); margin-bottom: 20px; transition: var(--transition); }
.why-card:hover .why-icon { background: var(--primary); color: #fff; transform: scale(1.08); }
.why-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--accent); }
.why-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

.services { background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-img { height: 220px; overflow: hidden; position: relative; }
.service-img img { width: 100%; height: 100%; transition: transform 0.6s ease; }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-body { padding: 28px; }
.service-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.service-body h3 i { color: var(--primary); font-size: 1rem; }
.service-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; line-height: 1.65; }
.service-body a { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.service-body a:hover { gap: 10px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.portfolio-item img { width: 100%; height: 100%; transition: transform 0.6s ease; }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.3) 50%, transparent 100%); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 24px; opacity: 0; transition: opacity 0.35s ease; color: #fff; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; transform: translateY(12px); transition: transform 0.35s ease; }
.portfolio-overlay span { font-size: 0.85rem; opacity: 0.85; transform: translateY(12px); transition: transform 0.35s ease 0.05s; }
.portfolio-item:hover .portfolio-overlay h4, .portfolio-item:hover .portfolio-overlay span { transform: translateY(0); }

.testimonials { background: var(--bg-alt); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: var(--bg); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text); font-size: 0.98rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.author-info strong { display: block; font-size: 0.95rem; color: var(--accent); }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }

.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 36px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num { width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; box-shadow: 0 8px 24px rgba(233,30,140,0.3); transition: var(--transition); }
.process-step:hover .step-num { transform: scale(1.1); box-shadow: 0 12px 32px rgba(233,30,140,0.4); }
.process-step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--accent); }
.process-step p { color: var(--text-light); font-size: 0.95rem; max-width: 280px; margin: 0 auto; }

.cta {
  background: linear-gradient(135deg, #000000 0%, #1a0a12 50%, #e91e8c 100%); color: #fff; text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(233,30,140,0.1); top: -100px; right: -100px; animation: float 8s ease-in-out infinite; }
.cta h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 16px; position: relative; }
.cta p { color: rgba(255,255,255,0.75); margin-bottom: 32px; font-size: 1.1rem; position: relative; }
.cta .btn { position: relative; }

.blog-hero { background: linear-gradient(135deg, #000000 0%, #111114 60%, #1a0a12 100%); color: #fff; padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden; }
.blog-hero::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(233,30,140,0.08); bottom: -80px; left: -60px; }
.blog-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.blog-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 80px 0; }
.blog-card { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.08); }
.blog-card-body { padding: 24px; }
.blog-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; align-items: center; }
.blog-category { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-card h2 { font-size: 1.2rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; line-height: 1.4; }
.blog-card h2 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.65; margin-bottom: 16px; }
.blog-card .read-more { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.blog-card .read-more:hover { gap: 10px; }

.blog-post { max-width: 760px; margin: 0 auto; padding: 140px 24px 80px; }
.blog-post-header { margin-bottom: 40px; }
.blog-post-header .blog-meta { margin-bottom: 16px; }
.blog-post-header h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--accent); line-height: 1.25; margin-bottom: 20px; }
.blog-post-header .excerpt { font-size: 1.15rem; color: var(--text-light); line-height: 1.7; }
.blog-post-content { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.blog-post-content h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); margin: 40px 0 16px; }
.blog-post-content h3 { font-size: 1.2rem; color: var(--accent); margin: 32px 0 12px; }
.blog-post-content p { margin-bottom: 20px; }
.blog-post-content ul { margin: 0 0 20px 24px; list-style: disc; }
.blog-post-content li { margin-bottom: 8px; }
.blog-post-content a { color: var(--primary); }
.blog-post-content a:hover { text-decoration: underline; }
.blog-post-content blockquote { border-left: 4px solid var(--primary); padding: 16px 24px; margin: 28px 0; background: var(--primary-light); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text); }
.blog-post-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

.footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 300px; color: rgba(255,255,255,0.6); }
.footer h4 { color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 0.9rem; color: rgba(255,255,255,0.6); display: inline-flex; align-items: center; gap: 6px; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 1rem; transition: var(--transition); }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

@media (max-width: 992px) {
  .why-grid, .services-grid, .testimonials-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-menu { width: 480px; grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 24px 24px; gap: 4px; border-bottom: 1px solid var(--border); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: var(--transition); box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav > a, .nav > .nav-item > a { padding: 14px 12px; border-radius: 10px; }
  .nav-item .mega-menu { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; border: none; padding: 8px 0 8px 16px; display: none; grid-template-columns: 1fr; }
  .nav-item.open .mega-menu { display: grid; }
  .mega-menu::before { display: none; }
  .mega-menu-footer { flex-direction: column; gap: 8px; align-items: flex-start; }
  .mobile-toggle { display: block; }
  .header .btn-header { display: none; }
  .why-grid, .services-grid, .testimonials-grid, .portfolio-grid, .blog-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ========== PAGE TRANSITIONS ========== */
body {
  opacity: 0;
  transition: opacity 0.35s ease;
}
body.page-loaded { opacity: 1; }
body.page-exit { opacity: 0; transition: opacity 0.25s ease; }

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, #000000 0%, #111114 60%, #1a0a12 100%);
  color: #fff;
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 20px;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { opacity: 0.5; }

/* Content blocks */
.content-section { padding: 80px 0; }
.content-section.alt { background: var(--bg-alt); }
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.content-grid.reverse { grid-template-columns: 1fr 1.2fr; }
.content-grid.reverse .content-text { order: 2; }
.content-grid .content-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.content-grid .content-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.content-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent);
  margin-bottom: 16px;
}
.content-text p { color: var(--text-light); margin-bottom: 14px; line-height: 1.75; }
.content-text ul { margin: 16px 0 20px 20px; list-style: disc; color: var(--text-light); }
.content-text li { margin-bottom: 8px; }

/* Service detail cards */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-detail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.service-detail:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-detail img { width: 100%; height: 220px; object-fit: cover; }
.service-detail-body { padding: 28px; }
.service-detail-body h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-detail-body h3 i { color: var(--primary); }
.service-detail-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 14px; line-height: 1.65; }
.service-detail-body ul { margin: 0 0 16px 18px; list-style: disc; color: var(--text-light); font-size: 0.9rem; }
.service-detail-body li { margin-bottom: 6px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q i { color: var(--primary); transition: transform 0.25s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* Areas / chips */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.area-chip {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-card h3 { font-family: var(--font-display); margin-bottom: 20px; }
.contact-info-card a { color: rgba(255,255,255,0.85); }
.contact-info-card a:hover { color: var(--primary); }
.contact-info-card .info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-info-card .info-row i {
  color: var(--primary);
  margin-top: 4px;
}
.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-card .form-group { margin-bottom: 16px; }
.contact-form-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233,30,140,0.12);
}

/* Hero without parallax scale */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .content-grid, .content-grid.reverse,
  .service-detail-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .content-grid.reverse .content-text { order: 0; }
}


/* ========== IMAGE ZOOM (Ken Burns) ========== */
@keyframes imageZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.hero-bg img {
  animation: imageZoom 22s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

.service-img img,
.blog-card-img img,
.portfolio-item img,
.content-media img {
  transition: transform 0.6s ease;
}

.service-card:hover .service-img img,
.blog-card:hover .blog-card-img img,
.portfolio-item:hover img,
.content-media:hover img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none !important; }
}


/* ========== COLORFUL HOME REDESIGN ========== */
.hero-badge {
  background: linear-gradient(90deg, rgba(233,30,140,0.35), rgba(124,77,255,0.3));
  border-color: rgba(255,255,255,0.35);
}
.hero h1 em {
  background: linear-gradient(90deg, #ff5eb0, #e91e8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  color: var(--primary);
  -webkit-text-fill-color: unset;
  background: none;
}
.why-card .why-icon { background: var(--primary-light); color: var(--primary); }
.why-card:hover .why-icon { background: var(--primary); color: #fff; }

.stats-band {
  background: linear-gradient(120deg, #000000 0%, #1a1a1a 50%, #e91e8c 100%);
  color: #fff;
  padding: 48px 0;
}
.stats-band .hero-stats {
  margin: 0;
  padding: 0;
  border: none;
  justify-content: center;
  gap: 64px;
}
.stats-band .hero-stat strong { color: #fff; font-size: 2.2rem; }
.stats-band .hero-stat span { color: rgba(255,255,255,0.85); }

.cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #e91e8c 100%);
}
.btn-primary {
  background: linear-gradient(90deg, #e91e8c, #c2185b);
}
.btn-primary:hover {
  background: linear-gradient(90deg, #c2185b, #ad1457);
}

/* Mega menu restored */
.nav-item { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(720px, 92vw);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(26,26,46,0.15);
  border: 1px solid var(--border);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  z-index: 100;
}
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  transition: 0.2s;
}
.mega-item:hover { background: linear-gradient(90deg, #fce4ec, #ede7f6); }
.mega-item-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.mega-item-icon { background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important; }
.mega-item h4 { font-size: 0.95rem; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
.mega-item p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.mega-menu-footer {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.mega-menu-footer a { color: var(--primary); font-weight: 600; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-top: 40px;
  min-height: 360px;
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.color-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .nav-item .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 8px 0 8px 12px;
    display: none;
    grid-template-columns: 1fr;
  }
  .nav-item.open .mega-menu { display: grid; }
  .stats-band .hero-stats { flex-direction: column; gap: 24px; }
}

/* ========== MEGA MENU (brand) ========== */
.nav-item { position: relative; }
.nav-item > a .fa-chevron-down { font-size: 0.65rem; margin-left: 4px; transition: transform 0.25s ease; }
.nav-item:hover > a .fa-chevron-down,
.nav-item.open > a .fa-chevron-down { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(680px, 94vw);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(233, 30, 140, 0.15), 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #fce4ec;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  z-index: 200;
}
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: #fff;
}
.mega-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.mega-item:hover { background: #fce4ec; }
.mega-item-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e91e8c, #c2185b) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.mega-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 2px;
  font-family: var(--font);
}
.mega-item p {
  font-size: 0.78rem;
  color: #888;
  margin: 0;
  line-height: 1.35;
}
.mega-menu-footer {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #fce4ec;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.mega-menu-footer span { color: #888; }
.mega-menu-footer a {
  color: #e91e8c;
  font-weight: 600;
  text-decoration: none;
}
.mega-menu-footer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .mega-menu {
    position: static;
    transform: none !important;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 4px 0 8px 8px;
    display: none;
    grid-template-columns: 1fr;
  }
  .nav-item.open .mega-menu { display: grid; }
  .mega-menu::before { display: none; }
}


/* Light blue brand accents */
:root {
  --light-blue: #e3f2fd;
  --sky: #4fc3f7;
  --sky-dark: #039be5;
}
.light-blue-band {
  background: linear-gradient(120deg, #000000 0%, #1a1a1a 50%, #e91e8c 100%);
}
.area-chip {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0;
}
.area-chip:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}
.hero-badge {
  background: linear-gradient(90deg, rgba(233,30,140,0.4), rgba(79,195,247,0.35)) !important;
}
.btn-outline {
  border-color: rgba(255,255,255,0.85);
}
.why-card:nth-child(2) .why-icon {
  background: var(--light-blue) !important;
  color: var(--sky-dark) !important;
}
.why-card:nth-child(2):hover .why-icon {
  background: var(--sky-dark) !important;
  color: #fff !important;
}

/* Blog mega menu */
.mega-menu-blog {
  width: min(420px, 92vw) !important;
  grid-template-columns: 1fr !important;
  padding: 16px !important;
}
.mega-blog-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-blog-item {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.mega-blog-item:hover {
  background: linear-gradient(90deg, #fce4ec, #e3f2fd);
}
.mega-blog-thumb {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #fce4ec;
}
.mega-blog-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-blog-item time {
  font-size: 0.75rem;
  color: #888;
}
.mega-blog-loading {
  padding: 20px;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

/* Services mega: ensure clickable */
.mega-menu a.mega-item {
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.nav-item > a {
  cursor: pointer;
}


/* ========== LEGIBILITY + COOL PALETTE POLISH ========== */
body {
  color: var(--text);
  background: var(--bg);
}

.header {
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav > a:hover,
.nav > a.active,
.nav > .nav-item > a:hover,
.nav > .nav-item > a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(233, 30, 140, 0.28);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-pink);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

.btn-outline-dark {
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline-dark:hover {
  background: var(--accent);
  color: #fff;
}

.hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(15, 23, 42, 0.35);
}
.hero-content p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(15, 23, 42, 0.25);
}
.hero-stat strong { color: #fff; }
.hero-stat span { color: rgba(255, 255, 255, 0.8); }

.section-header h2,
.why-card h3,
.service-body h3,
.content-text h2 {
  color: var(--accent);
}
.section-header p,
.why-card p,
.service-body p,
.content-text p {
  color: var(--text-light);
}

.why-card,
.service-card,
.testimonial-card,
.blog-card,
.faq-item {
  background: var(--bg-card);
  border-color: var(--border);
}
.why-card:hover,
.service-card:hover,
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.services,
.testimonials,
.content-section.alt {
  background: var(--bg-alt);
}

.footer {
  background: var(--bg-dark);
  color: #cbd5e1;
}
.footer a { color: #e2e8f0; }
.footer a:hover { color: var(--primary); }
.footer h4 { color: #fff; }
.footer-brand p { color: #94a3b8; }
.footer-bottom {
  border-top-color: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

.mega-menu {
  border-color: var(--border);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}
.mega-item:hover {
  background: linear-gradient(90deg, #fce4ec, #f1f5f9);
}
.mega-item h4 { color: var(--accent); }
.mega-item p { color: var(--text-muted); }

.faq-q { color: var(--accent); }
.faq-a { color: var(--text-light); }

.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, 0.85); }

.blog-card h2 a:hover,
.read-more,
.service-body a {
  color: var(--primary);
}

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

/* Stronger contrast for muted labels */
.blog-meta time,
.blog-card .blog-meta {
  color: var(--text-muted);
}
.blog-category {
  color: var(--primary);
  font-weight: 600;
}


/* ========== BLACK + HOT PINK THEME ========== */
body {
  background: var(--bg);
  color: var(--text);
}

.header {
  background: rgba(0, 0, 0, 0.9) !important;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}
.header.scrolled {
  border-bottom-color: #2a2a32;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.logo { color: #fff !important; }
.logo span { color: var(--primary) !important; }

.nav > a,
.nav > .nav-item > a {
  color: #e2e8f0 !important;
}
.nav > a:hover,
.nav > a.active,
.nav > .nav-item > a:hover,
.nav > .nav-item > a.active {
  color: var(--primary) !important;
  background: rgba(233, 30, 140, 0.15) !important;
}

.btn-primary {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(233, 30, 140, 0.4);
}
.btn-primary:hover {
  background: var(--primary-dark) !important;
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-outline-dark {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

.hero-content h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.6); }
.hero-content p { color: rgba(255,255,255,0.9); }
.hero-stat strong { color: #fff; }
.hero-stat span { color: rgba(255,255,255,0.75); }
.hero-badge {
  background: rgba(233, 30, 140, 0.25) !important;
  border: 1px solid rgba(233, 30, 140, 0.5);
  color: #fff;
}

.section-label { color: var(--primary) !important; }
.section-header h2,
.why-card h3,
.service-body h3,
.content-text h2,
.faq-q {
  color: #fff !important;
}
.section-header p,
.why-card p,
.service-body p,
.content-text p,
.faq-a {
  color: var(--text-light) !important;
}

.why-card,
.service-card,
.testimonial-card,
.blog-card,
.faq-item,
.service-detail,
.contact-form-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  color: var(--text);
}
.why-card:hover,
.service-card:hover,
.blog-card:hover {
  border-color: rgba(233, 30, 140, 0.4) !important;
  box-shadow: 0 12px 40px rgba(233, 30, 140, 0.15);
}

.why-icon {
  background: rgba(233, 30, 140, 0.2) !important;
  color: var(--primary) !important;
}
.why-card:hover .why-icon {
  background: var(--primary) !important;
  color: #fff !important;
}

.services,
.testimonials,
.content-section.alt,
#why,
#portfolio-preview {
  background: var(--bg-alt) !important;
}

.content-section { background: var(--bg); }

.service-body a,
.read-more,
.blog-category,
.blog-card h2 a:hover {
  color: var(--primary) !important;
}
.blog-card h2 a { color: #fff; }
.blog-meta time { color: var(--text-muted); }

.mega-menu {
  background: #111114 !important;
  border: 1px solid #2a2a32 !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6) !important;
}
.mega-item:hover {
  background: rgba(233, 30, 140, 0.12) !important;
}
.mega-item h4 { color: #fff !important; }
.mega-item p { color: #94a3b8 !important; }
.mega-menu-footer {
  border-top-color: #2a2a32 !important;
}
.mega-menu-footer a { color: var(--primary) !important; }
.mega-menu-footer span { color: #94a3b8; }
.mega-item-icon {
  background: linear-gradient(135deg, #e91e8c, #c2185b) !important;
}

.footer {
  background: #000 !important;
  color: #94a3b8;
}
.footer h4 { color: #fff; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: var(--primary) !important; }
.footer-brand p { color: #64748b; }
.footer-bottom {
  border-top: 1px solid #1c1c22;
  color: #64748b;
}
.socials a {
  background: #16161a;
  color: #e2e8f0;
}
.socials a:hover {
  background: var(--primary);
  color: #fff;
}

.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.85); }

.area-chip {
  background: #16161a !important;
  color: #e2e8f0 !important;
  border: 1px solid #2a2a32 !important;
}
.area-chip:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.stats-band {
  background: linear-gradient(120deg, #000 0%, #1a1a1a 50%, #e91e8c 100%) !important;
  color: #fff;
}

.cta {
  background: linear-gradient(135deg, #000 0%, #1a0a12 45%, #e91e8c 100%) !important;
}
.cta h2, .cta p { color: #fff; }

.contact-info-card {
  background: #000 !important;
  border: 1px solid #2a2a32;
}
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  background: #0a0a0b;
  border-color: #2a2a32;
  color: #f1f5f9;
}
.contact-form-card label { color: #e2e8f0; }

.portfolio-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.testimonial-stars { color: var(--primary); }
.author-avatar {
  background: rgba(233, 30, 140, 0.2);
  color: var(--primary);
}
.author-info strong { color: #fff; }
.author-info span { color: var(--text-muted); }

.mobile-toggle span { background: #fff; }

/* Pagination */
#blogPagination button {
  background: #16161a;
  border: 1px solid #2a2a32;
  color: #e2e8f0;
}
#blogPagination button.active,
#blogPagination button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}


/* ========== SUBTLE SMOOTH ANIMATIONS ========== */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUpSoft {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Gentler scroll reveal */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  will-change: opacity, transform;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.08s; }
.animate-delay-2 { transition-delay: 0.16s; }
.animate-delay-3 { transition-delay: 0.24s; }
.animate-delay-4 { transition-delay: 0.32s; }
.animate-delay-5 { transition-delay: 0.4s; }
.animate-delay-6 { transition-delay: 0.48s; }

/* Page transitions */
html.js-ready body {
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
}
html.js-ready body.page-loaded { opacity: 1; }
html.js-ready body.page-exit { opacity: 0; transition: opacity 0.22s ease; }
/* Without JS, body stays fully visible */
body { opacity: 1; }

/* Cards – soft lift */
.why-card,
.service-card,
.testimonial-card,
.blog-card,
.service-detail,
.port-card,
.portfolio-item {
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.35s ease;
}
.why-card:hover,
.service-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.service-detail:hover {
  transform: translateY(-6px);
}

/* Images – slow subtle zoom on hover */
.service-img,
.blog-card-img,
.portfolio-item,
.content-media {
  overflow: hidden;
}
.service-img img,
.blog-card-img img,
.portfolio-item img,
.content-media img {
  transition: transform 0.8s var(--ease-out);
}
.service-card:hover .service-img img,
.blog-card:hover .blog-card-img img,
.portfolio-item:hover img,
.content-media:hover img {
  transform: scale(1.05);
}

/* Buttons – micro interaction */
.btn {
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.3s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn-primary.pulse {
  animation: pulse-glow 2.8s ease-in-out infinite;
}

/* Header smooth */
.header {
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Nav underline hint */
.nav > a,
.nav > .nav-item > a {
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav > a::after,
.nav > .nav-item > a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-out);
  opacity: 0.9;
}
.nav > a:hover::after,
.nav > a.active::after,
.nav > .nav-item > a:hover::after {
  transform: scaleX(1);
}

/* Mega menu smoother */
.mega-menu {
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}
.mega-item {
  transition: background 0.25s ease, transform 0.25s var(--ease-out);
}
.mega-item:hover {
  transform: translateX(3px);
}

/* FAQ accordion soft */
.faq-a {
  transition: max-height 0.4s var(--ease-out), padding 0.3s ease, opacity 0.3s ease;
}
.faq-q i {
  transition: transform 0.3s var(--ease-out);
}

/* Area chips */
.area-chip {
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}
.area-chip:hover {
  transform: translateY(-2px);
}

/* Hero content entrance when page loads */
.hero-content .hero-badge {
  animation: fadeInUpSoft 0.7s var(--ease-out) 0.1s both;
}
.hero-content h1 {
  animation: fadeInUpSoft 0.75s var(--ease-out) 0.2s both;
}
.hero-content > p {
  animation: fadeInUpSoft 0.75s var(--ease-out) 0.32s both;
}
.hero-actions {
  animation: fadeInUpSoft 0.75s var(--ease-out) 0.42s both;
}
.hero-stats {
  animation: fadeInUpSoft 0.8s var(--ease-out) 0.52s both;
}

/* Portfolio overlay fade */
.portfolio-overlay {
  transition: opacity 0.4s var(--ease-out);
}

/* Social icons */
.socials a {
  transition: transform 0.3s var(--ease-out), background 0.25s ease, color 0.25s ease;
}
.socials a:hover {
  transform: translateY(-3px);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
  body { opacity: 1; }
  .hero-content .hero-badge,
  .hero-content h1,
  .hero-content > p,
  .hero-actions,
  .hero-stats {
    animation: none;
  }
}
