@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    font-family: "Poppins", sans-serif;
}
/* Navbar base */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
  color: #091331;
   background-color: white;
}

/* Keyframes for smooth continuous wave motion */
@keyframes wave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }

    
}

/* Logo */
.logo {
    font-size: 22px;
    font-weight: bold;
       color: #091331;

}

/* Menu list */
.navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.navbar ul li a {
       color: #091331;

    text-decoration: none;
    font-weight: 500;
}

/* Hamburger hidden on desktop */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* 📱 Mobile styles */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .navbar ul {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
z-index: 1;
background-color: whitesmoke;
        display: none; /* hidden by default */
    }

    .navbar ul.active {
        display: flex; /* show when toggled */
    }
}


.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}
/* Header */
.header {
    background: #0d6efd;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}
.hero-section {
    position: relative;
    
    align-items: center;
    /* min-height: 100vh; */
}



/* Hero */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 8%;
    color: #091331;
  background-image: url("images/img.jpg");  /* background image */
    background-size: cover;        /* مهم: fills the section */
    background-position: center;   /* centers the image */
    background-repeat: no-repeat;
}

.hero-text h1,
.about h2 {
    font-size: 60px;
    line-height: 1.2;   /* BEST PRACTICE */
    font-weight: 800;
    text-align: center;
}

.hero-text  {
 padding: 5%;
}
.hero-text p {
    font-size: 18px;
    max-width: 600px;
    margin: auto;
}

.hero-image-section{
    padding: 35px;
}
    

.back-img{
    position:absolute;
    right: 0px;
   bottom: -29%;
   z-index: -1;
}
.hero-image {
    width: 500px;
        padding: 35px;  
}

.hero-image img {
    width: 100%;
    height: 100%;     
}

/* ABOUT */
.about ,
.services-description{
   
    display: flex;            
    flex-direction: column;   
    align-items: center;      
    justify-content: center;  
    text-align: center;   
    position: relative;    
}
.about-bg-img{
    position: absolute;
    left: 0px;
}
.about-section{
 background: #f8f9fa;
    
}
.about h2, 
.service-text h2 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
}
.Hospital-img{
    width: 100%;
    height: 100%;
}

.about-text,
.service-text {
    max-width: 800px; 
    width: 100%;      
    text-align: center; 
    /* background: ; */
    color: #091331;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;

}
.service-bg-img{
    width: 150px;
    position: absolute;
}

.about-sec{
  display: flex;
  align-items: center;
    padding: 80px 8%;
    gap: 50px;  
    justify-content: center;
     align-items: stretch;
}
.about-image{
    width: 50%;
     align-items: stretch;
}
.about img {
    width: 100%;
    height: 100%;
   background-size: cover;
}

.about ul {
    margin-top: 15px;
}
.about-content {
    width: 50%;
    justify-content: center;  
}

.about-content p {
    margin-bottom: 15px;
    /* color: #555; */
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 10px 22px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    align-items: flex-start;
}
.service-sec {
    background-image: url("images/img2.jpg");  
    background-repeat: no-repeat;
    background-size: cover;       
    background-position: center;  
    position: relative;        
    padding: 50px 8%;  
    margin-top: 25px;        
}


.service-sec::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(137, 136, 136, 0.45); /* dark transparent overlay */
    z-index: 1;
    
}

/* Make sure content is above overlay */
.service-sec > * {
    position: relative;
    z-index: 2;
}
.service-text{
    text-align: center;
    color:#091331;
}

.icon {
    font-size: 26px;
    color: #34acca; /* medical blue */
    margin-top: 4px;
}

.feature h4 {
    margin-bottom: 4px;
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    /* display: flex; */
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    font-weight: 600;
}

.card i {
    font-size: 22px;
    color: #34acca;
    padding: 10px;
    border: 1px solid #34acca;
    border-radius: 24px;
}


/* List */
.list li {
    margin-bottom: 10px;
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}




/* SERVICES */
.services {
    padding: 0px 8%;
    text-align: center;
}

.service-grid {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); */
    gap: 25px;
    margin-top: 40px;
}

.card {
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
/* CLINIC TIME */
.clinic-time {
    padding: 40px 8%;
    background: #f8f9fa;
    text-align: center;
    position: relative;
}
.clinic-bg-img{
    position: absolute;
    right: 0px;
    width: 150px;
    top: 18px;
}


.clinic-time h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.clinic-time p {
    
    margin-bottom: 40px;
    font-size: 18px;
}
.time-table{
    background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f5f7fa 50%,
    #e9ecf1 100%
);

    padding: 3%;
    border-radius: 25px;
   /* width: 700px; */
   color: #091331;
}


.time-table-sec {
   background-image: url("images/clinic-time.webp");
    margin: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    margin: auto;
    padding: 40px;
}

.day {
    font-weight: 500;
    gap: 20px;
}

.day:last-child {
    border-bottom: none;
}

.day span:last-child {
    color: #091331;
}

.day.closed span:last-child {
    color: #dc3545;
    font-weight: 600;
}




/* APPOINTMENT */
.appointment {
    padding: 70px 8%;
    text-align: center;
    background:#eee ;
    color: #091331;
}

/* FOOTER */
footer {
    padding: 20px;
    text-align: center;
    background: #111;
    color: #aaa;
}

/* RESPONSIVE */


/* Form */
.form {
    max-width: 500px;
}

.form input,
.form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
}

.form button {
    border: none;
    cursor: pointer;
}

/* Footer */
.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
}
@media (max-width: 900px) {
    .hero, .about {
        flex-direction: column;
        text-align: center;
    }
    .reviews {
        flex-direction: column;
    }
    .hero-image-section {
    
    margin-top: -19%;
    }
}
@media (max-width: 1012px) {
   .about-sec{
    flex-wrap: wrap;
   }
.about-image{
    width: 100%;
}
.about-content{
    width: 100%;
}
.about-bg-img{
    display: none;
}

}
@media (max-width: 800px) {
.back-img{
    display: none;
}
.service-bg-img ,
.clinic-bg-img{
    display: none;
}
.service-grid {
    grid-template-columns: repeat(1, 1fr);
   
}
.hero-text h1,
.about h2 {
    font-size: 40px;
    line-height: 1.2;   /* BEST PRACTICE */
    font-weight: 800;
    text-align: center;
}


}
@media (max-width: 500px) {

.hero-text h1,
.about h2,
 .service-text h2,
 .clinic-time h2
  {
    font-size: 30px;
    line-height: 1.2;   /* BEST PRACTICE */
    font-weight: 800;
    text-align: center;
}
.hero-text p {
    font-size: 12px;
}
.hero-image-section {
    
    margin-top: -33%;
    }
    .day {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-image{
width: 100%;
padding: 10px;
    }
    .hospital-name{
padding: 5px !important;
    }

}
@media (min-width: 1900px) {
 .hero-image-section {
    
    margin-top: -2%;
    }
}


.time-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Each row */
.day {
    display: grid;
    grid-template-columns: 1fr 1fr 0fr;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    align-items: center;
}

/* Day name */
.day span:first-child {
    font-weight: 600;
    color: #091331;
}

/* Time */
.day span {
    color: #555;
}

/* Hover effect */
.day:hover {
    background: #f1f7ff;
}

/* Closed day */
.day.closed {
    background: #fff3f3;
}

.day.closed span {
    color: #d9534f;
    font-weight: 600;
}

/* Last row remove border */
.day:last-child {
    border-bottom: none;
}
.hospital-name{
    padding: 25px;
    background-color: #2d9ea3;
    border-radius: 12px;
    color: white !important;
}
.map-section {
    padding: 50px 20px;
    background: #f7f9fc;
    text-align: center;
}

.map-container {
    gap: 20px;
    padding: 40px 8%;
}

.map-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.map-box iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 10px;
}

.map-box h4 {
    margin-bottom: 10px;
    color: #091331;
}

.map-box a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #4facfe;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
    .map-grid {
        grid-template-columns: 1fr;
    }
}
.holographic-container {
  display: flex;
  justify-content: center;
  align-items: center;

}

.holographic-card {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.5s ease;
}

.holographic-card h2 {
  color: #34acca;
  font-size: 2rem;
  position: relative;
  z-index: 2;
}

.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    #34acca
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.holographic-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #14a3c7;
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}



h3 {
  color: #262626;
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

p {
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  color: #666666;

  &.small {
    font-size: 14px;
  }
}

.go-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 32px;
  height: 32px;
  overflow: hidden;
  top: 0;
  right: 0;
  background-color: #14a3c7;
  border-radius: 0 4px 0 32px;
}

.go-arrow {
  margin-top: -4px;
  margin-right: -4px;
  color: white;
  font-family: courier, sans;
}

.card1 {
  display: block;
  position: relative;
  border-radius: 4px;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;

  &:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -16px;
    right: -16px;
    background: #14a3c7;
    height: 32px;
    width: 32px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 0.25s ease-out;
  }

  &:hover:before {
    transform: scale(21);
  }
}

.card1:hover {
  p {
    transition: all 0.3s ease-out;
   
  }
  h3 {
    transition: all 0.3s ease-out;
    
  }
}
