/*
Theme Name: Expert Moon
Theme URI: https://expertmoon.com
Author: Expert Moon
Description: Custom professional theme for Expert Moon Digital Consultancy, Rangpur, Bangladesh.
Version: 1.0.0
Text Domain: expertmoon
*/

/* ===========================
   DESIGN TOKENS / CSS VARS
   =========================== */
:root {
  /* Color Palette */
  --em-navy:        #0B1628;
  --em-navy2:       #030f22;
  --em-navy3:       #071528;
  --em-gold:        #F59E0B;
  --em-gold2:       #FCD34D;
  --em-gold3:       #f6b93b;
  --em-blue:        #1565C0;
  --em-cyan:        #06b6d4;
  --em-white:       #ffffff;
  --em-text:        #e2e8f0;
  --em-text-muted:  rgba(255,255,255,0.45);
  --em-border:      rgba(255,255,255,0.06);
  --em-border-gold: rgba(245,158,11,0.18);

  /* Radius */
  --em-radius:    14px;
  --em-radius-lg: 20px;
  --em-radius-xl: 28px;

  /* Shadows */
  --em-shadow:    0 4px 20px rgba(11,22,40,0.4);
  --em-shadow-lg: 0 20px 60px rgba(0,0,0,0.5);

  /* Transitions */
  --em-transition:      0.4s cubic-bezier(0.4,0,0.2,1);
  --em-transition-fast: 0.25s ease;

  /* Layout */
  --em-container: 1260px;
}

/* ===========================
   RESET & BASE
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Hind Siliguri', system-ui, -apple-system, sans-serif;
  background-color: var(--em-navy);
  color: var(--em-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--em-transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--em-white);
}

h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p {
  line-height: 1.8;
  color: var(--em-text-muted);
}

/* ===========================
   CONTAINER
   =========================== */
.em-container {
  width: 100%;
  max-width: var(--em-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   SECTION COMMON
   =========================== */
.em-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.em-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--em-gold);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 18px;
}

.em-section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--em-gold);
  display: inline-block;
}

.em-section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--em-white);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.em-section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--em-gold), var(--em-gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.em-section-subtitle {
  font-size: 1.05rem;
  color: var(--em-text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ===========================
   BUTTONS
   =========================== */
.em-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--em-transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.em-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.em-btn:hover::after {
  left: 150%;
}

.em-btn:hover {
  transform: translateY(-3px);
}

/* Primary (gold) */
.em-btn--primary {
  background: linear-gradient(135deg, var(--em-gold), var(--em-gold3));
  color: #0B1628;
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.em-btn--primary:hover {
  box-shadow: 0 8px 35px rgba(245,158,11,0.5);
}

/* Ghost outline */
.em-btn--ghost {
  background: transparent;
  color: var(--em-white);
  border: 1.5px solid rgba(255,255,255,0.2);
}

.em-btn--ghost:hover {
  border-color: var(--em-gold);
  color: var(--em-gold);
  background: rgba(245,158,11,0.05);
}

/* Gold outline */
.em-btn--outline {
  background: transparent;
  color: var(--em-gold);
  border: 1.5px solid var(--em-gold);
}

.em-btn--outline:hover {
  background: var(--em-gold);
  color: #0B1628;
  box-shadow: 0 6px 24px rgba(245,158,11,0.35);
}

/* Small */
.em-btn--sm {
  padding: 10px 22px;
  font-size: 0.82rem;
}

/* ===========================
   GLASSMORPHISM CARD BASE
   =========================== */
.em-glass {
  background: rgba(11,22,40,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-lg);
}

/* ===========================
   GOLD GRADIENT TEXT UTILITY
   =========================== */
.em-gradient-text {
  background: linear-gradient(135deg, var(--em-gold), var(--em-gold2), var(--em-gold3));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}

/* ===========================
   SCROLLBAR
   =========================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--em-navy2); }
::-webkit-scrollbar-thumb { background: rgba(245,158,11,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--em-gold); }

/* ===========================
   SELECTION
   =========================== */
::selection {
  background: rgba(245,158,11,0.3);
  color: var(--em-white);
}

/* ===========================
   WORDPRESS ALIGNMENT
   =========================== */
.alignleft  { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { text-align: center; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--em-text-muted); text-align: center; margin-top: 6px; }
