/*
Theme Name: Dhani Marketing Services
Theme URI: https://dhanimarketing.in
Author: Dhani Marketing Services
Author URI: https://dhanimarketing.in
Description: Official theme for Dhani Marketing Services — a digital marketing agency specialising in Website Development, Ads Management, Social Media Marketing, and WhatsApp Cloud API.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dhani-marketing
Tags: custom-logo, custom-menu, full-width-template, one-column, two-columns, responsive-layout
*/

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

:root {
  --brand:       #6C3DFF;
  --brand-dark:  #4E1FDB;
  --brand-light: #EEE9FF;
  --accent:      #FF6B35;
  --dark:        #0D0D1A;
  --dark2:       #1A1A2E;
  --grey:        #64748B;
  --light:       #F8F7FF;
  --white:       #FFFFFF;
  --radius:      14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--brand); }

/* ── WORDPRESS CORE ALIGNMENT CLASSES ───────────────────── */
.alignleft   { float: left; margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignnone   { display: block; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--grey); margin-top: 0.4rem; }

/* ── NAV ─────────────────────────────────────────────────── */
#dms-nav {
  position: fixed; top: 0; width: 100%; z-index: 999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(108,61,255,0.10);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.dms-logo {
  font-size: 1.25rem; font-weight: 800; color: var(--brand);
  text-decoration: none; letter-spacing: -0.5px;
}
.dms-logo span { color: var(--accent); }

/* WordPress nav menu */
#dms-nav .dms-menu { display: flex; gap: 2rem; list-style: none; }
#dms-nav .dms-menu li a {
  text-decoration: none; font-size: 0.9rem; font-weight: 500;
  color: var(--dark); transition: color .2s;
}
#dms-nav .dms-menu li a:hover,
#dms-nav .dms-menu li.current-menu-item > a { color: var(--brand); }
.nav-cta-btn {
  background: var(--brand); color: var(--white) !important;
  padding: 0.55rem 1.4rem; border-radius: 8px;
  font-size: 0.9rem !important; font-weight: 600 !important;
  text-decoration: none; transition: background .2s;
}
.nav-cta-btn:hover { background: var(--brand-dark) !important; color: var(--white) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: .3s; }

/* ── HERO ────────────────────────────────────────────────── */
#dms-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark2) 0%, #16043A 60%, var(--dark2) 100%);
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  position: relative; overflow: hidden;
}
#dms-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(108,61,255,0.35) 0%, transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,61,255,0.25); border: 1px solid rgba(108,61,255,0.5);
  color: #C4B2FF; padding: 6px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 1.5rem;
}
.hero-badge::before { content: '●'; color: #6C3DFF; font-size: 0.6rem; }
.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900; color: var(--white); line-height: 1.15;
  letter-spacing: -1px; margin-bottom: 1.5rem;
}
.hero-title .highlight {
  background: linear-gradient(90deg, #A67FFF, #FF6B35);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.1rem; color: #B0A8C8; max-width: 480px; margin-bottom: 2.5rem; line-height: 1.75;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(90deg, var(--brand), #9B59FF);
  color: var(--white); padding: 0.85rem 2rem;
  border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; display: inline-block; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 24px rgba(108,61,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(108,61,255,0.5); color: var(--white); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.25); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  display: inline-block; transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); color: var(--white); }
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; flex-wrap: wrap; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.78rem; color: #8B7FA8; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card-stack { position: relative; width: 340px; height: 380px; }
.hc {
  position: absolute; background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 1.5rem; color: var(--white);
}
.hc-main { width: 300px; top: 40px; left: 20px; background: linear-gradient(135deg, rgba(108,61,255,0.3), rgba(155,89,255,0.15)); }
.hc-metric { font-size: 2.2rem; font-weight: 900; color: var(--white); margin: 0.5rem 0; }
.hc-bar-wrap { margin-top: 1rem; }
.hc-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.12); overflow: hidden; margin-bottom: 8px; }
.hc-bar-fill { height: 100%; border-radius: 6px; }
.hc-float { width: 160px; bottom: 30px; right: 0; padding: 1rem 1.2rem; }
.hc-float-icon { font-size: 1.6rem; margin-bottom: 4px; }
.hc-float-val { font-size: 1.3rem; font-weight: 800; }
.hc-float-lbl { font-size: 0.72rem; color: #B0A8C8; }

/* ── GENERAL SECTION ─────────────────────────────────────── */
.dms-section { padding: 90px 5%; }
.dms-container { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block; background: var(--brand-light); color: var(--brand);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; color: var(--grey); max-width: 560px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── SERVICES ────────────────────────────────────────────── */
#dms-services { background: var(--light); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; border: 1px solid #EDE8FF;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand-light), transparent);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(108,61,255,0.12); border-color: #C4B2FF; }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.2rem; position: relative; z-index: 1;
}
.si-purple { background: #EEE9FF; }
.si-orange { background: #FFF0E8; }
.si-green  { background: #E8FFF0; }
.si-blue   { background: #E8F4FF; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; position: relative; z-index: 1; }
.service-card p  { font-size: 0.9rem; color: var(--grey); line-height: 1.65; position: relative; z-index: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; position: relative; z-index: 1; }
.tag { font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; background: var(--brand-light); color: var(--brand); }

/* ── WHY US ──────────────────────────────────────────────── */
#dms-why { background: linear-gradient(135deg, var(--dark2) 0%, #16043A 100%); color: var(--white); }
#dms-why .section-title { color: var(--white); }
#dms-why .section-sub   { color: #B0A8C8; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3.5rem; }
.why-list { display: flex; flex-direction: column; gap: 1.5rem; }
.why-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; transition: background .2s;
}
.why-item:hover { background: rgba(108,61,255,0.15); border-color: rgba(108,61,255,0.4); }
.why-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #9B59FF);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.why-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.why-item p  { font-size: 0.85rem; color: #B0A8C8; }
.why-visual { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 2.5rem; }
.process-step { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.process-step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; min-width: 36px; border-radius: 50%;
  background: var(--brand); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; color: var(--white);
}
.step-text h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.step-text p  { font-size: 0.8rem; color: #8B7FA8; }

/* ── INDUSTRIES ──────────────────────────────────────────── */
#dms-industries { background: var(--white); }
.industries-wrap { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; justify-content: center; }
.industry-pill {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--light); border: 1px solid #EDE8FF;
  padding: 0.65rem 1.25rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; color: var(--dark);
  transition: background .2s, border-color .2s, color .2s;
}
.industry-pill:hover { background: var(--brand-light); border-color: var(--brand); color: var(--brand); }

/* ── CTA ─────────────────────────────────────────────────── */
#dms-cta { background: linear-gradient(135deg, var(--brand) 0%, #9B59FF 100%); text-align: center; }
#dms-cta .section-title { color: var(--white); }
#dms-cta .section-sub   { color: rgba(255,255,255,0.8); margin: 0 auto 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white); color: var(--brand);
  padding: 0.9rem 2.2rem; border-radius: 10px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .2s, box-shadow .2s; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); color: var(--brand); }
.btn-clear {
  border: 2px solid rgba(255,255,255,0.5); color: var(--white);
  padding: 0.9rem 2.2rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem; text-decoration: none; transition: background .2s;
}
.btn-clear:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ── INNER PAGE ──────────────────────────────────────────── */
.dms-page-hero {
  background: linear-gradient(135deg, var(--dark2), #16043A);
  padding: 130px 5% 70px; text-align: center;
}
.dms-page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--white); letter-spacing: -0.5px; }
.dms-page-hero p  { font-size: 1.1rem; color: #B0A8C8; margin-top: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.dms-breadcrumb { font-size: 0.82rem; color: #8B7FA8; margin-bottom: 1rem; }
.dms-breadcrumb a { color: #C4B2FF; text-decoration: none; }
.dms-page-content { padding: 70px 5%; max-width: 900px; margin: 0 auto; }
.dms-page-content h2 { font-size: 1.7rem; font-weight: 800; margin: 2rem 0 0.75rem; }
.dms-page-content p  { color: var(--grey); line-height: 1.8; margin-bottom: 1rem; }
.dms-page-content ul { margin: 0.5rem 0 1rem 1.25rem; }
.dms-page-content ul li { color: var(--grey); margin-bottom: 0.4rem; }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 70px 5%; max-width: 1200px; margin: 0 auto; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info p  { color: var(--grey); line-height: 1.8; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 10px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-item h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 2px; }
.contact-item p  { font-size: 0.9rem; color: var(--grey); margin: 0; }
.contact-form-wrap { background: var(--light); border-radius: 20px; padding: 2.5rem; border: 1px solid #EDE8FF; }
.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 10px;
  border: 1px solid #DDD8F5; font-family: inherit; font-size: 0.9rem;
  background: var(--white); transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(108,61,255,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%; background: linear-gradient(90deg, var(--brand), #9B59FF);
  color: var(--white); padding: 0.9rem; border: none; border-radius: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: transform .2s, box-shadow .2s; box-shadow: 0 8px 24px rgba(108,61,255,0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(108,61,255,0.4); }

/* ── WP FOOTER ───────────────────────────────────────────── */
#dms-footer { background: var(--dark); color: #8B7FA8; padding: 60px 5% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand h3 { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 0.75rem; }
.footer-brand h3 span { color: var(--accent); }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { color: #8B7FA8; text-decoration: none; font-size: 0.87rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: var(--brand); text-decoration: none; }

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: #25D366; color: var(--white);
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,0.6); color: var(--white); }

/* ── SCROLL FADE ─────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid   { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-grid    { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  #dms-nav { padding: 0 4%; }
  .dms-menu, .nav-cta-btn { display: none !important; }
  .hamburger { display: flex; }
  .dms-section { padding: 70px 4%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
}
