/* ============================================
   AOZLA — Global Stylesheet
   ============================================ */

:root {
  /* Brand Colors — derived from the Aozla logo (dark navy + teal accent) */
  --navy:       #0B1D3A;
  --navy-mid:   #142D54;
  --navy-light: #1A3A6B;
  --teal:       #2CB5B5;
  --teal-dark:  #1F9494;
  --teal-light: #3DD4D4;
  --slate:      #4A5D7A;
  --light-grey: #F4F6F9;
  --mid-grey:   #D1D8E3;
  --dark-text:  #0E1A2E;
  --body-text:  #3B4A61;
  --white:      #FFFFFF;
  --red-accent: #C0392B; /* from the Aozla logo "Value" red */

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container-max: 1120px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  line-height: 1.65;
  font-size: 16px;
  background: var(--white);
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 29, 58, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s var(--ease);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
}
.logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--white);
}
.logo-img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(44,181,181,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(44,181,181,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(44,181,181,0.3), transparent);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}
.hero-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(44,181,181,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 15px;
}
.btn-full {
  width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-pad) 0;
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--dark-text);
  max-width: 650px;
}

/* ============================================
   VALUE CARDS
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  padding: 2rem;
  background: var(--light-grey);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.value-card:hover {
  border-color: var(--mid-grey);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(11,29,58,0.06);
}
.value-icon {
  width: 40px; height: 40px;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.value-icon svg { width: 100%; height: 100%; }
.value-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.6rem;
}
.value-card p {
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--body-text);
}

/* ============================================
   FOCUS AREAS GRID
   ============================================ */
.focus-section {
  background: var(--navy);
}
.focus-section .section-tag { color: var(--teal-light); }
.focus-section .section-title { color: var(--white); }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
}
.focus-item {
  display: block;
  padding: 2rem 2.25rem;
  background: var(--navy);
  transition: background 0.3s var(--ease);
  position: relative;
}
.focus-item:hover {
  background: var(--navy-mid);
}
.focus-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.75rem;
}
.focus-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.focus-item p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
}
.focus-arrow {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 1.25rem;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s var(--ease);
}
.focus-item:hover .focus-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.industry-pill {
  padding: 0.9rem 2rem;
  background: var(--light-grey);
  border: 1.5px solid var(--mid-grey);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-text);
  transition: all 0.25s var(--ease);
}
.industry-pill:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* ============================================
   INDUSTRY BLOCKS (Industries page)
   ============================================ */
.industry-blocks {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.industry-block {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2.5rem;
  background: var(--light-grey);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.industry-block:hover {
  border-color: var(--mid-grey);
  box-shadow: 0 8px 32px rgba(11,29,58,0.05);
}
.industry-block-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  color: var(--teal);
}
.industry-block-icon svg { width: 100%; height: 100%; }
.industry-block h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark-text);
  margin-bottom: 0.6rem;
}
.industry-block p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   SERVICE BLOCKS (What We Do page)
   ============================================ */
.service-block {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 3rem 0;
  border-bottom: 1px solid var(--mid-grey);
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: none; }

.service-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  padding-top: 0.3rem;
}
.service-content h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--dark-text);
  margin-bottom: 0.75rem;
}
.service-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.tech-tag {
  padding: 0.35rem 0.85rem;
  background: var(--light-grey);
  border: 1px solid var(--mid-grey);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-block {
  margin-bottom: 2rem;
}
.contact-info-block h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.contact-info-block a,
.contact-info-block p {
  font-size: 1rem;
  color: var(--dark-text);
}
.contact-info-block a:hover {
  color: var(--teal);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--mid-grey);
  border-radius: 8px;
  background: var(--white);
  color: var(--dark-text);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate);
  opacity: 0.5;
}
.form-group textarea { resize: vertical; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--light-grey);
  text-align: center;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--dark-text);
  margin-bottom: 0.75rem;
}
.cta-content p {
  font-size: 1rem;
  color: var(--body-text);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--navy);
  padding: calc(64px + 4rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 60%, rgba(44,181,181,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-tag { color: var(--teal-light); }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 650px;
  position: relative;
}
.page-hero-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 550px;
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
}
.footer-brand .logo-mark,
.footer-brand .logo-text {
  vertical-align: middle;
}
.footer-brand .logo-mark { margin-right: 0.4rem; }
.footer-tagline {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 4rem;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag      { animation: fadeUp 0.6s var(--ease) 0.1s both; }
.hero-title    { animation: fadeUp 0.6s var(--ease) 0.2s both; }
.hero-subtitle { animation: fadeUp 0.6s var(--ease) 0.35s both; }
.hero-actions  { animation: fadeUp 0.6s var(--ease) 0.5s both; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1.25rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-links {
    gap: 2rem;
  }
  .service-block {
    flex-direction: column;
    gap: 0.75rem;
  }
  .industry-block {
    flex-direction: column;
    gap: 1rem;
  }
  .hero {
    min-height: 75vh;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}
