@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
:root {
  --font-poppins: "Poppins", sans-serif;
  --font-weight-light: 300;
}
.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: var(--font-poppins);
  font-weight: var(--font-weight-light);
  line-height: 1.5;
  color: #333;
  padding-top: 70px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* header / navbar */
.site-header {
  align-items: center;
  background-color:  rgb(205, 170, 170);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-family: var(--font-poppins);
  font-weight: var(--font-weight-light);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0.5rem 1rem;
  flex-wrap: nowrap;
  gap: 1rem;
}

.logo img {
  height: 50px;
  border-style: solid;
  border-width: 1px;
  border-color: #ff69b4;
  border-radius: 1000px;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center; 
  gap: clamp(0.5rem, 2vw, 2rem);
  flex: 1;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-links li a {
  padding: 0.5rem;
  color: white;
}

.nav-links li a:hover {
  color: #ff69b4;
}

.header-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-buttons button {
  padding: 0.4rem 0.8rem;
  border: none;
  background-color: #ff69b4;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.header-buttons button:hover {
  background-color: #e0559c;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* hero section */
.hero {
  background: #F9F5F6;
  width: 100%;
  min-height: 600px;
  padding: 2rem 1rem;
  padding-top: 94px;
  padding-bottom: 64px;
  animation: fadeIn 1s ease-in-out;
}

.hero-inner {
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap-reverse;
  gap: 1rem;
}

.hero-content {
  flex: 1 1 400px;
  padding: 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-family: var(--font-poppins);
  font-weight: 400;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 1s ease-out forwards;
  animation-delay: 0.2s;
}

.hero-content h2 {
  font-size: 2rem;
  margin-top: 0.5rem;
  color: #ff69b4;
  font-family: var(--font-poppins);
  font-weight: 400;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 1s ease-out forwards;
  animation-delay: 0.5s;
}

.hero-content p {
  margin: 0.8rem 0;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 1s ease-out forwards;
  animation-delay: 0.8s;
}

.hero-buttons {
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 1s ease-out forwards;
  animation-delay: 1.1s;
}

.hero-buttons button {
  padding: 0.6rem 1.2rem;
  border: none;
  background-color: #ff69b4;
  font-family: var(--font-poppins);
  color: white;
  border-radius: 20px;
  cursor: pointer;
  margin-right: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.hero-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

.hero-buttons button:active {
  transform: scale(0.98);
}

.hero-image {
  flex: 1 1 400px;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transform: scale(0.95) translateY(30px);
  animation: zoomFloat 1.5s ease-out forwards;
  animation-delay: 1.4s;
}

.hero-image img {
  max-width: 70%;
  height: auto;
  border-radius: 10px;
  animation: floatUpDown 4s ease-in-out infinite alternate;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomFloat {
  0% { opacity: 0; transform: scale(0.95) translateY(30px); }
  60% { opacity: 1; transform: scale(1) translateY(-5px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes floatUpDown {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

/* services section */
.services {
  background-color: #eadce3;
  padding: 2rem 1rem;
  width: 100%;
}

.services-inner {
  max-width: 1000px;
  margin: auto;
}

.services h2 {
  font-family: var(--font-poppins);
  font-weight: 400;
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.service-item {
  border: none;
  font-family: var(--font-poppins);
  background-color: white;
  color: black;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 1px 7px 16px -6px rgba(0,0,0,0.54);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),0.4s ease;
}

.service-item p {
  font-size: 10px;
  color: #555;
}

.spanicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fdcae3;     
  border-radius: 50%;
  width: 50px;
  height: 50px;
  padding: 8px;
  margin-bottom: 1rem;
}

.spanicon img {
  width: 60%;
  height: auto;
}

.learnmore {
  display: flex;
  justify-content: flex-start;
}

.learnmore a {
  font-size: 10px;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

.learnmore a:hover {
  color: #fdcae3;
  transform: translateX(10px);
}

.service-item h3 {
  font-family: var(--font-poppins);
  font-weight: 300;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* about section */
.about {
  background: #FDCEDF;
  padding: 2rem 1rem;
  width: 100%;
}

.about .about-inner .about-items .about-item h3 {
  font-family: var(--font-poppins);
  font-weight: 450;
}

.about-inner {
  max-width: 1000px;
  margin: auto;
}

.about h2 {
  font-family: var(--font-poppins);
  font-weight: var(--font-weight-light);
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.about-item {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
}

/* contact section / footer */
.contact {
  font-family: var(--font-poppins);
  font-weight: var(--font-weight-light);
  background-color: #F2BED1;
  padding: 2rem 1rem;
  text-align: center;
}

.contact-inner {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.contact .contact-inner h2 {
  font-family: var(--font-poppins);
  font-weight: 400;
}

.site-footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 1rem;
}

.btnsend {
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  height: 50px;
  width: 150px;
  border-radius: 10px;
  border: solid 2px #e0559c;
  background-color: #F2BED1;
  font-family: var(--font-poppins);
  font-weight: var(--font-weight-light);
  color: rgb(7, 6, 6);
  cursor: pointer;
  transition: background-color 0.3s;
}

.btnsend:hover {
  background-color: #e0559c;
  color: white;
}

.socialbtn {
  height: 40px;
  width: 60px;
  border-radius: 50px;
  background-color: #F2BED1;
  border: solid 2px #e0559c;
  transition: background-color 0.3s;
}

.socialbtn:hover {
  background-color: #e0559c;
  color: white;
}

.map {
  display: flex;
  justify-content: center;
  align-items: center;
}

.map img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map img:hover {
  transform: scale(1.3);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.contact-inner .about-items .about-item h2 {
  font-family: var(--font-poppins);
  font-weight: 350;
}

/* Media queries */
@media screen and (max-width: 480px) {
  .site-header {
    height: auto;
    padding: 0.5rem 0;
  }

  .navbar {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.3rem;
  }

  .logo img {
    height: 35px;
  }

  .nav-links {
    gap: 0.3rem;
  }

  .nav-links li a {
    font-size: 0.8rem;
    padding: 0.3rem;
  }

  .header-buttons {
    flex-shrink: 0;
  }

  .header-buttons button {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
    min-width: 80px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: static;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    display: flex;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}


/* LOGIN FORM DESIGN ________________________________________________ */

.formbody {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(247, 189, 246, 0.3)),
    url('bggcrop.jpg') center/cover no-repeat fixed;
  color: #333;
  font-family: var(--font-poppins);
}

@media (max-width: 480px) {
  .formbody {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.3), rgba(247, 189, 246, 0.3)),
      url('bgg.jpg') center/cover no-repeat fixed;
    background-position: top;
    background-size: cover;
  }
}

.container {
  margin: 0 15px;
}

.form-box {
  width: 100%;
  max-width: 450px;
  padding: 50px 40px;
  background-color: #edb1e5;
  border-radius: 15px;
  box-shadow: 0 0 10px rgb(225, 202, 235);
  display: none;
}

.h2login {
  font-family: var(--font-poppins);
  font-size: 34px;
  text-align: center;
  margin-bottom: 20px;
}

input:not([type="checkbox"]) {
  width: 100%;
  padding: 12px;
  background: #eee;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

input::placeholder {
  color: gray;
  opacity: 2;
  font-family: var(--font-poppins); 
  font-size: 14px;
}

.loginbtn {
  width: 100%;
  padding: 12px;
  background: white;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #0d0b0b;
  font-weight: 500;
  margin-bottom: 20px;
  transition: 0.5s;
  font-family: var(--font-poppins);
}

.loginbtn:hover {
  background: rgb(227, 146, 214);
  color: white;
}

.plogin {
  font-size: 14.5px;
  text-align: center;
  margin-bottom: 10px;
}

.plogin .alogin {
  color: rgb(139, 82, 129);
  text-decoration: none;
}

.plogin .alogin:hover {
  text-decoration: underline;
}

.form-box.active {
  display: block;
}

input.error {
  border: 2px solid #e74c3c !important;
  background-color: #fff5f5 !important;
}

input.error::placeholder {
  color: #e74c3c;
}

.password-container {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.password-container input {
  width: 100%;
  padding: 12px 40px 12px 12px;
  background: #eee;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  margin-bottom: 0 !important;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
  font-size: 16px;
}

.toggle-password:hover {
  color: #ff69b4;
}

/* ========================= INLINE FORM MESSAGES ========================= */
.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  text-align: center;
  font-family: var(--font-poppins);
  font-weight: 400;
  animation: messageSlideIn 0.3s ease-out;
}

.form-message.error {
  display: block;
  background-color: #ffeaea;
  color: #c0392b;
  border: 1px solid #f5c6c6;
  border-left: 4px solid #e74c3c;
}

.form-message.success {
  display: block;
  background-color: #eafff1;
  color: #27ae60;
  border: 1px solid #c6f5d2;
  border-left: 4px solid #2ecc71;
}

@keyframes messageSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================= REMEMBER ME CHECKBOX ========================= */
.remember-me {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  margin-top: -10px;
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-poppins);
  color: #555;
  user-select: none;
}

.remember-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 5px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.remember-label input[type="checkbox"]:checked + .custom-checkbox {
  background-color: #ff69b4;
  border-color: #e0559c;
}

.remember-label input[type="checkbox"]:checked + .custom-checkbox::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.remember-label:hover .custom-checkbox {
  border-color: #ff69b4;
  box-shadow: 0 0 6px rgba(255, 105, 180, 0.3);
}

.remember-label:hover {
  color: #333;
}


/* ADMIN */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.header {
  background-color: #fff;
  padding: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.content {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.calendar-card h3 {
  margin-bottom: 10px;
  color: #ff69b4;
}

#calendar {
  max-width: 100%;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
}

@media (max-width: 768px) {
  .dashboard-container {
    flex-direction: grid;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
  }

  .menu {
    display: flex;
    flex-direction: row;
  }

  .menu li {
    margin: 0 5px;
  }
}