body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

header img {
  margin-right: 15px;
}

header h1 {
  font-size: 2rem;
}

nav {
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a {
  color: #008080;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease-in-out;
}

nav a:hover {
  color: #bdb76b;
}

/* Hero button styling */
.hero-button {
  display: inline-block;
  margin: 0 10px;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hero-button:hover {
  transform: scale(1.05);
}

.hero-button-img {
  height: 150px;
  width: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  display: block;
}

.get-started-btn {
  border: 1px solid gold;
}

.demo-btn {
  border: 2px solid turquoise;
}

.cta-button {
  background-color: #008080;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #bdb76b;
}

.banner {
  background: linear-gradient(to right, #008080, #bdb76b);
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-bottom: 0px;
}

.bio, .book, .blog, .buy {
  background: white;
  margin: 20px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blog-post {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.product img {
  max-width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.product h3 {
  color: #008080;
}

footer {
  background: #bdb76b;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

.video-background {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.7;
}

.code-circle {
  background-color: #008080;
  color: white;
  border-radius: 50%;
  padding: 15px;
  margin: 10px;
  text-align: center;
  width: 120px;
  transition: background-color 0.3s ease;
}

.code-circle a {
  color: white;
  text-decoration: none;
}

.code-circle:hover {
  background-color: #bdb76b;
  transform: scale(1.05);
}


@media (min-width: 768px) {
  .bio, .book, .blog, .buy {
      max-width: 800px;
  }
  
  /* Desktop navigation styles */
  nav a {
    margin: 0 15px;
    font-size: 18px;
  }
}
.tutoring-plans {
  text-align: center;
  margin-bottom: 20px;
}
.title-container {
  margin-bottom: 20px;
}
.plans-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.plan {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.plan h3 {
  color: teal;
}
button {
  background-color: teal;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #005f5f;
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

a {
    color: #008080;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


header {
    background-color: #008080;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    max-height: 60px;
}


.hero {
    background: linear-gradient(to right, gold, turquoise);
    text-align: center;
    padding: 70px 20px;
    color: #333;
}

.hero h1 {
    font-size: 2.8em;
}

.hero p {
    font-size: 1.2em;
    margin: 20px 0;
}

.hero button {
    padding: 15px 25px;
    margin: 10px;
    font-size: 18px;
    color: #fff;
    background: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hero button:hover {
    background: transparent;
}

.features {
    
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.features h2 {
    color: #008080;
}

.features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Feature Box Styles */
.feature-box {
    width: 300px;
    margin: 15px;
    padding: 20px;
    background: linear-gradient(to bottom, gold, tan);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
    overflow: hidden;
}
/* Specific Styles for Affordable Rates */

/* Hover Effect */
.affordable-rates:hover {
    transform: scale(1.05); /* Subtle zoom effect */
    transition: transform 0.3s ease;
}

.feature-box h3 {
    color: #008080;
    margin-bottom: 10px;
}


.courses {
    padding: 50px 20px;
}

.courses h2 {
    color: #008080;
    text-align: center;
}

.courses-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.payment-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.course-card {
    width: 300px;
    margin: 15px;
    padding: 20px;
    background: linear-gradient(to bottom, tan, turquoise);
    border-radius: 10px;
    color: #fff;
    text-align: center;
}

.access-card {
    width: 300px;
    margin: 15px;
    padding: 20px;
    background: linear-gradient(to bottom, turquoise,gold);
    border-radius: 10px;
    color: #fff;
    text-align: center;
}
.course-card h3 {
    margin-bottom: 10px;
    color: #008080;
}

.access-card h3 {
    margin-bottom: 10px;
    color: teal;
}
.access-card a{
    border: 2px solid #fff;
    padding: 10px 20px;
    border-radius: 5px;
}
.course-card a:hover{
    border: 2px solid #fff;
    background-color: gold;
    padding: 10px 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 50px 20px;
    background-color: #f0e68c;
    text-align: center;
}

.testimonials h2 {
    color: #008080;
}

.testimonial-rating {
    text-align: center;
    margin: 20px 0;
    color: #008080;
}

.testimonial {
    background: #fff;
    padding: 20px;
    margin: 15px auto;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-style: italic;
    color: #333;
}

.testimonial cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
    color: #008080;
    text-align: right;
}


footer {
    background-color: #008080;
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #fff;
}

/* Tablet breakpoint - handle intermediate screen sizes */
@media (max-width: 992px) {
  nav {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  
  nav a {
    flex: 1 1 45%;
    min-width: 140px;
    text-align: center;
    padding: 8px 12px;
    font-size: 16px;
  }
}

/* Mobile navigation - single line layout */
@media (max-width: 767px) {
  /* Prevent horizontal scrolling */
  body {
    overflow-x: hidden !important;
  }
  
  /* Navigation adjustments for mobile */
  nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    padding: 5px 2px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  nav a {
    flex: 1 !important;
    display: block !important;
    margin: 0 !important;
    padding: 4px 1px !important;
    font-size: 8px !important;
    text-align: center;
    border: none;
    box-sizing: border-box;
    background-color: #f9f9f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0 !important;
  }
  
  nav a:hover {
    background-color: #008080;
    color: white;
  }
  
  /* Hero section mobile adjustments */
  .hero h1 {
    font-size: 1.8em;
    padding: 0 10px;
  }
  
  .hero p {
    font-size: 1em;
    padding: 0 10px;
  }
  
  /* Mobile hero button adjustments */
  .hero-button-img {
    height: auto;
    width: calc(50vw - 20px);
    max-width: 220px;
  }
  
  /* Feature boxes (perks) mobile adjustments */
  .features-container {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }
  
  .feature-box {
    width: calc(100% - 20px);
    max-width: 350px;
    margin: 10px 0;
  }
  
  /* Courses and access cards mobile adjustments */
  .courses-container {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }
  
  .course-card, .access-card {
    width: calc(100% - 20px);
    max-width: 350px;
    margin: 10px 0;
  }
  
  /* Footer contact links mobile adjustments */
  footer {
    padding: 15px 10px;
  }
  
  footer p {
    margin: 8px 0;
    line-height: 1.4;
    word-wrap: break-word;
  }
  
  /* Make contact links more touch-friendly */
  footer a {
    display: inline-block;
    padding: 5px;
    margin: 2px;
  }
  
  /* Header mobile adjustments */
  header {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  header h1 {
    font-size: 1.8rem;
    margin: 10px 0;
  }
  
  /* Testimonials mobile adjustments */
  .testimonials {
    padding: 30px 10px;
  }
  
  .testimonial-feedback textarea {
    width: calc(100% - 16px);
  }
  
  .testimonial-feedback input {
    width: calc(100% - 16px);
  }
}