/* ============================================================
   HOSTA - Mzansi's Best Webhosting Service Provider
   Style Sheet
   ============================================================ */

:root {
  --green: #00cc44;
  --green-dark: #009933;
  --green-gradient: linear-gradient(180deg, #19b24a, #006e1f);
  --black: #000000;
  --white: #ffffff;
  --off-white: #f4f6f5;
  --text: #111111;
  --text-light: #555555;
  --gray: #bbb;
  --dark-card: #111111;
  --border: #e6e6e6;
  --font-heading: "Cooper Std", "Cooper Black", Georgia, serif;
  --font-body: Roboto, system-ui, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.6;
}
.cooper { font-family: var(--font-heading); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Nav */
nav {
  position: sticky; top: 0;
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 14px;
  gap: 10px;
  z-index: 9999;
}
.nav-left { display: flex; align-items: center; gap: 12px; }
.search-link { font-family: var(--font-heading); color: var(--green); font-size: 17px; }
.search-link:hover { color: var(--white); }
.nav-center { display: flex; align-items: center; justify-content: center; }
.logo { height: 56px; max-width: 240px; object-fit: contain; }
.nav-right { display: flex; align-items: center; gap: 10px; justify-self: end; }
.navlink { font-size: 15px; font-weight: 400; color: var(--white); opacity: 0.95; }
.navlink:hover { color: var(--green); opacity: 1; }

.btn {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-myemail {
  background: var(--black);
  border: 2px solid var(--green);
  color: var(--green);
  font-weight: 700;
}
.btn-myemail:hover { background: var(--green); color: var(--black); }
.btn-da {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 6px 10px;
  font-size: 12px;
}
.btn-da:hover { background: var(--white); color: var(--black); }
.btn-login {
  border: none;
  border-radius: 999px;
  background: var(--green-gradient);
  color: var(--white);
  padding: 9px 16px;
  font-weight: 800;
  font-family: var(--font-heading);
}
.btn-login:hover { background: var(--green); transform: scale(1.05); }

.hamburger { display: none; flex-direction: column; cursor: pointer; padding: 5px; }
.hamburger span {
  display: block; width: 22px; height: 3px;
  background: var(--green); margin: 3px 0;
  border-radius: 2px; transition: 0.3s;
}

@media (max-width: 900px) {
  .hamburger { display: flex; justify-self: end; }
  .nav-right { display: none; }
  .nav-right.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--black); padding: 20px; gap: 15px;
    z-index: 9998; border-top: 2px solid var(--green);
  }
  nav { grid-template-columns: 1fr auto auto; }
}

/* Side Circles */
.side-circles {
  position: fixed; right: -44px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 9998; transition: top 0.3s ease;
}
.circle-btn {
  width: 88px; height: 88px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  font-weight: 700; font-family: var(--font-heading);
  font-size: 18px; border: none; transition: all 0.3s ease;
}
.circle-green { background: var(--green); color: var(--black); }
.circle-black { background: var(--black); color: var(--white); }
.circle-white { background: var(--white); color: var(--text); }
.circle-btn:hover { transform: translateX(-44px); background: var(--black); color: var(--white); }

/* Hero Carousel */
.hero { background: var(--white); position: relative; }
.carousel {
  position: relative; max-width: 1280px; margin: 0 auto;
  min-height: 520px; height: 64vh; overflow: hidden;
}
.slide { position: absolute; inset: 0; padding: 28px; display: none; align-items: center; }
.slide.active { display: flex; }
.slide .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.content {
  position: relative; z-index: 5; max-width: 1100px; margin: 0 auto;
  height: 100%; display: flex; gap: 18px;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.left { flex: 1 1 520px; min-width: 260px; }
.right { flex: 0 0 280px; min-width: 240px; display: flex; justify-content: flex-end; }
.sq-box {
  width: 520px; height: 260px; background: var(--white);
  border-radius: 10px; box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sq-box.double { width: 520px; }
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--green); color: var(--black);
  font-weight: 800; padding: 8px 14px; margin-top: 12px; transition: all 0.3s ease;
}
.cta:hover { background: var(--black); color: var(--green); transform: scale(1.05); }
.coop-xl { font-family: var(--font-heading); font-size: 80px; line-height: 0.95; }
.coop-big { font-family: var(--font-heading); font-size: 60px; }
.h1-roboto { font-family: var(--font-body); font-size: 40px; margin-bottom: 8px; }
.slide p { color: var(--text); font-size: 18px; line-height: 1.4; margin-bottom: 8px; }

.arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5); color: var(--white);
  border: none; width: 44px; height: 44px; border-radius: 8px;
  cursor: pointer; z-index: 10; font-size: 20px; transition: background 0.3s;
}
.arrow:hover { background: rgba(0,0,0,0.8); }
.arrow.left { left: 14px; }
.arrow.right { right: 14px; }

.klipa { font-family: var(--font-heading); font-size: 48px; margin-bottom: 6px; }
.klipa-sub { font-family: var(--font-body); font-size: 20px; margin-bottom: 6px; border-bottom: 2px solid rgba(0,0,0,0.12); padding-bottom: 8px; }
.ital { font-style: italic; }
.price-circle {
  display: inline-flex; width: 88px; height: 88px;
  border-radius: 50%; background: var(--green); color: var(--black);
  align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 22px; font-weight: 800;
  box-shadow: 0 4px 15px rgba(0,204,68,0.4);
}
.highlight-round {
  position: absolute; right: 12%; bottom: 18px;
  width: 160px; height: 160px; border-radius: 999px;
  border: 8px solid rgba(255,255,255,0.85);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4);
}

/* Domain Search */
.domain-search { background: var(--white); padding: 28px 12px; text-align: center; }
.domain-box {
  max-width: 980px; margin: 0 auto; background: #fafafa;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.domain-box input[type="text"] {
  flex: 1; min-width: 200px; padding: 12px; border: 1px solid #ddd;
  border-radius: 8px; font-size: 16px; outline: none;
}
.domain-box input[type="text"]:focus { border-color: var(--green); }
.domain-box select {
  padding: 12px; border: 1px solid #ddd; border-radius: 8px;
  background: var(--white); font-size: 14px;
}
.domain-box button {
  padding: 12px 16px; border-radius: 8px; background: var(--black);
  color: var(--white); border: none; cursor: pointer; font-weight: 800; transition: all 0.3s;
}
.domain-box button:hover { background: var(--green); color: var(--black); }
.domain-note { margin-top: 10px; color: var(--text-light); font-size: 14px; }
#domainResult { margin-top: 12px; font-size: 16px; font-weight: 600; }

/* Features */
.features { background: linear-gradient(#0a7a2a, var(--black)); color: var(--white); padding: 42px 14px; text-align: center; }
.features h2 { margin-bottom: 8px; }
.features .tagline { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.feature-grid { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.fcard { text-align: center; padding: 20px; min-width: 140px; }
.fcard img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 12px; display: block; margin-left: auto; margin-right: auto; }
.fcard strong { display: block; font-size: 16px; font-weight: 700; }

/* IT Lab */
.itlab { background: var(--white); padding: 40px 14px; text-align: center; }
.itlab-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; text-align: left;
}
.itlab-inner img { max-width: 100%; border-radius: 12px; }
.itlab-inner h2 { margin-bottom: 20px; font-size: 36px; }
.itlab-inner ul { list-style: none; padding: 0; }
.itlab-inner ul li { padding: 8px 0; font-size: 16px; border-bottom: 1px solid #eee; }
.itlab-inner ul li::before { content: "âœ“ "; color: var(--green); font-weight: 800; }
@media (max-width: 768px) { .itlab-inner { grid-template-columns: 1fr; text-align: center; } }

/* Testimonials */
.testimonials { background: var(--black); color: var(--white); padding: 48px 14px; text-align: center; }
.testimonials h2 { margin-bottom: 30px; }
.tlist { max-width: 900px; margin: 0 auto; position: relative; min-height: 120px; }
.tcard { font-size: 20px; font-style: italic; line-height: 1.5; display: none; padding: 20px; }
.tcard.active { display: block; animation: fadeIn 0.6s ease; }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gray); cursor: pointer; border: none; transition: 0.3s; }
.dot.active { background: var(--green); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Packages */
.packages { background: var(--white); padding: 44px 14px; text-align: center; }
.packages h2 { margin-bottom: 20px; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 1200px; margin: 0 auto; }
.pkg { background: var(--black); color: var(--white); border-radius: 12px; padding: 24px 18px; display: flex; flex-direction: column; min-height: 240px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); transition: transform 0.3s; }
.pkg:hover { transform: translateY(-5px); }
.pkg h3 { font-family: var(--font-heading); font-size: 24px; margin-bottom: 12px; }
.pkg p { font-size: 15px; margin-bottom: 18px; opacity: 0.9; flex-grow: 1; }
.btn-learn { margin-top: auto; align-self: stretch; border: 1px solid var(--white); background: var(--black); color: var(--white); border-radius: 8px; padding: 10px 12px; font-weight: 800; text-align: center; transition: all 0.3s; }
.btn-learn:hover { background: var(--white); color: var(--black); }

/* Pricing Cards */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; padding: 20px 0; }
.pricing-card { background: var(--white); border: 2px solid var(--border); border-radius: 16px; padding: 30px 20px; text-align: center; transition: all 0.3s; display: flex; flex-direction: column; }
.pricing-card:hover { border-color: var(--green); box-shadow: 0 10px 40px rgba(0,204,68,0.15); transform: translateY(-5px); }
.pricing-card.featured { border-color: var(--green); background: linear-gradient(to bottom, #f0fff4, var(--white)); transform: scale(1.05); position: relative; }
.pricing-card.featured::before { content: "POPULAR"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--green); color: var(--black); padding: 4px 20px; border-radius: 20px; font-size: 12px; font-weight: 800; font-family: var(--font-heading); }
.pricing-card h2 { font-family: var(--font-heading); font-size: 22px; margin-bottom: 8px; }
.pricing-card .price { font-size: 32px; font-weight: 800; color: var(--green); margin: 12px 0; }
.pricing-card ul { list-style: none; padding: 0; margin: 15px 0; flex-grow: 1; text-align: left; }
.pricing-card ul li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.pricing-card ul li::before { content: "âœ“"; color: var(--green); font-weight: 800; }
.pricing-card .btn-order { background: var(--black); color: var(--white); border: none; border-radius: 8px; padding: 12px 20px; font-weight: 700; cursor: pointer; transition: all 0.3s; margin-top: auto; }
.pricing-card .btn-order:hover { background: var(--green); color: var(--black); }

/* Contact */
.contact { background: var(--black); color: var(--white); padding: 44px 14px; }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.csocial h2 { margin-bottom: 20px; }
.soc { display: flex; flex-direction: column; gap: 15px; }
.soc a { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--gray); transition: color 0.3s; }
.soc a:hover { color: var(--green); }
.soc-icon { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--green); align-items: center; justify-content: center; color: var(--green); font-weight: 700; font-size: 14px; }
.contact-details { margin-top: 20px; padding-top: 20px; border-top: 1px solid #222; }
.contact-details p { font-size: 14px; color: var(--gray); margin-bottom: 6px; }
.contact-details strong { color: var(--white); }
.cform { width: 100%; }
.cform input, .cform textarea { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #333; background: #0f0f0f; color: var(--white); margin-bottom: 12px; font-family: var(--font-body); font-size: 15px; outline: none; }
.cform input:focus, .cform textarea:focus { border-color: var(--green); }
.cform button { width: 100%; padding: 14px; border-radius: 8px; border: none; background: var(--green); color: var(--black); font-weight: 800; font-size: 16px; cursor: pointer; transition: all 0.3s; }
.cform button:hover { background: var(--white); color: var(--black); }
#contactMsg { margin-top: 8px; color: #9effb0; }

/* KB */
.kb-section { padding: 40px 14px; background: #f7f7f7; color: var(--text); text-align: center; }
.kb-section h2 { margin-bottom: 16px; }
.kb-section p { max-width: 600px; margin: 0 auto 20px; color: var(--text-light); }
.kb-section a { color: var(--green); font-weight: 700; }
.kb-section a:hover { text-decoration: underline; }

/* Footer */
footer { background: var(--black); color: var(--gray); padding: 20px 14px; text-align: center; font-size: 13px; }
footer a { color: var(--gray); }
footer a:hover { color: var(--green); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: left; padding-bottom: 20px; border-bottom: 1px solid #222; margin-bottom: 20px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-heading); margin-bottom: 12px; }
.footer-grid a { display: block; padding: 4px 0; font-size: 13px; }
.footer-grid a:hover { color: var(--green); }

/* Page Headers */
.page-hero { background: linear-gradient(135deg, rgba(0,204,68,0.9), rgba(0,0,0,0.9)), url('../images/slide2.jpg') center/cover no-repeat; padding: 80px 20px; text-align: center; color: var(--white); }
.page-hero h1 { font-family: var(--font-heading); font-size: 48px; margin-bottom: 12px; }
.page-hero p { font-size: 18px; max-width: 600px; margin: 0 auto; opacity: 0.9; }
.page-content { max-width: 1200px; margin: 0 auto; padding: 40px 14px; }

/* SEO */
.seo-services { background: var(--black); color: var(--white); padding: 60px 20px; }
.seo-services h2 { text-align: center; font-family: var(--font-heading); font-size: 36px; margin-bottom: 30px; }
.sgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.scard { background: var(--dark-card); padding: 24px; border-radius: 12px; text-align: center; transition: all 0.3s; }
.scard:hover { background: var(--green); color: var(--black); }
.scard h3 { font-size: 20px; margin-bottom: 10px; color: var(--green); }
.scard:hover h3 { color: var(--black); }
.scard:hover p { color: var(--text); }
.scard p { font-size: 14px; color: #ccc; }

/* Responsive */
@media (max-width: 900px) {
  .right { justify-content: center; }
  .sq-box { width: 260px; height: 160px; }
  .sq-box.double { width: 260px; }
  .coop-xl { font-size: 64px; }
  .coop-big { font-size: 40px; }
  .contact-inner { grid-template-columns: 1fr; }
  .cform { justify-self: center; }
  .page-hero h1 { font-size: 32px; }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 600px) {
  .coop-xl { font-size: 48px; }
  .coop-big { font-size: 32px; }
  .slide p { font-size: 15px; }
  .side-circles { display: none; }
}
