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

/* Reset and Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--dark-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Custom Properties / Design Tokens */
:root {
  --primary-red: #b80f0a; /* Premium crimson */
  --primary-red-hover: #8f0b07;
  --primary-red-rgb: 184, 15, 10;
  --dark-charcoal: #121212;
  --dark-charcoal-rgb: 18, 18, 18;
  --dark-gray: #1e1e1e;
  --medium-gray: #6e6e73;
  --light-gray: #f5f5f7;
  --border-gray: #e5e5ea;
  --white: #ffffff;
  --white-rgb: 255, 255, 255;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.02);
  --shadow-medium: 0 12px 40px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 20px 50px rgba(0, 0, 0, 0.12);
  
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  --header-height: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

p {
  font-weight: 300;
  color: var(--medium-gray);
}

.text-highlight {
  color: var(--primary-red);
  font-weight: 600;
}

/* Button & Link Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

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

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(184, 15, 10, 0.2);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--dark-charcoal);
  color: var(--dark-charcoal);
}

.btn-secondary:hover {
  background-color: var(--dark-charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--white);
  color: var(--dark-charcoal);
  border-color: var(--white);
}

.btn-light:hover {
  background-color: var(--light-gray);
  transform: translateY(-2px);
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--dark-charcoal);
  color: var(--white);
}

.section-dark p {
  color: #a1a1a6;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background-color: var(--primary-red);
}

.section-header p {
  font-size: 1.15rem;
}

/* Navigation Header */
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;
  background-color: transparent;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-subtle);
  border-bottom: 1px solid var(--border-gray);
}

header.scrolled .nav-link {
  color: var(--dark-charcoal);
}

header.scrolled .nav-link:hover, 
header.scrolled .nav-link.active {
  color: var(--primary-red);
}

header.inner-page {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-gray);
}

header.inner-page .nav-link {
  color: var(--dark-charcoal);
}

header.inner-page .nav-link:hover, 
header.inner-page .nav-link.active {
  color: var(--primary-red);
}

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

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white); /* White text default for transparent hero overlap */
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

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

/* Parallax Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--dark-charcoal);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.8)), url('hero.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.05);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: block;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: #cccccc;
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Inner Page Hero (Sub-banner) */
.page-hero {
  background-color: var(--dark-charcoal);
  color: var(--white);
  padding: 10rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.95)), url('hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.breadcrumbs a:hover {
  color: var(--primary-red);
}

.breadcrumbs li::after {
  content: '/';
  margin-left: 0.5rem;
}

.breadcrumbs li:last-child::after {
  content: '';
}

.breadcrumbs li:last-child {
  color: var(--white);
}

/* Credentials Grid (Home Quick Facts) */
.credentials-bar {
  background-color: var(--light-gray);
  border-bottom: 1px solid var(--border-gray);
  padding: 3rem 0;
}

.credentials-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.credential-item {
  border-right: 1px solid var(--border-gray);
}

.credential-item:last-child {
  border-right: none;
}

.credential-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.credential-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--dark-charcoal);
}

/* Grid & Cards Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

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

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

/* Cards style */
.card {
  background-color: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--border-radius-sm);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: transparent;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--primary-red);
  transition: var(--transition-smooth);
}

.card:hover::before {
  height: 100%;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-gray);
  border-radius: 4px;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.95rem;
}

/* Home Section Feature: Highlights */
.image-block {
  position: relative;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.image-block:hover img {
  transform: scale(1.03);
}

/* Vision/Mission/Values Detailed Page items */
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.vmv-card {
  background-color: var(--white);
  border: 1px solid var(--border-gray);
  padding: 3rem;
  transition: var(--transition-smooth);
}

.vmv-card:hover {
  border-color: var(--primary-red);
  box-shadow: var(--shadow-medium);
}

.vmv-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vmv-title-row h3 {
  font-size: 1.8rem;
  color: var(--dark-charcoal);
}

.vmv-title-row i {
  font-size: 1.8rem;
  color: var(--primary-red);
}

.vmv-list {
  list-style: none;
  margin-top: 1.5rem;
}

.vmv-list li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--medium-gray);
}

.vmv-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-red);
  font-weight: bold;
}

/* Services Division Styles */
.service-showcase {
  border-bottom: 1px solid var(--border-gray);
  padding: 8rem 0;
}

.service-showcase:last-child {
  border-bottom: none;
}

.service-showcase:nth-child(even) .grid-2 {
  direction: rtl;
}

.service-showcase:nth-child(even) .service-details {
  direction: ltr;
}

.service-details h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.service-tagline {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-red);
  font-weight: 600;
  margin-bottom: 2rem;
  display: block;
}

.service-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.service-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.service-bullet {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--dark-charcoal);
}

.service-bullet span {
  width: 6px;
  height: 6px;
  background-color: var(--primary-red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Portfolio Page - Clean dynamic table and card list */
.portfolio-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.portfolio-search {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.portfolio-search input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border: 1px solid var(--border-gray);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.portfolio-search input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(184, 15, 10, 0.05);
}

.portfolio-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--medium-gray);
}

.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  background-color: var(--light-gray);
  border: 1px solid transparent;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background-color: var(--border-gray);
}

.filter-btn.active {
  background-color: var(--primary-red);
  color: var(--white);
}

.portfolio-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-gray);
  border-radius: var(--border-radius-sm);
  background-color: var(--white);
  box-shadow: var(--shadow-subtle);
}

.portfolio-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.portfolio-table th {
  background-color: var(--light-gray);
  padding: 1.2rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark-charcoal);
  border-bottom: 1px solid var(--border-gray);
}

.portfolio-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-gray);
  font-size: 0.95rem;
}

.portfolio-table tr:last-child td {
  border-bottom: none;
}

.portfolio-table tbody tr {
  transition: var(--transition-fast);
}

.portfolio-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.01);
}

.portfolio-category-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-civil { background-color: #e3f2fd; color: #1e88e5; }
.badge-mechanical { background-color: #efebe9; color: #6d4c41; }
.badge-mining { background-color: #fff8e1; color: #ffb300; }
.badge-it { background-color: #ede7f6; color: #5e35b1; }

.portfolio-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--dark-charcoal);
}

.portfolio-empty {
  padding: 3rem;
  text-align: center;
  display: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--medium-gray);
}

/* Reach Maps & Locations (About/Contact pages) */
.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.reach-map {
  background-color: var(--light-gray);
  border-radius: var(--border-radius-sm);
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border-gray);
}

.reach-map svg {
  max-width: 100%;
  height: auto;
}

.province-path {
  fill: #e5e5ea;
  stroke: #ffffff;
  stroke-width: 1.5;
  transition: var(--transition-fast);
}

.province-path.active {
  fill: var(--primary-red);
}

.reach-list {
  list-style: none;
}

.reach-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-gray);
  gap: 1.5rem;
}

.reach-item:last-child {
  border-bottom: none;
}

.reach-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e5e5ea;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.reach-item.active .reach-marker {
  background-color: var(--primary-red);
  box-shadow: 0 0 8px var(--primary-red);
}

.reach-province-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
}

/* Contact Us Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background-color: var(--light-gray);
  border-radius: var(--border-radius-sm);
  padding: 2rem;
  border-left: 4px solid var(--primary-red);
}

.contact-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-info-card h3 i {
  color: var(--primary-red);
}

.contact-info-card p {
  font-size: 0.95rem;
  color: var(--dark-charcoal);
  margin-bottom: 0.5rem;
}

.contact-info-card a {
  font-weight: 500;
}

.contact-info-card a:hover {
  color: var(--primary-red);
}

.contact-form-wrapper {
  background-color: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--border-radius-sm);
  padding: 3rem;
  box-shadow: var(--shadow-medium);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark-charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-gray);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(184, 15, 10, 0.05);
}

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

.form-status {
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  display: none;
  font-family: var(--font-display);
  font-weight: 500;
}

.form-status.success {
  display: block;
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-status.error {
  display: block;
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* Call To Action Banner (Before footer on pages) */
.cta-banner {
  background-color: var(--dark-charcoal);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url('hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.15rem;
  color: #cccccc;
  margin-bottom: 2.5rem;
}

/* Footer Section */
footer {
  background-color: #0d0d0d;
  color: var(--white);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid #1a1a1a;
}

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

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #8a8a8f;
  margin-bottom: 1.5rem;
  max-width: 250px;
}

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-red);
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 0.8rem;
}

.footer-links-col ul li a {
  font-size: 0.9rem;
  color: #8a8a8f;
}

.footer-links-col ul li a:hover {
  color: var(--white);
}

.footer-newsletter h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-red);
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: #8a8a8f;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.8rem 1rem;
  border: 1px solid #222222;
  background-color: #151515;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form button {
  padding: 0.8rem 1.2rem;
  background-color: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--primary-red-hover);
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #6e6e73;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-legal a {
  font-size: 0.85rem;
  color: #6e6e73;
}

.footer-legal a:hover {
  color: var(--white);
}

/* Animations and Transitions (Intersection Observer Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
  transform: translateX(-30px);
}

.reveal.reveal-right {
  transform: translateX(30px);
}

.reveal.active {
  opacity: 1;
  transform: translate(0);
}

/* Icon class helper using CSS borders for premium clean look */
.arrow-icon::after {
  content: ' ↗';
  font-weight: bold;
}

/* Responsive Design Queries */
@media (max-width: 1024px) {
  h1 { font-size: 3.5rem; }
  .hero h1 { font-size: 3.5rem; }
  .section-header h2 { font-size: 2.4rem; }
  .grid-2, .reach-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .vmv-grid, .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    align-items: flex-start;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    color: var(--dark-charcoal) !important;
    font-size: 1.2rem;
  }
  
  .nav-toggle {
    display: block;
    z-index: 1000;
  }
  
  header.transparent .nav-toggle span {
    background-color: var(--white);
  }
  
  header.scrolled .nav-toggle span,
  header.inner-page .nav-toggle span {
    background-color: var(--dark-charcoal);
  }
  
  .nav-menu .btn {
    width: 100%;
    text-align: center;
  }
  
  .credentials-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .credential-item {
    border-right: none;
    padding: 1rem 0;
  }
  
  .credential-item:nth-child(odd) {
    border-right: 1px solid var(--border-gray);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .vmv-grid, .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .portfolio-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .portfolio-search {
    max-width: none;
  }
  
  .portfolio-filters {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    width: 100%;
  }
  
  .filter-btn {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  h1, .hero h1 { font-size: 2.8rem; }
  .credentials-container {
    grid-template-columns: 1fr;
  }
  .credential-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border-gray);
  }
  .credential-item:last-child {
    border-bottom: none;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}
