
:root {
  --blue-card: #e8f1ff;
  --purple-card: #f3e8ff;
  --pink-card: #ffe8f3;
  --coral-card: #ffe8e8;
  --success-color: #22c55e;
  --background-color: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #000000;
  --border-color: #e2e8f0;
  --primary-color: #000000;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f3e8ff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    box-sizing: border-box;
    margin: 0;
  }


.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.header-buttons {
  display: flex;
  gap: 15px;
}

.header-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
  padding: 8px;
  border-radius:10%;
  min-height: auto;
  width: auto;
  transition: all 0.3s ease;
}

.header-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateY(-9px);
}

.whatsapp-btn {
  color: #25D366;
  height: 50%;
  
}

/* Sidebar styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -350px;
  width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  text-decoration: none;
  color: var(--text-primary);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sidebar-menu a:hover {
  background-color: var(--blue-card);
}

.sidebar-menu i {
  width: 24px;
  text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
    animation: overlayFadeIn 0.3s ease;
  }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
}

h1, h2 {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.form-container {
    position: relative;
    display: none;
    margin: 20px 0;
    background-color: #e8f1ff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 3 10px 10px rgba(0, 0, 0, 0.1);
  }

  .form-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    max-width: 90%;
    width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: formFadeIn 0.3s ease;
  }

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  min-height: auto;
  width: auto;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #ef4444;
  transform: none;
  box-shadow: none;
}

form button[type="submit"] {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    min-height: auto;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }
  
  form button[type="submit"]:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  form button[type="submit"] i {
    font-size: 1.2rem;
    margin-right: 8px;
    margin-bottom: 0;
  }
  
  form button[type="submit"]:hover i {
    transform: translateX(3px);
    color: white;
  }

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}


button:nth-child(4) {
  background-color: var(--coral-card);
}

/* Add styles for category headings */
.category-heading {
    grid-column: 1 / -1;
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: linear-gradient(135deg, var(--blue-card), var(--purple-card));
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
  }

input, textarea {
    padding: 12px 16px;
    margin: 5px 0;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8fafc;
  }

/* Add new styles for phone input container */
.phone-input-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.country-prefix {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px;
  background-color: #f8fafc;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-weight: 500;
}

.country-prefix img {
  width: 20px;
  height: auto;
}

.phone-input {
  flex: 1;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.queue {
  margin-top: 40px;
}

.service-item {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  padding: 20px;
  margin: 15px 0;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.service-item p {
  color: var(--text-secondary);
  margin: 8px 0;
}

.service-item button {
  margin-top: 15px;
}

.service-item button[onclick*="removeService"] {
  background-color: var(--success-color);
}
button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 20px;
  background-color: var(--blue-card);
  color: var(--text-primary);
  border: none;
  transition: all 0.3s ease;
  min-height: 150px;
  text-align: center;
  width: 100%;
}

.buttons {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}


button i {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

button span {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.button-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 10px;
  transition: all 0.3s ease;
}

@media (max-width: 480px) {
body {
  padding: 15px 10px;
}

.buttons {
  gap: 10px;
  margin: 15px auto;
  grid-template-columns: 2fr;
}

button {
  min-height: 100px;
  padding: 10px;
}

button i {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

button span {
  font-size: 1rem;
}

.button-description {
  font-size: 0.75rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
}

button:nth-child(2) {
  background-color: var(--purple-card);
}


button:nth-child(3) {
  background-color: var(--pink-card);
  /* Remove special positioning */
  grid-column: auto;
  width: 100%;
  margin: 0;
}

button:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
filter: brightness(0.95);
}

button:hover span {
color: var(--text-primary);
}

button:hover .button-description {
color: var(--text-secondary);
}

button:hover i,
button:hover span,
button:hover .button-description {
color: white;
}

@media (max-width: 480px) {
    .buttons {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    }
    }

    .content-wrapper {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 15px;
        padding-top: 80px; /* Add more space at the top */
      }
      
      .message-card {
        background-color: #f0f9ff;
        border: 1px solid #bae6fd;
        border-radius: 10px;
        padding: 25px;
        margin: 30px 0; /* Increased margin */
        text-align: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      }
      
      .message-card i {
        color: #0ea5e9;
        font-size: 28px;
        margin-bottom: 15px;
        display: block;
      }
      
      .message-card h3 {
        margin: 15px 0;
        color: #0369a1;
        font-size: 1.5rem;
      }
      
      .message-card p {
        color: #0c4a6e;
        margin-bottom: 0;
        line-height: 1.6;
        font-size: 1.05rem;
      }

@keyframes formFadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact information section at the bottom */
.contact-info {
  margin: 50px auto 30px;
  padding: 25px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #38bdf8;
  max-width: 800px;
}

.contact-info h3 {
  color: #0369a1;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-info {
    margin: 50px auto 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #38bdf8;
    max-width: 800px;
    overflow: hidden; /* Prevent content from spilling out */
  }

  .contact-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
  }

  .contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #0c4a6e;
    width: calc(50% - 15px);
    box-sizing: border-box;
  }

.contact-method:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.contact-method i {
  font-size: 1.2rem;
  color: #0ea5e9;
}

.contact-methods-mobile {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-methods-mobile .contact-method {
    width: 90%;
  }
  
  @media (max-width: 480px) {
    .contact-method {
      width: 90%;
    }
  }
  
  .contact-method {
    width: 100%;
    justify-content: center;
  }
/* Psychology Page Styles */
.psychology-content {
    padding: 20px;
}

.psychology-content h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.service-intro {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 40px;
    color: #4a6fa5;
    margin-right: 20px;
}

.service-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.doctors-heading {
    text-align: center;
    margin: 30px 0;
    color: #333;
    position: relative;
}

.doctors-heading:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #4a6fa5;
    margin: 10px auto;
}

.doctors-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.doctor-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.doctor-image {
    height: 200px;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 150%;  /* Increased height to show more of the image */
    object-fit: cover;
    object-position: top;  /* Positions the image from the top */
    transition: transform 0.5s ease;
    margin-top: -20px;  /* Pulls the image up slightly */
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 20px;
}

.doctor-info h3 {
    margin: 0 0 5px 0;
    color: #333;
}

.doctor-title {
    color: #4a6fa5;
    font-weight: bold;
    margin-bottom: 15px;
}

.doctor-specialties {
    margin: 5px 0;
    color: #555;
}

.doctor-specialties i {
    color: #ffc107;
    margin-right: 5px;
}

.doctor-experience {
    margin: 15px 0;
    font-style: italic;
    color: #666;
}

.doctor-contact {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.doctor-contact-btn {
    flex: 1;
    display: inline-block;
    padding: 8px 15px;
    background: #4a6fa5;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.doctor-contact-btn:hover {
    background: #3a5a80;
}

.doctor-contact-btn.schedule-btn {
    background: #28a745;
}

.doctor-contact-btn.schedule-btn:hover {
    background: #218838;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .doctors-container {
        grid-template-columns: 1fr;
    }
    
    .service-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
