/* ================================================
   ByteWiseBC — Main Stylesheet
   Brand: #ffb34b orange accent, #0d0d0d dark, white base
   Font: Inter (Google Fonts)
   ================================================ */

/* --- Reset & Base -------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #0d0d0d;
}

/* --- Utility ------------------------------------ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--gray { background: #f8f8f8; }
.section--dark { background: #0d0d0d; color: #e0e0e0; }
.section--dark h2, .section--dark h3 { color: #ffffff; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb34b;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 16px;
}

.section-subtext {
  font-size: 17px;
  color: #555;
  max-width: 600px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-subtext { margin-left: auto; margin-right: auto; }

/* --- Buttons ------------------------------------ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: #ffb34b;
  color: #0d0d0d;
  box-shadow: 0 2px 10px rgba(255, 179, 75, 0.4);
}

.btn-primary:hover {
  background: #e89e2f;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 179, 75, 0.45);
}

.btn-outline {
  background: transparent;
  color: #0d0d0d;
  border: 1.5px solid #d0d0d0;
}

.btn-outline:hover {
  border-color: #ffb34b;
  color: #ffb34b;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff55;
}

.btn-outline-white:hover {
  border-color: #ffb34b;
  color: #ffb34b;
}

/* --- Header / Nav ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.03em;
}

.nav-logo span { color: #ffb34b; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #444;
  transition: color 0.15s;
}

.nav-links a:hover, .nav-links a.active { color: #0d0d0d; }

.nav-cta { margin-left: 16px; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0d0d0d;
  border-radius: 2px;
  transition: all 0.2s;
}

/* --- Hero --------------------------------------- */
.hero {
  padding: 96px 0 80px;
  background: #ffffff;
}

.hero-content { max-width: 680px; }

.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 800;
  margin-bottom: 20px;
  color: #0d0d0d;
}

.hero-sub {
  font-size: 18px;
  color: #555;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-link {
  font-size: 15px;
  font-weight: 500;
  color: #0d0d0d;
  border-bottom: 1.5px solid #d0d0d0;
  padding-bottom: 1px;
  transition: border-color 0.15s;
}

.hero-link:hover { border-color: #ffb34b; }

/* --- Credibility Bar ---------------------------- */
.cred-bar {
  background: #f8f8f8;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  padding: 20px 0;
}

.cred-items {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  white-space: nowrap;
}

.cred-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb34b;
  flex-shrink: 0;
}

/* --- Service Cards ------------------------------ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: #fff7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ffb34b;
}

/* --- Testimonials ------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px;
  border-left: 4px solid #ffb34b;
}

.testimonial blockquote {
  font-size: 15px;
  font-style: italic;
  color: #333;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial cite {
  font-size: 13px;
  color: #888;
  font-style: normal;
  font-weight: 500;
}

/* --- FAQ Accordion ------------------------------ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid #ebebeb; }

.faq-item summary {
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: #0d0d0d;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: #aaa;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: #ffb34b;
}

.faq-answer {
  padding: 0 0 18px;
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  max-width: 680px;
}

/* --- CTA Section -------------------------------- */
.cta-section {
  text-align: center;
  padding: 96px 0;
}

.cta-section h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: #555;
  max-width: 520px;
  margin: 0 auto 36px;
}

/* --- Services Full Page ------------------------- */
.services-list { display: flex; flex-direction: column; gap: 64px; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.service-block-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb34b;
  margin-bottom: 10px;
}

.service-block h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 14px;
}

.service-block p {
  color: #555;
  margin-bottom: 20px;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-list li {
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bullet-list li::before {
  content: '→';
  color: #ffb34b;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- About Page --------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-body h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 24px;
}

.about-body p { color: #444; margin-bottom: 18px; }

.sidebar-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #e8e8e8;
}

.sidebar-card h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 14px;
}

.sidebar-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-card ul li {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sidebar-card ul li::before {
  content: '✓';
  color: #ffb34b;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Contact Page ------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.contact-info p { color: #555; margin-bottom: 28px; }

.contact-steps { display: flex; flex-direction: column; gap: 18px; }

.contact-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffb34b;
  color: #0d0d0d;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-step p { font-size: 14px; color: #555; margin: 0; }

.contact-form {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 36px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 7px;
  font-family: inherit;
  font-size: 14px;
  color: #1a1a1a;
  background: #ffffff;
  transition: border-color 0.15s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ffb34b;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* --- Footer ------------------------------------- */
.site-footer {
  background: #0d0d0d;
  color: #aaa;
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo { color: #ffffff; margin-bottom: 10px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.6; max-width: 260px; }

.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  font-size: 13px;
  color: #aaa;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: #ffb34b; }

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #555;
}

/* --- Mobile ------------------------------------- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 24px 20px;
  }
  .nav-links.open li { border-bottom: 1px solid #f3f3f3; }
  .nav-links.open li a { display: block; padding: 12px 0; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 64px 0 56px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .cred-items { gap: 20px; }

  .service-block { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cta-section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}
