/* General styles */
body, html {
    font-family: Arial, sans-serif;
    margin: 0 ;
    padding: 0;
    height: 100%;
  }

    /* Media query for devices with a minimum width (typical for desktops) */
@media (min-width: 1024px) {
    body {
      width: 1200px; /* Set the body width to 800 pixels for desktop devices */
      margin: 0 auto; /* Center the body horizontally */
    }
  }

  /* Container grids */
  .main-container {
    display: grid;
    grid-template-columns: 10px auto 10px;
  }

  .middle-main-body {
    display: grid;
    grid-template: repeat(4, 1fr);
  }

    /* Navigation Menu styles */
.nav-menu {
    text-align: center;
    margin: 20px 0;
  }
  
  .nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .nav-menu li {
    display: inline-block;
    margin-right: 10px;
  }
  
  .nav-menu li:last-child {
    margin-right: 0;
  }
  
  .nav-menu a {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #333;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
  }
  
  .nav-menu a:hover {
    background-color: #333;
    color: #fff;
  }
  
  .overall-header {
    height: 400px;
    position: relative;
    margin-top: 10px;
    border-radius: 20px;
    overflow: hidden;
  }

  .header-main {
    display: grid;
    
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 10px;
    
    /*background-image: url('images/bg/headerwomanwide.jpeg');*/
    /*background-image: url('images/bg/womanheadercleaned.jpg');*/
    /*background-size: cover;
    background-position: center;*/
  }

  .overall-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 21, 37, .6);
    z-index: -1;
  }

  video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;

  }

  .left-side {
    display: flex;
    align-items: end;
  }
  .header-text {
    justify-self: left;
  }

  svg {
    
   
    /*font-family: 'Poiret One', serif;
    font-family: 'Sriracha', serif;
   font-family: 'Julee', serif;
    font-family: 'Megrim', serif;*/
    font-family: 'Baumans', serif;
    /*font-family: 'Trade Winds', serif;
    font-family: 'Akronim', serif;*/
  }

  svg text {
    font-size: 4rem;
    stroke-width: 3;
    
  }
  svg text.header-logo {
    letter-spacing: -1px;
    animation: 4s infinite alternate animate-logo;
  }

  svg text#anil {
    /* stroke: #4dc0c0; */
    stroke: #BCFD4C;
    animation: 4s infinite alternate animate-logo-anil;
  }

  svg text#tailor {
    stroke: #c24620;
    animation: 4s infinite alternate animate-logo-tailor;
  }

  @keyframes animate-logo-anil {
    0% {
      fill: transparent;
      stroke: #BCFD4C;
      stroke-width: 3;
      stroke-dashoffset: 25%;
      stroke-dasharray: 0 32%;
    }
    50% {
      fill: transparent;
      stroke: #BCFD4C;
      stroke-width: 3;
    }
    80% {
      stroke: transparent;
      fill: #BCFD4C;
      stroke-width: 3;
      stroke-dashoffset: -25%;
      stroke-dasharray: 32% 0;
    }
  }
  @keyframes animate-logo-tailor {
    0% {
      fill: transparent;
      /* stroke: #c24620; */
      stroke: #FF6A3D;
      stroke-width: 3;
      stroke-dashoffset: 25%;
      stroke-dasharray: 0 32%;
    }
    50% {
      fill: transparent;
      stroke: #FF6A3D;
      stroke-width: 3;
    }
    80% {
      stroke: transparent;
      fill: #FF6A3D;
      stroke-width: 3;
      stroke-dashoffset: -25%;
      stroke-dasharray: 32% 0;
    }
  }

  .header-text >h1 {
    /* color: rgb(106, 221, 221); */
    color: #BCFD4C;
    padding-left: 10px;
    width: 90%;
    font-size: 30px;
    font-family: 'Sriracha', serif;
    font-weight: 200;
    line-height: 30px;
    text-shadow: 4px 4px 4px #aaa;
  }

  .header-text >h2 {
    color: #fdfcfb;
    padding-left: 10px;
    font-size: 20px;
    width: 80%;
    font-family: 'Sriracha', serif;
    font-weight: 200;
    line-height: 25px;
    text-shadow: 4px 4px 4px #aaa;
  }
  
  .header-appointment-book {
    width: auto;
  }

  .appointment-book {
    width: 40%;
  }

  .header-appointment-book >a,
  .appointment-book >a {
    display: block;
    text-align: center;
    padding: 10px 20px;
    margin-left: 20px;
    border: 1px solid #333;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    transition: background-color 0.3s ease;
  }


  .header-appointment-book:hover >a,
  .appointment-book:hover >a {
    background-color: #333;
    color: #fff;
  }

  .header-review {
    width: 90%;
    justify-self: self-start;
    padding-left: 10px;
  }
  .book-your-appointment  {
    
    padding: 10px 20px;
    margin-left: 20px;
    border: 1px solid #333;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
  }

  .book-your-appointment:hover {
    background-color: #333;
    color: #fff;
  }

  .doctify-summary-box {
    padding: 5px 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #ffffff;
    font-size: 12px;
    box-shadow: rgba(2, 3, 3, 0.03) 0px 6px 10px, rgba(2, 3, 3, 0.02) 0px 1px 18px, rgba(2, 3, 3, 0.04) 0px 3px 
    /* Additional styles for each review box */
  }

  .doctify-summary-box:hover {
    transform: scale(1.05); 
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);  
  }
  .doctify-summary-box:not(:hover) {
    transform: scale(1); 
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);  
  }

  .ave-star-rating >span {
    color: #2ae8f5;
    font-size: 18px;
  }
  
  .verifyimageheader {
      float: none;
      height: 20px;
  }
  
/* BENEFITS SECTION */
.benefits-section {
    display: grid;
    margin: 0 0 10px 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 10px;
    grid-auto-flow: dense;
    background-color: #030303;
    border-radius: 20px;
    overflow:hidden;
}
.benefits-section .benefits-image-odd {
    grid-column: 1; /* Odd-numbered image divs in the left column */
    padding: 10px;
    
}

.benefits-section .benefits-image-even {
    grid-column: 2; /* Even-numbered image divs in the right column */
    padding: 10px;
  }
 
.benefits-section .benefits-text-odd {
grid-column: 2; /* Odd-numbered image divs in the left column */

}

.benefits-section .benefits-text-even {
    grid-column: 1; /* Even-numbered image divs in the right column */
  }
 /*
.benefits-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
*/
.benefits-image-odd img,
.benefits-image-even img {
    /*max-width: 100%; /* Ensure image resizes within its container */
    /*height: auto; /* Maintain aspect ratio */
    width: 100%;
    height: 100%;
    object-fit: hidden;
}

.benefits-image-odd:hover img,
.benefits-image-even:hover img {
  transform: scale(1.05); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow:hidden;
}

.benefits-image-odd:not(:hover) img,
.benefits-image-even:not(:hover) img {
  transform: scale(1); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.benefits-text-odd,
.benefits-text-even {
  display: flex;
 align-items: center;
  width: auto;
  padding: 10px 30px;
}

.benefits-text-odd:hover,
.benefits-text-even:hover {
  transform: translateY(-10px); 
  transition: transform 0.3s ease;
}
.benefits-text-odd:not(:hover),
.benefits-text-even:not(:hover) {
  transform: translateY(0px); 
  transition: transform 0.6s ease;
}

.benefits-text-odd >div,
.benefits-text-even >div {
  width: 100%;
  /*padding: 0 0px;*/
 
}
.benefits-text-odd h4,
.benefits-text-even h4 {
    color: #6d6a6a;
    margin: 0;
  text-align: center;
  font-size: 22px;
}
.benefits-text-odd p,
.benefits-text-even p {
    color: #cac7c7;
    margin: 0;
  text-align: center;
  width: 100%;
    /*text-align: center;*/
    font-size: 16px;
    padding-top: 10px;
    line-height: 25px;
}

/* REVIEWS ALL TYPES SECTION */

  .show-more-button-reviews,
.show-more-button-doctify,
.show-more-button-colleague  {
  
  padding: 10px 20px;
  border: 2px solid #333;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s ease;
}

.show-more-button-reviews:hover,
.show-more-button-doctify:hover,
.show-more-button-colleague:hover {
  background-color: #333;
  color: #fff;
}

.reviews-all {
  background-color: #8d8c8c;
  padding: 10px;
  margin: 10px 0;
  border-radius: 20px;
}

/* Doctify Reviews Carousel styles */
.doctify-reviews-carousel {
  margin: 20px 0px ;
  /*overflow: hidden;*/
  /*float:left;*/
}

.doctify-reviews-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  padding: 0 5px;
}

/* Styles for each Doctify review box */
.doctify-review-box {
  position: relative;
  background-color: #fdfbfb;
  padding: 5px 20px;
  border: 1px solid #9c9a9a;
  border-radius: 10px;
  box-shadow: rgba(2, 3, 3, 0.03) 0px 6px 10px, rgba(2, 3, 3, 0.02) 0px 1px 18px, rgba(2, 3, 3, 0.04) 0px 3px 
  /* Additional styles for each review box */
}

.doctify-review-box:hover {
  transform: scale(1.05); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.doctify-review-box:not(:hover) {
  transform: scale(1); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}



/* Star icon styles */
.star-rating {
  unicode-bidi: bidi-override;
  color: gold;
  font-size: 12px;
  display: inline-block;
  position: relative ;
  padding: 0;
  margin: 0;
  
}

.star-block {
 display: block;
}

.star-block >span {

  overflow: hidden;
  color: #2ae8f5;
  font-size: 18px;
}

.rating {
  font-size: 12px;
  float: none;
  text-align: right;
  line-height: 15px;
}

.review-header {
  font-size: 16px;
  display: block;
  text-align: center;
  margin-top: 0px;
  padding-top: 0px;
}

.review-text, .testimonial {
  font-size: 12px;
  font-style: italic;
  
}
.consulted-for {
  font-size: 10px;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 5px;
  color: #030303;
}

.kwords {
  padding-bottom: 15px;
}
.kwords >div {
  font-size: 10px;
  /*padding-top: 5px;
  padding-bottom: 10px;
  color: #3505e4;*/
  /*display: inline-block;*/
 
  text-align: center;
  padding: 5px 10px;
  margin-bottom: 2px;
  border: 0px solid #333;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  background-color: #e7e5e5;
}
.review-date {
  font-size: 12px;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 30px;
  float: right;
}

.verifyimage {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%; /* Set the width of the image */
  text-align: center;
}
.verifyimage img {
  width: 100%; /* Ensure the image spans the width of its container */
  height: auto; /* Maintain the image's aspect ratio */
  /* Other styles for the image */
}


.review-header h4 {
  margin: 10px;
}

 .year {
  font-size: 12px;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  float: left;
}

.feedback  {
  
  bottom: 0px;
  right: 0px;
  display: block;
  float: right;
  
}
 .feedback >img {
  width: 30%;
  bottom: 0px;
  right: 0px;
  float: right;
 }

/* THANK YOU NOTES */

.testimonial {
  padding: 20px;
  border: 1px solid #929090;
  border-radius: 10px;
  margin: 0 8px 20px 8px;
  background-color: #dbdada;
  box-shadow: rgba(2, 3, 3, 0.03) 0px 10px 10px, rgba(2, 3, 3, 0.02) 0px 1px 18px, rgba(2, 3, 3, 0.04) 2px 3px 
  /* You can add additional styles as needed */
}


/* Testimonials Carousel styles */
.testimonials-carousel {
  margin: 20px 0;
  overflow: hidden;
  float: left;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding 0 5px;
}
.imgthanks {
  position: relative;
  top: 0px;
  left: 0px;
  display: block;
  margin-top: 20px;
  
  /*transform: translateX(10%);*/
  width: 60px; /* Set the width of the image */
}

.testimonial:hover {
  transform: scale(1.03); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.testimonial:not(:hover) {
  transform: scale(1); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* COLLEAGUE FEEDBACK SECTION */

.colleague-reviews-carousel {
  margin: 20px 0px ;
  /*overflow: hidden;*/
}

.colleague-reviews-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 8px 20px 8px;
}

/* Styles for each colleague review box */
.colleague-review-box {
  padding: 10px 20px 10px 20px;
  padding-bottom: 10px;
  border: 1px solid #9b9999;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: rgba(2, 3, 3, 0.03) 0px 10px 10px, rgba(2, 3, 3, 0.02) 0px 1px 18px, rgba(2, 3, 3, 0.04) 2px 3px 
  /* Additional styles for each review box */
}

.colleague-review-box:hover {
  transform: scale(1.05); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.colleague-review-box:not(:hover) {
  transform: scale(1); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ABOUT SECTION */
.about-section {
  margin: 10px 0;
  display: flex;
  background-color: #cac9c9;
  padding: 10px;
  border-radius: 20px;
}

.about-content {
  flex-grow: 2; 
}

.about-content h2 {
  margin-top: 0;
}

.about-images {
  flex-grow: 1;
}
.about-images img {
  height: auto;
  width: 200%;
}
/* VIDEOS SECTION */

.videos-section {
  margin: 10px 0;
  background-color: #ece6e6;
  padding: 10px;
  border-radius: 20px;
}
.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 10px;
  list-style: none;
}

.grid-item {
  position: relative;
  height: 120px; /* Fixed height for grid cells */
  /*overflow: hidden;*/
}

.grid-item:hover {
  transform: scale(1.05); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.grid-item:not(:hover) {
  transform: scale(1); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.grid-list > a {
  display: block;
  text-decoration: none;
}

/* Style for the background image */
.grid-item .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  z-index: 1;
}

/* Style for the caption text */

.grid-item .caption {
  position: absolute;
  top: 0px;
  left: 0;
  width: 95%;
  padding: 5px;
  font-size: 12px;
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
  color: rgb(39, 42, 230); /* Caption text color */
  z-index: 2;
}

/*FEES SECTION */

.fees-section {
  margin: 10px 0;
  background-color: #f3f1f1;
  padding: 10px;
  border-radius: 20px;
}

.fees-container {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 10px;
}

.fees-insured h2 {
  margin-top: 0;
}
.insurer-logo:hover {
  transform: scale(1.1); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.insurer-logo:not(:hover) {
  transform: scale(1); 
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* APPOINTMENTS SECTION */

.appointment-section {
  margin: 10px 0;
  background-color: #fcf9f9;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e2dbdb;
}

.main-content {
  background-color: #8d8c8c;
  padding: 10px;
  margin: 10px 0;
  border-radius: 20px;
}

.overall-footer {
  font-size: 10px;
}

/*  CONTACT FORM */

.heading {
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: center;
  gap:30px ;
}

.heading-text {
  color: #F4DB7D;
  width: 90%;
  font-size: 12px;
}
/* Style inputs with type="text", select elements and textareas */
input[type=text], input[type=email], select, textarea {
  display: block;
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
 /* background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;*/
  cursor: pointer;
  
  padding: 5px 30px;
  margin-top: -10px;
  border: 1px solid #333;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s ease;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #333;
  color: #fff;
}

/* Add a background color and some padding around the form */
.contact-container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

.address-container {
  display: flex;
  gap: 20px;
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin: 10px 0;
  font-size: 14px;
}

.private-address {
  background-color: #cec6c6;
  padding: 20px;
}

.nhs-address {
  background-color: #968f8f;
  padding: 20px;
}

  /* Responsive styles for narrow screens */
  @media screen and (max-width: 768px) {
    
    .overall-header {
    height: 500px;
    }

    .header-review {
        width: 90%;
    }
    .header-main {
      grid-template-columns: 1fr 2fr;
    }

    .nav-menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-menu li {
    display: block;
    margin-bottom: 10px;
    }
    .benefits-section {
        grid-template-columns: 1fr; /* Single column for narrow displays */
    }
    .benefits-section .benefits-image-odd,
    .benefits-section .benefits-text-odd,
    .benefits-section .benefits-image-even,
    .benefits-section .benefits-text-even {
      grid-column: 1; /* Make all divs occupy the single column */
    }
    .benefits-section .benefits-text {
      background-color: lightgray; /* Optional: Add background color to text divs for visibility */
    }
    .testimonials-container, .doctify-reviews-container, .colleague-reviews-container {
      grid-template-columns: 1fr; /* Display as single column */
    }
    .book-your-appointment  {
      height: 75px;
      font-size: 18px;
      border-radius: 10px;
    }
    .appointment-book {
      width: 80%;
    }
    .grid-item .caption {
      font-size: 18px; 
    }
    .grid-item {
      height: 200px; /* Fixed height for grid cells */
      /*overflow: hidden;*/
    }
    .about-section {
     flex-direction: column;
    }
    .about-images {
      align-self: center;
    }
    .about-images img {
      height: 300px;
      width: auto;
    }
    .address-container {
      flex-direction: column;
    }
}