/* CSS Variables for Color Scheme */
:root {
  /* Primary colors */
  --primary-dark: #1a365d;    /* Deep blue - for headers, buttons */
  --primary-medium: #2a4a7f;  /* Medium blue - for accent elements */
  --primary-light: #4a6fa5;   /* Light blue - for hover states and highlights */
  
  /* Secondary colors */
  --secondary-dark: #5e3b73;  /* Purple - for secondary actions, math emphasis */
  --secondary-light: #8a63a8; /* Light purple - for highlights, accents */
  
  /* Neutral colors */
  --neutral-dark: #2d3748;    /* Dark gray - for text */
  --neutral-medium: #718096;  /* Medium gray - for secondary text */
  --neutral-light: #e2e8f0;   /* Light gray - for backgrounds */
  --neutral-white: #ffffff;   /* White - for cards, content areas */
  
  /* Feedback colors */
  --success: #38a169;         /* Green - for success states */
  --error: #e53e3e;           /* Red - for error states */
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--neutral-light);
  font-family: Inter, "Jetbrains Mono", sans-serif;
  line-height: 1.6;
  color: var(--neutral-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "IBM Plex Sans", Inter, sans-serif;
  color: var(--primary-dark);
}

p {
  font-family: Inter, "Jetbrains Mono", sans-serif;
  font-size: 16px;
}

button {
  font-family: "Jetbrains Mono", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Header & Navigation */
header {
  background-color: var(--neutral-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 40px;
  margin-right: 10px;
}

.navbar-links {
  display: flex;
  gap: 30px;
}

.navbar-links a {
  text-decoration: none;
  font-family: "IBM Plex Sans", Inter, sans-serif;
  font-weight: 600;
  color: var(--primary-medium);
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.navbar-links a:hover {
  color: var(--secondary-dark);
}

.navbar-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-dark);
  transition: width 0.3s ease;
}

.navbar-links a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-image: url(images/hero.jpg);
  background-size: cover;
  background-position: center;
  background-color: rgba(26, 54, 93, 0.7); /* this is primary dark with transparency or opacity I dont think it matters on it */
  background-blend-mode: overlay;
  width: 100%;
  height: 60vh;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  color: var(--neutral-white);
  font-size: 78px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
  margin-top: 15px;
  color: var(--neutral-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: 18px;
  max-width: 600px;
}

.hero button {
  border: 0;
  border-radius: 8px;
  color: var(--neutral-white);
  font-weight: 800;
  background-color: var(--secondary-dark);
  margin-top: 30px;
  padding: 15px 45px;
  transition: background-color 0.3s ease;
}

.hero button:hover {
  background-color: var(--secondary-light);
}

/* About Section */
.about {
  padding: 80px 20px;
  background-color: var(--primary-light);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(150px, -150px);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1 1 500px;
  padding-right: 20px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--neutral-white);
  position: relative;
  padding-bottom: 15px;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-light);
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--neutral-white);
  margin-bottom: 25px;
}

.about-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
}

.about-benefit {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  flex: 1 1 200px;
  transition: transform 0.3s ease;
}

.about-benefit:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.about-benefit h4 {
  color: var(--neutral-white);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.about-benefit p {
  color: var(--neutral-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.about-image-container {
  flex: 1 1 400px;
  text-align: right;
  position: relative;
}

.about-image-container img {
  width: 100%;
  max-width: 450px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.about-image-container:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

.about-image-container p {
  font-size: 0.875rem;
  margin-top: 10px;
}

.about-image-container a {
  color: var(--neutral-light);
  text-decoration: none;
}

.about-image-container a:hover {
  text-decoration: underline;
}

/* Feature Section */
.feature {
  padding: 60px 20px;
  background-color: var(--neutral-white);
}

.feature h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--primary-dark);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-grid-card {
  background-color: var(--neutral-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.feature-grid-card img,
.feature-grid-card .icon,
.feature-grid-card .emoji-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: block;
}

.feature-grid-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.list-area {
  margin-top: 15px;
}

.list-area h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-medium);
}

.list-area ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.list-area li {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--neutral-medium);
  text-align: left;
  padding-left: 10px;
  position: relative;
}

.list-area li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-dark);
}

.no-highlight {
  font-weight: 400;
}

/* Footer */
footer {
  background-color: var(--neutral-light);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-light);
  opacity: 0.5;
}

.footer-content {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-logo {
  width: 40%;
  padding-right: 5%;
  margin-bottom: 20px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.footer-logo p {
  margin: 15px 0;
  color: var(--neutral-medium);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 50%;
}

.footer-column {
  width: 30%;
  padding: 0 10px;
  margin-bottom: 20px;
}

.footer-column h4 {
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: var(--neutral-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary-medium);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-white);
  transition: background-color 0.3s ease;
  font-size: 18px;
}

.footer-social a:hover {
  background-color: var(--secondary-dark);
}

.footer-button {
  background-color: var(--primary-dark);
  color: var(--neutral-white);
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 15px;
}

.footer-button:hover {
  background-color: var(--primary-medium);
}

.footer-bottom {
  background-color: var(--primary-dark);
  color: var(--neutral-white);
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }
  
  .footer-logo, 
  .footer-links {
    width: 100%;
  }
  
  .footer-column {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .footer-column {
    width: 100%;
  }
}