#diyar-master-app {
  display: block !important;
}

.diyar-topbar,
.diyar-header {
  display: block !important;
}

body:not(.is-homepage) #diyar-home-layout,
body:not(.is-homepage) .diyar-footer {
  display: none !important;
}

body > header:not(.diyar-header),
body > .header:not(.diyar-header),
body > .main-header:not(.diyar-header),
body > #header,
body > #top-header,
body > .header-top {
  display: none !important;
}

body.is-homepage > footer:not(.diyar-footer),
body.is-homepage > .footer:not(.diyar-footer),
body.is-homepage > #slider,
body.is-homepage > .slider,
body.is-homepage > .owl-carousel,
body.is-homepage > .home-slider,
body.is-homepage > .carousel,
body.is-homepage .powered-by,
body.is-homepage .chapiroos-footer,
body.is-homepage #main,
body.is-homepage .main-content > .container > .row:first-child:not(#diyar-master-app) {
  display: none !important;
}

html, body, #diyar-master-app, * {
  font-family: 'Vazirmatn', -apple-system, sans-serif !important;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #f8fafc !important;
}

.diyar-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.diyar-logo-img {
  max-height: 44px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.diyar-topbar {
  background: #090d16;
  color: #94a3b8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
}

.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-live {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 8px;
}

.topbar-left {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.phone-link {
  color: #38bdf8 !important;
  font-weight: 700;
  text-decoration: none;
  direction: ltr;
}

.diyar-header {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-text h2 { margin: 0; font-size: 20px; font-weight: 900; color: #0f172a; }
.brand-text span { font-size: 11px; color: #64748b; display: block; }

.diyar-nav { display: flex; align-items: center; gap: 6px; }

.diyar-nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s;
}

.diyar-nav a:hover { background: #eff6ff; color: #2563eb; }

.diyar-nav a.nav-highlight {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.diyar-nav a.nav-highlight:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
}

.diyar-header-actions { display: flex; gap: 10px; }

.btn-action {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-action:hover { background: #2563eb; color: #fff; border-color: #2563eb; }

.diyar-hero {
  background: radial-gradient(100% 100% at 50% 0%, #1e293b 0%, #090d16 100%);
  color: #ffffff;
  padding: 60px 0 80px;
  text-align: center;
  border-radius: 0 0 36px 36px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 20px;
}

.diyar-hero h1 { font-size: 38px; font-weight: 900; margin: 0 0 16px; }
.diyar-hero h1 span {
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.diyar-hero p { color: #94a3b8; font-size: 16px; max-width: 680px; margin: 0 auto 30px; line-height: 1.8; }

.hero-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 45px; }

.btn-catalog-hero {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}

.btn-catalog-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.6);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  transition: all 0.2s;
}

.btn-secondary-hero:hover { background: rgba(255, 255, 255, 0.18); }

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 850px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.feat-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.feat-box strong { font-size: 14px; color: #fff; }
.feat-box span { font-size: 12px; color: #94a3b8; }

.diyar-section { padding: 50px 0; background: #ffffff; }

.guidelines-card {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  border-radius: 24px;
  padding: 35px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.guide-text h3 { margin: 0 0 8px; font-size: 20px; }
.guide-text p { margin: 0; color: #94a3b8; font-size: 13.5px; }

.btn-guide {
  background: #2563eb;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
}

.diyar-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 60px 0 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 15px;
}

.footer-contacts a {
  color: #38bdf8 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  direction: ltr;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.messenger-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.messenger-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 4px;
  transition: transform 0.2s;
}

.messenger-icon:hover {
  transform: scale(1.15);
}

.telegram-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #38bdf8 !important;
}

.footer-contacts .email-text {
  color: #94a3b8;
  font-size: 13.5px;
  margin-top: 8px;
}

.footer-links h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul a { color: #94a3b8; text-decoration: none; font-size: 13.5px; }
.footer-links ul a:hover { color: #38bdf8; }

.footer-links .hours {
  line-height: 2;
  font-size: 13.5px;
  color: #cbd5e1;
}

.footer-enamad-col {
  display: flex;
  flex-direction: column;
}

.enamad-wrapper {
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 6px;
}

.enamad-logo-img {
  max-height: 75px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
}

@media (max-width: 768px) {
  .diyar-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .diyar-hero h1 { font-size: 26px; }
}