/* ============================================
   HireAtPoint LLP — Global Stylesheet
   Professional | Responsive | Mobile-First
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --primary:     #0a3d7c;
  --primary-lt:  #1259b0;
  --accent:      #00b4d8;
  --accent-dark: #0096b7;
  --text:        #1a1a2e;
  --text-mid:    #4a5568;
  --text-light:  #718096;
  --bg:          #ffffff;
  --bg-soft:     #f7f9fc;
  --bg-dark:     #0a1628;
  --border:      #e2e8f0;
  --shadow-sm:   0 2px 8px rgba(10,61,124,0.08);
  --shadow-md:   0 8px 30px rgba(10,61,124,0.12);
  --shadow-lg:   0 20px 60px rgba(10,61,124,0.18);
  --radius:      10px;
  --radius-lg:   18px;
  --transition:  0.3s ease;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ── */
.container { width: 90%; max-width: 1180px; margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius); font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none;
  transition: var(--transition); text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-lt); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ── Section Spacing ── */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-soft { background: var(--bg-soft); }

/* ── Section Labels ── */
.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--primary); line-height: 1.25; margin-bottom: 18px;
}
.section-title.white { color: #fff; }
.section-sub { font-size: 1.05rem; color: var(--text-mid); max-width: 580px; line-height: 1.8; }
.section-sub.center { margin: 0 auto; text-align: center; }
.text-center { text-align: center; }

/* ── Divider ── */
.divider { width: 55px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--primary-lt)); border-radius: 2px; margin: 16px 0 30px; }
.divider.center { margin: 16px auto 30px; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 48px; width: auto; }
.logo-text { font-family: var(--font-head); font-size: 1.25rem; color: var(--primary); font-weight: 700; line-height: 1.2; }

/* Desktop Nav */
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 7px; font-weight: 500;
  font-size: 0.92rem; color: var(--text); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(10,61,124,0.07); }
.nav-links .btn-nav {
  background: var(--primary); color: #fff !important; padding: 9px 20px;
  border-radius: var(--radius); margin-left: 8px;
}
.nav-links .btn-nav:hover { background: var(--primary-lt); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; border: none; background: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  background: #fff; padding: 20px; border-top: 1px solid var(--border);
  position: absolute; top: 72px; left: 0; right: 0;
  box-shadow: var(--shadow-md); z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px; border-radius: var(--radius); font-weight: 500;
  color: var(--text); transition: var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--bg-soft); color: var(--primary); }
.mobile-nav .btn-nav-mob {
  background: var(--primary); color: #fff !important;
  text-align: center; margin-top: 8px; border-radius: var(--radius);
}

/* ============================================
   PAGE BANNER (inner pages)
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 60%, var(--accent-dark) 100%);
  padding: 90px 0 80px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner h1 { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 14px; position: relative; }
.page-banner p { font-size: 1.1rem; opacity: 0.88; max-width: 560px; margin: 0 auto; position: relative; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 20px; font-size: 0.88rem; opacity: 0.75; position: relative; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }

/* ============================================
   CARDS & GRIDS
   ============================================ */
.card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

/* ============================================
   ICON BOX
   ============================================ */
.icon-box {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,180,216,0.12), rgba(10,61,124,0.10));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px; color: var(--accent);
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip { background: var(--primary); color: #fff; padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item .number { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--accent); }
.stat-item .label { font-size: 0.9rem; opacity: 0.85; margin-top: 4px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: relative;
}
.testimonial-card::before {
  content: '"'; font-family: var(--font-head); font-size: 5rem; color: var(--accent);
  opacity: 0.2; position: absolute; top: 10px; left: 24px; line-height: 1;
}
.testimonial-card p { font-size: 1rem; color: var(--text-mid); font-style: italic; margin-bottom: 20px; padding-top: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.author-info strong { display: block; font-size: 0.95rem; color: var(--text); }
.author-info span { font-size: 0.82rem; color: var(--text-light); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin-top: 16px; font-size: 0.93rem; line-height: 1.8; max-width: 280px; opacity: 0.75; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; opacity: 0.75; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.85rem; opacity: 0.55; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: #fff; }

/* ── Back to Top ── */
#backToTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary);
  color: #fff; border: none; cursor: pointer; font-size: 1.1rem;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { background: var(--accent); transform: translateY(-3px); }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed; bottom: 80px; right: 28px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%; background: #25D366;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: 60px 0; }
  .page-banner { padding: 60px 0 50px; }
  .page-banner h1 { font-size: 1.9rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn { padding: 11px 20px; font-size: 0.88rem; }
