/* GLOBAL STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f8f8f8;
  color: #ffffff;
  line-height: 1.6;
  scroll-behavior: smooth;
  font-family: 'Times New Roman', Times, serif;
}

/* HEADER */
header {
  background-color: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
}

.logo img {
  height: 145px;
  width: 145px;
  margin-top: 7px;
}

.logo {
  position: relative;
  left: 0;
  margin-left: 0;
  text-align: left;
  float: left;
}

/* NAVIGATION */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #ff6666;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #0070f3;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(145deg, #faa485, #efd5b5);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* FORM SECTION */
.form-section {
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  background-color: #f66c6c;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #fe7777;
}

/* SERVICES HERO & CTA */
.services-hero,
.services-cta {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff6f6;
  color: #444;
}

.services-hero h1 {
  font-size: 2.8rem;
  color: #cc4c4c;
  margin-bottom: 20px;
}

.services-hero p,
.services-cta {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-cta {
  font-style: italic;
  font-size: 1.2rem;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 60px 40px;
  background-color: #fdf9f3;
}

.service-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.service-card h2 {
  color: #cc4c4c;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.5;
}

.services-grid .service-card:last-child:nth-child(odd) {
  margin-left: auto;
  margin-right: auto;
}

/* GENERIC SECTIONS */
.section {
  padding: 80px 20px;
  text-align: center;
  background-color: #ffffff;
  border-top: 1px solid #eee;
}

.section:nth-of-type(even) {
  background-color: #fafafa;
}

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

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #cc4c4c;
}

.section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #333;
}

/* REVIEWS SECTION */
.reviews-section {
  background-color: #fdf9f3;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
}

.reviews-section h2 {
  font-size: 2.4rem;
  color: #cc4c4c;
  margin-bottom: 30px;
}

.review {
  max-width: 600px;
  margin: 20px auto;
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  text-align: left;
}

.review p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.review span {
  font-size: 0.95rem;
  color: #777;
  font-style: italic;
}

/* FOOTER */
footer,
.site-footer {
  background-color: #f79e55;
  color: #000000f3;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
}

.site-footer a {
  color: #1a6eff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-content p {
  margin: 10px 0;
  font-size: 1rem;
}

/* Divider */
.service-divider {
  height: 40px;
  background-color: #fdf9f3;
  border-top: 1px solid #eee;
}

/* TUTOR FORMAT SECTION */
.service-format {
  background-color: #fffefc;
  padding: 60px 30px 80px;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
}

.service-format h2 {
  font-size: 2.5rem;
  color: #cc4c4c;
  margin-bottom: 40px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.format-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  text-align: left;
  transition: transform 0.3s ease;
}

.format-card:hover {
  transform: translateY(-4px);
}

.format-card h3 {
  color: #cc4c4c;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.format-card p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
}

.format-closing {
  margin-top: 50px;
  font-size: 1.2rem;
  font-style: italic;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
}

.contact-hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(145deg, #faa485, #efd5b5);
}


.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-section {
  padding: 60px 20px;
  background-color: #fdf4f3;
  display: flex;
  justify-content: center;
}

#contact-form {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact-form input,
#contact-form textarea {
  padding: 12px;
  border: 1px solid #eba06e;
  border-radius: 8px;
  font-size: 1rem;
}

#contact-form button {
  background-color: #ff7777;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form-section,
.contact-form-section label,
.contact-form-section input,
.contact-form-section textarea,
.contact-form-section button {
  color: #000;
}
/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 10px;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  header {
    flex-direction: column;
    text-align: center;
  }

  .logo img {
    max-width: 150px;
  }

  .hero h1 {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .section, .reviews-section {
    padding: 20px 10px;
  }
}

/* Hide hamburger on desktop */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
}

/* Hide nav menu by default on mobile */
#nav-menu {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: white;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 15px 0;
  }

  #nav-menu.show {
    display: flex;
  }

  #nav-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  #nav-menu ul li {
    margin: 0;
  }
}
.hamburger {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

#nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #nav-menu {
    display: none;
  }

  #nav-menu.show {
    display: block;
  }

  #nav-menu ul {
    flex-direction: column;
  }
}
/* Basic hamburger menu styles */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hide nav by default on mobile */
#nav-menu {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
  }

  #nav-menu.show {bar and logo adjustment 2
    display: flex;
  }
}
@media (max-width: 768px) {
  .navbar-container {
    position: relative;
    width: 100%;
    height: 60px; /* adjust if needed */
    background-color: rgb(246, 246, 246); /* top area background */
  }

  .hamburger {
    position: absolute;
    top: 15px;
    right: 20px; /* or use left: 20px if you want it on the left */
    font-size: 28px;
    cursor: pointer;
    z-index: 999;
  }

  .logo {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    height: 40px;
    z-index: 998;
  }

  .hero-section {
    margin-top: 60px; /* pushes content down so it doesn’t overlap navbar */
  }
}

.hamburger {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  z-index: 1001;
  color: #f76b6b; /* Accent red to match site theme */
}

/* NAVBAR STYLES */
.navbar-container {
  position: relative;
  width: 100%;
  height: 60px;
  background-color: white;
  z-index: 1000;
}

/* CENTERED LOGO ON ALL SCREENS (you can adjust if needed later) */
.logo {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  height: 40px; /* adjust logo size */
  z-index: 998;
}

/* HAMBURGER STYLES */
.hamburger {
  position: absolute;s
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  z-index: 999;
  color: #cc4c4c; /* theme color */
}

/* Pushes page content down so logo/hamburger don't overlap it */
.hero-section {
  margin-top: 60px;
}


