/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
#signupBox .verify-note-above {
  background: #fff3cd;
  color: #856404;
  padding: 10px 12px;
  border-left: 4px solid #ffcc00;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #004d40;
  padding: 15px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
  color: white;
}

.logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.nav-center {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-center li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s, background 0.3s;
  padding: 6px 10px;
  border-radius: 5px;
}

.nav-center li a:hover {
  background: #009688;
  color: white;
}

/* Right Login Button */
.nav-right .login-btn {
  padding: 8px 18px;
  background: #009688;   /* teal */
  color: white;          /* white text */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}

.nav-right .login-btn:hover {
  background: black;     /* hover black */
  transform: scale(1.05);
}


/* Hamburger base */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
  border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  #navLinks {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: #004d40;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%; /* ✅ full width dropdown */
    padding: 20px;
    border-radius: 0;
    text-align: left;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  }

  #navLinks.active {
    display: flex;
  }

  #navLinks li {
    width: 100%;
    margin: 10px 0;
  }

  #navLinks li a {
    display: block;
    width: 100%;
    font-size: 18px;
    color: white;
    padding: 10px 0;
    text-decoration: none;
  }

  #navLinks li a:hover {
    color: #ffd700;
  }

  .hamburger {
    display: flex;
  }

  .nav-right {
    display: none; /* hide desktop login */
  }

  .mobile-login {
    display: block;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 10px;
    margin-top: 10px;
  }
}




/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* ===== BUTTONS ===== */
.started-btn {
  display: inline-block;
  margin-top: 20px;
  margin-left: 250px;
  padding: 6px 14px;
  background-color: #009688;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  border-radius: 20px;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.25);
}

.started-btn:hover {
  background-color: #00796b;
  transform: scale(1.05);
}


/* ===== HOMEPAGE ===== */
.homepage {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-image: url('IMAGES/wood.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.homepage-text {
  position: absolute;
  top: 40%; /* move text up or down (try 35–45%) */
  left: 60%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 1px 2px 8px rgba(0,0,0,0.6);
  width: 100%;
  max-width: 600px; /* optional: limits text width */
} 

.homepage-text h1 {
  font-weight: 900;
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5.2vw, 5.2rem);
  line-height: 1.1; /* increase a bit for readability */
  white-space: nowrap; /* keep all words in one line */
  display: inline-block;
}


/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: #004d40;
  color: #fff;
  padding: 2rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
}

.areas-covered-box {
  position: absolute;
  bottom: 20px;
  right: 70px;
  background-color: rgba(0, 150, 136, 0.95);
  border: none;
  padding: 15px 25px;
  border-radius: 6px;
  font-size: 15px;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 100%;
  z-index: 10;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;

  /* >>> the magic part <<< */
  display: flex;
  align-items: center;         /* vertically center items */
  justify-content: space-between; /* spread text and image apart */
  gap: 20px;                   /* spacing between text and image */
}

.areas-covered-box strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 4px;
}

.areas-covered-box ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  line-height: 1.6;
}

/* image on the side */
.areas-covered-box img {
  width: 650px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;  /* prevents image from shrinking */
}


/* about tutor */
.about-tutor {
  background-color: #e0f7f7;
  padding: 20px 15px; /* Minimal vertical space */
  font-family: 'Poppins', sans-serif;
}

.about-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 30px; /* tighter spacing between boxes */
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-box {
  flex: 1 1 48%;
  background-color: #ffffff;
  border: 2px solid #009688; /* 🟢 Adds border */
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 150, 136, 0.15); /* Stronger shadow */
  padding: 18px; /* tighter internal spacing */
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;

}

/* Optional: add subtle hover effect */
.about-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 150, 136, 0.25);
}

.education-box {
  flex-direction: row;
  gap: 15px;
  align-items: center;
}

.photo-area img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.education-info h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.education-info p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.certificates-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.certificates-list {
  padding-left: 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
}

@media (max-width: 768px) {
  .about-tutor {
    padding: 15px 10px;
  }

  .about-box {
    flex: 1 1 100%;
    padding: 12px;
  }

  .education-box {
    flex-direction: column;
    text-align: center;
  }

  .photo-area img {
    width: 130px;
    height: 130px;
  }
}










.steps-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}

.step-card {
  position: relative;
  flex: 1;
  max-width: 300px;
  height: 300px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 20px;
  text-align: center;
  background-color: #ffffff;
  color: #333;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.step-number {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #ff9800;
  color: #fff;
  font-weight: bold;
  font-size: 35px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.step-card img {
  padding-top: 30px;
  width: 100%;
  height: 130px;
  object-fit: contain;
  border-radius: 8px 8px 0 0;
}

.step-card h3 {
  margin-top: 15px;
  font-size: 18px;
}

/* Payment Box */
  .payment-box {
    margin-top: 40px;
    background: #fff;
    color: #333;
    border-radius: 30px; /* rounded like screenshot */
    padding: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
  }

  .payment-box h3 {
    margin-bottom: 20px;
  }

  .payment-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 10px;
  }

  .method {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
  }

  .method img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .payment-box small {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
  }

  
  .step {
    flex: 1 1 200px;
    margin: 1rem;
  }

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-box {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 300px;
  width: 90%;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}


/* ===== SERVICES ===== */
.services {
  padding: 50px 20px;
  text-align: center;
  background-color: #e0f7f7;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  justify-items: center;
}

.service-card {
  background: #fff;
  border: 2px solid #009688;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 20px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  border-color: #00695c;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.services h2 {
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: bold;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
}

.service-card .btn {
  background: #004d40;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.service-card .btn:hover {
  background: #009688;
}

/* ===== APPOINTMENT MODAL ===== */
/* === Appointment Modal === */
.appointment {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 1000; 
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6); /* dark overlay */
  justify-content: center;
  align-items: center;
}

.appointment-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  padding: 25px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease-in-out;
}

.appointment-content h2 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #222;
}

.appointment-content .service-summary p {
  margin: 6px 0;
  font-size: 16px;
  color: #444;
}

/* Close Button */
[class^="close-"] {
  float: right;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  transition: color 0.2s ease;
}

[class^="close-"]:hover {
  color: #e74c3c;
}

/* Schedule Button */
.appointment-content .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: bold;
  background: #045d54; /* dark green */
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.appointment-content .btn:hover {
  background: #067a6e;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal-overlay { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); justify-content:center; align-items:center; z-index:1000; }
    .modal-box { background:white; padding:20px; border-radius:10px; text-align:center; max-width:300px; }
    .modal-box img { width:200px; margin-top:10px; }




.feedback-section {
    padding: 4rem 2rem;
    background-color: #e0f7f7;
  }
  
  .feedback-container {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  .feedback-form, .feedback-list {
    flex: 1;
    min-width: 300px;
  }
  
  .feedback-form h2, .feedback-list h2 {
    margin-bottom: 1rem;
    color: #333;
  }
  
  #feedbackForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  #feedbackForm input, 
  #feedbackForm textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  
  #feedbackForm textarea {
    height: 150px;
    resize: none;
  }
  
  .feedback-entry {
  background: rgba(255, 255, 255, 0.85);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 150, 136, 0.3);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feedback-entry h3 {
  margin: 0 0 0.4rem 0;
  color: #004d40;
}

.feedback-entry p {
  color: #333;
}

.btn {
    background-color: #10574b;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
  }

  .btn:hover {
    background-color: black;
  }


  /* Scrollable Feedback Box */
.feedback-list {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(0, 105, 92, 0.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem;
}

/* Scroll area (yung mismong list ng feedbacks) */
#feedbackEntries {
  max-height: 350px;   /* taas ng scrollable area */
  overflow-y: auto;    /* scroll bar kapag mahaba na */
  padding-right: 10px; /* para di matakpan scrollbar */
}

/* Optional – mas magandang scrollbar style */
#feedbackEntries::-webkit-scrollbar {
  width: 8px;
}
#feedbackEntries::-webkit-scrollbar-thumb {
  background-color: #00695c;
  border-radius: 10px;
}
#feedbackEntries::-webkit-scrollbar-thumb:hover {
  background-color: #004d40;
}
  
  .main-footer {
  display: flex;
  justify-content: space-between;
  gap: 13%;
  align-items: center;
  background-color: #10574b;  /* dark navy like first pic */
  color: white;
  padding: 2% 5% 1%;
  flex-wrap: wrap;
  min-height: 80px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer-logo {
  width: 60%;
  display: block;
  margin: 0 auto 1rem auto; /* centers and moves it slightly up */
}

.footer-section contact {
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 20px;  /* space between icons */
  align-items: center;
  margin-top: 2.5rem;
  
}

.social-icons img {
  width: 30px;
  margin-right: 10px;
  transition: 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(250, 246, 246, 0.3);
}

.footer-section a {
  display: block;
  color: #d1d5db;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  background-color: #08121f;
  color: #aaa;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Overlay background */

.modal-overlay {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* White content box (login/signup) */
.modal-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  animation: fadeIn 0.3s ease;
  position: relative;
}

/* Close button (X) */
.modal-content #closeLogin {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: #333;
}

/* Input fields */
#loginForm input,
#signupForm input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

/* Buttons */
#loginForm button,
#signupForm button {
  background: #10574b;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}
#loginForm button:hover,
#signupForm button:hover {
  background: #0c4036;
}

/* Toggle text (Login <-> Signup) */
.toggle-text {
  margin-top: 15px;
  font-size: 14px;
}
.toggle-text a {
  color: #10574b;
  font-weight: bold;
  cursor: pointer;
}

/* Success Popup */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2100;
}
.popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}


/* Welcome text */
.nav-center li {
  color: white;
  font-weight: bold;
}

/* Only style login/logout button */
.nav-center li a.login-btn,
.nav-center li a.logout-btn {
  padding: 8px 18px;
  background: #009688;   /* teal */
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}

.nav-center li a.login-btn:hover,
.nav-center li a.logout-btn:hover {
  background: black;
  transform: scale(1.05);
}

/* Feedback Reply Styling */
.feedback-reply {
  margin-top: 12px;
  padding: 10px;
  background: #e8f5e9;
  border-left: 3px solid #009688;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
}

.feedback-reply strong {
  color: #00695c;
  font-weight: 600;
}

.feedback-reply p {
  margin-top: 6px;
  color: #1b5e5b;
}
