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

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a2e;
  background: #f8fafc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
}

/* =========
   Color Variables - Australian Inspired Theme (with Teal/Turquoise)
   ========= */
:root {
  --primary: #14b8a6;
  --primary-dark: #0d9488;
  --primary-light: #5eead4;
  --secondary: #06b6d4;
  --accent: #22d3ee;
  --warm-teal: #2dd4bf;
  --turquoise: #40e0d0;
  /* Australian flag colours as accents */
  --aus-blue: #012169;
  --aus-red: #E4002B;
  --aus-white: #FFFFFF;
  --background: #f8fafc;
  --background-alt: #f1f5f9;
  --text-primary: #1a1a2e;
  --text-secondary: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --gradient: linear-gradient(135deg, #14b8a6 0%, #06b6d4 50%, #22d3ee 100%);
  --gradient-warm: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #06b6d4 100%);
  --gradient-aus: linear-gradient(135deg, #012169 0%, #14b8a6 50%, #E4002B 100%);
}

/* =========
   Layout
   ========= */
.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

/* =========
   Navigation
   ========= */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.logo-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* =========
   Hero Section
   ========= */
.hero {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f0f9ff 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-tabs {
  display: flex;
  gap: 0.5rem;
}

.tab {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.tab.active {
  background: var(--primary);
}

.card-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

.code-preview {
  background: #1a1a2e;
  border-radius: 10px;
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
}

.code-line {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.code-line:last-child {
  margin-bottom: 0;
}

.code-line:nth-child(1) { width: 60%; }
.code-line:nth-child(2) { width: 80%; }
.code-line:nth-child(3) { width: 45%; }
.code-line:nth-child(4) { width: 70%; }

.code-line.highlight {
  background: var(--gradient);
  width: 65%;
}

/* =========
   Sections
   ========= */
.section {
  padding: 5rem 2rem;
}

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

.section-header {
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.section-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* =========
   Services Grid
   ========= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
  border-color: var(--primary-light);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary-dark);
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--primary);
}

/* =========
   Cases Grid
   ========= */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.case-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
  border-color: var(--primary-light);
}

.case-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.case-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.case-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.case-metrics {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* =========
   Features Grid
   ========= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-item {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =========
   CTA Section
   ========= */
.cta-section {
  padding: 5rem 2rem;
  background: var(--gradient);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* =========
   Footer
   ========= */
footer {
  background: var(--text-primary);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-section ul li,
.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--primary-light);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* =========
   Page Headers
   ========= */
.page-header {
  padding: 4rem 2rem 2rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f0f9ff 100%);
  text-align: center;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.page-content {
  padding: 4rem 2rem;
}

/* =========
   Responsive
   ========= */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .hero {
    padding: 3rem 1rem;
    min-height: auto;
  }

  .section {
    padding: 3rem 1rem;
  }

  .services-grid,
  .cases-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* =========
   About Page Styles
   ========= */
.about-intro {
  margin-bottom: 4rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
}

.stat-card .stat-value {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
  border-color: var(--primary-light);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--primary-light);
}

.timeline-item:last-child {
  border-left: none;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.timeline-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.timeline-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
  border-color: var(--primary-light);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.team-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* =========
   Services Page Styles
   ========= */
.service-detail {
  margin-bottom: 4rem;
}

.service-detail-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.service-icon-large {
  font-size: 4rem;
  flex-shrink: 0;
}

.service-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 1rem;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-box {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.feature-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
  border-color: var(--primary-light);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.process-step p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =========
   Solutions Page Styles
   ========= */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.solution-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
  border-color: var(--primary-light);
}

.solution-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.solution-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.solution-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.solution-features {
  list-style: none;
  padding: 0;
}

.solution-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.solution-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.tech-categories {
  display: grid;
  gap: 2rem;
}

.tech-category {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
}

.tech-category h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-tag {
  padding: 0.5rem 1rem;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-item {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
  border-color: var(--primary-light);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.benefit-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =========
   Cases Page Styles
   ========= */
.case-studies {
  display: grid;
  gap: 4rem;
}

.case-study {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.case-study-header {
  margin-bottom: 2rem;
}

.case-badge-large {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.case-study h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.case-client {
  color: var(--text-secondary);
  font-size: 1rem;
}

.case-study-content {
  display: grid;
  gap: 2rem;
}

.case-challenge,
.case-solution,
.case-results {
  padding: 1.5rem;
  background: var(--background-alt);
  border-radius: 12px;
}

.case-challenge h3,
.case-solution h3,
.case-results h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.case-challenge p,
.case-solution p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.result-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.result-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.result-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-role {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* =========
   News Page Styles
   ========= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
  border-color: var(--primary-light);
}

.news-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f0f9ff 100%);
  border: 2px solid var(--primary-light);
}

.news-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.news-card h2,
.news-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card.featured h2 {
  font-size: 2rem;
}

.news-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.news-excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.news-link {
  color: var(--primary-dark);
  font-weight: 600;
  transition: color 0.3s ease;
}

.news-link:hover {
  color: var(--primary);
}

.newsletter {
  text-align: center;
  padding: 3rem 2rem;
}

.newsletter-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.newsletter-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

/* =========
   Contact Page Styles
   ========= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.contact-details {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.detail-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-detail-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-detail-item p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.social-contact {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.social-contact h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-form-container {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

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

.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.office-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
}

.office-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.office-card > p:first-of-type {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.office-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.office-contact {
  color: var(--primary-dark);
  font-weight: 600;
  margin-top: 1rem;
}

/* =========
   Additional Responsive Styles
   ========= */
@media (max-width: 968px) {
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .news-card.featured {
    grid-column: 1;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

