body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
header, footer {
    background-color: #004080;
    color: white;
    padding: 1rem;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}
.nav-links li a {
    color: white;
    text-decoration: none;
}
footer .footer-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding-top: 0.5rem;
}
footer .footer-links li a {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
}

.logo img {
    height: 80px;
    vertical-align: middle;
}
.enquiry-form {
    background-color: #f9f9f9;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.enquiry-form h2 {
    font-size: 2rem;
    color: #0e3b4f;
    margin-bottom: 1.5rem;
}

.enquiry-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enquiry-form .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.enquiry-form .form-row input {
    flex: 1;
    min-width: 250px;
}

.enquiry-form button {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    background-color: #0e3b4f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.form-success {
    color: green;
    margin-top: 1rem;
    font-weight: bold;
}
.form-error {
    color: red;
    margin-top: 1rem;
    font-weight: bold;
}
/* Highlight error inputs */
input.error,
textarea.error {
    border: 2px solid red;
}

/* Error message text */
.error-msg {
    color: red;
    font-size: 0.9rem;
    margin-top: 0.2rem;
    display: block;
}

/* Field wrapper */
.form-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 250px;
}

.hero-overlay {
    position: relative;
    background-image: url('/assets/maths.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 30, 50, 0.6); /* Dark overlay */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-text p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007acc;
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #005fa3;
}

.services-section {
    background-color: #c8f6dc;
    text-align: center;
    padding: 4rem 2rem;
}

.services-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #002a3a;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.service-box {
    max-width: 300px;
    text-align: center;
}

.service-box img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.service-box h3 {
    font-size: 1.2rem;
    color: #002a3a;
    margin-bottom: 0.5rem;
}

.service-box p {
    font-size: 0.95rem;
    color: #333;
}

.pricing-section {
  background-color: #e9f9f1;
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #093545;
}

.pricing-section {
  background-color: #c6f6e3; /* same as .services-section */
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #093545;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 999px; /* circular aesthetic like service icons */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  max-width: 280px;
  flex: 1 1 250px;
  transition: transform 0.3s ease;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #0c6375;
  margin-bottom: 1rem;
}

.pricing-card p {
  font-size: 0.95rem;
  color: #333;
}

.requirements {
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.requirements h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #093545;
}

.requirements a {
  color: #0c6375;
  font-weight: 500;
  text-decoration: underline;
}

.tutors-card-section {
  background-color: #c6f6e3;
  padding: 3rem 1rem;
  text-align: center;
}

.tutors-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.tutors-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #093545;
}

.tutors-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.tutors-card-button {
  background-color: #0c6375;
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.tutors-card-button:hover {
  background-color: #094a58;
}


.tutors-section {
  background-color: #c6f6e3;
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #093545;
}

.tutor-card {
  background-color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  border-radius: 1.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.tutor-photo {
  width: 250px;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
  flex-shrink: 0;
}

.tutor-content {
  flex: 1;
}

.tutor-content h2 {
  font-size: 1.5rem;
  color: #093545;
  margin-bottom: 1rem;
}

.tutor-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: #0c6375;
}

.tutor-content p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.section-banner {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    flex-shrink: 0;
}