/* A2Z Digital Solutions — Agency Premium Design System v3 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0b5ed7;
  --primary-dark: #0a53be;
  --accent: #b8962e; /* Original Gold */
  --accent-hover: #9e7f26;
  --navy: #1a1a3e;
  --heading: #111827;
  --body: #4b5563;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--navy); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

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

.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }

/* Header & Nav */
header.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
}
.nav { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; color: var(--navy); }
.brand .logo-orb { width: 32px; height: 32px; background: linear-gradient(45deg, var(--primary), #6366f1); border-radius: 50%; }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { font-weight: 600; color: var(--navy); font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.nav-links a[aria-current="page"] { color: var(--primary); }

.nav-toggle { display: none; } /* Hide the old toggle for now */

@media (max-width: 860px) {
  .nav-links { display: none; } /* Add proper mobile nav if needed */
  .nav-toggle { display: block; border: 1px solid var(--border); padding: 8px 12px; border-radius: 8px; }
}

/* Hero */
.hero-wrapper { display: flex; align-items: center; gap: 60px; min-height: 600px; }
.hero-content { flex: 1.2; }
.hero-content .pill { 
  display: inline-block; padding: 6px 16px; background: #e0e7ff; color: var(--primary); 
  border-radius: 100px; font-weight: 700; font-size: 13px; margin-bottom: 24px;
}
.hero-content h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 24px; color: var(--navy); }
.hero-content p { font-size: 20px; margin-bottom: 40px; color: var(--body); font-weight: 400; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { flex: 1; position: relative; }
.hero-img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: 0.5s; }
.hero-img-wrap:hover { transform: rotate(0deg); }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .hero-wrapper { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero-wrapper > div { width: 100%; flex: none; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { padding-bottom: 40px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: 14px; font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: none; font-size: 16px;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 12px 20px -5px rgba(11, 94, 215, 0.3); }

.btn-outline { background: transparent; border: 2.5px solid var(--border); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

.btn-gold { 
  background: var(--accent); color: var(--white); width: 100%; 
  text-transform: uppercase; letter-spacing: 2px; padding: 20px;
  font-size: 15px; box-shadow: 0 8px 16px rgba(184, 150, 46, 0.25);
}
.btn-gold:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(184, 150, 46, 0.35); }

/* Stats Strip */
.stats-section { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-strip { display: flex; justify-content: space-around; gap: 40px; flex-wrap: wrap; text-align: center; }
.stat-item .num { font-size: 52px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-item .lab { font-size: 14px; font-weight: 700; color: var(--body); text-transform: uppercase; letter-spacing: 1px; }

/* Cards Grid */
.grid { display: grid; gap: 32px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.card { 
  background: var(--white); border: 1px solid var(--border); border-radius: 20px; 
  padding: 40px; transition: 0.4s; position: relative; overflow: hidden;
}
.card:hover { border-color: var(--primary); transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card-icon { width: 60px; height: 60px; background: var(--bg-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 24px; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--body); font-size: 15px; }

/* Enquiry Section */
.enquiry-section { background: #f0f4ff; }
.enquiry-card { 
  max-width: 1000px; margin: 0 auto; background: var(--white); 
  border-radius: 32px; padding: 60px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.enquiry-header { text-align: center; margin-bottom: 48px; }
.enquiry-header h2 { font-size: 44px; margin-bottom: 16px; letter-spacing: -1px; }
.enquiry-header p { font-size: 18px; color: var(--body); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; gap: 20px; } }

.form-group { display: flex; flex-direction: column; }
label { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
input, select, textarea {
  padding: 16px 20px; border: 2px solid var(--border); border-radius: 12px;
  background: var(--bg-light); font-size: 16px; font-family: inherit; transition: 0.3s;
}
input:focus, select:focus, textarea:focus { 
  border-color: var(--primary); outline: none; background: var(--white); 
  box-shadow: 0 0 0 5px rgba(11, 94, 215, 0.1); 
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1a3e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; padding-right: 50px;
}

textarea { min-height: 150px; line-height: 1.5; }

.checkbox-wrap { display: flex; gap: 14px; margin: 32px 0; align-items: flex-start; }
.checkbox-wrap input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.checkbox-wrap label { font-weight: 500; color: var(--body); margin: 0; line-height: 1.4; font-size: 14px; }
.checkbox-wrap a { color: var(--primary); font-weight: 700; text-decoration: underline; }

.error-msg { 
  background: #fef2f2; border: 1px solid #fee2e2; color: #dc2626; 
  padding: 16px; border-radius: 12px; margin-bottom: 24px; font-weight: 600; display: none;
}

/* Footer */
footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 100px 0 40px; }
footer h4 { color: var(--white); font-size: 18px; margin-bottom: 24px; }
footer ul li { margin-bottom: 12px; }
footer a { color: rgba(255,255,255,0.7); font-size: 15px; }
footer a:hover { color: var(--white); }
footer .legal { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 80px; padding-top: 32px; text-align: center; font-size: 14px; }

/* CTA Band */
.cta-band { 
  background: linear-gradient(135deg, var(--primary), #4338ca); 
  border-radius: 32px; padding: 80px; text-align: center; color: var(--white);
  box-shadow: 0 25px 50px -12px rgba(11, 94, 215, 0.5);
}
.cta-band h2 { color: var(--white); font-size: 48px; margin-bottom: 20px; }
.cta-band p { font-size: 20px; opacity: 0.9; margin-bottom: 40px; }

/* Testimonial */
.testimonial-block { 
  background: var(--bg-light); border-left: 6px solid var(--accent); 
  padding: 48px; border-radius: 0 24px 24px 0;
}
.testimonial-block p { font-size: 22px; font-style: italic; color: var(--navy); font-weight: 500; margin-bottom: 20px; }
.testimonial-block .author { font-weight: 800; color: var(--body); font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
