/* ============================================================
   MYRADIGITAL.CSS
   Fonts:  Syne (headings) · DM Sans (body)
   Loaded via Google Fonts in index.html — must load BEFORE this file
   Colours: #f39c12 amber · #1a1a1a dark · #fdfdfd light
   ============================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --amber:      #f39c12;
  --amber-dark: #d35400;
  --dark:       #1a1a1a;
  --dark-2:     #232323;
  --light:      #fdfdfd;
  --muted:      #666;
  --border:     rgba(0,0,0,0.08);
  --radius:     12px;
  --radius-lg:  20px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Base ──────────────────────────────────────────────── */
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

/* ── Utility ───────────────────────────────────────────── */
.btn-amber {
  background-color: var(--amber);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.4rem;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-amber:hover {
  background-color: var(--amber-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline-light {
  border-radius: 8px;
  font-weight: 600;
}
.about-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(243,156,18,0.1);
  padding: 4px 12px;
  border-radius: 100px;
}
.required { color: var(--amber); }

/* ── Section heading ───────────────────────────────────── */
.section-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  text-align: center;
}
.section-heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--amber);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-heading.text-start::after { margin-left: 0; }

/* ── Navbar ────────────────────────────────────────────── */
#mainNav {
  background-color: var(--dark) !important;
  padding: 0.75rem 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
#mainNav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.navbar-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  text-shadow: 0 0 12px rgba(243,156,18,0.5);
  color: #fff !important;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  padding: 0.5rem 0.9rem !important;
}
.nav-link:hover { color: var(--amber) !important; }

.logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero-section {
  background-color: var(--dark);
  position: relative;
  overflow: hidden;
  padding-top: 72px; /* clears fixed navbar */
}

/* Subtle background texture */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 50%, rgba(243,156,18,0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(243,156,18,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(243,156,18,0.12);
  border: 1px solid rgba(243,156,18,0.25);
  padding: 6px 14px;
  border-radius: 100px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.hero-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-accent { color: var(--amber); }

.hero-subtext {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-top: 1.2rem;
  line-height: 1.75;
}

/* Hero stats */
.hero-stats    { align-items: center; }
.stat-item     { display: flex; flex-direction: column; }
.stat-num      { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--amber); line-height: 1; }
.stat-label    { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 2px; }
.stat-divider  { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* Hero floating cards */
.hero-visual {
  position: relative;
  width: 320px;
  height: 320px;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(243,156,18,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 12px 16px;
  min-width: 220px;
  animation: float 6s ease-in-out infinite;
}
.hero-card-1 { top: 20px;    left: -20px; animation-delay: 0s; }
.hero-card-2 { top: 130px;   right: -30px; animation-delay: 2s; }
.hero-card-3 { bottom: 20px; left: 0;      animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hc-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(243,156,18,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--amber);
  flex-shrink: 0;
}
.hc-text  { display: flex; flex-direction: column; flex: 1; }
.hc-title { font-size: 0.82rem; font-weight: 600; color: #fff; }
.hc-sub   { font-size: 0.72rem; color: rgba(255,255,255,0.5); }

.hc-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}
.hc-badge.green { background: rgba(34,197,94,0.15);  color: #4ade80; }
.hc-badge.amber { background: rgba(243,156,18,0.15); color: var(--amber); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.3);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.6); }
}

/* ── About ─────────────────────────────────────────────── */
.about-section { background: #fff; }

.about-values { display: flex; flex-direction: column; gap: 1.2rem; }
.value-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--light);
  transition: box-shadow 0.2s, transform 0.2s;
}
.value-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateX(4px);
}
.value-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(243,156,18,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--amber);
  flex-shrink: 0;
}
.value-card h5 { font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.value-card p  { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* ── Services ──────────────────────────────────────────── */
.services-section { background: #f8f8f6; }

.service-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.featured-card {
  outline: 2px solid var(--amber);
}

.service-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .service-img { transform: scale(1.04); }

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.5));
}
.service-num {
  position: absolute;
  bottom: 12px; left: 16px;
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  line-height: 1;
}

.service-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
}
.service-body p  { font-size: 0.92rem; color: var(--muted); flex: 1; }

.service-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  color: #444;
}
.service-list li:last-child { border-bottom: none; }
.service-list i { color: var(--amber); font-size: 1rem; flex-shrink: 0; }

/* ── Why Us ────────────────────────────────────────────── */
.why-section   { background: #f8f8f6; padding-bottom: 4rem; }
.why-inner {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  transition: background 0.2s;
}
.why-card:hover { background: rgba(255,255,255,0.08); }
.why-icon {
  font-size: 1.4rem;
  color: var(--amber);
  display: block;
  margin-bottom: 10px;
}
.why-card h6 { color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.why-card p  { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0; }

/* ── Contact ───────────────────────────────────────────── */
.contact-section { background: #fff; }

.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.contact-item:hover {
  border-color: var(--amber);
  background: rgba(243,156,18,0.03);
}
.contact-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(243,156,18,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--amber);
  flex-shrink: 0;
}
.contact-icon.wa-icon { background: rgba(37,211,102,0.1); color: #25d366; }
.contact-item > div:last-child { display: flex; flex-direction: column; }
.contact-label { font-size: 0.75rem; color: var(--muted); }
.contact-value { font-size: 0.95rem; font-weight: 600; color: var(--dark); }

.contact-form-wrap {
  background: #f8f8f6;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.md-input {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.md-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(243,156,18,0.12);
  outline: none;
}
.form-feedback {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-feedback.success {
  background: rgba(34,197,94,0.1);
  color: #16a34a;
  border: 1px solid rgba(34,197,94,0.25);
}
.form-feedback.error {
  background: rgba(239,68,68,0.1);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,0.25);
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  padding: 2rem 0;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-links   { display: flex; gap: 20px; justify-content: center; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }
.footer-copy { font-size: 0.82rem; margin: 0; color: rgba(255,255,255,0.3); }

/* ── WhatsApp Float ────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  color: #fff;
}
.wa-tooltip {
  position: absolute;
  right: 64px;
  background: var(--dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 991px) {
  .why-inner { padding: 2rem 1.5rem; }
}
@media (max-width: 767px) {
  .hero-heading        { font-size: 2.4rem; }
  .hero-stats          { gap: 1.5rem; }
  .contact-form-wrap   { padding: 1.5rem; }
  .hero-scroll-hint    { display: none; }
}
