/* IPC Page Styles */
.pageview { padding: 0 !important; max-width: 100% !important; }
.pageview .container-fluid { padding: 0 !important; }

#slider .swiper-scrollbar{
    display: none;
}

.swiper-navs{
    left: 95px;    
}

.swiper-slide-bg{
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: cover;
    background-position: left;
}

#slider .ipc-slide-content{
  /*position: relative;*/
  z-index: 5;
  color: #fff;
}

#slider .ipc-slide-navs{
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
}

#slider .ipc-slide-content h1{
  margin: 0 0 30px;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.slider-arrow-left i, .slider-arrow-right i{
    color: #000;
}

.slider-arrow-left, .slider-arrow-right{
    border: 0 !important;
    background: #fff !important;
    /*inset: 0; */
    /*top: calc(100% + 35px);*/
}

.slider-arrow-left{
    left: -80px;
}

.slider-arrow-right{
    right: -80px;
}


.slider-arrow-left:hover, .slider-arrow-right:hover{
    color: #fff !important;
    background-color: #BF9E6C !important;
}

.slider-arrow-left:hover i, .slider-arrow-right:hover i{
    color: #fff;
}

@media (max-width: 768px){
    #slider .ipc-slide-navs{
        top: calc(50% - 20px);    
        left: 20px;
        right: 20px;
    }
    
    .slider-arrow-left, .slider-arrow-right{
        transform: unset;
    }
    
    .slider-arrow-right{
        right: 0
    } 
    .slider-arrow-left{
        left: 0
    } 
}

@media (max-width: 575px){
    .slider-arrow-left i, .slider-arrow-right i {
        font-size: 11px;
    }
       
}

.ipc-hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    color: #fff;
    overflow: hidden;
}

.ipc-hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.ipc-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #333;
}

.ipc-hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
}

.ipc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    pointer-events: none; /* Let clicks pass through to swiper if needed */
}

.ipc-hero-content h1 {
    pointer-events: auto;
    color: #fff;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 30px;
}

.ipc-hero-nav {
    display: flex;
    gap: 15px;
    pointer-events: auto;
}



.ipc-hero-nav span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #fff;
    color: #333;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.ipc-hero-nav span:hover {
    background: #c2a06b;
    color: #fff;
}

.ipc-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Welcome Section */
.ipc-welcome-section {
    padding: 60px 0 30px;
    text-align: center;
}

.ipc-subtitle {
    color: #bf9d6c;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 700;
}

.ipc-title {
    margin-bottom: 15px;
    font-weight: 700;
}

.ipc-welcome-section p {
    font-size: 14px;
    margin: 0 auto 20px;
}

.ipc-welcome-image {
    margin-top: 30px;
    overflow: hidden;
}

.ipc-welcome-image img {
    width: 100%;
    height: auto;
    display: block;
}



/* Search Bar (Optional, seen at the top of Why Choose section) */
.ipc-search-bar {
    background: transparent;
    margin-top: -30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.ipc-search-form {
    display: flex;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.ipc-search-form select,
.ipc-search-form input,
.ipc-search-form button {
    border: none;
    padding: 18px 25px;
    font-size: 15px;
    outline: none;
}

.ipc-search-form select {
    border-right: 1px solid #f0f0f0;
    color: #777;
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 15px center;
}

.ipc-search-form input {
    flex: 2;
    color: #333;
}

.ipc-search-form button {
    background: #ff6b6b;
    color: #fff;
    padding: 18px 45px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    font-size: 16px;
}

.ipc-search-form button:hover {
    background: #e55a5a;
}

/* Why Choose Section */
.ipc-why-section {
    position: relative;
    padding: 60px 0;
    background-size: cover;
    background-position: 76% center;
    background-color: #f8f9fa;
}

.ipc-why-content {
    max-width: 55%;
    padding: 0;
}

.ipc-why-title {
    font-size: 28px;
    color: #AC8E60;
    margin-bottom: 25px;
    font-weight: 700;
}

.ipc-why-content p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 500;
}

.ipc-why-section .home_ourstory_contentcontainer p{
    font-size:16px;
    font-weight:700;
    margin-bottom: 0px;
}


.ipc-stats-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px 20px;
    margin-top: 40px;
}

.ipc-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ipc-stat-item i, .ipc-stat-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    font-size: 30px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipc-stat-item img {
	border-radius: 0;
	aspect-ratio: auto !important;
}

.ipc-stat-text {
    display: flex;
    flex-direction: column;
}

.ipc-stat-text strong {
    font-size: 26px;
    color: #333;
    line-height: 1;
    margin-bottom: 8px;
    font-weight: 600;
}

.ipc-stat-text span {
    font-size: 14px;
    color: #666;
    line-height: 1.3;
    font-weight: 500;
}

.counter{
    font-size: unset;    
}

@media(max-width:992px){
    
    .ipc-stats-grid{
        grid-template-columns: 1fr 1fr;
        gap: 30px 10px;
    }
    
    .home_ourstory_sidecontainer{
        flex-direction: column;
    }
    .home_ourstory_contentcontainer{
        margin-left: 0;
        text-align: center;
    }
    .home_ourstory_iconcontainer{
        margin-bottom: 5px;
    }
}
@media(max-width: 768px){
    .ipc-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 10px;
    }
}




/* Support Section */
.ipc-support-section {
    background: #ECE6DC;
    padding: 60px 0;
}

.ipc-support-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.ipc-tabs-wrapper {
    display: flex;
    gap: 40px;
}

.ipc-tabs-nav {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ipc-tab {
    background: #fff;
    padding: 22px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: #666;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    font-size: 16px;
}

.ipc-tab.active {
    background: #c2a06b;
    color: #fff;
}

.ipc-tab .icon-angle-right {
    font-size: 18px;
}

.ipc-tabs-content {
    width: 65%;
}

.ipc-tab-pane {
    display: none;
    background: transparent;
    animation: fadeEffect 0.5s;
    font-weight: 500;
}

.ipc-tab-pane p{
    font-weight: 500;
}

.ipc-tab-pane ul{
  margin: 0;
}

.ipc-tab-pane ul li{
    font-size: 14px;
  margin-bottom: 12px;
  padding-left: 10px;
}

.ipc-tab-pane ul li:last-child,
.ipc-tab-pane ol li:last-child{
  margin-bottom: 0;
}

.ipc-tab-pane.active {
    display: block;
}

.ipc-tab-pane h3 {
    font-size: 28px;
    color: #555;
    margin-bottom: 25px;
    font-weight: 500;
}

.ipc-tab-pane ol {
    padding-left: 18px;
    color: #555;
    line-height: 1.8;
    font-size: 14px;
    font-weight: 500;
}

.ipc-tab-pane ol li {
    margin-bottom: 12px;
    padding-left: 10px;
}


/* Package & Promotion */
.ipc-promo-section {
    padding-top: 60px;
    /*text-align: center;*/
    background: #fff;
}
.ipc-promo-title {
    color: #555;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}
.ipc-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
}
.ipc-promo-item {
    display: flex;
    flex-direction: column;
}
.ipc-promo-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.ipc-promo-image img {
    width: 100%;
    display: block;
}
.ipc-promo-expiry {
    color: #4db7ac;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.ipc-promo-name {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}
.ipc-promo-link {
    color: #e53935;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.ipc-promo-link i {
    margin-left: 5px;
}

#ipcPromoSwiper{
  padding-bottom: 60px;
}
#ipcPromoSwiper .swiper-slide{
  height: auto;
}

#ipcPromoSwiper  .swiper-pagination-bullets{
    bottom: 30px !important;
}
#ipcPromoSwiper .swiper-pagination-bullet{
  opacity: .45;
  background: #CECECE !important;
}

#ipcPromoSwiper .swiper-pagination-bullet.swiper-pagination-bullet-active{
  opacity: 1 !important;
  background: #AC8E60 !important;  /* active gold */
}

.image_absolute {
	background:url(<?php echo $image_url; ?>) no-repeat center left;
}

.news_container2 .news_grid2 .news_title a {
	color:#555;
	font-size:20px;
}
.news_container2 .news_grid2 .news_title {
	/*height:120px;*/
	margin-bottom: 0;
}

.news_container2 .news_grid2 .news_time .date{
            color: #5AC9CC;
}

@media(min-width: 768px){
    .news_container2 .news_grid2 .news_time .date {
        min-height: 25px;
    }
}


@media (max-width: 767px) {
	.news_container2 .news_grid2 .news_title a {
		font-size:16px;
	}
	
	/*#slider.ipc-slider{*/
 /*       top: auto;*/
 /*       height: 500px !important;*/
 /*   }*/
    
   /*.swiper_wrapper:not(.force-full-screen).ipc-slider, .swiper_wrapper:not(.force-full-screen):not(.canvas-slider-grid) .swiper-slide.ipc-slider{*/
   /*     height: 500px !important;*/
   /* }*/

	/*.swiper-slide-bg {*/
	/*    background-image:url('https://easytest.my/smcv_main2026/images/smcv-ipc-slide1-mobile.jpg') !important;*/
	/*    background-position: center bottom;*/
	/*}*/
	
	.ipc-slider-content{
	    align-self: flex-start !important;
        padding-top: 60px;
	}
	
	.ipc-why-section{
	    background-image:url('https://easytest.my/smcv_main2026/images/ipc-why-bg-mobile.webp') !important;
	    min-height: 1100px;
	}
	
	.swiper-slide.ipc-screening-slide{
	    background-image:url('https://easytest.my/smcv_main2026/images/health-screen-option-mobile.webp') !important;
	    background-position: bottom;
	}
	
	.swiper-slide.ipc-screening-slide.transportation{
	    background-image:url('https://easytest.my/smcv_main2026/images/ipc-transportation-mobile.webp') !important;
	    background-position: bottom;
	}
	
	.ipc-contact-section{
	     background-image:url('https://easytest.my/smcv_main2026/images/ipc-contact-bg-mobile.webp') !important;
	    background-position: center bottom !important;
        min-height: 1000px;
	}
}

@media (max-width: 575px){
    .ipc-why-section{
	    min-height: 1350px;
        background-position: center;
    }
}
/* Combined Location and Health Screening Block */
.ipc-ls-wrapper {
    background: #f8f8f8;
    padding: 60px 0;
}

.ipc-ls-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.ipc-ls-row {
    display: flex;
    flex-wrap: wrap;
}

.ipc-ls-text {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 60px 80px;
    background: #fff;
}

.ipc-ls-text h2 {
    color: #c2a06b;
    margin-bottom: 0;
    font-weight: 700;
}

.ipc-ls-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.ipc-ls-map {
    flex: 0 0 50%;
    max-width: 50%;
    background: #e9ecef;
}

.ipc-ls-map img, .ipc-ls-map iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Screening Row within the box */
.ipc-screening-row {
    position: relative;
    background: #000;
    min-height: 500px;
    display: block;
    overflow: hidden;
    background: transparent;
}


.ipc-screening-slide {
    position: relative;
    background-size: cover;
    background-position: 76% center;
    min-height: 500px;
    display: flex;
    width: 100%;
    overflow: hidden;
}

.ipc-screening-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* keep overlay/content above bg */
.ipc-screening-overlay{ z-index: 1; }
.ipc-screening-content{ z-index: 2; position: relative; }

/* for fade mode: make wrapper stable, no weird shrinking */
.ipc-screening-slider .swiper-wrapper{ align-items: stretch; }
.ipc-screening-slider .swiper-slide{ height: auto; }

.ipc-screening-overlay {
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 65%;
    /* Gradient matching the tan/bronze dark overlay */
    background: linear-gradient(to right, rgba(162,155,142,0.95) 0%, rgba(162,155,142,0.85) 60%, rgba(162,155,142,0) 100%);
    z-index: 1;
}

.ipc-screening-content {
    position: relative;
    background: transparent !important;
    z-index: 2;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 60px 80px 120px 80px;
}

.ipc-screening-content h2 {
    color: #fff;
}

.ipc-screening-content p {
    color: #fff;
}

.ipc-btn-solid {
    display: inline-block;
    background: #c2a06b;
    color: #fff;
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s;
    margin-top: 15px;
    border: none;
}

.ipc-btn-solid:hover {
    background: #d41b1e;
    color: #fff;
}

/* Bottom Nav overlay for Health Screening */
.ipc-screening-nav-bottom {
    position: absolute;
    bottom: 0;
    left: 80px;
    right: 50px;
    padding-bottom: 50px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ipc-screening-progressbar {
    flex-grow: 1;
    height: 4px;
    background: #CECECE; 
    position: relative ;
    margin-right: 20px;
    bottom: 50% !important;
}

.ipc-screening-progressbar .swiper-pagination-progressbar-fill {
    background: #AC8E60;
    background-color: #AC8E60;
    border: #AC8E60;
    border-radius: 0;
    transform-origin: left center;
}

span.swiper-pagination-progressbar-fill {
    background: #AC8E60;
    background-color: #AC8E60;
    border: #AC8E60;
}

.ipc-screening-nav-bottom span {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    transition: 0.3s;
    flex-shrink: 0;
}

.ipc-screening-nav-bottom span:hover {
    background: #c2a06b;
    color: #fff;
}

@media (max-width: 991px){

  /* stack columns */
  .ipc-ls-text,
  .ipc-ls-map{
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* reduce heavy padding */
  .ipc-ls-text{
    padding: 32px 20px;
  }

  /* give map a visible height */
  .ipc-ls-map{
    height: 320px;
  }

  /* screening content becomes full width */
  .ipc-screening-overlay{
    width: 100%;
    background: linear-gradient(
      to bottom,
      rgba(162,155,142,0.95) 0%,
      rgba(162,155,142,0.88) 65%,
      rgba(162,155,142,0.65) 100%
    );
  }

  .ipc-screening-content{
    flex: 0 0 100%;
    max-width: 100%;
    padding: 32px 20px 250px 20px;
  }

  /* bottom nav: align nicely */
  .ipc-screening-nav-bottom{
    left: 20px;
    right: 20px;
    padding-bottom: 24px;
    gap: 10px;
  }

  .ipc-screening-progressbar{
    margin-right: 10px;
    bottom: 0 !important;
  }
}

/* -------- Mobile -------- */
@media (max-width: 576px){
    .ipc-screening-overlay{
        background:unset ;
    }
  /* smaller map */
  .ipc-ls-map{
    height: auto;
  }

  /* reduce min-height so it doesn't feel too tall */
  .ipc-screening-row,
  .ipc-screening-slide{
    min-height: 420px;
  }

  /* smaller nav buttons */
  .ipc-screening-nav-bottom span{
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

/* Awards Section */
.news_container2.grid5 .news_grid2{
    margin-bottom: 60px;
}

.ipc-awards-section {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}
.ipc-awards-title {
    font-size: 28px;
    color: #555;
    margin-bottom: 40px;
    font-weight: 600;
}
.ipc-awards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.ipc-award-item {
    border: 1px solid #eaeaea;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ipc-award-item img {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}
.ipc-award-item span {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

.award.homepage{
    padding: 60px 0;
}


/* Testimonials */
.ipc-testimonial-container{
    overflow: hidden;
}

.ipc-testimonials-section {
  background: #f3f0e8;
  padding: 80px 0;
  text-align: center;
}

.ipc-testimonials-title {
  font-size: 28px;
  color: #555;
  margin-bottom: 20px;
  font-weight: 600;
}

.ipc-testimonials-desc {
  /*max-width: 800px;*/
  margin: 0 auto 40px;
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

/* ✅ Anti-tremble base */
.ipc-testimonials-slider {
  overflow: hidden;
  text-align: left;
}

.ipc-testimonials-slider .swiper-wrapper {
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}

.ipc-testimonials-slider .swiper-slide {
  height: auto;
  display: flex;
}

#ipc-testimonials.ipc-testimonials-section{
  background: #f3f0e8;
  padding: 60px 0;
}

#ipc-testimonials .ipc-testimonials-title{
  text-align:center;
  font-size: 28px;
  color: #555;
  margin-bottom: 18px;
  font-weight: 700;
}

#ipc-testimonials .ipc-testimonials-desc{
  text-align:center;
  /*max-width: 820px;*/
  margin: 0 auto 40px;
  color: #555;
  font-size: 14px;
  /*line-height: 1.6;*/
  font-weight:500;
}

#ipc-testimonials .ipc-testimonials-inner{
  position: relative;
}

/* ===== Swiper anti-jitter ===== */
#ipc-testimonials .ipc-testimonials-slider{
  overflow: visible;
}

#ipc-testimonials .ipc-testimonials-slider .swiper-wrapper{
  align-items: stretch;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}

#ipc-testimonials .ipc-testimonials-slider .swiper-slide{
  height: auto;
  display: flex;
}

/* ===== Card ===== */

#ipcTestimonials {
  overflow: hidden;
}

#ipcTestimonials .swiper-wrapper {
  display: flex !important;
}

#ipcTestimonials .swiper-slide {
  flex: 0 0 auto !important;
  max-width: none !important;
   height: auto;
  display: flex;
}

#ipcTestimonials .swiper-slide > .ipc-testimonial-card{
  width: 100%;
}

/* Make the card not stretch weirdly */
#ipcTestimonials .ipc-testimonial-card {
  width: 100%;
  max-width: 100%;
}

#ipc-testimonials .ipc-testimonial-card{
  background: #fff;
  border-radius: 8px;
  padding: 30px 26px;
  width: 100%;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#ipc-testimonials .ipc-quote svg{
  width: 34px;
  height: 34px;
  display: block;
  margin-bottom: 12px;
  position: absolute;
  top: -6%;
}

#ipc-testimonials .ipc-testimonial-text{
  color: #555;
  font-size: 14px;
  font-weight:500;
  margin-bottom: 20px;
}

#ipc-testimonials .ipc-testimonial-divider{
  height: 1px;
  background: #CECECE;
   margin-top: auto;
  margin-bottom: 20px;
}

#ipc-testimonials .ipc-testimonial-author{
  font-size: 14px;
  font-weight:500;
  color: #555;
  text-align: center;
}

/* ===== Bottom "scroll bar" + arrows ===== */
#ipc-testimonials .ipc-testimonials-bottom{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-top: 28px;
}

#ipc-testimonials .ipc-testimonials-progress{
  flex: 1;
  height: 4px ;
  background: #CECECE ;
  border-radius: 0;
  overflow: hidden;
  position: relative !important;
  bottom: 50% !important;
}

/* filled part */
#ipc-testimonials .ipc-testimonials-progress .swiper-pagination-progressbar-fill{
  background: #AC8E60 ;
  border-radius: 0;
  border: #AC8E60;
}

/* arrows bottom right */
#ipc-testimonials .ipc-testimonials-arrows{
  display:flex;
  gap: 12px;
  flex-shrink: 0;
}

#ipc-testimonials .ipc-arrow{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #000;
  font-size: 28px;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: .25s;
}

#ipc-testimonials .ipc-arrow:hover{
  background:#AC8E60;
  color:#fff;
}

/* FAQ Section */
.ipc-faq-section {
  padding: 60px 0;
  background: #fff;
}

.ipc-faq-title {
  text-align: center;
  color: #555;
  margin-bottom: 30px;
  font-weight:700;
}

.ipc-faq-accordion {
  max-width: 1000px;
  margin: 0 auto;
}

.ipc-faq-item {
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
}

/* question */
.ipc-faq-question {
  padding: 20px 15px;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #444;
  font-size: 16px;
  transition: background .25s ease, color .25s ease;
  border-radius: 6px;
}

.ipc-faq-question:hover {
  color: #AC8E60;
}

/* active question */
.ipc-faq-item.active .ipc-faq-question {
  background: #c2a06b;
  color: #fff;
}

/* arrow */
.ipc-faq-question .icon-angle-down {
  transition: transform .25s ease;
}

.ipc-faq-item.active .ipc-faq-question .icon-angle-down {
  transform: rotate(180deg);
}

/* answer (animated dropdown) */
.ipc-faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 15px;
  transform: translateY(-4px);
  transition: max-height .35s ease, opacity .25s ease, padding .35s ease, transform .35s ease;
  color: #555;
  font-size: 14px;
  font-weight:500;
}

.ipc-faq-answer p{
    font-weight: 500;
}

/* when open */
.ipc-faq-item.active .ipc-faq-answer {
  max-height: 500px;      /* big enough for your longest answer */
  opacity: 1;
  padding: 16px 15px 20px;
  transform: translateY(0);
}

.ipc-faq-answer a{
    color:#555;
}

.ipc-faq-answer p:last-child{
  margin-bottom: 0 !important;
}

/* Contact Section */
.ipc-contact-section {
    position: relative;
    padding: 60px 0;
    color: #fff;
    background-size: cover;
    background-position: center;
}

@media (max-width: 991px) {
    .ipc-contact-layer {
        width: 100%;
        clip-path: none;
        background: rgba(82,72,60,0.95);
    }
}
.ipc-contact-content {
    position: relative;
    z-index: 2;
    max-width: 450px;
}
.ipc-contact-content h2 {
    color: #fff;
    margin-bottom: 10px;
    font-weight:700;
}
.ipc-contact-content p {
    color: #f1f1f1;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}
.ipc-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ipc-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.ipc-contact-icon {
    width: 60px; 
    height: 60px;
    background: #AC8E60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ipc-contact-icon svg{
    width: 32px;
    height: 32px;
}

.ipc-contact-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}
.ipc-contact-text span {
    font-size: 14px;
    color: #fff;
    font-weight:500;
}

.ipc-contact-text span a{
    font-size: 14px;
    color: #fff;
    font-weight:500;
}

.ipc-contact-text span a:hover{
    color: #ed1b24;    
}

#ipcEnquiryForm{
    margin-bottom:0;    
}

.ipc-enquiry-section{
  background:#fff;
  padding: 60px 0;
}

.ipc-enquiry-title{
  text-align:center;
  font-size: 30px;
  color:#555;
  margin-bottom:5px;
  font-weight: 700;
}

.ipc-enquiry-subtitle{
  text-align:center;
  font-size: 14px;
  font-weight:500;
  margin-bottom: 30px;
}

.ipc-enquiry-grid{
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
        
}



.ipc-field label{
  display:block;
  font-size: 14px;
  color:#555;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.ipc-input{
  width: 100%;
  background: #fff;
  border: 1px solid #CECECE;
  height: 44px;
  padding: 10px 12px;
  border-radius: 0;
  outline: none;
  font-size: 14px;
  color:#555;
}
.ipc-enquiry-grid{
  align-items: stretch;           /* make columns equal height per row */
}

.ipc-enquiry-grid .ipc-field{
  display: flex;
  flex-direction: column;
}

.ipc-enquiry-grid .ipc-field .ipc-input{
  margin-top: auto;               /* push input to bottom of the column */
}
.ipc-input:focus{
  border-color:#AC8E60;
}

.ipc-textarea{
  height: auto;
  resize: vertical;
  padding-top: 12px;
}

/* Upload box */
.ipc-hidden-file{ display:none; }

.ipc-upload-box{
  border: 1px solid #CECECE;
  padding: 18px;
  display:block;
  cursor:pointer;
  background:#fff;
}

.ipc-upload-inner{
  border: 1px dashed #CECECE;
  padding: 28px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  text-align:center;
  color:#555;
  flex-direction: column;
    
}

.ipc-upload-icon i{
  font-size: 30px;
  color:#CECECE;
}

.ipc-upload-title{
  font-size: 14px;
  color:#CECECE;
  text-transform: uppercase;
}

.ipc-upload-filename{
  margin-top: 6px;
  font-size: 12px;
  color:#CECECE;
}

/* Consent */
.ipc-consent-box{
  background:#f9f9f9;
  padding: 20px 40px;
  padding-bottom: 0;
}

.ipc-check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin-bottom: 10px;
  font-size: 14px;
  color:#555;
  font-weight:500;
}

.ipc-consent-box .ipc-captcha{
  margin-top: 40px;   
}

.ipc-check input{
  margin-top: 3px;
}

/* captcha */
.ipc-captcha > div{
  margin: 0;
}

/* Submit */
.ipc-submit-btn{
  width: 100%;
  background: #BF9E6C; /* close to your gold */
  color:#fff;
  border:none;
  height: 46px;
  font-size:16px;
  font-weight: 700;
  cursor:pointer;
  transition: .2s ease;
}

.ipc-submit-btn:hover{
  background:#d41b1e;
}

.ipc-loading{
  margin-top: 12px;
  text-align:center;
  font-size: 12px;
  color:#777;
}

/* Notice box */
.ipc-enquiry-notice{
  margin: 0 auto 20px;
  max-width: 980px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
}
.ipc-enquiry-notice.success{
  background: #e7f7ef;
  border: 1px solid #8bd3a9;
  color: #1f6b3c;
}
.ipc-enquiry-notice.error{
  background: #fdecec;
  border: 1px solid #f2a3a3;
  color: #8a1c1c;
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .ipc-hero-content h1 { font-size: 36px; }
    .ipc-why-content { max-width: 100%; padding: 40px; background: rgba(255,255,255,0.85); border-radius: 12px; }
    .ipc-tabs-wrapper { flex-direction: column; }
    .ipc-tabs-nav, .ipc-tabs-content { width: 100%; }
    .ipc-promo-grid { grid-template-columns: repeat(2, 1fr); }
    .ipc-location-grid { grid-template-columns: 1fr; }
    .ipc-screening-content { max-width: 100%; padding-left: 20px; padding-right: 20px; }
    .ipc-awards-grid { grid-template-columns: repeat(3, 1fr); }
    .ipc-testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .ipc-hero-content h1 { font-size: 28px; }
    .ipc-search-form { flex-direction: column; }
    .ipc-search-form select { border-right: none; border-bottom: 1px solid #eee; }
    .ipc-promo-grid { grid-template-columns: 1fr; }
    .ipc-awards-grid { grid-template-columns: repeat(2, 1fr); }
    .ipc-location-text { padding: 30px 20px; }
}

@media (max-width: 576px){

   .ipc-screening-nav-bottom{
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    justify-content: center;   /* center items inside flex */
    gap: 12px;
  }
  /*.ipc-screening-nav-bottom .screening-arrow-left,*/
  /*.ipc-screening-nav-bottom .screening-arrow-right{*/
  /*  display: none !important;*/
  /*}*/
  
  .ipc-screening-progressbar,
  #ipc-testimonials .ipc-testimonials-progress{
    display: none !important;
  }
  .ipc-screening-nav-bottom{
    padding-bottom: 30px;
  }
  
  .ipc-screening-nav-bottom span,
  #ipc-testimonials .ipc-arrow{
      width: 35px;
      height: 35px;
      font-size: 22px;
  }
  
  #ipc-testimonials .ipc-testimonials-arrows{
      margin: 0 auto;
  }
  /*.ipc-screening-progressbar{*/
  /*    left: 0;*/
  /*    margin-right: 0;*/
  /*}*/
  
  #ipc-testimonials .ipc-testimonials-progress {
    left: 0;      
  }
}


/* ✅ IPC Success Modal */
.ipc-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.ipc-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.ipc-modal-card{
  position: relative;
  width: min(680px, calc(100% - 30px));
  margin: 40vh auto 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  overflow: hidden;
}

.ipc-modal-body{
  padding: 28px 26px 22px;
}

.ipc-modal-title{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: #555;
}

.ipc-modal-text{
  margin: 0 0 20px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

.ipc-modal-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  justify-content: center;
}

.ipc-modal-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.ipc-btn-primary{
  background: #BF9E6C;
  color: #fff;
}

.ipc-btn-primary:hover{
  background: #d41b1e;
  color: #fff;
}

.ipc-btn-outline{
  background: #fff;
  border-color: #BF9E6C;
  color: #BF9E6C;
}

.ipc-btn-outline:hover{
  background: #BF9E6C;
  color: #fff;
}

.ipc-modal-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #333;
}