/* --- Custom Properties & Theme Setup --- */
:root {
  /* Brand Palette from Logo */
  --color-navy: #0A1C36;
  --color-navy-dark: #061326;
  --color-navy-light: #132A4C;
  --color-steel: #2B4970;
  --color-slate: #8097B0;
  --color-gray: #8D9399;
  --color-light-gray: #DEE0E2;
  --color-white: #FFFFFF;
  
  /* UI Helpers */
  --color-text-dark: #1E293B;
  --color-text-muted: #64748B;
  --color-bg-light: #F8FAFC;
  --color-bg-slate-light: #F1F5F9;
  --color-accent: #E2E8F0; /* clean slate contrast */
  
  /* Typography */
  --font-primary: 'Nunito Sans', sans-serif;
  
  /* Layout Details */
  --container-max: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --shadow-sm: 0 4px 6px -1px rgba(10, 28, 54, 0.05), 0 2px 4px -1px rgba(10, 28, 54, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(10, 28, 54, 0.08), 0 4px 6px -2px rgba(10, 28, 54, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(10, 28, 54, 0.12), 0 10px 10px -5px rgba(10, 28, 54, 0.04);
  --shadow-glow: 0 0 20px rgba(128, 151, 176, 0.3);
  --border-radius: 12px;
  --header-height: 80px;
}

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

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

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

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-bg {
  background-color: var(--color-bg-light);
}

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

/* --- Headings & Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
}

.btn-accent {
  background-color: var(--color-steel);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(43, 73, 112, 0.3);
}

.btn-accent:hover {
  background-color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 28, 54, 0.4);
}

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

.btn-outline:hover {
  background-color: var(--color-steel);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 60px;
}

.sub-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-slate);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.header-line {
  width: 60px;
  height: 4px;
  background-color: var(--color-steel);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- Header / Navigation --- */
#main-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;
}

#main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

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

/* Logo Design Styles matching branding */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

#main-header.scrolled .logo-img {
  filter: brightness(0) saturate(100%) invert(8%) sepia(35%) saturate(4649%) hue-rotate(201deg) brightness(91%) contrast(97%);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-brand {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

#main-header.scrolled .logo-brand {
  color: var(--color-navy);
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

#main-header.scrolled .logo-sub {
  color: var(--color-slate);
}

/* Menu Items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  position: relative;
  padding: 8px 0;
}

#main-header.scrolled .nav-link {
  color: var(--color-text-dark);
}

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

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

.nav-link.active {
  color: var(--color-slate) !important;
}

.btn-nav-cta {
  background-color: var(--color-white);
  color: var(--color-navy);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

#main-header.scrolled .btn-nav-cta {
  background-color: var(--color-steel);
  color: var(--color-white);
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-color: var(--color-slate);
  color: var(--color-white);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
}

#main-header.scrolled .nav-toggle {
  color: var(--color-navy);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  padding: calc(var(--header-height) + 60px) 0 80px;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 100%;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-slate);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px var(--color-slate);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--color-slate);
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-light-gray);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.hero-img-card {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.hero-images .hero-img-card:nth-child(2) {
  transform: translateY(35px);
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-img-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(10, 28, 54, 0.5);
  border-color: rgba(128, 151, 176, 0.3);
}

.hero-images .hero-img-card:nth-child(2):hover {
  transform: translateY(30px) scale(1.02);
}

.hero-img-card:hover img {
  transform: scale(1.05);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #20BA56;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 60px;
}

.card-shadow {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
}

.card-shadow:hover {
  box-shadow: var(--shadow-md);
}

.about-info-box h3 {
  margin-bottom: 20px;
  position: relative;
}

.about-info-box p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.quote-box {
  border-left: 4px solid var(--color-slate);
  padding-left: 20px;
  margin-top: 30px;
  font-style: italic;
  color: var(--color-navy);
  font-weight: 700;
}

.about-mvv-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mvv-card {
  padding: 30px;
}

.mvv-icon {
  color: var(--color-steel);
  margin-bottom: 16px;
}

.mvv-card h4 {
  margin-bottom: 8px;
}

.mvv-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.values-section h3 {
  text-align: center;
  margin-bottom: 40px;
}

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

.value-item {
  position: relative;
  padding-top: 24px;
}

.value-number {
  position: absolute;
  top: -12px;
  left: 0;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(128, 151, 176, 0.15);
  line-height: 1;
}

.value-item h5 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.value-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--color-bg-slate-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-steel);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: rotateY(180deg);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-list {
  border-top: 1px solid var(--color-light-gray);
  padding-top: 16px;
}

.service-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--color-slate);
  border-radius: 50%;
}

/* --- Portfolio Section --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--color-light-gray);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-steel);
  color: var(--color-white);
  border-color: var(--color-steel);
}

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

.portfolio-item {
  padding: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.portfolio-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 28, 54, 0.95) 0%, rgba(10, 28, 54, 0.4) 60%, rgba(10, 28, 54, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-img-box img {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-cat {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-slate);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.portfolio-overlay h4 {
  color: var(--color-white);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.portfolio-overlay p {
  color: var(--color-light-gray);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* --- Diferenciais Section --- */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.diferencial-card {
  /* Layout herdado de .card-shadow, fluxos naturais para evitar overlap */
}

.diff-number {
  width: 40px;
  height: 40px;
  background-color: var(--color-bg-slate-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-steel);
  margin-bottom: 20px;
}

.diferencial-card h4 {
  margin-bottom: 12px;
}

.diferencial-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- Testimonials Section --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--color-slate);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.975rem;
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
}

.client-info {
  border-top: 1px solid var(--color-light-gray);
  padding-top: 16px;
}

.client-name {
  font-weight: 800;
  color: var(--color-navy);
}

.client-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* --- FAQ Section --- */
.faq-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.faq-content h2 {
  margin-bottom: 16px;
}

.faq-content p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-navy);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.accordion-header svg {
  color: var(--color-slate);
  transition: var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--color-bg-light);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background-color: var(--color-bg-light);
}

.accordion-body p {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.accordion-item.active {
  border-color: rgba(128, 151, 176, 0.4);
}

.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  transition: max-height 0.3s cubic-bezier(0.85, 0, 0.15, 1);
}

/* CTA Card inside FAQ Section */
.faq-cta-card {
  background-color: var(--color-navy);
  color: var(--color-white);
  border: none;
  padding: 40px;
}

.faq-cta-card h4 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.faq-cta-card p {
  color: var(--color-light-gray);
  margin-bottom: 30px;
}

.cta-badge {
  display: inline-block;
  background-color: var(--color-steel);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info {
  background-color: var(--color-navy-light);
  color: var(--color-white);
  border: none;
}

.contact-info h3 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--color-light-gray);
  margin-bottom: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate);
  flex-shrink: 0;
}

.contact-info-item h5 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--color-light-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Contact CTA Container Styles */
.contact-actions-container {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-bg-slate-light);
}

.contact-actions-container h3 {
  color: var(--color-navy);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-actions-container p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

.contact-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-cta-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.contact-cta-btn:hover {
  transform: translateY(-3px);
  border-color: #25D366; /* turns WhatsApp green */
  background-color: var(--color-white);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.08);
}

.cta-btn-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-navy-light);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-cta-btn:hover .cta-btn-icon {
  background-color: #25D366;
}

.cta-btn-content {
  flex-grow: 1;
}

.cta-btn-content h4 {
  color: var(--color-navy);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.cta-btn-content span {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  display: block;
}

.cta-btn-arrow {
  color: var(--color-slate);
  transition: var(--transition-smooth);
}

.contact-cta-btn:hover .cta-btn-arrow {
  color: #25D366;
  transform: translateX(4px);
}

/* --- Footer --- */
footer {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about .logo-img {
  /* stays default white */
}

.footer-about .logo-brand {
  color: var(--color-white);
}

.footer-about p {
  color: var(--color-slate);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate);
}

.social-links a:hover {
  background-color: var(--color-steel);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-steel);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-slate);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 6px;
}

.footer-contact p {
  color: var(--color-slate);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  font-size: 0.85rem;
  color: var(--color-slate);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- Responsive Designs (Media Queries) --- */
@media (max-width: 1024px) {
  :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(--color-navy);
    flex-direction: column;
    padding: 60px 24px;
    gap: 24px;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    color: var(--color-white) !important;
    font-size: 1.25rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .btn-nav-cta {
    display: none; /* Hide on mobile navbar to save space */
  }

  .hero {
    padding-top: 100px;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-images {
    max-width: 500px;
    margin: 0 auto 30px;
  }

  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-images {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .section-padding {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .contact-actions-container {
    padding: 24px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}
