/*
Theme Name: HomeTech CFU Multipage
Theme URI: https://hometechcfu.com/
Author: Iqbal Digital Services
Author URI: https://iqbaldigitalservices.com/
Description: Multipage WordPress theme converted from HomeTech CFU one-page layout with custom page templates, responsive navigation, services, about, FAQ, and contact sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hometech-multipage
*/

:root {
  --ht-primary: #0f2942;
  --ht-secondary: #1e6091;
  --ht-accent: #f59e0b;
  --ht-accent-hover: #d97706;
  --ht-bg: #ffffff;
  --ht-surface: #f8fafc;
  --ht-text: #1e293b;
  --ht-muted: #64748b;
  --ht-border: #e2e8f0;
  --ht-radius: 10px;
  --ht-shadow: 0 10px 25px -5px rgba(15, 41, 66, 0.08), 0 8px 10px -6px rgba(15, 41, 66, 0.04);
  --ht-max-w: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--ht-text);
  background-color: var(--ht-bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ht-secondary);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--ht-primary);
}

.ht-container {
  width: 100%;
  max-width: var(--ht-max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.ht-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ht-border);
}

.ht-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.ht-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ht-primary);
}

.ht-brand-badge {
  background: var(--ht-primary);
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.ht-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.ht-nav-list a {
  color: var(--ht-text);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 6px 2px;
  position: relative;
}

.ht-nav-list a:hover,
.ht-nav-list .current-menu-item > a {
  color: var(--ht-secondary);
}

.ht-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
}

.ht-btn-primary {
  background: var(--ht-accent);
  color: #0f172a;
}

.ht-btn-primary:hover {
  background: var(--ht-accent-hover);
  color: #0f172a;
  transform: translateY(-1px);
}

.ht-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.ht-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ht-menu-toggle {
  display: none;
  background: var(--ht-surface);
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ht-primary);
}

/* Hero Section */
.ht-hero {
  background: linear-gradient(135deg, var(--ht-primary) 0%, var(--ht-secondary) 100%);
  color: #ffffff;
  padding: 84px 0;
}

.ht-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.ht-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 800;
}

.ht-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px;
}

.ht-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ht-hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--ht-radius);
  padding: 28px;
  backdrop-filter: blur(8px);
}

.ht-hero-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--ht-accent);
}

.ht-hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.ht-hero-card li {
  margin-bottom: 8px;
}

/* Subpage Banner */
.ht-page-banner {
  background: linear-gradient(135deg, var(--ht-primary) 0%, var(--ht-secondary) 100%);
  color: #fff;
  padding: 52px 0;
}

.ht-page-banner h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
}

.ht-breadcrumb {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.ht-breadcrumb a {
  color: var(--ht-accent);
}

/* Sections & Cards */
.ht-section {
  padding: 72px 0;
}

.ht-section-alt {
  background: var(--ht-surface);
}

.ht-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.ht-section-header span {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ht-secondary);
  margin-bottom: 8px;
}

.ht-section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--ht-primary);
}

.ht-section-header p {
  margin: 0;
  color: var(--ht-muted);
}

.ht-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ht-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.ht-card {
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
  padding: 28px;
  box-shadow: var(--ht-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ht-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(30, 96, 145, 0.12);
  color: var(--ht-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.ht-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: var(--ht-primary);
}

.ht-card p {
  margin: 0 0 18px;
  color: var(--ht-muted);
}

.ht-card-link {
  font-weight: 700;
  color: var(--ht-secondary);
  font-size: 0.95rem;
}

/* FAQ & Contact */
.ht-faq-item {
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}

.ht-faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--ht-primary);
}

.ht-faq-item p {
  margin: 0;
  color: var(--ht-muted);
}

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

.ht-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ht-primary);
}

.ht-form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.ht-form-control:focus {
  outline: none;
  border-color: var(--ht-secondary);
}

.ht-notice-success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Footer */
.ht-footer {
  background: var(--ht-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 24px;
}

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

.ht-footer h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.ht-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ht-footer li {
  margin-bottom: 8px;
}

.ht-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.ht-footer a:hover {
  color: var(--ht-accent);
}

.ht-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .ht-hero-grid,
  .ht-grid-3,
  .ht-grid-2,
  .ht-footer-grid {
    grid-template-columns: 1fr;
  }

  .ht-menu-toggle {
    display: inline-flex;
  }

  .ht-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--ht-border);
    padding: 16px 20px;
  }

  .ht-nav.is-open {
    display: block;
  }

  .ht-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
