/* NavigationHelp.com Main Stylesheet */

:root {
  --primary: #205375;
  --primary-light: #92C7CF;
  --primary-dark: #0F3460;
  --secondary: #4D908E;
  --accent: #F2994A;
  --text-light: #f5f5f5;
  --text-dark: #333333;
  --background: #f9f9f9;
  --card-bg: #ffffff;
  --section-padding: 5rem 2rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.3s;
}

a:hover {
  color: var(--accent);
}

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

ul {
  list-style: none;
}

/* Container and Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  flex: 1 0 0%;
  padding: 0 1rem;
}

/* Headers and Text */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

.text-light {
  color: var(--text-light);
}

.text-dark {
  color: var(--text-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--text-light);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary);
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.btn-large {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  font-weight: 700;
}

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

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

.btn-outlined:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Language Selector */
.language-selector {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1100;
}

.language-selector select {
  padding: 5px 10px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--primary);
  cursor: pointer;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(32, 83, 117, 0.95);
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav .logo {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
}

nav .logo i {
  margin-right: 10px;
  color: var(--accent);
}

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

nav ul {
  display: flex;
  list-style: none;
  margin-right: auto;
  margin-left: 2rem;
}

nav ul li {
  margin-left: 1.5rem;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, opacity 0.3s;
}

.nav-cta-button {
  margin-left: 1rem;
}

nav a:hover {
  color: var(--accent);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* Header/Hero Section */
header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), var(--header-bg) center/cover no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  color: var(--text-light);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.trust-indicators {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.trust-indicators span {
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.trust-indicators i {
  color: var(--accent);
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Sections */
section {
  padding: var(--section-padding);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  min-width: 150px;
  transition: all 0.3s;
}

.badge:hover {
  transform: translateY(-5px);
}

.badge i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.badge span {
  font-weight: 600;
  text-align: center;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 25%;
  bottom: -10px;
  width: 50%;
  height: 4px;
  background-color: var(--accent);
}

.section-header p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
}

.section-bg .section-header h2 {
  color: var(--primary-dark);
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

/* Grid Layouts */
.features-grid,
.navigation-tools-grid,
.tools-comparison-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Cards */
.feature-card,
.tool-card,
.content-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.feature-card:hover,
.tool-card:hover,
.content-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card .card-content .btn,
.tool-card .card-content .btn,
.content-card .card-content .btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  font-weight: 700;
}

.feature-card:after,
.tool-card:after,
.content-card:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 50px 50px 0;
  border-color: transparent var(--accent) transparent transparent;
  transition: all 0.3s;
  opacity: 0;
}

.feature-card:hover:after,
.tool-card:hover:after,
.content-card:hover:after {
  opacity: 1;
}

.feature-img,
.tool-img,
.content-img {
  height: 200px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.feature-img i,
.tool-img i,
.content-img i {
  font-size: 4rem;
  transition: all 0.3s;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px);
}

.card-content p {
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.feature-card:hover .feature-img i,
.tool-card:hover .tool-img i,
.content-card:hover .content-img i {
  transform: scale(1.2);
}

/* Interactive Map */
.map-container {
  width: 100%;
  height: 500px;
  background-color: #eee;
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.map-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
  max-width: 300px;
}

.map-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.map-button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  margin-right: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.map-button:hover {
  background-color: var(--primary-dark);
}

/* Comparison Tool */
.comparison-tool {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.comparison-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.comparison-option {
  flex: 1;
  min-width: 200px;
  padding: 1rem;
  margin: 0.5rem;
  background-color: #f5f5f5;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.comparison-option:hover,
.comparison-option.active {
  background-color: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-option i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.comparison-content {
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 5px;
}

.comparison-results {
  display: none;
}

.comparison-results.active {
  display: block;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border: 1px solid #ddd;
  text-align: left;
}

.comparison-table th {
  background-color: var(--primary);
  color: white;
}

.comparison-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Emergency Toolkit Generator */
.toolkit-generator {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.toolkit-options {
  margin-bottom: 2rem;
}

.toolkit-options label {
  display: block;
  margin-bottom: 0.5rem;
}

.toolkit-options select,
.toolkit-options input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.toolkit-results {
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 5px;
  display: none;
}

.toolkit-results.active {
  display: block;
}

.toolkit-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

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

.toolkit-item h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Community Section */
.community-section {
  background-color: var(--primary-light);
  padding: 4rem 2rem;
}

.forum-preview {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.forum-topics {
  margin-top: 2rem;
}

.forum-topic {
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #f5f5f5;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forum-topic:hover {
  background-color: #eaeaea;
}

.topic-details h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.topic-meta {
  font-size: 0.9rem;
  color: #777;
}

.topic-stats {
  text-align: right;
}

/* Email Subscription */
.subscription-box {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 3rem 2rem;
  border-radius: 10px;
  text-align: center;
  margin-top: 4rem;
}

.subscription-box h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.subscription-form {
  display: flex;
  max-width: 600px;
  margin: 2rem auto 0;
}

.subscription-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 5px 0 0 5px;
}

.subscription-form button {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: all 0.3s;
}

.subscription-form button:hover {
  background-color: var(--secondary);
}

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

.testimonial {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
}

.testimonial:before {
  content: '\201C';
  font-size: 4rem;
  position: absolute;
  left: 10px;
  top: -15px;
  color: var(--accent);
  opacity: 0.3;
}

.quote {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.author {
  text-align: right;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stars {
  color: var(--accent);
  font-size: 1rem;
  text-align: right;
}

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

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: var(--text-light);
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background-color: var(--accent);
}

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

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--accent);
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-top.active {
  opacity: 1;
}

.scroll-top:hover {
  background-color: var(--accent);
}

/* Media Queries */
@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    flex-direction: column;
    padding: 1rem 0;
    margin-left: 0;
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
    padding: 1rem 0;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-cta-button {
    display: none;
  }
  
  /* Sticky mobile CTA */
  .mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    padding: 0.8rem;
    display: flex;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .mobile-cta .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    background-color: var(--accent);
    border-radius: 5px;
    padding: 0.8rem;
    font-weight: 700;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .comparison-options {
    flex-direction: column;
  }
  
  .subscription-form {
    flex-direction: column;
  }
  
  .subscription-form input {
    border-radius: 5px;
    margin-bottom: 1rem;
  }
  
  .subscription-form button {
    border-radius: 5px;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .feature-img,
  .tool-img,
  .content-img {
    height: 150px;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
}