/* styles.css */

html {
    scroll-behavior: smooth;
}
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f4f6f9;
            margin: 0;
            padding: 10px;
        }

        h2 {
            text-align: center;
            color: #0077b5; /* LinkedIn Blue */
            margin-bottom: 30px;
        }

        .person-card {
            background-color: white;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 20px;
            display: flex;
            padding: 20px;
            align-items: center;
            transition: transform 0.3s ease-in-out;
             text-decoration: none;
        }

        .person-card:hover {
            transform: translateY(-10px);
        }


        .person-photo {
        	border:0px;
            width: 70px;
            height: 70px;
            border-radius: 50%;
            margin-right: 20px;
           border-radius: 50%; /* This makes the image round */
            object-fit: cover; /* Ensures the image covers the area without distortion */
        }
        

        .person-info {
            flex: 1;
        }

        .person-name {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            text-decoration: none;
        }

        .person-position {
            font-size: 18px;
            color: #666;
            margin-top: 5px;
            text-decoration: none;
        }

        .person-rating {
            align-items: center;
            margin-top: 10px;
           
           
        }

        .stars {
            color: #ff9900;
            font-size: 16px;
        }

        .stars span {
            margin-right: 2px;
        }

        .rating-text {
            margin-left: 10px;
            color: #666;
            text-decoration: none;
        }

        /* Mobile responsive styles */
        @media screen and (max-width: 768px) {
            .person-card {
                flex-direction: column;
                text-align: center;
            }

            .person-photo {
                margin-bottom: 10px;
            }
        }

  .logo {
            width: 80px;
            margin-bottom: 0px;
                     
        }

     .icon {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            margin-right: 20px;
            
            border-radius: 50%; /* This makes the image round */
            object-fit: cover; /* Ensures the image covers the area without distortion */
        }

  

     .call-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 20px;
            
            border-radius: 50%; /* This makes the image round */
            object-fit: cover; /* Ensures the image covers the area without distortion */
        }
        
 
 .search-button{
 
 position:relative;
	   background-color: #3b4145;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 20px;
            display: flex;
            padding: 0px;
            align-items: center;
            transition: transform 0.3s ease-in-out;
/*             direction: ;  */
            text-align: center;
            padding:0 px;
            justify-content:center;
            font-size: 20px;
            color: white;
}
  
.search-container {
	position:relative;
	   background-color: white;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 0px;
            display: flex;
            padding: 10px;
            align-items: center;
            transition: transform 0.3s ease-in-out;
            margin-top: 0px;
}

.search-input {
	width: 100%;
	padding:10px 14px 10px 80px; /* left padding for icon */
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 16px;
	direction: rtl;
}
 .search-icon{
      position:absolute;
      top:50%;
      left:40px;
      transform:translateY(-50%);
      pointer-events:none;
      color:#888;
      font-size:20px;
 }
 .comment_area {
	width: 90%;
	padding:10px; 
	margin:10px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 16px;
	direction: rtl;
 }
 .location-container {
	position:relative;
	   background-color: #3b4145;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 20px;
            display: flex;
            padding: 0px;
            align-items: center;
            transition: transform 0.3s ease-in-out;
            direction: rtl;
 }
 .location-container p{
 		color: white;
 		font-size:20px;
 		margin: 10px;
	 }
 .image-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
    }
    .image-grid img {
    /*  width: 100%;
      height: auto;*/
      border-radius: 8px;
      object-fit: cover;
      display: block;
     height: 150px;  /* or width:100px */
    width: 100%;    /* keeps aspect ratio */
    object-fit: cover; /* optional: crops to fill box */
    }
    
    footer {
    	margin-top:20px;
      background: #222;
      color: #ccc;
      text-align: center;
      padding: 20px 10px;
    }
    footer a {
      color: #25d366;
      text-decoration: none;
      margin: 0 8px;
    }
    footer a:hover {
      text-decoration: underline;
    }
     .social-icons {
      margin: 10px 0;
    }
    .social-icons svg {
      width: 24px;
      height: 24px;
      fill: #ccc;
      transition: fill 0.3s;
    }
    
    .button-solid {
  background-color: #4CAF50;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}
.button-solid:hover {
  background-color: #45a049;
}

.button-outline {
  background-color: transparent;
  border: 2px solid #4CAF50;
  color: #4CAF50;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
}
.button-outline:hover {
  background-color: #4CAF50;
  color: white;
}

.button-gradient {
  background: linear-gradient(45deg, #6a5acd, #00bcd4);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.3s ease;
}
.button-gradient:hover {
  transform: scale(1.05);
}

.button-icon {
  background-color: #25d366;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
}
.button-icon:hover {
  background-color: #1ebe5d;
}
.button-icon i {
  font-size: 18px;
}

.open-rating-btn {
  background: #4CAF50;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}
.open-rating-btn:hover {
  background: #45a049;
}

/* Hidden rating box */
#ratingBox {
  display: none;
  margin-top: 20px;
  margin-left:50px;
  margin-right:50px;
  background: #fff;
  padding: 10px;
  /*border-radius: 10px;*/
  width: 100%;
  /*box-shadow: 0 4px 10px rgba(0,0,0,0.1);*/
}

/* Star styles */
.stars {
  display: flex;
  justify-content: space-between;
  font-size: 30px;
  cursor: pointer;
}
.star {
  color: #ccc;
  transition: color 0.2s;
  user-select: none;
  touch-action: none;
}
.star.selected,
.star.hovered {
  color: #FFD700;
}

.rank {
  margin-top: 10px;
  font-size: 18px;
  text-align: center;
}
 .rating-card {
            background-color: white;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 10px;
            display: flex;
            padding: 10px;
            align-items: right;
            font-size:18px;
            transition: transform 0.3s ease-in-out;
             text-decoration: none;
        }
        
 
     
    .whatsapp {
      width: 24px;
      height: 24px;
      fill: #ccc;
      transition: fill 0.3s;
    }