:root {
  --accent-color: #32908f;
  --accent-color-dark: #297a79;

  --offwhite: #f8f8f8;

  scroll-behavior: smooth;
}

.main-div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 5%;
  background-color: var(--offwhite);

  border-radius: 16px 16px 0 0;
}

.logo-link {
  text-decoration: none;
  color: rgb(14, 14, 14);
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;

  font-family: "Geologica", sans-serif;
}

.logo {
  height: 50px;
  margin-right: 2px;
}

.main-header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: rgb(14, 14, 14);
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-header nav a {
  position: relative;
}

.main-header nav a::before {
  /* clean underline going out from the center on hover */
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 1px;
  background: rgb(14, 14, 14);
  transition: all 0.3s;
  transform: translateX(-50%);
}

.main-header nav a:hover::before {
  width: 100%;
}
.main-header nav a:hover {
  color: var(--accent-color-dark);
  text-shadow: 1px 1px 4px rgba(50, 144, 143, 0.35);
}

.hero-section {
  background-image: url("images/landing.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  height: 750px;
  color: rgb(14, 14, 14);
  padding: 0 5%;

  display: flex;
  align-items: center;
}

.hero-content {
  font-family: "Geologica", sans-serif;
  color: #1f2124;
  max-width: 500px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  margin-left: 50px;
  margin-top: -120px;

  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px) brightness(1.1) contrast(1.1);
  -webkit-backdrop-filter: blur(6px) brightness(1.1) contrast(1.1);
  padding: 10px 45px 60px 45px;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.4);
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn {
  background-color: var(--accent-color);
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: var(--accent-color-dark);
  box-shadow: 0 4px 15px rgba(50, 144, 143, 0.4);
}

.btn-inverted {
  background-color: #fff;
  color: var(--accent-color);
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-inverted:hover,
.btn-inverted:focus {
  background-color: var(--offwhite);
  box-shadow: 0 4px 15px rgba(210, 213, 213, 0.4);
}

.info-section {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
  margin-top: 0px;
  gap: 20px;
  border: 2px solid var(--accent-color);
  border-radius: 0px 0px 16px 16px;
  padding: 20px;
  background-color: var(--accent-color-dark);
}

.info-box {
  background: var(--offwhite);
  width: 33%;
  padding: 24px 22px 26px;
  text-align: center;
  position: relative;
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Opposite / diagonal corner rounding alternates */
.info-box:nth-child(odd) {
  border-radius: 28px 6px 28px 6px;
  /* TL & BR larger */
}

.info-box:nth-child(even) {
  border-radius: 6px 28px 6px 28px;
  /* TR & BL larger */
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.info-box h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.info-box p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.trusted-by-section {
  text-align: center;
  margin: -20px 0 0 0;
  background-color: var(--accent-color-dark);

  padding: 20px 50px 40px 20px;
  border-radius: 0 0 16px 16px;
}

.trusted-by-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--offwhite);
  padding: 10px 20px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  background-color: white;
  padding: 20px;
  border-radius: 12px;
}

.trusted-logos img {
  height: 60px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.trusted-logos img:hover {
  opacity: 1;
}

/* Why Section - Left and Right Layout */
.why-section {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  padding: 40px 60px; /* top/bottom | left/right */
  background-color: var(--offwhite);
  border-radius: 16px;
  align-items: flex-start;
}

.left-side {
  flex: 1;
  padding-right: 20px;
}

.right-side {
  flex: 1;
  padding-left: 20px;
}

.left-side h2,
.right-side h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.left-side p,
.right-side p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.left-side img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 8px 8px 18px rgba(0, 0, 0, 0.2);
  margin: 20px 0;
}

/* Why Points Styling */
.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.why-point {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(50, 144, 143, 0.1);
}

.why-point:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.why-point img {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.why-point h3 {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.why-point p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
}

.learn-more-button {
  background-color: var(--accent-color);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.projects-section {
  margin: 40px 0;
}
.projects-section h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  text-align: center;
}
.projects-section p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--offwhite);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.project-info {
  padding: 15px;
}
.project-info h3 {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}
.project-info p {
  font-size: 1rem;
  color: #555;
  line-height: 1.4;
}

.quote-cta {
  background-color: var(--accent-color);
  color: white;
  text-align: center;
  padding: 40px 20px;
  border-radius: 16px;
  margin: 40px 0;
}

.quote-cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.quote-cta p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.6;
}
