body {
  margin: 0;
  font-family: "Afacad", sans-serif;
  background: #fff;
}

/* ================= HEADER ================= */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Thin orange bar */
.headerFiller {
  background: #e67a00;
  height: 40px;
  width: 100%;
}

/* Main header container */
.headerFIller {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: #fff;
}

/* Logo */
.headerFIller img {
  height: 55px;
}

/* Nav menu */
.headerFIller ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.headerFIller ul li {
  color: green;
  font-weight: 500;
  cursor: pointer;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.headerFIller ul li:hover {
  color: #005500;
}

/* Login button */
.headerFIller button {
  background: #e67a00;
  color: #fff;
  border: none;
  padding: 13px 30px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.headerFIller button:hover {
  background: #cc6600;
}

/* ================= HOME SECTION ================= */
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 80px 50px;
  height: 100vh;
}

.left {
  flex: 1;
}

.left h1 {
  font-size: 5.7rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.left p {
  font-size: 20px;
  line-height: 1.6;
  color: #555;
}

.btn-container {
  display: flex;
  margin-top: 30px;
}

.consult-btn {
  background-color: #e67e22;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
}

.consult-btn:hover {
  background-color: #cf711f;
}

.consult-btn .icon {
  display: flex;
  align-items: center;
}

.right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.right img {
  width: 150%;
  height: auto;
}

@media (max-width: 900px) {
  .home {
    flex-direction: column;
    text-align: center;
    padding: 120px 30px 50px;
  }

  .left {
    max-width: 100%;
  }

  .btn-container {
    justify-content: center;
  }

  .right {
    margin-top: 40px;
    display: none;
  }
}

.specialists-section {
  text-align: center;
  padding: 40px 20px;
  background: #f5f5f5;
}

.specialists-subtitle {
  color: green;
  font-size: 16px;
  margin-bottom: 5px;
}

.specialists-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.specialists-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
}

.specialist-card {
  background: #f57c00;
  /* orange */
  border-radius: 15px;
  padding: 15px;
  width: 300px;
  text-align: center;
  color: #fff;
}

.specialist-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.specialist-card h4 {
  font-size: 18px;
  margin: 5px 0;
  font-weight: bold;
}

.specialist-card p {
  font-size: 14px;
  font-style: italic;
  margin: 0;
}

.services {
  padding: 80px 60px;
  text-align: center;
  background: #f9f9f9;
  font-family: "Afacad", sans-serif;
}

.services h2 {
  color: green;
  font-size: 28px;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 80px;
  /* row gap, column gap */
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  text-align: left;
  background: #fff;
  padding: 10px;
}

.service-card .line {
  height: 3px;
  width: 100%;
  background: black;
  margin-bottom: 15px;
}

.service-card .icon-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.service-card .icon-title img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: invert(54%) sepia(98%) saturate(676%) hue-rotate(359deg)
    brightness(96%) contrast(92%);
  /* makes icons orange if using black png/svg */
}

.service-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: #000;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* footer style */

.footer {
  width: 100%;
  max-height: 12vh;
  background-color: #2f2f2f;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 20%;
}

.footer-logo .top img {
  max-height: 50px;
  margin-right: 10px;
}

.footer-logo .top {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.footer-logo .bottom p {
  color: #ccc;
  font-size: 0.8rem;
  margin: 0;
}

.footer-number {
  text-align: center;
  color: #eee;
}

.footer-number .top h1 {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 600;
  color: #fff;
}

.footer-number .bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 20%;
}

.footer-social a i {
  font-size: 28px;
  margin: 0 10px;
  transition: all 0.3s ease;
  color: #ccc;
}

.footer-social a .fa-facebook-f:hover {
  color: #1877f2;
}

.footer-social a .fa-twitter:hover {
  color: #1da1f2;
}

.footer-social a .fa-instagram:hover {
  color: #e1306c;
}

/* Login Modal Style */

.login-modal {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Modal Content */
.login-modal .modal-content {
  background: #fff;
  width: 800px;
  max-width: 95%;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
  position: relative;
  flex-direction: row;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Left Side (Form) */
.login-modal .modal-left {
  flex: 1;
  padding: 40px 30px;
  background: #f3fdf3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-modal .modal-left img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.login-modal .modal-left form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-modal .modal-left input[type="email"],
.login-modal .modal-left input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

.login-modal .modal-left .remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.login-modal .modal-left button {
  background: #f47c1c;
  border: none;
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.login-modal .modal-left button:hover {
  background: #d9650d;
}

.login-modal .modal-left .forgot {
  font-size: 13px;
  text-align: center;
  margin-top: 8px;
  color: #444;
  cursor: pointer;
}

/* Right Side (Illustration) */
.login-modal .modal-right {
  flex: 1;
  background: #fff7f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.login-modal .modal-right img {
  width: 80%;
  max-width: 250px;
}

.login-modal .modal-right button {
  margin-top: 20px;
  background: #f47c1c;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.login-modal .modal-right button:hover {
  background: #d9650d;
}

/* Close Button */
.login-modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Tracking Modal Style */

.tracking-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tracking-modal-content {
  background: #fff;
  width: 650px;
  max-width: 95%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
  position: relative;
}

.tracking-modal-header img {
  width: 150px;
  height: auto;
}

.tracking-modal-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tracking-modal-body p {
  margin-bottom: 15px;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.tracking-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tracking-inputs input {
  width: 45px;
  height: 45px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tracking-inputs input:focus {
  border-color: #f47c1c;
  box-shadow: 0 0 5px rgba(244, 124, 28, 0.5);
}

.tracking-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 15px 5px;
}

.tracking-modal-footer p {
  font-size: 0.8rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #f47c1c;
  cursor: pointer;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.tracking-modal-footer p:hover {
  color: #d9650f;
  text-decoration: underline;
}

.tracking-modal-footer button {
  background: #f47c1c;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.2s;
  margin-left: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Patient Info Style
*/

/* === Patient Info Modal === */
.patientinfo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

/* Modal Card */
.patientinfo-card {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: zoomIn 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Close Button */
.patientinfo-card .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}
.patientinfo-card .close:hover {
  color: #f47c1c;
}

/* Header */
.patientinfo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #f47c1c, #f59e0b);
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.patientinfo-header h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.patientinfo-header .clinic-logo {
  width: 100px;
  height: auto;
}

/* Body */
.patientinfo-body {
  padding: 25px 30px;
  flex: 1;
  overflow-y: auto;
}

.patientinfo-body h2 {
  color: #1e293b;
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Info Grid */
.patient-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}

.patient-info-grid div {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #374151;
  transition: 0.2s ease;
}

.patient-info-grid div:hover {
  background: #fff7f2;
  border-color: #f47c1c;
}

.patient-info-grid div strong {
  display: block;
  color: #f47c1c;
  font-weight: 600;
  margin-bottom: 3px;
}

.patient-info-grid .full-width {
  grid-column: span 2;
}

/* Footer */
.patientinfo-footer {
  padding: 20px 30px;
  border-top: 1px solid #f1f1f1;
  display: flex;
  justify-content: flex-end;
  background: #fafafa;
  gap: 10px;
}

/* Buttons */
#scheduleBtn,
#closeBtn {
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

#scheduleBtn {
  background: #f47c1c;
  color: #fff;
  box-shadow: 0 3px 10px rgba(244, 124, 28, 0.3);
}
#scheduleBtn:hover {
  background: #d9650f;
  transform: translateY(-1px);
}

#closeBtn {
  background: #e5e7eb;
  color: #374151;
}
#closeBtn:hover {
  background: #d1d5db;
}

@media (max-width: 600px) {
  .patientinfo-footer {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }

  #scheduleBtn,
  #closeBtn {
    width: 100%;
  }

  .patientinfo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .clinic-logo {
    width: 80px;
  }

  .patient-info-grid {
    grid-template-columns: 1fr;
  }

  .patientinfo-footer {
    justify-content: center;
  }
}

/* Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* === Schedule Modal === */
.schedule-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  animation: fadeIn 0.3s ease;
}

/* Card */
.schedule-card {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

/* Header */
.schedule-header {
  background: linear-gradient(135deg, #f47c1c, #f59e0b);
  padding: 16px 24px;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

/* Body */
.schedule-body {
  padding: 25px 30px;
}

.schedule-field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.schedule-field label {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 6px;
}

.schedule-field input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.schedule-field input:focus {
  outline: none;
  border-color: #f47c1c;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(244, 124, 28, 0.1);
}

.date-warning {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Footer */
.schedule-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  background: #fafafa;
  border-top: 1px solid #f1f1f1;
}

.schedule-footer button {
  border: none;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.close-btn {
  background: #e5e7eb;
  color: #374151;
}
.close-btn:hover {
  background: #d1d5db;
}

.save-btn {
  background: #f47c1c;
  color: #fff;
  box-shadow: 0 3px 10px rgba(244, 124, 28, 0.3);
}
.save-btn:hover {
  background: #d9650f;
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === Schedule Modal === */
.schedule-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  animation: fadeIn 0.3s ease;
}

/* Card */
.schedule-card {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

/* Header */
.schedule-header {
  background: linear-gradient(135deg, #f47c1c, #f59e0b);
  padding: 16px 24px;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

/* Body */
.schedule-body {
  padding: 25px 30px;
}

.schedule-field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.schedule-field label {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 6px;
}

.schedule-field input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.schedule-field input:focus {
  outline: none;
  border-color: #f47c1c;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(244, 124, 28, 0.1);
}

.date-warning {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Footer */
.schedule-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  background: #fafafa;
  border-top: 1px solid #f1f1f1;
}

.schedule-footer button {
  border: none;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.close-btn {
  background: #e5e7eb;
  color: #374151;
}
.close-btn:hover {
  background: #d1d5db;
}

.save-btn {
  background: #f47c1c;
  color: #fff;
  box-shadow: 0 3px 10px rgba(244, 124, 28, 0.3);
}
.save-btn:hover {
  background: #d9650f;
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === Modal Background === */
.tracking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 41, 59, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(4px);
}

/* === Modal Content === */
.tracking-modal-content {
  background: #fff;
  width: 90%;
  max-width: 700px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: slideUp 0.3s ease;
  position: relative;
}

/* === Close Button === */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}
.close:hover {
  color: #f47c1c;
}

/* === Header === */
.tracking-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fef6f0;
  padding: 15px 25px;
  border-bottom: 1px solid #eee;
}

.tracking-modal-header h3 {
  font-size: 1rem;
  color: #333;
}

.clinic-logo {
  width: 90px;
}

/* === Body === */
.tracking-modal-body {
  padding: 25px;
}

.tracking-modal-body h2 {
  margin-bottom: 20px;
  color: #222;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Close Button */
.tracking-modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Patient Modal Style */

.patient-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.patient-modal-content {
  background: #fff;
  width: 650px;
  max-width: 95%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
  position: relative;
}

.patient-modal-header img {
  width: 150px;
  height: auto;
}

.patient-modal-body {
  text-align: center;
}

.patient-inputs {
  padding: 20px;
  max-height: 400px;
  overflow-y: scroll;
}

.patient-modal-body p {
  margin-bottom: 15px;
  font-size: 2rem;
  font-weight: 500;
  color: #333;
}

.patient-inputs input:focus {
  border-color: #f47c1c;
  box-shadow: 0 0 5px rgba(244, 124, 28, 0.5);
}

.patient-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 15px 5px;
}

.patient-modal-footer p {
  font-size: 0.8rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #f47c1c;
  cursor: pointer;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.patient-modal-footer p:hover {
  color: #d9650f;
  text-decoration: underline;
}

.patient-modal-footer button {
  background: #f47c1c;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.2s;
  margin-left: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Close Button */
.patient-modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
