/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Container Styling */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box; /* Include padding in total width/height */
}

/* Header Styling */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    width: 80%;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.header .logo {
    height: auto;
    width: 425px;
    margin-right: 20px;
}

.header-text p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/* Main Content Styling */
.main {
    display: flex;
    align-items: flex-start; /* Align menu and content to the top */
    gap: 20px; /* Space between menu and content */
    width: 80%; /* Occupy full width of the container */
    margin: 0 auto;
}


/* Content Section Styling */
.content {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px; /* Reduce gap between header and content */
    max-width: 1200px; /* Centered content width */
    margin-left: auto;
    margin-right: auto;
}

/* Department Title Styling */
.directory h2 {
    font-size: 1.5em;
    color: #1e9668; /* Green color */
    text-align: center;
    width: 100%; /* Ensure it spans across all cards */
    margin: 30px 0 10px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Department Wrapper for Doctors */
.department-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 doctors per row */
    gap: 20px;
    justify-content: center; /* Centers doctors within the grid */
    margin-top: 10px;
}

/* Doctor Card Styling */
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
    margin: 0 auto;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Doctor Image Styling */
.card img {
    width: 200px;
    height: 225px;
    border-radius: 5%; /* Slightly rounded corners */
    object-fit: cover;
    border: 3px solid #1e9668;
}

/* Search Bar Styling */
.search-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.search-bar input,
.search-bar select {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: calc(33.33% - 10px); /* Responsive width for inputs */
    box-sizing: border-box;
}

/* Ensure No Horizontal Scroll */
* {
    box-sizing: border-box;
}


/* Styling for "RESIGNED" Tag */
.resigned-card {
    background-color: #ffe6e6; /* Light red background */
    border: 2px solid red;
}

.resigned-tag {
    color: red;
    font-weight: bold;
    font-size: 14px;
}

/* FOR MENU */


.whatsapp-send {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-send input {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.whatsapp-send button {
  padding: 5px 10px;
  background-color: #25D366;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.whatsapp-send button:hover {
  background-color: #1da851;
}
