:root{
    --purple: #22114f;
	--lighter: #eeeeee;
    --black: #192a56;
    --light-color: #424141;
    --box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
}
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", serif;
	text-decoration: none;
	color: inherit;
}
header{
	display: flex;
	justify-content: space-between;
	margin: 15px, 0, 15px, 0;
	align-items: center;
	z-index: 1000;
    box-shadow: var(--box-shadow);
}
.logo-name img{
	color: var(--purple);
	margin: 0;
	padding: 0;
	width: 80px;
}
.nav-menu {
    display: flex;
    gap: 20px;
	transition: all 0.3s ease;
}
nav a{
	font-size: 18px;
    border-radius: .5rem;
    padding:  1.5rem;
    color: var(--black);
}
nav a:hover{
    color: var(--purple);
}
.appointment {
	margin: 0px 20px;
    background: var(--purple);
    color: var(--lighter);
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    position: relative;
	font-weight: 500;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
}
.appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg, var(--purple), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    transition: transform 0.4s ease;
    transform: translateX(0);
    z-index: 0;
}
.appointment:hover::before {
    transform: translateX(100%);
}

.appointment:hover {
    background: var(--lighter);
    color: var(--purple);
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.appointment {
    z-index: 1;
    position: relative;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
	margin-right: 2.5rem;
    color: var(--black);
}


/* ----------------services ----------------- */



.services {
    background-color: #f8f8f8; /* Light background */
}

.title {
    text-align: center;
    color: var(--purple);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.3;
}
/* -------------------------------------------- */
.section-service {
    position: relative;
    width: 100%; /* Ensures the div fills the entire width */
    max-height: 480px;
    overflow: hidden;
}

.section-service img {
    width: 100%; /* Makes the image responsive */
    object-fit: cover;
    height: auto;
    display: block;
    filter: brightness(50%) hue-rotate(270deg); /* Adds purple tint and slight transparency */
}

.section-service .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the text */
    color: white;
    font-size: 2.4rem;
    text-align: center;
	font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    z-index: 2; /* Ensures the text is on top */
    padding: 0 10px;
    white-space: nowrap;
}

.section-service::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 0, 128, 0.3); /* Purple overlay */
    z-index: 1; /* Places the overlay below the text */
}



/* ------------------------------------- */
.services-container { /* Style the container */
    max-width: 1200px; /* Limit container width */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px; /* Spacing between cards */
    padding: 20px; /* Add padding to container */
}

.service-card {
    
    background-color: white;
    border-radius: 8px;
    max-width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden; /* Prevent content overflow */
}

.service-card img {
    width: 100%; /* Responsive width */
    height: auto; /* Maintain aspect ratio */
    max-height: 300px; /* Limit height */
    object-fit: cover; /* Crop image instead of distorting */
    border-radius: 8px; /* Rounded corners */
    margin-bottom: 20px;
}

.card-content { /* Style the content wrapper */
    text-align: center; /* Center text within the card */
}

.service-card h2 {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 10px;
    margin-left: 15px;
    font-weight: 400;
    color: var(--purple);
}
.fa-stethoscope{
    padding: 15px;
    color: green;
}
.fa-medkit{
    padding: 15px; 
    color: red;
}
.fa-cutlery{
    padding: 15px; 

}
.fa-clock-o{
    padding: 15px; 

}
.fa-credit-card{
    padding: 15px; 
    color: blue;

}
.fa-plus{
    padding: 15px; 
    color: red;
}
.fa-users{
    padding: 15px; 
    color: blue;
}
.fa-plus-square{
    padding: 15px; 
    color: red;
}

.fa-wifi{
    padding: 15px; 
    color: green;
}

.fa-bolt{
    padding: 15px;
    color: orange;

}
.fa-car{
    padding: 15px;
    color: blue;
}
.service-card p {
    line-height: 1.6;
    font-size: 1rem;
    text-align: left;
    margin-left: 15px;
    margin-bottom: 0; /* Remove default bottom margin */
    flex-grow: 1; /* Allow paragraph to expand */
}

/* ---------------------Footer----------------------- */
.footer {
	background-color: #0f172a;
	color: #e5e7eb;
	padding: 40px 20px;
	font-family: Arial, sans-serif;
  }
  
  .footer-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
  }
  
  .footer-column {
	flex: 1;
	min-width: 220px;
  }
  
  .footer-logo {
	display: flex;
	align-items: center;
	gap: 10px;
  }
  
  .footer-logo img {
	width: 40px;
	height: 40px;
  }
  
  .footer h4 {
	margin-bottom: 10px;
	font-size: 18px;
	color: #facc15;
  }
  
  .footer p,
  .footer ul {
	margin: 0;
	line-height: 1.6;
  }
  
  .footer ul {
	list-style: none;
	padding: 0;
  }
  
  .footer ul li {
	margin-bottom: 5px;
  }
  
  .footer ul li a {
	color: #e5e7eb;
	text-decoration: none;
  }
  
  .footer ul li a:hover {
	text-decoration: underline;
  }
  
  .working-hours strong {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
  }
  
  .social-icons {
	display: flex;
	gap: 15px;
	margin-top: 10px;
  }
  
  .social-icons a {
	color: #e5e7eb;
	font-size: 20px;
	text-decoration: none;
  }
  
  .social-icons a:hover {
	color: #facc15;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
	.footer-container {
	  flex-direction: column;
	  align-items: flex-start;
	  gap: 30px;
	}
  
	.footer-column {
	  min-width: 100%;
	}
  }
  
  @media (max-width: 480px) {
	.footer {
	  padding: 20px 10px;
	  text-align: center;
	}
  
	.footer-container {
	  align-items: center;
	}
  
	.footer-logo h3 {
	  font-size: 20px;
	}
  
	.footer ul li a {
	  font-size: 14px;
	}
  
	.social-icons a {
	  font-size: 18px;
	}
  }









/*--------- Responsivenes-------------- */

@media (max-width: 768px) {
	.nav-menu {
        display: none;
        flex-direction: column;
		z-index: 1000;
        position: absolute;
        top: 60px;
        background: #FFF;
        box-shadow: var(--box-shadow);
        padding: 10px;
        width: 100%;
        text-align: center;
    }
	.nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
    .title {
        font-size: 1.8rem;
    }
    .services-container {
        grid-template-columns: 1fr; /* Single column layout */
    }
    .service-card {
        width: 100%; /* Ensure the card fills the width */
        flex-direction: column;

    }
    .service-card h2 {
        font-size: 1.3rem;
    }
    .section-service .title {
        font-size: 1.5rem; /* Smaller font size for tablets */
        padding: 0 15px; /* Reduces padding */
    }
  }
  
 
  /* Media Query for Extra Small Screens */
  @media (max-width: 480px) {
	.hero-text {
	  font-size: 9vw; /* Further scale down heading font size */
	}
  
	.span {
	  font-size: 18px; /* Reduce font size for span */
	}
  
    .title {
        font-size: 1.5rem;
    }
    .service-card h2 {
        font-size: 1.1rem;
    }
    .service-card p {
        font-size: 0.9rem;
    }
    .section-service .title {
        font-size: 1.2rem; /* Smaller font size for mobile devices */
        padding: 0 10px; /* Further reduce padding */
    }

  }
