/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f4f7f6; 
}

.navbar {
  position: sticky;
  top: 0;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #1aa6a6;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #1aa6a6;
}

.Hero {
  height: 40vh;
  background-color: #0d4f4f;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.Hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.Hero p {
  font-size: 20px;
  font-weight: 300;
}

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.scard {
    background: white;
    width: 350px; 
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 6px solid #1aa6a6;
   
}

.scard:hover {
    background-color: #1aa6a6;
    
}

.scard h2 {
    color: #106868;
    margin-bottom: 15px;
    font-size: 22px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #bebebeeb;
    padding-bottom: 10px;
}

.scard p {
    color: black;
    line-height: 1.6;
    margin-bottom: 15px;
    width: 100%; 
    text-align: left;
}

.scard ul {
    width: 100%;
    padding-left: 20px;
    text-align: left;
}

.scard li {
    color: #494949;
    margin-bottom: 8px;
    width: 100%; 
}
/* Carousel ارتفاع ثابت وشكل محترف */
#carouselExampleInterval img {
  height: 80vh;       /* ارتفاع مناسب للشاشة */
  object-fit: cover;  /* الصورة تملأ المساحة بدون تشويه */
}

/* شكل أزرار Prev/Next */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 10px;
}

/* نقاط الكاروسيل */
.carousel-indicators button {
  background-color: white;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.carousel-indicators .active {
  background-color: #007bff;
}

/* Departments */
.departments {
  padding: 50px;
  text-align: center;
  background: #f6f9fc;
}

.departments h2 {
  margin-bottom: 30px;
  font-size: 28px;
  color: #333;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card:hover {
  transform: translateY(-8px);
  background: #1aa6a6;
  color: white;
  transition: 0.3s;

}
/* Footer */
.footer {
  background: #106868;
  color: white;
  padding: 50px 0 0;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-box {
  width: 300px;
  margin-bottom: 30px;
}

.footer-box h3 {
  color: #8edbdb; /* Lighter teal for headings on dark bg */
  margin-bottom: 15px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-box p {
  font-size: 15px;
  line-height: 1.8;
  color: #e0e0e0;
}

.footer-bottom {
  background: #0d4f4f; /* Slightly darker shade */
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
}



.doctors-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #333;
}

/* Grid */
.doctors-grid {
  display: grid;
  gap: 20px;
}

/* Doctor Card */
.doctor-card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;

}

.doctor-card:hover {
  transform: translateY(-5px);
}

/* Doctor Image */
.doctor-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

/* Info */
.doc-info h3 {
  font-size: 16px;
  color: #1a7f7f;
}

.specialty {
  font-size: 14px;
  color: gray;
}

.rating, .location {
  font-size: 13px;
  color: #555;
}

.price {
  font-size: 14px;
  font-weight: bold;
  color: #164c45;
}

/* Button */
.book-btn {
  margin-left: auto;
  background: #164c45;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.book-btn:hover {
  background: #e85d04;
}

/* About us */
.about-page {
    background-color: #f4f7f6;
}

.about-faq-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 40px; 
    max-width: 1400px;
    margin: auto;
    flex-wrap: wrap; 
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 30px; 
    width: 35%;
    min-width: 360px;
    flex: 1; 
}

.info-card.faq {
    width: 60%;
    min-width: 400px;

}
.info-card {
    background-color: white;
    color: #555;
    padding: 40px;
    border-radius: 20px;
    border-top: 5px solid #1aa6a6; 
}

.info-card h2 {
    color: #106868; 
    margin-bottom: 20px;
    font-size: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.info-card p {
    font-size: 16px;
    line-height: 1.4;
    color: #444;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    background-color: #f0fdfd; 
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 12px;
    color: #333;
    border-left: 4px solid #1aa6a6; 
}

.values-list li b {
    color: #106868;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #1aa6a6;

}

.faq-item:hover {
    background-color: #f9f9f9;
    border-color: #1aa6a6; 
}

.faq-item dt {
    color: #106868;
    font-size: 18px;
    margin-bottom: 8px;
    cursor: default;
}

.faq-item dd {
    color: #666;
    font-size: 15px;
}
/* ContactUs */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #1aa6a6;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links a:hover {
  color: #0dcaf0;
}

.login-btn {
  padding: 8px 20px;
  border: none;
  background: #1aa6a6;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}


.contact-section {
  padding: 50px;
  background: #f6f9fc;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-title {
  font-size: 32px;
  margin-bottom: 25px;
  text-align: center;
}

.contact-form {
  width: 50%;
  background: #a4d7dd;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.row {
  display: flex;
  gap: 5px;
}

.row .input-box {
  width: 50%;
}

.input-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 15px;
}

.input-box.full {
  width: 100%;
}

.input-box input,
.input-box select,
.input-box textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #777;
}

textarea {
  height: 120px;
}

.send-btn {
  padding: 10px 25px;
  background: #0dcaf0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: white;
  font-weight: bold;
}


.hospital-bar {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-left: 6px solid #1aa6a6;
}

.footer {
  background: #106868;
  color: white;
  padding: 40px 0 0;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-box {
  width: 250px;
  margin-bottom: 20px;
}

.footer-box h3 {
  color: #12283f;
  margin-bottom: 10px;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-bottom {
  background: #06192d;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  font-size: 13px;
}
.contact-wrapper {
  display: flex;
  gap: 30px;
}

.map-box {
  width: 45%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.send-btn {
  padding: 10px 25px;
  background: #0dcaf0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: white;
  font-weight: bold;
}
.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.contact-form {
  width: 50%;
}

.map-box {
  width: 45%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-box iframe {
  width: 100%;
  height: 500px;
  border: 0;
}

/* extra page */
.main-container{
  display: flex;
  padding: 20px 5%;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-bottom:30px ;
  width: 100%;
}
.filters-sidebar{
  width: 350px;
  flex-shrink: 0;
}
.filter-group{
  margin-bottom: 15px;
}
.filter-group select,
.filter-group input{
  width: 100%;
  padding: 12px;
  border: 1px;
  border-radius: 8px;
  color: black;
}

.Extra-page{
  background-image: url(../stethoscope-doctors-gown-background.jpg);
  background-size: cover;
}