
:root {
--primary-color: #0d9488; 
--primary-hover: #0f766e; 
--secondary-color: #64748b; 
--secondary-hover: #475569;
--background-color: #f8fafc;
--card-bg: #ffffff;
--text-color: #1e293b;
--muted-text: #64748b;
--border-radius: 0.75rem;
--shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
--transition: 0.3s ease-in-out;
}

body {
font-family: 'Inter', sans-serif;
background-color: var(--background-color);

padding: 0;
color: var(--text-color);
padding-top: 100px; 
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
}

.card {
background-color: var(--card-bg);
border-radius: var(--border-radius);
box-shadow: var(--shadow);
padding: 2rem;
transition: transform var(--transition), box-shadow var(--transition);
animation: fadeInUp 0.6s ease-in-out;
margin-top: 2rem;
}

.card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.btn-primary,
.btn-secondary {
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
color: #fff;
font-weight: 600;
cursor: pointer;
border: none;
transition: background-color var(--transition), transform var(--transition);
}

.btn-primary {
background-color: var(--primary-color);
}

.btn-primary:hover {
background-color: var(--primary-hover);
transform: scale(1.03);
}

.btn-secondary {
background-color: var(--secondary-color);
}

.btn-secondary:hover {
background-color: var(--secondary-hover);
transform: scale(1.03);
}

input[type="date"],
input[type="time"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
padding: 0.75rem;
border: 1px solid #d1d5db;
border-radius: 0.5rem;
width: 100%;
margin-bottom: 1.5rem;
box-sizing: border-box;
font-size: 1rem;
transition: border-color var(--transition), box-shadow var(--transition);
}

input[type="date"]:focus,
input[type="time"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.3);
}

form {
margin-top: 2rem;
}

label {
display: block;
font-weight: 500;
margin-bottom: 0.5rem;
color: var(--text-color);
}

.schedule-list {
max-height: 600px;
overflow-y: auto;
padding-right: 0.5rem;
scroll-behavior: smooth;
}

.schedule-list::-webkit-scrollbar {
width: 8px;
}

.schedule-list::-webkit-scrollbar-track {
background: #e5e7eb;
border-radius: 10px;
}

.schedule-list::-webkit-scrollbar-thumb {
background: #9ca3af;
border-radius: 10px;
}

.schedule-list::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}

.hidden {
display: none !important;
}

/* Elegant Header */
header {
background: linear-gradient(to right, #0f766e, #0d9488);
color: #ffffff;
padding: 1rem 0;
box-shadow: var(--shadow);
animation: fadeInDown 0.6s ease-in-out;

}

header .logo {
color: #ffffff;
font-size: 1.75rem;
font-weight: bold;
letter-spacing: 1px;
transition: color var(--transition);
}

header .logo:hover {
color: #99f6e4;
}

nav ul li button {
background-color: transparent;
color: #ffffff;
font-weight: 500;
padding: 0.5rem 1rem;
border-radius: 9999px;
transition: background-color 0.3s ease, transform 0.2s ease;
border: 1px solid transparent;
}

nav ul li button:hover {
background-color: rgba(255, 255, 255, 0.15);
color: #99f6e4;
transform: scale(1.05);
}



/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Section transition */
section {
transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* Utility classes */
.text-center {
text-align: center;
}

.text-right {
text-align: right;
}

.mt-8 {
margin-top: 2rem;
}

.mb-4 {
margin-bottom: 1rem;
}

.text-sm {
font-size: 0.875rem;
color: var(--muted-text);
}

.text-2xl {
font-size: 1.5rem;
font-weight: bold;
color: var(--text-color);
}

.text-xl {
font-size: 1.25rem;
font-weight: bold;
color: var(--text-color);
}

.font-medium {
font-weight: 500;
}

.font-semibold {
font-weight: 600;
}

.font-bold {
font-weight: 700;
}
/* Responsive layout adjustments */
@media (max-width: 1024px) {
.container {
padding: 1.5rem;
}

.card {
padding: 1.5rem;
}

.btn-primary,
.btn-secondary {
width: 100%;
padding: 0.75rem;
font-size: 1rem;
}
}

@media (max-width: 768px) {
.container {
padding: 1rem;
}

.card {
padding: 1.25rem;
}

input,
textarea,
select {
font-size: 0.95rem;
}

.text-2xl {
font-size: 1.25rem;
}

.text-xl {
font-size: 1.125rem;
}
}

@media (max-width: 480px) {
header {
text-align: center;
}

header .logo {
font-size: 1.5rem;
}

nav ul {
display: flex;
flex-direction: column;
align-items: center;
padding: 0;
}

nav ul li {
margin: 0.5rem 0;
}

.card {
padding: 1rem;
}

.btn-primary,
.btn-secondary {
width: 100%;
}
}
@media (min-width: 640px) {
#nav-menu {
display: flex !important;
justify-content: flex-end;
align-items: center;
}
}

/* popup */

.modal-overlay {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background-color: rgba(0,0,0,0.6);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}

.modal-box {
background: #fff;
display: flex;
max-width: 800px;
width: 90%;
border-radius: 8px;
overflow: hidden;
position: relative;
}

.modal-left, .modal-right {
padding: 20px;
flex: 1;
}

.modal-left {
display: flex;
flex-direction: column;
justify-content: center;
}

.modal-left h2 {
font-size: 1.5rem;
margin-bottom: 10px;
}

.modal-left .highlight {
color: #2a4365;
font-weight: bold;
}

.modal-left form input,
.modal-left form .phone-input input {
width: 100%;
padding: 10px;
margin: 8px 0;
border: 1px solid #ccc;
border-radius: 4px;
}

.modal-left form .phone-input {
display: flex;
align-items: center;
gap: 5px;
}

.modal-left form button {
background-color: #2a4365;
color: white;
padding: 10px;
border: none;
border-radius: 4px;
cursor: pointer;
}

.modal-left form small {
display: block;
margin-top: 10px;
font-size: 12px;
color: #666;
}

.modal-right img {
margin-top: 16px;
width: 100%;
height: auto;
border-radius: 8px;
}

.close-btn {
position: absolute;
top: 10px;
right: 15px;
background: transparent;
font-size: 24px;
border: none;
cursor: pointer;
}
/* Responsive  pupop styles */
@media (max-width: 768px) {
  .modal-box {
    flex-direction: column;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-left, .modal-right {
    padding: 16px;
  }

  .modal-left h2 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .modal-right {
    display: none; /* hide image on small screens */
  }

  .close-btn {
    top: 8px;
    right: 12px;
    font-size: 20px;
  }

  .modal-left form button {
    font-size: 1rem;
  }
}

@keyframes fade-in-up {
0% {
  opacity: 0;
  transform: translateY(20px);
}
100% {
  opacity: 1;
  transform: translateY(0);
}
}
.animate-fade-in-up {
animation: fade-in-up 0.8s ease-out both;
}
/**/
      @keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes float-delay {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(20px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
  animation: float-delay 8s ease-in-out infinite;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 0.8s ease-out both;
}
