/* Reset margin and set base font */
body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #f9f6ef;
  color: #1f2d16;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.hero .content {
  max-width: 800px;
  margin: 0 auto;
}


/* Background botanical images - index page */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    url('Visuals/wheat_oat.jpg'),
    url('Visuals/neem.jpg');
  background-position: bottom right, top left;
  background-repeat: no-repeat;
  background-size: 35%, 35%;
  opacity: 0.2;
  z-index: 1;
}


/* Hide default cursor */
body {
  cursor: none;
}

/* Custom leaf cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-image: url('Visuals/Arista-logo-cursor.png');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}



/* Top Navigation Bar */


.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fdfaf3; /* or your navbar background */
  padding: 10px 40px;        /* reduce vertical padding here */
  height: 60px;              /* set a fixed, smaller height */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}


.logo-container {
  display: flex;
  align-items: center;
  margin-right: auto;
}


.logo-img {
  height: 100px;  /* Try 60–70px for better presence */
  width: auto;
  padding-left: 8px;  /* Optional: for spacing */
}


.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #2c4526;  /* match your theme green */
  font-weight: 500;
}



/* Main content */
.content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

/* Header styling */
h1 {
  font-size: 3rem;
  color: #234d20;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
}

/* Why Arista Section */
.why-arista {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem 3rem 2rem; /* top, right, bottom, left */
  opacity: 0;
  transform: translateY(20px); /* less downward offset */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* faster animation */
}


.why-arista.show {
  opacity: 1;
  transform: translateY(0);
}


.arista-card {
  background-color: #f6f3ed;
  border: 1px solid #e3dccf;
  padding: 2rem;
  border-radius: 16px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.arista-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2e442f;
}

.arista-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333e30;
}

/* Hide by default until in view */
.hidden {
  visibility: hidden;
}



/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
  color: #666;
}


/* Our Mission Section */


/* Mission Background */

.mission-section {
  position: relative;
  z-index: 2;
  background-color: #fdfcf9;
  max-width: 800px;
  margin: 80px auto;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-family: 'Georgia', serif;
  line-height: 1.75;
  color: #2e2e2e;
}


.mission-section h1 {
  font-size: 2.8rem;
  color: #295d3e;
  margin-bottom: 25px;
}

.mission-section ul {
  list-style: none;
  padding-left: 0;
  margin: 30px 0;
}

.mission-section li {
  margin: 12px 0;
  font-size: 1.1rem;
}

.mission-section em {
  color: #3e5d4a;
  font-style: italic;
  font-size: 1rem;
}
