/* Resetting some default styles */

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
  z-index: 1000;
  display: none; /* Hidden by default */
}

.cookie-consent-banner p {
  margin: 0;
  padding-right: 10px;
  display: inline-block;
}

.cookie-consent-banner .btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  display: inline-block;
}

.cookie-consent-banner .btn:hover {
  background-color: #45a049;
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Times New Roman', serif;
    background-color: #f5f5f5;
    background-image: url("../assets/images/wallpaper3.jpg");
  }
  
  .container {
    width: 80%;
    margin: auto;
  }
  
  header {
    background-color: #ffffffee;
    padding: 0px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0; /* Ensure header is at the top */
    justify-content: space-between;
    align-items: center;
    /*text outline*/
  }
  
  .logo img {
    max-width: 150px;
  }

  nav ul {
    list-style: none; ;
  }
  
  nav ul li {
    display: inline;
    margin-right: 20px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #fffdfd00;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    position: relative; /* Required for pseudo-element */   
  }
  
  /* Neon glow effect */
  nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #00ffea;
    box-shadow: 0 0 10px #00ffea, 0 0 20px #00ffea, 0 0 40px #00ffea, 0 0 80px #00ffea;
    border-radius: 20px;
    animation: neon 1.5s infinite alternate; 
    opacity: 0;
    transition: opacity 0.3s ease;   
  }
  
  nav ul li a:hover::after {
    opacity: 1;
   
  }
  nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    position: relative; /* Required for pseudo-element */  
}

/* Define the neon animation */
@keyframes neon {
    0% {
        text-shadow: 0 0 10px #00ffea, 0 0 20px #91ff00, 0 0 40px #ff03a7, 0 0 80px #d60aff;
    }
    100% {
        text-shadow: 0 0 15px #00ffea, 0 0 30px #00ffea, 0 0 60px #00ffea, 0 0 120px #00ffea;
    }
}

nav ul li a:hover {
    animation: none; /* Remove animation on hover */
}
  
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1500; /* Ensure it's above other content */
  }

  /* Animate the hamburger menu */
.hamburger .line:first-child {
    transform: rotate(0); /* Initial state: no rotation */
  }
  
  .hamburger.active .line:first-child {
    transform: rotate(45deg); /* Rotates 45 degrees when active */
  }
  
  .hamburger .line:nth-child(2) {
    opacity: 1; /* Always visible */
  }
  
  .hamburger.active .line:nth-child(2) {
    opacity: 0; /* Fades out when active */
  }
  
  .hamburger .line:last-child {
    transform: rotate(0); /* Initial state: no rotation */
  }
  
  .hamburger.active .line:last-child {
    transform: rotate(-45deg); /* Rotates -45 degrees when active */
  }
  
  .line {
    width: 30px;
    height: 3px;
    background-color: #555;
    margin: 5px;
    transition: transform 0.3s ease;
  }
  
  .nav-links {
    display: flex; /* Keep element displayed but off-screen on small screens */
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    align-items: center;

  }
  
  /* Hide the nav links initially on small screens */
  @media screen and (max-width: 768px) {
    .nav-links {
      flex-direction: column;
      position: fixed;
      top: 0;
      right: 0;
      height: 100vh;
      width: 100%;
      background-color: #fff;
      padding-top: 80px; /* Adjust according to navbar height */
      transition: transform 0.3s ease-in-out;
      z-index: 1400; /* Ensure it's above other content */
      transform: translateX(100%); /* Initially translated off-screen */
    }
  
    .nav-links.active {
      transform: translateX(0);
    }
  
    nav ul li {
      margin: 20px 0;
    }
  
    /* Show the hamburger menu */
    .hamburger {
      display: flex;
    }
    header {
    background-color: #00000000;
    box-shadow: none;
}
  }
  
  /* Animate the hamburger menu */
  .hamburger .line:first-child {
    transform: rotate(0);
    animation: neon 1.5s infinite alternate; /* Apply animation to all links */

  }
  
  .hamburger .line:nth-child(2) {
    opacity: 1;
    animation: neon 1.5s infinite alternate; /* Apply animation to all links */

  }
  
  .hamburger .line:last-child {
    transform: rotate(0);
    /*neon animation*/
    animation: neon 1.5s infinite alternate; /* Apply animation to all links */

   


  }
  

.hero {
    justify-content: center;
    align-items: center;
    color: #000;
    text-align: center;
    background-color: #fff;
   
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.628);
    padding: 1rem;
   
    margin-bottom: 90px;
    margin-top: 100px;
    text-shadow: 2px 2px 4px #000000;
    background-image: url("../assets/images/DaycenterInteriorExample.avif");
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
    /* make image fully cover */
    background-size: cover;

}
.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero p {
    font-size: 1.5rem;
    color: #ffffff;
    align-self: center;
    margin-bottom: 40px;
    padding: 0 40px;
}



.text-box {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.628);
    padding: 1rem;
    margin: 1rem;
    width: 200px; /* Adjust width as needed */
}

.large {
    flex: 2; /* Takes up twice the space as the small box */
}

.small {
    flex: 1; /* Takes up the remaining space */
}

.text-box h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.text-box p {
    font-size: 1rem;
    color: #000;
}

section {
    padding: 2rem;
    margin: 2rem;
    margin-top: 10rem;
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.628);
}

footer {
    background-color: #16004a;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

#about {
    margin-top: 10rem;
    background-color: #017fe0;
    background-color: #0274cc;
 
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #004579;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.966);
}
#about img{
    position: absolute;
    /*change the image to be green*/
    filter: invert(57%) sepia(63%) saturate(1119%) hue-rotate(46deg) brightness(101%) contrast(93%);
    opacity: 0.5;
 
   
}

.vision{
    background-color: #0274cc;
    background-color: #1f9b00;
    padding: 2rem;
    display: flex;
    /*make bottom of border curved*/
      border-bottom-left-radius: 40px;
      border-bottom-right-radius: 40px;
      border-top-left-radius: 40px;
        border-top-right-radius: 40px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.628);
        border: 1px solid #025768be;
  }
  .vision {
    max-width: 800px;
    margin: auto;
    display: flex;
    /*make items columns*/
      flex-direction: column;
  
  }
  .vision h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px #00000091;
  }
  .vision p {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
  }
  
  .vision ul {
    list-style: hotpink;
    padding-left: 0;
    display: flex;
    flex-direction: column;
   
    
  }
  .vision li {
    font-size: 1.15rem;

    text-shadow: 2px 2px 4px #00000091;
    

    
  }
  .vision ul li {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex ;
    
  }
  .vision ul li:first-child {
    margin-top: 0;
    
  }
  .vision ul li:last-child {
    margin-bottom: 0;
  }

  li::marker {
    color: hotpink;
    /* make triangle */
    content: "";
    /* space on right */
    /* change the bullet size*/
    font-size: 1.5rem;
  
    
  }
/* //vision strong text property colour */
.vision  strong {
    color: #f6ff00;
    color: #00ffd9;
    font-weight: 900;
    
   font-size: 1.2rem;

}

 


  .pin {
    position: relative; /* Make the pin container relative positioned */
    display: inline-block; /* Make it inline-block */
    margin: 0 auto; /* Center it horizontally */
    width: 50px;
    height: 50px;
    /*make image higher so it sits at the top of the about section without using top*/;
    margin-top: -75px;

}



.pin img {
    position: absolute; /* Make the pin absolute positioned */

    left: 50%; /* Position it horizontally at the center */
    transform: translateX(-50%); /* Center it horizontally within its container */
    z-index: 1; /* Ensure it's above other content */
    width: 50px;
    height: 50px;
    /*make image higher so it sits at the top of the about section without using top*/;
    margin-top: -75px;

}
.pin img {
    display: none;

}

#about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

#about p {
    font-size: 1.2rem;
    color: #ffffff;
}

#about li {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

#about a {
    color: #ffffff;
}

#about .container {
    /* max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px; */
    
    
}

#about .content {
    /* background-color: #0274cc;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.434); */
}

#about h1 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 20px;
}

#about p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px;
}

#about .highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#about .highlight {
    flex: 1;
    margin-right: 20px;
    background-color: #df7e00;
    border: 1px solid #452601;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.299);
     
    
}

#about .highlight h2 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px #000000;
}

#about .highlight p {
    font-size: 16px;
    line-height: 1.4;
    color: #ffffff;
 
}

@media screen and (max-width: 600px) {
    #about .highlight {
        flex: 1 1 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
}
@media screen and (min-width: 770px){
   
  #about {
    padding: 0px;
    padding-top: 40px;
    padding-bottom: 40px;
}

#about .highlight {
    border: 0px solid #452601;
   
    margin-bottom: 20px;


}
}


@media screen and (max-width: 968px) {
    #about .highlight {
      border: 0px solid #452601;
      flex-direction: column;
      margin-bottom: 20px;
    }
    #about {
      padding: 0px;
      padding-top: 40px;
      padding-bottom: 40px;
      };
}

  



.location {
    background-color: #05a3c2be;
    background-color: rgb(202, 202, 3);
    /* background-color: rgb(222, 218, 2); */
    
    padding: 2rem;
    display: flex;
    /*make bottom of border curved*/
      border-bottom-left-radius: 40px;
      border-bottom-right-radius: 40px;
      border-top-left-radius: 40px;
        border-top-right-radius: 40px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.628);
        border: 1px solid #025768be;
  }
  .location {
    max-width: 800px;
    margin: auto;
    display: flex;
    /*make items columns*/
      flex-direction: column;
  
  }
  .location h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px #00000091;
  }
  .location p {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    text-shadow: 0px 0px 5px #00000091;
  }
  
  .location ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    
  }
  .location ul li {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex ;
    text-shadow: 0px 0px 4px #00000091;
    
  }
  .location ul li:first-child {
    margin-top: 0;
    
  }
  .location ul li:last-child {
    margin-bottom: 0;
  }

 #services {
    margin-top: 10rem;
    background-color: #002fc9eb;
    background-color: #7402cc;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.966);
    border: 1px solid #36005f;
    place-items: center;
 }

  #services h1 {
      font-size: 2rem;

      color: #ffffff;

  }

  #services p {
      font-size: 1.2rem;
      color: #ffffff;
  }



 .serv__container {
  display: grid;
  place-items: center;
  margin-inline: 1.5rem;
  padding-block: 5rem;
 

}

.card__container {
  display: grid;
  row-gap: 3rem;

}

.card__article {
 position: relative;
}

.card__image{
  display: block;
  max-width: 100%;
  height: auto;
  width: 320px;
  height: 300px;
  border-radius: 1.5rem;

  border: 1.5px solid #000000;
  transition: transform 1s;
  
}

.card__content {
  width: 280px;
  background-color: #ffffff;
  padding: 1.5rem 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.628);
  border-radius: 1rem;
  position: absolute;
  bottom: -9rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 1s 1s;
}

.card__description{
  display: block;
  font-size: 1rem;
  margin-bottom: .25rem;
}
/* title for the card */
.card__header{
  
 
  justify-content: space-between;
  align-self: center;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}
.card__article:hover .card__header{
  color: #1cff49;
  transition: color 1s;
}

.card__article:hover .card__image{
  border: 2px solid #1cff49;
  transition: border 2s;

}


.card__title{
  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
  margin-bottom: .75rem;
}



.card__button{
  text-decoration: none;
  font-size: 0.85rem;
  color: #000;
  font-weight: 500;
}

.card__button:hover{
  text-decoration: underline;
}

.card__article:hover .card__content{
  animation: show-content 1s forwards;
  opacity: 1;
  transition: opacity 1s;
}

.card__article:hover{
 
  animation: remove-overflow 2s forwards;

}

.card__article:not(:hover){
  animation: show-overflow 3s forwards;
}

.card__article:not(:hover) .card__content{
  animation: remove-content .8s forwards;
  /* opacity: 0;
  transition: opacity 3s; */
}

@keyframes show-content {
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(-7rem);
  }
}

@keyframes remove-overflow {
  to{
    overflow: initial;
  }
}

@keyframes remove-content {
  0% {
    transform: translateY(-7rem);
  }
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(.5rem);
  }
}

@keyframes show-overflow {
  0% {
    overflow: initial;
    pointer-events: none;
  }
  50% {
    overflow: hidden;
  }
   
}

@media screen and (max-width: 349px) {
  .card__image{
    width: 200px;
   height: 240px;
  }

  .card__content{
    max-width: 140px;
  }
  .serv__container {
  
    margin-inline: .5rem;

  }
}

@media  screen and (min-width: 340px) {
  .serv__container{
    margin-inline: 1rem;
    
  }
  .card__image{
    width: 300px;
  }

  .card__content{
   
  
    width: 200px;

  }
  .serv__container {
  
    margin-inline: 0.5rem;
  
  }
}
@media  screen and (min-width: 400px) {
  .serv__container{
    margin-inline: 1rem;
    
  }
  .card__image{
    width: 350px;
  }

  .card__content{
   
  
    width: 200px;

  }
  .serv__container {
  
    margin-inline: 0.5rem;
  
  }
}

@media  screen and (min-width: 768px) {
  .card__container{
   
    column-gap: 1.5rem;

  }
}

@media  screen and (min-width: 960px) {
  .card__container{
    grid-template-columns: repeat(2,1fr);
    column-gap: 1.5rem;

  }
}



@media  screen and (min-width: 1120px) {
  .serv__container {
   
  }

  .card__container{
   grid-template-columns: repeat(2,1fr);
  }

  .card__image{
    width: 348px;
  }

  .card__content{
    width: 316px;
    padding-inline: 2.5rem;
  }


}

@media screen and (min-width: 1200px) {
  .card__container{
    grid-template-columns: repeat(3,1fr);
  }

  .card__image{
    width: 320px;
  }

  .card__content{
    width: 280px;
    padding-inline: 2rem;
  }
  
}
  
/* 
#services {
    margin-top: 10rem;
    background-color: #002fc9eb;
    background-color: #7402cc;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.966);
    border: 1px solid #36005f;

}
#services h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

#services p {
    font-size: 1.2rem;
    color: #ffffff;
}

#services li {
    margin-bottom: 0.5rem;
    color: #000000;
}

#services a {
    color: #000000;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
  }
  
  .service-card {
    width: 30%;
    background-color: #009e0b;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    margin-bottom: 2rem;
    text-align: center;
    
    transition: all 0.3s ease;
  }


  
  .service-card:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.484);

    transform: translateY(-10px) translateX(10px);
    
    border-bottom-left-radius: 30px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.484);
    transform: translateY(-10px) translateX(10px);
    border-bottom-left-radius: 30px;
  
    border-bottom: #003103 3px solid;
   border-left: #002203 2px solid ;


  
    
  }

  
  .service-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fffdfd;
    text-shadow: 2px 2px 4px #000000;
  }
  
  #services .service-card p {
    font-size: 1rem;
    color: #fffdfd;
  }
  
 
  .service-card {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    
  }
  
  .service-card h3,
  .service-card p {
    flex: 1; 
  }
  .card1 {
    background-image: url("../assets/images/DaycenterInteriorExample.avif");
    background-position: center;
    background-repeat: no-repeat;
   
    background-size: cover;
  }
  .card2
  {
 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  }
  
  /* Media Queries for Further Adjustments */
  @media (max-width: 768px) {
    .service-card {
      width: 45%;
    }
  }
  
  @media (max-width: 480px) {
    .service-card {
      width: 100%;
    }
  }
 */



#gallery {
    margin-top: 10rem;
    background-color: #333;
}

#gallery h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}
#contact {
    margin-top: 10rem;
    background-color: #8400ff;
    background-color: #ab082bec;
    border: 1.4px solid #530000a6;
    margin-bottom: 10rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.966);
}




.contact-form {
    margin-top: 2rem;
  }
  #contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px #000000;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px #000000;
    font-size: 1.2rem;
  }

  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    border: 1.5px solid #6a0000;
    
    /* color inward shadow*/
    box-shadow: inset 0 0 10px #000000;
      
  }
  
  textarea {
    resize: vertical;
  }
  
  #contact button[type="submit"] {
    background-color: #4f00af;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    /* shadow*/
    box-shadow: 0 0 20px rgb(26, 7, 148);
  
    transition:  0.3s ease;

    
  }
  
  #contact button[type="submit"]:hover {

    background-color: #39017c;
    box-shadow: inset 0 0 10px #9500ff;


    transition: 0.3s ease ;
  }

  
#contact a {
  color: #00fbff; /* Set the color to white */
  text-decoration: none; /* Remove underline */
}

#contact a:hover {
  text-decoration: underline; /* Add underline on hover */
}


footer p {
    margin: 0;
    
}

footer a {
  color: #00fbff; /* Set the color to white */
  text-decoration: none; /* Remove underline */
}

footer a:hover {
  text-decoration: underline; /* Add underline on hover */
}

.btn {
    display: inline-block;
    background-color: #333333;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #555;
}
