/* Common Slider */
.tg-slider {
    margin: 40px auto;
    max-width: 1100px;
    padding: 20px;
  }
  .tg-slider .slick-slide {
    padding: 10px;
  }
  
  /* Testimonial Card */
  /* .tg-testimonials .tg-slide {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
    min-height: 420px;
  } */
  
  /* Quote icon top-right */
  /* .tg-testimonials .tg-slide::before {
    content: "❞";
    position: absolute;
    top: 0;
    right: 0;
    background: #08387f;
    color: white;
    font-size: 28px;
    border-radius: 0 20px 0 100px;
    padding: 10px 20px;
  }
   */
  /* Avatar */
  /* .tg-testimonials .testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
  } */
  
  /* Client name */
  /* .tg-testimonials h3 {
    color: #08387f;
    margin: 10px 0 5px;
    font-weight: bold;
    font-size: 18px;
  }
   */
  /* Subtitle */
  /* .tg-testimonials .subtitle {
    color: #f37839;
    font-size: 15px;
    margin-bottom: 10px;
  } */
  
  /* Stars */
  /* .tg-testimonials .stars {
    color: #f37839;
    font-size: 20px;
    margin-bottom: 15px;
  } */
  
  /* Content */
  /* .tg-testimonials .tg-content {
    font-size: 15px;
    color: #08387f;
    line-height: 1.6;
    max-width: 95%;
    margin: 0 auto;
  } */


  .container-gallery-manager  { padding: 89px;
    max-width: 100%;
    margin: 0 auto;
}
  .container-gallery-manager .product-image-manager { display: flex; flex-wrap: wrap; gap: 10px; }
  .container-gallery-manager .image-container { width: 145px; border: 1px solid #ccc; padding: 5px; background: #fff; position: relative; }
  .container-gallery-manager  .on-image-controls { position: absolute; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.8); text-align: center; z-index: 10; display: flex; justify-content: center; gap: 6px; padding: 5px; }
  .container-gallery-manager  .fa { cursor: pointer; }
  .container-gallery-manager  .picked-as-primary { border: 2px solid #2ecc71; }
  .container-gallery-manager  .center-container { position: relative; padding-top: 100%; text-align: center; }
  .container-gallery-manager .center-container img { max-width: 100%; max-height: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
  .container-gallery-manager .delete-confirm { display: none; background: #c0392b; color: white; padding: 4px 8px; border-radius: 3px; }
  .container-gallery-manager .delete-confirm.active { display: inline-block; }

  /* Image Wrapper for consistent size across sliders */
.tg-image-wrapper {
    width: 100%;
    height: 320px; /* adjust as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }
  
  .tg-gallery .tg-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .tg-slide {
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    background: #fff;
    text-align: center;
  }
  /* .testimonial-avatar {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto 15px;
  } */
  .stars {
    color: #f39c12;
    font-size: 1.2em;
  }
  

/* 
   .testimonial-section .tg-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }
   .testimonial-section {

        position: relative;
        height: 100%;
        color: #262626bf;
        
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 60px 0px;
    }
    .testimonial-section  h2{
        color:#293c86}
      .testimonial-section  h3
      {
        color:#293c86}
    .testimonial-section .overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
   
         background: #f2f2f2 url('https://dev.studentadvisor.co.nz/wp-content/uploads/2025/07/testimonial-background-2.png') 0 0  no-repeat;
         background-size: 100%;
        z-index: 1;
    } */
    
    .slider-group {
        background-color: #ffffff;
    }
  /* .testimonial-container {
    z-index: 2;
    max-width: 800px;
    padding: 30px;
    position: relative;
  } */
  
  .title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #293c86;
}
  .decorative-line {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  /* .testimonial-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .testimonial {
    display: none;
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial.active {
    display: flex;
  }
   */
  .client-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #fff;
  }
  
  /* .testimonial-text {
    font-size: 18px;
    margin-bottom: 15px;
    max-width: 600px;
  }
   */
  .client-name {
    font-weight: bold;
    font-size: 18px;
  }
  
  .prev,
  .next {
    background-color: transparent;
    border: none;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    z-index: 10;
  }
  /* .testimonial-section .prev,
  .testimonial-section .next  {
    color:#293c86;
  }
  .testimonial-section p {
    font-weight: 300;
  }
  .testimonial-info-main {
    color: #000;
} */
 

  .prev {
    left: -60px;
  }
  
  .next {
    right: -60px;
  }

  .slick-prev:before, .slick-next:before {
    
    color: #3a3737;
 
}
/* .slick-prev:after, .slick-next:after {
    
    color: #293c86;
 
} */

.gallery-section .slick-prev:before,
.gallery-section .slick-next:before {
    color: #293c86;
}

/* .testimonial-section .prev:hover, .testimonial-section .next:hover {
    color: #293c86;
}
.testimonial-section .prev, .testimonial-section .next {
    color: #5f6da4;
}
  @media screen and (max-width: 768px) {
    .prev, .next {
      left: 10px;
      right: 10px;
      font-size: 30px;
    }
  }
  
.testimonial-meta {
    width: 64%;
    padding: 20px;
}
.testimonial-info-main h3 {
    padding: 4px !important;
} */


.tg-image-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px 0;
    border: 5px solid rgb(41, 60, 134);
    margin: 0 10px;
    box-shadow: 0 0 10px rgba(41,60,134,.8) inset;
  }
  .tg-image-wrapper img {
    border-radius: 50px 0;
    box-shadow: 0 0 1px rgba(0,0,0,.5);
  }
   
  .slick-prev, .slick-next{width: 40px;
    height: 40px;}
   
  .slick-prev::before, .slick-next::before{
  box-shadow: 0 0 10px rgba(0,0,0,.5);
    border-radius: 50%;font-size: 40px;
  }

  .tg-slider{
    padding: 100px 20px 130px;max-width: 85%;}


.tg-image-wrapper img {

  border-radius: 50px 0;

  box-shadow: 0 0 1px rgba(0,0,0,.3);

  border: 2px solid #fff;

}
.tg-image-wrapper{box-shadow: 0 0 10px rgba(41,60,134,.2) inset;}

.tg-image-wrapper{height: 480px;}

.tg-slider{
    padding: 100px 20px 130px;max-width: 1280px;}
    .tg-image-wrapper img {
      border-radius: 50px 0;
      box-shadow: 0 0 1px rgba(0,0,0,.3);
      border: 2px solid #fff;
    width: fit-content;
      height: 100%;
      object-fit: cover;
      display: block;
      max-width: 100% !important;
    }

    
   

/* 
.testimonial-section .tg-image-wrapper {
    border: 0 !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    border-radius: 50% !important;
    margin: 0 auto;
    width: 200px;
    margin-bottom: 30px;
}
      .testimonial-section .tg-image-wrapper .testimonial-avatar.wp-post-image {
        border-radius: 50%;
        border: none;
        box-shadow: none;
      }
    
       
      .testimonial-section .overlay{background-color: rgb(242 242 242) !important;}
      #maintop-row{padding-bottom: 60px;}
 */

   
 
/* .testimonial-section .overlay{background:#f2f2f2 !important;background-color:#f2f2f2 !important} */

.about-newzeland {

  padding-bottom: 60px !important;

}


.product-button-manager {
    display: flex;
    gap: 18%;
    padding: 10px;
    background: #cccccc42;
    margin-bottom: 10px;
    position: relative;
}

/* Vertical line for desktop */
.product-button-manager::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: #999;
}

/* Input button style */
.product-button-manager input.button {
    width: 30% !important;
}

.product-button-manager h3 {
    font: 25px 'Roboto Slab', serif;
    font-weight: 600;
}

/* -------- Mobile Responsive -------- */
@media (max-width: 768px) {
    .product-button-manager {
        flex-direction: column; /* stack vertically */
        gap: 20px; /* spacing between forms */
    }

    /* Remove vertical line in mobile */
    .product-button-manager::before {
        display: none;
    }

    /* Make buttons full width in mobile */
    .product-button-manager input.button {
        width: 100% !important;
    }
}
.gallery-section h2.title {
    text-align: center;
    font-size: 50px;
    padding: 20px;
    top: 10px;
}

/* Container setup */
.testimonial-section {
    position: relative;
    padding: 100px 20px;
    background: #f2f2f2 url('https://dev.studentadvisor.co.nz/wp-content/uploads/2025/07/testimonial-background-2.png') 0 0 no-repeat;
    background-size: 100%;
    z-index: 1;
    text-align: center;
}
.testimonial-section .overlay {
    display: none; /* Already using bg image */
}

/* Slick slider container */
.testimonial-section .testimonial-slider {
    max-width: 1280px;
    margin: 0 auto;
}

/* Testimonial card */
.testimonial-section .slick-slide {
    opacity: 0.2;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.9);
}
.testimonial-section .slick-center {
    opacity: 1 !important;
    transform: scale(1);
    z-index: 2;
}

/* Card layout */
.testimonial-section .tg-slide {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    min-height: 420px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Avatar */
.testimonial-section .tg-image-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #293c86;
    box-shadow: 0 0 15px rgba(41, 60, 134, 0.2);
}
.testimonial-section .testimonial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Name and designation */
.testimonial-section h3 {
    margin: 10px 0 5px;
    font-size: 20px;
    font-weight: bold;
    color: #293c86;
}
.testimonial-section .subtitle {
    font-size: 14px;
    color: #f37839;
    margin-bottom: 15px;
}

/* Stars */
.testimonial-section .stars {
    color: #f37839;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Testimonial content */
.testimonial-section .tg-content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    max-width: 90%;
    margin: 0 auto;
}

/* Pagination dots */
.testimonial-section .slick-dots {
    margin-top: 40px;
}
.testimonial-section .slick-dots li button:before {
    font-size: 14px;
    color: #293c86;
    opacity: 0.4;
}
.testimonial-section .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #293c86;
}

/* Arrows */
.testimonial-section .slick-prev,
.testimonial-section .slick-next {
    width: 40px;
    height: 40px;
    z-index: 10;
}
.testimonial-section .slick-prev:before,
.testimonial-section .slick-next:before {
    font-size: 40px;
    color: #293c86;
    opacity: 0.6;
}
.testimonial-section .slick-prev:hover:before,
.testimonial-section .slick-next:hover:before {
    opacity: 1;
}

/* Responsive tweaks */
@media screen and (max-width: 768px) {
    .testimonial-section .tg-slide {
        padding: 30px 20px;
    }
    .testimonial-section .slick-slide {
        transform: scale(1);
        opacity: 1;
    }
}


.tg-slider { padding: 10px 20px 30px;}
.gallery-section{background: #f2f2f2; margin: 0; position: relative; padding: 40px 0 60px;}


.testimonial-section{background-size: cover;}




.testimonial-section .slick-slide {opacity: 0.6 !important; border: 5px solid rgba(51, 60, 134, .4) !important;}
.testimonial-section .slick-slide.slick-current.slick-active {opacity:1 !important;border:5px solid #293c86 !important}