/* ===================================
   Ddomains - Main Stylesheet
   =================================== */

:root {
  --primary: #1a56db;
  --primary-dark: #1244b8;
  --primary-light: #2563eb;
  --secondary: #f0f7ff;
  --accent: #ff6b35;
  --text-dark: #0f172a;
  --text-muted: #6c757d;
  --bg-light: #f0f7ff;
  --white: #ffffff;
  --border: #bfdbfe;
}

* { box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.7;
  background: #fff;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* ---- Topbar ---- */
.topbar {
  background: #dbeafe;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left p { margin: 0; color: var(--primary-dark); font-weight: 500; }
.topbar-right { display: flex; gap: 16px; }
.topbar-right a { color: var(--primary); font-weight: 500; }
.topbar-right a i { margin-right: 5px; }
.topbar-right a:hover { color: var(--primary-dark); }

/* ---- Sticky Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(26,86,219,.15);
}
#header-wrap {
  background: #fff;
  border-bottom: 2px solid var(--border);
}
.brand-logo { font-family: 'Nunito', sans-serif; font-size: 26px; font-weight: 800; color: var(--primary); }
.brand-logo span { color: var(--accent); }
.brand-logo-white { font-family: 'Nunito', sans-serif; font-size: 22px; font-weight: 800; color: #fff; }
.brand-logo-white span { color: var(--accent); }
.navbar-nav .nav-link { color: #333; font-weight: 600; padding: 8px 14px; font-size: 14px; border-radius: 6px; transition: all .2s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary); background: #dbeafe; }
.accredited-badge { background: var(--primary); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 700; white-space: nowrap; }
.dd-btn.call-btn { background: var(--primary); color: #fff; padding: 9px 18px; border-radius: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .2s; display: inline-block; }
.dd-btn.call-btn:hover { background: var(--primary-dark); color: #fff; }

/* ---- Utilities ---- */
.bg-light-3 { background: var(--bg-light) !important; }
.block-title h1, .block-title h2, .block-title h3 { font-size: 28px; color: var(--text-dark); margin-bottom: 10px; }
.block-title p { color: var(--text-muted); margin-bottom: 0; }
.pt-100 { padding-top: 70px; }
.pb-100 { padding-bottom: 70px; }
.mt-50 { margin-top: 40px; }
.mb-60 { margin-bottom: 40px; }
.mb-30 { margin-bottom: 24px; }
.zindex-1 { z-index: 1; }

/* ---- Domain Search Section ---- */
.search_domain_section { padding: 60px 0 50px; }
.search_domain_section .block-title h1 { font-size: 32px; margin-bottom: 6px; }
.domain-search-form { position: relative; max-width: 700px; margin: 0 auto 24px; }
.domain-search-form form { display: flex; background: #fff; border: 2px solid var(--primary); border-radius: 50px; overflow: hidden; box-shadow: 0 4px 20px rgba(26,86,219,.18); }
.domain-search-form input[type="text"] { flex: 1; border: none; outline: none; padding: 14px 24px; font-size: 16px; font-family: 'Open Sans', sans-serif; }
.domain-search-form .btn-form { background: var(--primary); color: #fff; border: none; padding: 14px 32px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; border-radius: 0 50px 50px 0; white-space: nowrap; }
.domain-search-form .btn-form:hover { background: var(--primary-dark); }
.domain-search-form .btn-form i { margin-right: 6px; }

.domain_tlds_list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.domain_tlds_list li { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 18px; text-align: center; min-width: 90px; box-shadow: 0 2px 8px rgba(26,86,219,.08); transition: transform .2s, box-shadow .2s; }
.domain_tlds_list li:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26,86,219,.16); }
.domain_tlds_list li figure { margin: 0 0 4px; font-weight: 800; font-size: 15px; color: var(--primary); font-family: 'Nunito', sans-serif; }
.domain_tlds_list li span { font-size: 12px; color: var(--text-muted); }
.domain_tlds_list li span i { font-style: normal; }

/* ---- Discount Pricing Section ---- */
.discount-pricing { padding: 60px 0; }
.discount-item { background: #fff; border: 2px solid var(--border); border-radius: 14px; padding: 32px 24px; text-align: center; position: relative; transition: box-shadow .2s, border-color .2s; }
.discount-item:hover { box-shadow: 0 8px 30px rgba(26,86,219,.16); border-color: var(--primary); }
.category-badge { background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; top: 14px; right: 14px; text-transform: uppercase; }
.domain-name { margin-bottom: 10px; font-size: 28px; font-weight: 800; color: var(--primary); font-family: 'Nunito', sans-serif; }
.category-item { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5; }
.divider-plus { display: inline-block; font-weight: 800; color: var(--primary); margin: 4px 0; font-size: 18px; }
.cost { font-size: 34px; font-weight: 800; color: var(--primary); font-family: 'Nunito', sans-serif; }
.get-offer { display: inline-block; background: var(--primary); color: #fff; padding: 10px 24px; border-radius: 6px; font-weight: 700; font-size: 14px; transition: background .2s; }
.get-offer:hover { background: var(--primary-dark); color: #fff; }

.ddomain-help { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; border-radius: 14px; padding: 28px 32px; text-align: center; margin-top: 40px; }
.ddomain-help h3 { color: #fff; margin-bottom: 0; font-size: 20px; }

/* ---- Hosting Plans Tabs ---- */
.discount-pricing-tab .nav-tabs { border: none; gap: 10px; }
.discount-pricing-tab .nav-tabs button { background: #fff; border: 2px solid var(--border); color: var(--text-dark); padding: 10px 28px; border-radius: 30px; font-weight: 700; font-size: 14px; transition: all .2s; cursor: pointer; }
.discount-pricing-tab .nav-tabs button.active, .discount-pricing-tab .nav-tabs button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- Hosting Plan Cards ---- */
.ddomains-hosting-plans { border-radius: 20px; overflow: hidden; position: relative; background: #fff; box-shadow: 0 4px 20px rgba(26,86,219,.09); border: 2px solid transparent; transition: transform .22s, box-shadow .22s; display: flex; flex-direction: column; height: 100%; }
.ddomains-hosting-plans:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26,86,219,.18); }
.ddomains-hosting-plans.second { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(26,86,219,.22); border-color: var(--primary); }
.ddomains-hosting-plans.second:hover { transform: translateY(-14px); }

/* Header bands */
.ddomains-hosting-plans-header { padding: 28px 24px 22px; text-align: center; position: relative; overflow: hidden; }
.ddomains-hosting-plans-header::before { content: ''; position: absolute; bottom: -28px; right: -28px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,.1); }
.ddomains-hosting-plans-header::after  { content: ''; position: absolute; top: -20px; left: -20px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.08); }
.ddomains-hosting-plans.first  .ddomains-hosting-plans-header { background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%); }
.ddomains-hosting-plans.second .ddomains-hosting-plans-header { background: linear-gradient(135deg, #1a56db 0%, #7c3aed 100%); }
.ddomains-hosting-plans.third  .ddomains-hosting-plans-header { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); }

/* Plan icon badge */
.plan-header-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 22px; color: #fff; position: relative; z-index: 1; }

/* Plan title & tagline */
.ddomains-hosting-plans-title { font-size: 26px; font-weight: 800; color: #fff; font-family: 'Nunito', sans-serif; margin-bottom: 4px; position: relative; z-index: 1; }
.plan-header-tagline { font-size: 12.5px; color: rgba(255,255,255,.8); margin-bottom: 16px; position: relative; z-index: 1; }

/* Price area */
.ddomains-hosting-plans-price { position: relative; z-index: 1; }
.striketxt { font-size: 14px; color: rgba(255,255,255,.6); text-decoration: line-through; display: block; }
.discount-badge { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.22); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 20px; margin: 4px 0 6px; }
.discounted-price { font-size: 40px; font-weight: 800; color: #fff; font-family: 'Nunito', sans-serif; line-height: 1; }
.discounted-price i { font-style: normal; font-size: 22px; vertical-align: top; margin-top: 6px; }
.discounted-price span { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75); }

/* CTA button */
.btn-primary { display: inline-block; margin-top: 14px; padding: 10px 28px; border-radius: 30px; font-weight: 800; font-size: 14px; transition: all .2s; border: none; position: relative; z-index: 1; }
.ddomains-hosting-plans.first  .btn-primary { background: #fff; color: #0ea5e9; }
.ddomains-hosting-plans.first  .btn-primary:hover { background: #e0f2fe; color: #0284c7; }
.ddomains-hosting-plans.second .btn-primary { background: #fff; color: var(--primary); }
.ddomains-hosting-plans.second .btn-primary:hover { background: #ede9fe; color: #7c3aed; }
.ddomains-hosting-plans.third  .btn-primary { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.ddomains-hosting-plans.third  .btn-primary:hover { background: rgba(255,255,255,.25); }

/* Server location badge */
.dc-location { font-size: 11.5px; color: rgba(255,255,255,.75); padding: 10px 0 0; gap: 5px; position: relative; z-index: 1; }

/* Popular badge */
.ddomains-hosting-plans-best { background: #ff6b35; color: #fff; font-size: 10px; font-weight: 800; padding: 4px 14px; border-radius: 20px; position: absolute; top: 14px; right: 14px; text-transform: uppercase; letter-spacing: .5px; z-index: 2; }

/* Card body */
.ddomains-hosting-plans-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.ddomains-hosting-plans-list { list-style: none; padding: 0; margin: 0 0 8px; }
.ddomains-hosting-plans-list li { padding: 8px 0; font-size: 13.5px; border-bottom: 1px dashed #e2e8f0; display: flex; align-items: center; gap: 10px; color: var(--text-dark); }
.ddomains-hosting-plans-list li:last-child { border-bottom: none; }
.ddomains-hosting-plans-list li i { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }
.ddomains-hosting-plans.first  .ddomains-hosting-plans-list li i { background: #e0f2fe; color: #0284c7; }
.ddomains-hosting-plans.second .ddomains-hosting-plans-list li i { background: #ede9fe; color: #7c3aed; }
.ddomains-hosting-plans.third  .ddomains-hosting-plans-list li i { background: #dbeafe; color: #1a56db; }

.ddomains-feature-title { font-weight: 800; font-size: 10.5px; text-transform: uppercase; color: var(--text-muted); letter-spacing: .8px; margin: 16px 0 8px; border-top: 1.5px solid var(--border); padding-top: 12px; }
.text-under-line { color: var(--text-muted); font-size: 13px; cursor: pointer; }
span.new { background: #d1fae5; color: #065f46; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 10px; margin-left: 5px; }

/* ---- Features Section — Icon Boxes ---- */
.feature-section { padding: 70px 0; }
.features-box { display: flex; gap: 20px; padding: 20px 16px !important; border-radius: 12px; transition: box-shadow .2s, background .2s; margin-bottom: 20px; align-items: flex-start; }
.features-box:hover { box-shadow: 0 4px 20px rgba(26,86,219,.1); background: #fff; }
.features-box-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.features-box-icon i { font-size: 26px; color: var(--primary); }
.features-box-icon img { width: 36px; height: 36px; }
.features-box-content h5 { font-size: 16px; margin-bottom: 6px; color: var(--text-dark); }
.features-box-content p { font-size: 13.5px; margin-bottom: 0; color: var(--text-muted); }

/* ---- Help Section ---- */
.dd-help { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 60px 0; }
.dd-help .block-title h3 { color: #fff; font-size: 24px; }
.dd-help .block-title p { color: rgba(255,255,255,.8); }
.dd-help-box { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.1); border-radius: 10px; padding: 16px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,.15); }
.dd-help-box-media {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dd-help-box-media i { font-size: 22px; color: #fff; }
.dd-help-box-media img { width: 32px; height: 32px; }
.dd-help-box-content h4 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.dd-help-box-content p { color: rgba(255,255,255,.8); margin-bottom: 0; font-size: 13.5px; }

/* ---- Sub Banner ---- */
.dd-sub-banner-area { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; padding: 60px 0; }
.sub-banner-text h1 { color: #fff; font-size: 36px; margin-bottom: 14px; }
.sub-banner-text p { color: rgba(255,255,255,.85); font-size: 16px; }
.main-banner-price { font-size: 20px; color: #fff; font-weight: 700; margin-top: 16px; }
.main-banner-price .striketxt { font-size: 16px; color: rgba(255,255,255,.6); text-decoration: line-through; }
.main-banner-price .pric-high-txt { font-size: 36px; font-weight: 800; color: #fff; margin-left: 6px; }
.main-banner-price sup { font-size: 18px; }
.sub-banner-btn { margin-top: 20px; }
.sub-banner-btn .btn { background: #fff; color: var(--primary); font-weight: 700; padding: 12px 28px; border-radius: 6px; font-size: 15px; }
.sub-banner-btn .btn:hover { background: #dbeafe; }

/* ---- Hosting Services ---- */
.dd-hosting-services { padding: 60px 0; }
.dd-hosting-services-box { border: 1px solid var(--border); border-radius: 12px; padding: 24px; height: 100%; transition: box-shadow .2s, transform .2s; margin-bottom: 24px; }
.dd-hosting-services-box:hover { box-shadow: 0 6px 20px rgba(26,86,219,.12); transform: translateY(-2px); }
.dd-hosting-services-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.dd-hosting-services-icon i { font-size: 28px; color: var(--primary); }
.dd-hosting-services-icon img { width: 40px; height: 40px; }
.dd-hosting-services-content h4 { font-size: 17px; margin-bottom: 8px; }
.dd-hosting-services-content p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 0; }

/* ---- Hosting Features Grid ---- */
.dd-hosting-features { padding: 60px 0; }
.single-service-box { text-align: center; padding: 28px 20px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 24px; transition: box-shadow .2s, transform .2s; }
.single-service-box:hover { box-shadow: 0 6px 24px rgba(26,86,219,.14); transform: translateY(-3px); }
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.service-icon i { font-size: 32px; color: var(--primary); }
.service-icon img { width: 44px; height: 44px; }
.single-service-box h4 { font-size: 16px; margin-bottom: 6px; }
.single-service-box p { font-size: 13px; color: var(--text-muted); margin-bottom: 0; }

/* ---- FAQ ---- */
.dd-faq { padding: 60px 0; }
.dd-faq .accordion-button { font-weight: 700; font-size: 15px; color: var(--text-dark); }
.dd-faq .accordion-button:not(.collapsed) { background: var(--bg-light); color: var(--primary); box-shadow: none; }
.dd-faq .accordion-button:focus { box-shadow: none; border-color: var(--border); }

/* ---- Contact Page ---- */
.contact-section { padding: 70px 0; }
.contact-info-box { background: linear-gradient(160deg, var(--primary), var(--primary-light)); color: #fff; border-radius: 14px; padding: 32px; height: 100%; }
.contact-info-box h3 { color: #fff; margin-bottom: 16px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-info-item i { font-size: 20px; color: rgba(255,255,255,.75); margin-top: 3px; }
.contact-info-item h5 { color: #fff; margin-bottom: 4px; font-size: 15px; }
.contact-info-item p, .contact-info-item a { color: rgba(255,255,255,.8); margin-bottom: 0; font-size: 13.5px; }
.contact-form-box { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.contact-form-box h3 { margin-bottom: 20px; }
.contact-form-box .form-control { border: 1px solid var(--border); padding: 10px 14px; border-radius: 6px; font-size: 14px; }
.contact-form-box .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.contact-form-box .btn-submit { background: var(--primary); color: #fff; font-weight: 700; padding: 12px 32px; border-radius: 6px; border: none; font-size: 15px; cursor: pointer; transition: background .2s; }
.contact-form-box .btn-submit:hover { background: var(--primary-dark); }

/* ---- Footer ---- */
.site-footer { background: #0b1120; color: rgba(255,255,255,.75); }
.footer-top { padding: 50px 0 30px; }
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-heading { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 13.5px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { margin-bottom: 10px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.footer-contact-list a { color: rgba(255,255,255,.6); }
.footer-contact-list a:hover { color: #fff; }
.footer-contact-list i { color: #60a5fa; }
.footer-bottom { background: rgba(0,0,0,.25); border-top: 1px solid rgba(255,255,255,.07); }
.footer-text p { color: rgba(255,255,255,.5); font-size: 13px; margin-bottom: 4px; }
.footer-text a { color: rgba(255,255,255,.6); }
.footer-text a:hover { color: #fff; }

/* ---- Privacy / TOS Pages ---- */
.page-content-section { padding: 60px 0; }
.page-content-section h2 { font-size: 22px; margin-top: 30px; margin-bottom: 10px; color: var(--primary); }
.page-content-section p { color: var(--text-muted); font-size: 14.5px; }
.page-content-section ul { color: var(--text-muted); font-size: 14.5px; padding-left: 20px; }

/* ---- Logo image ---- */
.site-logo-img  { height: 40px; width: auto; display: block; }
.footer-logo-img { height: 38px; width: auto; display: block; }

/* ---- WhatsApp FAB ---- */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px 12px 14px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.wa-fab:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
}
.wa-icon { width: 24px; height: 24px; flex-shrink: 0; }
.wa-label { line-height: 1; }

@media (max-width: 480px) {
  .wa-fab { padding: 13px; border-radius: 50%; bottom: 20px; right: 20px; }
  .wa-label { display: none; }
}

/* ---- Sticky Header ---- */
.navbar { position: relative; }
#header-wrap { position: relative; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .topbar .container { flex-direction: column; text-align: center; }
  .topbar-right { justify-content: center; }
  /* Dropdown overlays page content so header height stays fixed and sticky works */
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 2px solid var(--primary);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 10px 28px rgba(26,86,219,.18);
    z-index: 1050;
    padding: 10px 16px 14px;
  }
  .navbar-collapse .navbar-nav { gap: 2px; }
  .navbar-collapse .nav-currency-btn { width: 100%; justify-content: center; border-radius: 8px; padding: 10px; margin-top: 4px; }
  .search_domain_section .block-title h1 { font-size: 24px; }
  .sub-banner-text h1 { font-size: 26px; }
}
@media (max-width: 767px) {
  .domain-search-form form { flex-direction: column; border-radius: 10px; overflow: hidden; }
  .domain-search-form input[type="text"] { border-radius: 10px 10px 0 0; }
  .domain-search-form .btn-form { border-radius: 0 0 10px 10px; }
  .dd-help { padding: 40px 0; }
  .discount-pricing { padding: 40px 0; }
  .feature-section { padding: 40px 0; }
}
