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

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  /* Colors */
  --color-primary: #0f172a;       /* Deep Slate / Carbon */
  --color-secondary: #334155;     /* Dark Grey */
  --color-accent-orange: #f39c12; /* Vibrant Warm Orange */
  --color-accent-orange-hover: #d35400;
  --color-accent-teal: #14b8a6;   /* Clean Mint Teal */
  --color-accent-teal-dark: #0f766e;
  --color-bg-body: #f8fafc;       /* Light neutral slate */
  --color-bg-card: #ffffff;       /* Pure white */
  --color-bg-footer: #0b0f19;     /* Deep dark navy */
  --color-border: #e2e8f0;        /* Light border */
  --color-border-hover: #cbd5e1;
  --color-text-light: #64748b;    /* Muted text grey */
  --color-text-white: #ffffff;
  
  /* HSL transparent variants for overlays & glows */
  --shadow-color: 220 3% 15%;
  --color-teal-glow: rgba(20, 184, 166, 0.15);
  --color-orange-glow: rgba(243, 156, 18, 0.2);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout Spacing */
  --container-max-width: 1280px;
  --header-height: 80px;

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.05), 0 1px 3px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 20px -3px rgba(0, 0, 0, 0.04), 0 4px 8px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 32px -8px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow-teal: 0 10px 30px -5px rgba(20, 184, 166, 0.3);
  --shadow-glow-orange: 0 10px 30px -5px rgba(243, 156, 18, 0.3);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-body);
  color: var(--color-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

p {
  color: var(--color-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

ul {
  list-style: none;
}

button, .btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

/* ==========================================
   UTILITY CLASSES & CONTAINERS
   ========================================== */
.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: rgba(20, 184, 166, 0.1);
  color: var(--color-accent-teal);
  margin-bottom: 1rem;
}

.badge-orange {
  background-color: rgba(243, 156, 18, 0.1);
  color: var(--color-accent-orange);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  background-color: var(--color-accent-orange);
  color: var(--color-text-white);
  border: 2px solid var(--color-accent-orange);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-accent-orange-hover);
  border-color: var(--color-accent-orange-hover);
  box-shadow: var(--shadow-glow-orange);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: rgba(15, 23, 42, 0.02);
  transform: translateY(-2px);
}

/* ==========================================
   STICKY HEADER & NAVBAR
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* Light logo + nav on dark hero sections (before scroll) */
.site-header.header-on-dark:not(.scrolled) .logo {
  color: #ffffff;
}

.site-header.header-on-dark:not(.scrolled) .logo span {
  color: #5eead4;
}

.site-header.header-on-dark:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.header-on-dark:not(.scrolled) .nav-link:hover,
.site-header.header-on-dark:not(.scrolled) .nav-link.active {
  color: #ffffff;
}

.site-header.header-on-dark:not(.scrolled) .nav-link::after {
  background-color: var(--color-accent-orange);
}

.site-header.header-on-dark:not(.scrolled) .mobile-nav-toggle span {
  background-color: #ffffff;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.logo span {
  color: var(--color-accent-teal);
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-teal);
  transition: var(--transition-smooth);
}

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

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

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Mobile Menu Button */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1010;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.page-hero-dark {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  background: linear-gradient(125deg, #060d18 0%, #0f2b48 40%, #134e6f 72%, #0c5c5c 100%);
}

.page-hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(20, 184, 166, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 12% 78%, rgba(243, 156, 18, 0.14) 0%, transparent 38%);
  pointer-events: none;
}

.page-hero-dark > .container,
.page-hero-dark > .container.hero-grid,
.page-hero-dark > .container.hero-content {
  position: relative;
  z-index: 1;
}

.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #060d18 0%, #0f2b48 40%, #134e6f 72%, #0c5c5c 100%);
  color: #ffffff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(20, 184, 166, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 12% 78%, rgba(243, 156, 18, 0.14) 0%, transparent 38%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  max-width: 580px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #5eead4;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background-color: transparent;
}

.hero .btn-secondary:hover {
  color: #ffffff;
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Inner page heroes (About, Contact, Case Studies) */
.about-hero-title,
.contact-hero .hero-title,
.cs-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-hero-subtitle,
.contact-hero .hero-subtitle,
.cs-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  max-width: 900px;
  line-height: 1.65;
}

.contact-hero .hero-subtitle,
.about-hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
  border: 1px solid var(--color-border);
  transition: var(--transition-bounce);
  position: relative;
  z-index: 2;
}

.hero-image-container:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 30px 45px -10px rgba(15, 23, 42, 0.15);
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Background gradient glows behind the hero image */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background: radial-gradient(circle, var(--color-teal-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* ==========================================
   STATISTICS SECTION
   ========================================== */
.stats {
  padding-bottom: 5rem;
  margin-top: -3rem; /* overlap slightly on the hero */
  position: relative;
  z-index: 10;
}

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

.stat-card {
  background-color: var(--color-bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-teal);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: rgba(20, 184, 166, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-teal);
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon {
  background-color: var(--color-accent-teal);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 500;
  text-align: center;
}

/* ==========================================
   INDUSTRIES SERVED SECTION
   ========================================== */
.industries {
  background-color: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.section-header-cta {
  margin-top: 1.5rem;
}

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

.industry-card {
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.industry-card:hover {
  background-color: var(--color-bg-card);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-teal);
}

.industry-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: rgba(20, 184, 166, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-teal);
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.industry-card:hover .industry-icon {
  background-color: var(--color-accent-teal);
  color: white;
  transform: scale(1.05);
}

.industry-icon svg {
  width: 24px;
  height: 24px;
}

.industry-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================
   FEATURED WORK SECTION
   ========================================== */
.work {
  background-color: var(--color-bg-body);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* Large Flagship Project (Synchrony Bank) */
.project-featured {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.project-featured:hover {
  box-shadow: var(--shadow-lg);
}

.featured-project-grid {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  min-height: 480px;
}

.project-info-panel {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: rgba(15, 23, 42, 0.05);
  color: var(--color-secondary);
}

.tag-case-study {
  background-color: rgba(243, 156, 18, 0.1);
  color: var(--color-accent-orange);
}

.tag-web {
  background-color: rgba(20, 184, 166, 0.1);
  color: var(--color-accent-teal);
}

.project-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.project-desc {
  font-size: 1.05rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.project-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-link svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-smooth);
}

.project-link:hover {
  color: var(--color-accent-orange-hover);
}

.project-link:hover svg {
  transform: translateX(4px);
}

.project-image-panel {
  position: relative;
  overflow: hidden;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-bounce);
}

.project-featured:hover .project-image-panel img {
  transform: scale(1.03);
}

/* Secondary Work Grid (2 Columns) */
.projects-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.project-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-teal);
}

.card-image-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-bounce);
}

.project-card:hover .card-image-wrapper img {
  transform: scale(1.04);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content .project-tags {
  margin-bottom: 1rem;
}

.card-content .project-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.card-content .project-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================
   CASE STUDIES HUB
   ========================================== */
.badge-hero {
  margin-bottom: 1.25rem;
  background-color: rgba(20, 184, 166, 0.2);
  color: #99f6e4;
  border: 1px solid rgba(20, 184, 166, 0.35);
}

.casestudies-hero .about-hero-subtitle {
  max-width: 760px;
}

.casestudies-grid-section {
  background-color: var(--color-bg-body);
}

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

.casestudy-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-bounce);
}

.casestudy-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-teal);
}

.casestudy-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.casestudy-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.casestudy-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-bounce);
}

.casestudy-card:hover .casestudy-card-image img {
  transform: scale(1.04);
}

.casestudy-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.casestudy-card-badge-lock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(243, 156, 18, 0.92);
  color: #ffffff;
}

.casestudy-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.casestudy-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.casestudy-card-desc {
  font-size: 0.95rem;
  color: var(--color-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.casestudy-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.casestudy-card-metrics li {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.casestudy-card-metrics strong {
  color: var(--color-accent-teal-dark);
  font-weight: 700;
}

.casestudy-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent-teal-dark);
  margin-top: auto;
  transition: var(--transition-smooth);
}

.casestudy-card:hover .casestudy-card-cta {
  color: var(--color-accent-orange);
  gap: 0.75rem;
}

.casestudy-card-cta svg {
  width: 18px;
  height: 18px;
}

.casestudy-card-cta-muted {
  color: var(--color-secondary);
}

.casestudy-card-muted:hover {
  border-color: var(--color-border-hover);
}

.casestudies-cta-band {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 3.5rem 0;
}

.casestudies-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.casestudies-cta-inner h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.casestudies-cta-inner p {
  color: var(--color-text-light);
  max-width: 520px;
}

.cs-more-studies {
  background-color: var(--color-bg-body);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
}

.cs-more-studies-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cs-more-studies h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.cs-more-studies p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.cs-more-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cs-more-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-card);
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.cs-more-links a:hover {
  border-color: var(--color-accent-teal);
  color: var(--color-accent-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cs-more-links a.cs-more-links-primary {
  background-color: var(--color-accent-orange);
  border-color: var(--color-accent-orange);
  color: #ffffff;
}

.cs-more-links a.cs-more-links-primary:hover {
  background-color: var(--color-accent-orange-hover);
  border-color: var(--color-accent-orange-hover);
  color: #ffffff;
}

/* ==========================================
   CONTACT CTA SECTION
   ========================================== */
.contact-cta {
  background: linear-gradient(135deg, var(--color-accent-teal) 0%, var(--color-accent-teal-dark) 100%);
  color: var(--color-text-white);
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
}

.contact-cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 3rem;
}

.cta-content {
  max-width: 680px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.cta-action {
  flex-shrink: 0;
}

.cta-btn {
  background-color: var(--color-text-white);
  color: var(--color-accent-teal-dark);
  border: 2px solid var(--color-text-white);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-md);
}

.cta-btn:hover {
  background-color: var(--color-accent-orange);
  border-color: var(--color-accent-orange);
  color: var(--color-text-white);
  box-shadow: var(--shadow-glow-orange);
  transform: translateY(-3px);
}

/* Background overlay shapes */
.contact-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.contact-cta::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 50%;
  height: 180%;
  background: radial-gradient(circle, rgba(243, 156, 18, 0.25) 0%, transparent 65%);
  pointer-events: none;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background-color: var(--color-bg-footer);
  color: rgba(255, 255, 255, 0.65);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-white);
  margin-bottom: 1.25rem;
}

.footer-logo span {
  color: var(--color-accent-teal);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 380px;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
  background-color: var(--color-accent-teal);
  color: var(--color-text-white);
  border-color: var(--color-accent-teal);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent-teal);
}

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

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
  color: var(--color-accent-teal);
  padding-left: 4px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent-teal);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a:hover {
  color: var(--color-text-white);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Large Tablets / Laptops */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-project-grid {
    grid-template-columns: 1fr;
  }

  .casestudies-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-info-panel {
    padding: 2.5rem;
  }

  .project-image-panel {
    height: 320px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Small Tablets / Large Mobile */
@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }

  .site-header {
    height: 70px;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-bg-card);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    z-index: 1005;
  }

  .main-nav.active {
    right: 0;
  }

  /* Hamburger Menu Animation */
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .casestudies-grid {
    grid-template-columns: 1fr;
  }

  .casestudies-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-desc {
    margin-bottom: 2rem;
  }

  .hero-btns {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats {
    margin-top: 0;
    padding-top: 3rem;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-subgrid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-cta-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Portrait Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    padding: 1.5rem 1rem;
  }

  .project-info-panel {
    padding: 1.5rem;
  }

  .card-content {
    padding: 1.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}
