/* Neurolens Landing Page Styles */

/* Font imports */
@font-face {
  font-family: 'SF Pro Display';
  src: url('../assets/fonts/sf-pro-display/SFPRODISPLAYREGULAR.OTF') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../assets/fonts/sf-pro-display/SFPRODISPLAYMEDIUM.OTF') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../assets/fonts/sf-pro-display/SFPRODISPLAYBOLD.OTF') format('opentype');
  font-weight: bold;
  font-style: normal;
}

img {
  width: 100%;
  height: 100vh; /* Full viewport height */
  object-fit: cover; /* Ensures the image covers the area without distortion */
}


/* Variables */
:root {
  --beige-light: #f5f2ea;
  --beige: #e8e0d0;
  --beige-dark: #d0c8b5;
  --beige-darker: #b5ad98;
  --text-dark: #333333;
  --text-medium: #555555;
  --accent: #8b7d62;
  --accent-light: #a99d85;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--beige-light);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

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

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

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow);
}

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

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 1rem;
  width: 40px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
}

header nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

header nav ul li {
  margin-left: 2rem;
  display: flex;
  align-items: center;
}

header nav ul li a {
  font-weight: 500;
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
}

header nav ul li a.btn {
  margin-top: 0;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero section */

.hero-fullscreen {
  height: 100vh; /* Full viewport height */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Makes the background image fixed */
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  padding: 2rem 1rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--white);
}

.hero-content .btn {
  background-color: var(--accent);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.hero-content .btn:hover {
  background-color: var(--accent-light);
}

/* Fade-in animation */
.fade-in {
  animation: fadeInAnimation 1s ease-in-out forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Content section */
.page-content {
  padding: 1rem 0 3rem 0; /* Top padding reduced */
}

.page-content section {
  text-align: center; /* Centers the text */
}

.page-content .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.page-content .section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Features section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Four equal columns */
  gap: 1.5rem; /* Adjust spacing between items */
  justify-content: center; /* Center the grid within the container */
}

.feature-card {
  background-color: var(--beige-light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
  display: flex; /* Added for vertical alignment if needed */
  flex-direction: column; /* Added for vertical alignment */
  justify-content: flex-start; /* Align content to the top */
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* How it works section - Card Layout */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three equal columns */
  gap: 2rem; /* Adjust spacing between items */
  justify-content: center;
  margin-top: 2rem; /* Add spacing above the steps grid */
  padding: 0 2rem; /* Ensure alignment with the page content *//* Center the grid within the container */
}

.step-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center step number and title */
}

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

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

.step-title {
  font-size: 1.5rem; /* Consistent with feature-title */
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.step-card p {
  font-size: 1rem;
  color: var(--text-medium);
  text-align: center; /* Ensure paragraph text is centered */
}

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

.testimonial-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
  display: flex; /* Added for vertical alignment if needed */
  flex-direction: column; /* Added for vertical alignment */
  justify-content: space-between; /* Pushes author to bottom */
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1rem; /* Pushes author to bottom if card height varies */
}

.testimonial-author-info {
  margin-left: 1rem;
}

.testimonial-name {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.testimonial-position {
  font-size: 0.9rem;
  color: var(--text-medium);
}

/* Demo request section */
.demo-request .container {
  display: flex;
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  gap: 3rem;
  min-height: 100vh; /* Full viewport height */
}

.demo-image {
  flex: 1;
  margin-top: 1rem; /* Add some top margin if needed */
}

.demo-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow);
}

.demo-form {
  flex: 1.5; /* Give more space to the form */
}

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

.form-label {
  text-align: start;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--beige-dark);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(139, 125, 98, 0.2);
}

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

/* Footer */
footer {
  background-color: var(--beige-dark);
  padding: 3rem 0;
  color: var(--text-dark);
  text-align: center;
}

footer p {
  margin-bottom: 0.5rem;
}

/* Responsive styles */
@media (max-width: 992px) {
  .demo-request .container {
    flex-direction: column;
  }
  .demo-image {
    margin-top: 2rem; /* Add space when stacked */
    text-align: center;
  }
  .demo-image img {
    max-width: 80%; /* Adjust image size on smaller screens */
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content .btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  header nav ul {
    display: none; /* Hide nav links by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 8px var(--shadow);
    padding: 1rem 0;
    text-align: center;
  }

  header nav ul.active {
    display: flex; /* Show when active */
  }

  header nav ul li {
    margin: 0.5rem 0;
    text-align: center;
    width: 100%;
  }

  header nav ul li a {
    display: block;
    padding: 1rem 0; /* Remove horizontal padding */
    border-bottom: 1px solid var(--beige-light);
    text-align: center; /* Ensure text is centered */
  }

  /* Make sure mobile links have proper centering */
  .nav-links.active {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links.active li {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  header nav ul li:last-child a {
    border-bottom: none;
  }

  header nav ul li a.btn {
    margin: 1rem 2rem;
    text-align: center;
  }

  .mobile-menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
    width: 40px;
    height: 40px;
  }

  .steps-grid {
    display: grid;
    grid-template-columns: 1fr; /* Three equal columns */
    gap: 2rem; /* Adjust spacing between items */
    justify-content: center; /* Center the grid within the container */
    margin-top: 3rem; /* Add spacing above the steps grid */
  }

  /* NEW CSS FOR MOBILE FEATURES GRID */
  .features-grid {
    grid-template-columns: 1fr; /* Change to single column on mobile */
    gap: 2rem; /* Increase gap between stacked cards */
  }

  .feature-card {
    max-width: 100%;
    margin: 0 auto;
  }

  img {
    max-width: 100%; /* Ensure the image does not exceed the container width */
    height: auto; /* Maintain the aspect ratio */
    object-fit: contain; /* Prevent zooming in by fitting the image within its container */
  }

  .hero-fullscreen {
    background-size: cover; /* Ensure the background image scales properly */
    background-position: center; /* Center the background image */
  }

  .demo-image img {
    max-width: 90%; /* Slightly reduce the size for better fit */
    margin: 0 auto; /* Center the image */
  }

}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-content .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }

  .hero-content h1,
  .hero-content p,
  .page-content h2,
  .page-content p {
    text-align: center; /* Center-align text and headings */
  }

  .page-content .section-title {
    margin-bottom: 3rem; /* Add spacing below the "Simple Steps" title */
  }

  .page-content .section-subtitle {
    font-size: 1rem;
  }

  .feature-card, .step-card, .testimonial-card {
    padding: 1.5rem;
  }
  .feature-title, .step-title, .testimonial-name {
    font-size: 1.3rem;
  }
}