/* Home page css start */
.item-content .title a {
    font-size: 32px;
    line-height: 35px !important;
}

h3.title {
    line-height: 25px !important;
}
.heads li.menu-item.menu-item-type-post_type a {
    font-weight: 400 !important;
}

/* About us section css start */
.plus .elementor-counter-number-wrapper {
    position: relative;
    margin-right: 20px;
}

.plus .elementor-counter-number-wrapper:after {
    content: "";
    position: absolute;
    background: url(/perry-foundation/wp-content/uploads/2025/11/plus-icon.png);
    left: auto;
    right: -25px;
    width: 40px;
    height: 40px;
}

/* About section css end */


/* values section css start  */

/* animatin css */
/* Default state: element hidden + slightly moved */
.arv-services-2-item {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease;
}

/* LEFT animation */
.arv-services-2-item.fadeInLeft.animate {
    opacity: 1;
    transform: translateX(-0px);
}

/* RIGHT animation */
.arv-services-2-item.fadeInRight.animate {
    opacity: 1;
    transform: translateX(0px);
}

/* Specific directions */
.fadeInLeft { transform: translateX(-40px); }
.fadeInRight { transform: translateX(40px); }

/* animtion css end  */

.arv-services-2-wrap {
	margin-top: 130px;
}

.arv-services-2-item {
	border: 1px solid #C7C7C7;
	display: grid;
	grid-template-columns: 477px 1fr;
	align-items: center;
	gap: 20px 35px;
	padding: 38px 50px;
	transition: all 0.8s ease;
	align-items: center;
	align-content: center;
	height: 180px;
	border-radius: 40px;
}

.item-action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.item-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 15px 30px;
    margin-left: 115px;
}

.icon:before {content: "";border-radius: 100%;border: 1.174px solid #D7D7D7;width: 100%;height: 100%;left: 0;top: 0;transform: scale(1.08);position: absolute;background: #fff;z-index: -1;}

.item-content .title a {
    color: #222222 !important;
}
.item-action a.link {
    display: none;
}

p.service-number-text {
    color: #73CDDF;
    font-family: Manrope;
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 46px; /* 121.053% */
}

.item-action a {
    color: #222;
    font-family: Manrope;
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: 46px; /* 121.053% */
}

p.arv-para-2.disc {
    color: #444444;
    width: 17%;
}

.icon {
    margin-left: 50px;
    position: relative;
    z-index: 9999;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon img {display: block;}

.icon:after {
    content: "";
    left: 0px;
    top: 0px;
    position: absolute;
    border-radius: 100%;
    border: 1.174px solid #D7D7D7;
    width: 100%;
    height: 100%;
    transform: scale(1.18);
    z-index: -2;
    background: #fff;
}

.arv-services-2-item:nth-child(even) .item-action {
    order: 2;
}
.arv-services-2-item:nth-child(even) .item-action {
    flex-direction: row-reverse;
}

.arv-services-2-item:nth-child(even) {
    grid-template-columns: 1fr 477px;
}

.arv-services-2-item:nth-child(even) .item-content{
    margin-right: 60px;
    margin-left: 0;
}

.arv-services-2-item:nth-child(even) .item-action .icon{
    margin-right: 50px;
    margin-left: 0;
}

.arv-services-2-item:not(:first-child) {
    margin-top: 280px;
}
/* values section css end  */

.scholar {width: 98%;
	margin: 50px auto 60px;
}
.scholar {position: relative;}

.scholar:after {
    content: "";
    position: absolute;
    width: 452px;
    height: 610px;
    background: url(/perry-foundation/wp-content/uploads/2025/11/graduationcap.svg);
    bottom: 0;
}
.scholar:before {
   content: "";
    position: absolute;
    width: 288px;
    height: 244px;
    background: url(/perry-foundation/wp-content/uploads/2025/11/Frame.svg);
    bottom: -20px;
    top: auto;
    left: 230px;
}
.scholar {
    position: relative;
    overflow: hidden;
}

/* Initial state: hidden + slightly down */
.scholar:before,
.scholar:after {
    opacity: 0;
    transform: translateY(50px) rotate(-40deg);
    transition: all 1s ease-out;
}

/* Scroll activated: animate while rotating */
.scholar.animate:before,
.scholar.animate:after {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    animation: rotateIn 0.8s ease-out; /* rotation during entrance */
}

/* Keyframes: rotate while coming in */
@keyframes rotateIn {
    0% {
        transform: translateY(60px) rotate(-40deg) scale(1.1);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}


/* Container setup */
.empor {
    position: relative;
    overflow: hidden;
}

/* Background layer */
.empor::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;      /* take same background */
    background-size: contain;
    transform: scale();
    transition: transform 0.6s ease;
    z-index: 0;
}

/* Hover effect */
.empor:hover::before {
    transform: scale(1.1);   /* zoom effect */
}

/* Content on top */
.empor > * {
    position: relative;
    z-index: 1;
}
.image-1-hover {
    position: relative;
    overflow: hidden;
}

.image-1-hover img {transition: 2s;}

.image-1-hover img:hover {
    transform: scale(1.1);
    transition: 2s;
}
/* Home page css end  */


/* footer css start  */
.quikeline {
    position: relative;
}

.quikeline:after {
	
    content: "";
    position: absolute;
    background: url(/perry-foundation/wp-content/uploads/2025/11/Vector.png);
    width: 312px;
    height: 2px;
    bottom: 0;
	background-repeat: no-repeat;
}
/* footer css end  */




.big-slide img {
    width: 100%;
    height: auto;
}

.next-slide {
    width: 252px;  /* small preview */
    margin-top: 10px;
}

.next-slide img {
    width: 100%;
    height: auto;
    /* opacity: 0.7; */
    transition: 0.3s;
}

.next-slide img:hover {
    opacity: 1;
}

.slide-item {
    text-align: center;
}
.next-slide {
    position: absolute;
    bottom: 20%;
    left: -18%;
}

.custom-arrows {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 20%;
    position: absolute;
    bottom: 50px;
    left: -12em;
    z-index: 9999;
}

.arrow-prev, .arrow-next {
    width: 100%;
    height: 65px;
}

.arrow-prev img,  .arrow-next img {
    width: 100%;
}


.arrow-top, .arrow-bottom {
    width: 100%;
    background: #fff;
}

.big-slider-container {display: block;z-index: 9999;position: relative;}

.slick-list.draggable {
    overflow: visible;
}

body {overflow-x: hidden;}

.baner2
 {
    position: relative;
    left: 14em;
}

.ban {position: relative;}

.ban:before {
    content: "";
    position: absolute;
    left: 0;
    background: url(/perry-foundation/wp-content/uploads/2025/11/blue.png);
    width: 276px;
    height: 758px;
    display: block;
    z-index: 999;
    top: 100px;
}


/* About us page css start */

#breadcrumbs span {
    border-radius: 9999px;
    background: #FFF;
    padding: 12px 20px;
	    position: relative;
}

#breadcrumbs span a:before {
    content: "";
    position: absolute;
    background: url(/perry-foundation/wp-content/uploads/2025/12/breadcrumb-icon.svg);
    width: 12px;
    height: 16px;
    left: auto;
    right: 10px;
    display: flex;
    margin: 0 auto;
    top: 13px;
    background-repeat: no-repeat;
}

p#breadcrumbs a {
    color: #222222 !important;
    margin-right: 30px;
}




.dot-after  span.elementor-icon-list-text {
    position: relative;
}

.dot-after span.elementor-icon-list-text:after {
    content: "";
    position: absolute;
    background: url(/perry-foundation/wp-content/uploads/2025/12/dotss.svg);
    width: 10px;
    height: 10px;
    right: -35px;
    top: 6px;
}

.value-even-hover .elementor-icon-box-description {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
}

/* Hover par show hogi */
.value-even-hover:hover .elementor-icon-box-description {
    opacity: 1;
    height: auto;
    margin-top: 10px;
}
/* Default State */
.value-odd .value-odd-hover {
    margin-top: 150px;          /* Default space from top */
    transition: all 0.4s ease;
}

.value-odd .elementor-icon-box-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);   /* Slight down */
    transition: all 0.4s ease;
}

/* Hover State */
.value-odd-hover:hover {
    margin-top: 0;             /* Moves up smoothly on hover */
}

.value-odd-hover:hover .elementor-icon-box-description {
    opacity: 1;
    max-height: 200px;         /* Enough height for text */
    transform: translateY(0);  /* Slides UP smoothly */
}

/* About us css end  */






/* media query css start  */
@media screen and (max-width: 1680px){
	.baner2 {
    left: 9em;
}
	.slick-track {
    display: flow;
}
}

@media screen and (max-width: 1440px){
	.item-content .title a {
    font-size: 25px;
    line-height: 30px !important;
}

h3.title {
    line-height: 20px !important;
}
	.baner2 {
    left: 5em;
}
	.arrow-prev, .arrow-next {
    width: 100%;
    height: 55px;
}
	.custom-arrows {
    bottom: 90px;

}
}


@media screen and (max-width: 1366px){
	    .baner2 {
        left: 4em;
    }
}
@media screen and (max-width: 1280px){
	.custom-arrows {
    width: 30%;
    left: -10em;
}
	    .baner2 {
        left: 10em;
    }
	.value-odd-hover:hover .elementor-icon-box-description {
    max-height: max-content;
}
	p.service-number-text
 {

    font-size: 25px;
    line-height: 35px;
}
	p.arv-para-2.disc {
    width: auto;
}
	.arv-services-2-item {
    height: 170px;
		padding: 15px 15px;

}
	.item-action {
    gap: 0px;
}
	  .item-content {
        gap: 0px 5px;
        margin-left: 30px;
		      display: block;
}
	.arv-services-2-item:nth-child(even) .item-content {
    margin-right: 30px;
}

	.scholar:after {
display: none;
}
	.scholar:before {
display: none;
}
}




	
	/* Responsive tweaks for screens ≤ 1024px */
@media (max-width: 1024px) {
	.baner2
 {
        left: 5em;
    }
	    .custom-arrows {
           display: none;

    }
		.icon {
    margin-left: 20px;
}
	    .item-content {
        gap: 0px 5px;
        margin-left: 30px;
    }
	.arv-services-2-item:nth-child(even) .item-action {
    order: 0;
}
  /* wrap spacing */
  .arv-services-2-wrap {
    margin-top: 60px; /* chhota kiya gaya */
    padding-left: 20px;
    padding-right: 20px;
  }

  /* make each item stack vertically */
  .arv-services-2-item {
    grid-template-columns: 1fr; /* single column */
    grid-template-rows: auto;
    gap: 16px 16px;
    padding: 20px;
    height: auto; /* allow variable height */
    border-radius: 20px; /* thora kam */
    align-items: center;
    align-content: center;
    transition: all 0.6s ease;
  }

  /* Reset ordering and spacing for actions */
  .arv-services-2-item .item-action {
    order: 0;
    flex-direction: row; /* don't reverse on small screens */
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 0;
    display: block;
    justify-content: center;
    text-align: center;
  }

  /* content alignment inside item */
  .item-content {
    margin-left: 0;
    margin-right: 0;
    gap: 12px 18px;
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: center;
  }

  /* icon sizing and spacing */
  .icon {
    margin-left: 0;
    margin-right: 0;
    width: 300px;
    flex-shrink: 0;
    margin: 0 auto !important;
  }
  .icon img { max-width: 100%; height: auto; display: block; }

  /* smaller decorative circles */
  .icon:before,
  .icon:after {
    transform: scale(1.05);
  }

  /* number & title sizes */
  p.service-number-text {
    font-size: 30px;
    line-height: 36px;
  }

  .item-action a {
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
  }

  p.arv-para-2.disc {
    width: 100%; /* full width text under title */
    margin-top: 8px;
  }

  /* even-child grid revert */
  .arv-services-2-item:nth-child(even),
  .arv-services-2-item:nth-child(even) .item-content,
  .arv-services-2-item:nth-child(even) .item-action {
    grid-template-columns: 1fr;
    margin-right: 0;
    margin-left: 0;
  }

  .arv-services-2-item:nth-child(even) .item-action .icon {
    margin-left: 0;
    margin-right: 0;
  }

  /* spacing between items */
  .arv-services-2-item:not(:first-child) {
    margin-top: 60px; /* chhota kar diya gaya */
  }

  /* reduce translate distances for animations so they feel natural on narrow screens */
  .fadeInLeft { transform: translateX(-20px); }
  .fadeInRight { transform: translateX(20px); }

  /* ensure animate class overrides properly */
  .arv-services-2-item.fadeInLeft.animate,
  .arv-services-2-item.fadeInRight.animate {
    opacity: 1;
    transform: translateX(0);
  }

  /* hide big link if it was hidden earlier keep as-is (optional) */
  .item-action a.link {
    display: none;
  }
}




@media screen and (max-width: 800px){
	#breadcrumbs span
 {
    padding: 10px;
}
	.quikeline:after {
    width: 100%;

}
	.scholar:after
 {
display: none !important;
}
	.scholar:before
 {
    content: "";
display: none !important;

}
	    .baner2 {
        left: 0;
        right: auto !important;
        margin: 0 auto !important;
    }
	.next-slide {
    position: absolute;
    bottom: 0;
    left: 0;
}
	.ban:before {
   display: none;
}
	.big-slider-container {
    display: block;
}

}
@media screen and (max-width: 767px){
	.big-slider-container {
        overflow-x: hidden !important;
    }
	.empor::before{
		display:none;
	}
	        .arv-services-2-item .item-action {
            display: block;
        }
	        .icon {
            width: auto;
        }
		.value-odd .value-odd-hover {
    margin-top: 0;

}
	.app-form .elementor-field-type-textarea label.elementor-field-label {
    width: 100% !important;
}
	    #breadcrumbs span {
        padding: 8px 5px;
    }
}
@media screen and (max-width: 667px){
	.next-slide img {
    width: 50%;
}
	p#breadcrumbs a {

    margin-right: 20px;
}
	#breadcrumbs span a:before {
    right: 5px;
    top: 9px;
 
}

}

/* media query css end  */