* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #f9fafb;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

header h1 a .logo {
  height: 70px;
  width: auto;
  vertical-align: middle;
}

nav a {
  margin-left: 1rem;
  color: #374151;
  font-weight: 500;
}

nav a:hover {
  color: #2563eb;
}

/* HERO (Home Page Background Image) */
.hero {
  padding: 8rem 0;
  text-align: center;
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), 
              url('hero-bg.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: #000000;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #111827;
}

/* BUTTONS: Blue default, Green on hover */
.btn {
  display: inline-block;
  background: #1e3a8a;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #064E3B;
  text-decoration: none;
}

/* Features (Circles) */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
  justify-items: center;
}

.card {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.05);
}

.card h3 {
  font-size: 2.5rem;
  margin-bottom: 0.2rem;
}

.card p {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}

.card-green { background-color: #d1fae5; color: #064e3b; }
.card-white { background-color: #ffffff; color: #1f2937; border: 1px solid #e5e7eb; }
.card-red { background-color: #fee2e2; color: #991b1b; }

/* ABOUT PAGE LAYOUT (Text left, Image right) */
.about-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.about-text {
  flex: 1.5;
}

.about-image {
  flex: 1;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* =========================================
   CONTACT PAGE: Image attached to right wall
   ========================================= */
.contact-side-img {
  position: fixed;
  bottom: -60px;         /* Bleeds slightly off the bottom */
  right: 0;              /* Attached to the right wall */
  width: 700px;          /* Bigger size */
  height: auto;
  z-index: 0;            /* Behind text */
  pointer-events: none;  /* Doesn't block clicks */
}

/* =========================================
   FLOATING CORNER IMAGE (About Page)
   Quarter-circle anchored to BOTTOM-RIGHT
   ========================================= */
.corner-img {
  position: fixed;
  bottom: 0;                 /* Anchored to the bottom edge */
  right: 0;                  /* Anchored to the right edge */
  width: 90vh;               /* Bigger size */
  height: 90vh;              /* Equal to width for a perfect circle base */
  border-radius: 100% 0 0 0; /* Curve on top-left = Quarter-circle facing up-left */
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

/* Keeps your text on top of the floating images */
header, main, footer {
  position: relative;
  z-index: 1;
}

/* General Page Styles */
.page {
  padding: 4rem 0;
}

.page h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111827;
}

.page p {
  margin-bottom: 1rem;
}

/* Contact form */
.contact-form {
  margin-top: 2rem;
  max-width: 600px;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

/* Footer */
footer {
  background: #111827;
  color: #e5e7eb;
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
  }

  /* Smaller contact image for mobile, still on the right wall */
  .contact-side-img {
    width: 350px;
    bottom: -40px;
    right: 0;
    opacity: 0.3;
  }

  /* Smaller quarter-circle for mobile */
  .corner-img {
    bottom: 0;
    right: 0;
    width: 60vh;
    height: 60vh;
    opacity: 0.2;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
}
