/*
Theme Name: Khan IT Theme
Theme URI: https://khanithost.com
Author: Khan IT
Author URI: https://khanithost.com
Description: High Contrast Vibrant Deep Emerald Hosting Theme with 4-Column Edge-to-Edge Domain Grid.
Version: 2.7.0
License: GNU General Public License v2 or later
Text Domain: khan-it-custom
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800;900&family=Hind+Siliguri:wght@500;600;700;800&display=swap');

:root {
  /* কড়া এবং ভাইব্র্যান্ট প্রিমিয়াম গ্রিন কালার প্যালেট */
  --primary-green: #008844;
  --header-green: #00994c;
  --dark-green: #005a2b;
  --forest-green: #004d25;
  --card-top-green: #007a3d;
  --card-top-active: #008844;
  --accent-light: #00b359;
  --body-bg: #f4f7f6;
  --text-dark: #0a1b12;
  --text-muted: #4e6155;
  --border-light: #d1ded6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--body-bg);
  color: #27382f;
  line-height: 1.6;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   Top Notice Bar
   ========================================== */
.top-bar {
  background-color: var(--forest-green);
  color: #ffffff;
  padding: 9px 0;
  font-size: 13.5px;
  font-weight: 600;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-btn {
  background: var(--accent-light);
  color: #ffffff;
  text-decoration: none;
  padding: 4px 14px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.top-bar-btn:hover {
  opacity: 0.9;
}

/* ==========================================
   Main Header & Navigation
   ========================================== */
.site-header {
  background: #ffffff;
  border-bottom: 2px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 77, 37, 0.06);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
}

.logo a {
  font-size: 28px;
  font-weight: 900;
  color: var(--dark-green);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--accent-light);
}

.logo img, .custom-logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 26px;
  height: 100%;
}

.nav-menu > li {
  position: relative;
  list-style: none !important;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-menu > li > a {
  text-decoration: none;
  color: #12281c;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.nav-menu > li > a i {
  font-size: 11px;
  color: #71887b;
  transition: transform 0.2s ease;
}

.nav-menu > li:hover > a {
  color: var(--primary-green);
}

.nav-menu > li:hover > a i {
  transform: rotate(180deg);
  color: var(--primary-green);
}

/* Dropdown */
.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 240px;
  box-shadow: 0 12px 30px rgba(0, 50, 20, 0.15);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  list-style: none !important;
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  z-index: 1001;
}

.nav-menu > li:hover > .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-list li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.dropdown-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  font-size: 14.5px;
  color: #27382f;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.dropdown-list li a i {
  color: var(--primary-green);
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.dropdown-list li a:hover {
  background: #eef7f2;
  color: var(--dark-green);
  padding-left: 24px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-support {
  text-decoration: none;
  color: #27382f;
  border: 1.5px solid var(--border-light);
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-support:hover {
  background: #eef7f2;
}

.btn-account {
  text-decoration: none;
  background: var(--primary-green);
  color: #ffffff !important;
  padding: 9px 24px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 136, 68, 0.3);
  transition: background 0.2s;
}

.btn-account:hover {
  background: var(--dark-green);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================
   Hero & Domain Search
   ========================================== */
.hero-section {
  background: linear-gradient(135deg, #004d25 0%, #008844 100%);
  color: #ffffff;
  padding: 90px 0 100px;
  text-align: center;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.highlight-text {
  color: #a3ffcb;
}

.hero-subtitle {
  font-size: 18px;
  color: #e6f9f0;
  margin-bottom: 35px;
}

.domain-search-wrapper {
  max-width: 820px;
  margin: 0 auto 25px;
}

.domain-search-form {
  background: #ffffff;
  border-radius: 50px;
  padding: 6px 8px 6px 22px;
  display: flex;
  align-items: center;
  box-shadow: 0 12px 35px rgba(0, 40, 15, 0.25);
}

.search-icon {
  color: #64748b;
  font-size: 20px;
  margin-right: 12px;
}

.domain-search-form input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16.5px;
  font-weight: 600;
  color: #0f172a;
}

.btn-search {
  background: var(--primary-green);
  color: #ffffff;
  border: none;
  padding: 13px 38px;
  font-size: 16.5px;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 136, 68, 0.4);
  transition: background 0.2s;
}

.btn-search:hover {
  background: var(--dark-green);
}

.tld-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.tld-badge {
  font-size: 14.5px;
  color: #d8f7e8;
}

.tld-badge strong {
  color: #ffffff;
  font-weight: 800;
}

.trust-badges-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.trust-pill {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  padding: 7px 20px;
  border-radius: 25px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================
   Category Dedicated Page
   ========================================== */
.cat-banner {
  background: linear-gradient(135deg, #004d25 0%, #008844 100%);
  color: #ffffff;
  padding: 70px 0 80px;
  text-align: center;
}

.cat-breadcrumb {
  font-size: 14px;
  color: #b3f2d2;
  margin-bottom: 12px;
}

.cat-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
}

.cat-breadcrumb span.active {
  color: #6effb0;
  font-weight: 700;
}

.cat-banner h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 12px;
}

.cat-banner p {
  font-size: 17px;
  color: #e6f9f0;
  max-width: 720px;
  margin: 0 auto;
}

.cat-pricing-section,
.domains-grid-section {
  padding: 85px 0;
}

.cat-section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}

.cat-pill {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary-green);
  background: #d8f5e5;
  padding: 5px 18px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.cat-section-title h2 {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cat-section-title p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ==========================================
   Pricing Grids & Tabs (হোমপেজ ও ক্যাটাগরি)
   ========================================== */
.pricing-section {
  padding: 70px 0 90px;
}

.tab-navigation {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #d9e6df;
  margin-bottom: 50px;
  gap: 20px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 800;
  color: #556c60;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.tab-btn.active, .tab-btn:hover {
  color: var(--primary-green);
  border-bottom-color: var(--primary-green);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.pricing-grid,
.inner-pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.putul-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 60, 25, 0.07);
  border: 1.5px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  flex: 1 1 320px;
  max-width: 370px;
  min-width: 290px;
}

.putul-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 60, 25, 0.12);
  border-color: var(--primary-green);
}

.putul-card.featured {
  border: 2.5px solid var(--primary-green);
}

.card-header {
  background: var(--card-top-green);
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
}

.card-header h4 {
  font-size: 18px;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-title {
  font-size: 45px;
  font-weight: 900;
  letter-spacing: -1px;
}

.price-title span {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.95;
}

.bill-info {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 4px;
}

.card-body {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feature-list {
  list-style: none !important;
  margin: 0 0 28px 0 !important;
  padding: 0 !important;
  flex-grow: 1;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #e5ede8;
  font-size: 15px;
  font-weight: 600;
  color: #27382f;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-list li i {
  color: var(--primary-green);
  font-size: 15px;
}

.btn-buy {
  display: block;
  text-align: center;
  background: var(--primary-green);
  color: #ffffff !important;
  text-decoration: none;
  padding: 13px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 136, 68, 0.35);
  transition: background 0.2s;
}

.btn-buy:hover {
  background: var(--dark-green);
}

/* =========================================================
   Dedicated Domain Page: 4-Column Edge-to-Edge Grid (FIXED)
   ========================================================= */
.domain-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* পাশাপাশি ঠিক ৪টি সমান কলাম */
  gap: 20px;
  width: 100%;
}

.domain-tld-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 60, 25, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  transition: all 0.25s ease;
}

.domain-tld-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: 0 12px 30px rgba(0, 60, 25, 0.12);
}

.tld-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tld-name {
  font-size: 28px;
  font-weight: 900;
  color: var(--dark-green);
}

.tld-tag {
  font-size: 10.5px;
  font-weight: 800;
  background: #d8f5e5;
  color: var(--primary-green);
  padding: 3px 8px;
  border-radius: 15px;
  white-space: nowrap;
}

.tld-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 38px;
  margin-bottom: 16px;
  text-align: left;
  line-height: 1.4;
}

.tld-pricing-box {
  background: #f4f8f5;
  border-radius: 8px;
  padding: 12px 10px;
  margin-bottom: 18px;
}

.tld-price-amount {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-dark);
}

.tld-price-amount span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.tld-renew-text {
  font-size: 11.5px;
  color: #556c60;
  margin-top: 3px;
  font-weight: 600;
}

.btn-tld-buy {
  background: var(--primary-green);
  color: #ffffff;
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0, 136, 68, 0.25);
  transition: background 0.2s;
}

.btn-tld-buy:hover {
  background: var(--dark-green);
}

/* ==========================================
   Services Grid
   ========================================== */
.services-section {
  padding: 80px 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.service-box {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 32px 22px;
  text-align: center;
  transition: all 0.2s;
}

.service-box:hover {
  border-color: var(--primary-green);
  box-shadow: 0 10px 25px rgba(0, 60, 25, 0.08);
}

.service-icon {
  font-size: 42px;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.service-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  min-height: 40px;
  margin-bottom: 16px;
}

.starting-text {
  font-size: 11.5px;
  color: #7b9185;
  font-weight: 700;
  text-transform: uppercase;
}

.service-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--dark-green);
  margin-bottom: 16px;
}

.btn-view-plan {
  display: block;
  background: #11281c;
  color: #ffffff;
  text-decoration: none;
  padding: 9px;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 800;
  transition: background 0.2s;
}

.service-box:hover .btn-view-plan {
  background: var(--primary-green);
}

/* ==========================================
   Speed & Performance
   ========================================== */
.speed-section {
  padding: 85px 0;
}

.speed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.sub-badge {
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.speed-text h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-dark);
  margin: 10px 0 16px;
}

.speed-text p {
  color: var(--text-muted);
  font-size: 16px;
}

.speed-graphic {
  text-align: center;
}

.speedometer-box {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 45px;
  box-shadow: 0 10px 25px rgba(0, 60, 25, 0.05);
}

.speedometer-box i {
  font-size: 65px;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.speed-stat {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-dark);
}

/* ==========================================
   Benefits & Extra
   ========================================== */
.benefits-section {
  padding: 85px 0;
  background: #ffffff;
}

.section-heading-center {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading-center h2 {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-dark);
}

.section-heading-center p {
  color: var(--text-muted);
  font-size: 16px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.benefit-card {
  border: 1.5px solid var(--border-light);
  padding: 32px;
  border-radius: 10px;
  background: #ffffff;
}

.benefit-icon {
  font-size: 30px;
  margin-bottom: 16px;
}

.benefit-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ==========================================
   Support Banner
   ========================================== */
.support-banner-section {
  background: linear-gradient(135deg, #004d25 0%, #008844 100%);
  color: #ffffff;
  padding: 75px 0;
}

.support-banner-inner {
  text-align: center;
  max-width: 850px;
}

.support-banner-text h2 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 14px;
}

.support-banner-text p {
  color: #d8f5e5;
  margin-bottom: 32px;
  font-size: 16px;
}

.support-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-banner-action {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  text-decoration: none;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-banner-action:hover {
  background: #ffffff;
  color: var(--dark-green);
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
  background: #002e16;
  color: #9ab4a5;
  padding: 65px 0 25px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-col a {
  color: #d1ded6;
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  font-size: 13.5px;
}

/* ==========================================
   Responsive (Tablet & Mobile)
   ========================================== */
@media (max-width: 1100px) {
  .domain-cards-grid {
    grid-template-columns: repeat(2, 1fr); /* ট্যাবলেটে ২টি করে */
  }
}

@media (max-width: 900px) {
  .mobile-toggle { display: block; }
  .header-right { display: none; }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 15px 20px;
    height: auto;
  }
  
  .main-nav.active { display: block; }
  .nav-menu { flex-direction: column !important; height: auto; gap: 10px; align-items: flex-start !important; }
  .nav-menu > li { width: 100%; flex-direction: column; align-items: flex-start; height: auto; }
  .dropdown-list {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 15px;
    width: 100%;
  }
  .inner-pricing-grid,
  .pricing-grid { flex-direction: column; align-items: center; }
  .putul-card { width: 100%; max-width: 380px; }
  .speed-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .top-bar-container { flex-direction: column; gap: 5px; text-align: center; }
}

@media (max-width: 600px) {
  .domain-cards-grid {
    grid-template-columns: 1fr; /* মোবাইলে ১টি করে */
  }
}