/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 15 2025 | 12:43:39 */
/* container */
.tax-diploma-category .site-content .ast-container{
	max-width: 100%;
	padding: 0px;
}
/* Header */
.site-header{
	position: sticky !important;
    top: 0;
}
.site-content{
	background-color: #fff !important;
}

.secondary-yellow-text {
    color: #FFD100;
}

.ellipse-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.ellipse-text-four {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.call-icon {
    width: 64px !important;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-icon .elementor-icon-wrapper {
    line-height: normal;
}

.choose-us-card {
    backdrop-filter: blur(20px);
}

.icon-list-style ul li a {
    flex-direction: row-reverse !important;
    gap: 8px;
}

.featured-img {
    position: absolute;
    height: 70px;
    right: 8%;
    bottom: -12%;
	width: 70px;
}

.single-member {
    position: absolute;
}

.gradient-effect::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.23) 51%, rgba(16, 29, 73, 0.83) 76.1%);
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 1;
	border-radius: 5px;
}

.gradient-effect:hover::before {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.program-card .card-media-img {
    position: relative;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.program-card {
    transition: transform 0.6s ease, opacity 0.6s ease;
    overflow: hidden;
}
.card-media-img > .elementor-widget-image:nth-child(1) > img{
	height: 270px;
	object-fit: cover;
}
.program-card .card-media-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(275deg, rgba(255, 209, 0, 0.4) 8.41%, rgba(16, 29, 73, 0.7) 95.13%);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateX(-100%);
}

.program-card:hover .card-media-img::before {
    opacity: 1;
    transform: translateX(0);
    z-index: 9;
}

.inverted-comas {
    font-size: 90px;
    line-height: 12px;
    color: #FFD100;

}

.inverted-top {
    vertical-align: baseline;
}

.inverted-bottom {
    vertical-align: text-top;
}

.choose-us-img {
    height: 100%;
}

.d-none {
    display: none !important;
}

.featured-course_btn .elementor-button.active {
    background-color: #101D48 !important;
    color: #fff !important;
}

/* contact form */
.form-flex {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-field {
    width: 50%;
}

.form-field p {
    margin-bottom: 0px !important;
}

.form-field p span input {
    background: #FFFFFF3D !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 16px !important;
    height: auto !important;
    font-size: 16px !important;
    line-height: 27px !important;
    font-weight: 400 !important;
}

.form-field p span textarea {
    background: #FFFFFF3D !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 16px !important;
    height: 156px !important;
    font-size: 16px !important;
    line-height: 27px !important;
    font-weight: 400 !important;
}

.form-field p span input::placeholder,
.form-field p span textarea::placeholder {
    color: #fff !important;
}

.form-field p .submit_btn {
    border: 1px solid #fff !important;
    border-radius: 5px !important;
    color: #fff !important;
    background-color: transparent !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 18px !important;
    padding: 13px 36px !important;
    transition: 0.3s all ease-in-out !important;
}

.form-field p .submit_btn:hover {
    background-color: #FFD100 !important;
    color: #000 !important;
}

.form-field.full-width {
    width: 100%;
}

.text-right.form-field.full-width p {
    text-align: right !important;
    display: flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important;
}

.wpcf7-response-output {
    color: #fff !important;
}

.footer-element a .footer_numHover:hover{
	color: #FFD100 !important;
}
.ast-logo-title-inline .ast-site-identity {
    position: absolute;
    background-color: #fff;
    border-bottom: 3px solid #FFD100;
    padding: 0px;
}

.ast-logo-title-inline .site-logo-img {
    padding-right: 0;
}

.ast-logo-title-inline .site-logo-img a {
    display: block;
    padding: 30px 20px 20px 20px;
}
 .ast-custom-button-link{
	transition: 0.3s all ease-in-out !important;
}
.ast-custom-button-link:hover .ast-custom-button{
	background-color: #101D49 !important;
}
.ast-custom-button-link:hover .ast-custom-button{
	color: #fff !important;
}
/* card-desgin */
/* .course-grid{
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
} */
.course-grid {
    display: flex;
    gap: 15px 1%;
    flex-wrap: wrap;
    width: 100%;
	max-width: 1280px;
    margin: 50px auto;
    padding: 0px 20px;
}
.course-card{
	border-color: #EFEFEF;
    border: 1px solid #EFEFEF;
	width: 32.65%;
}
.course-card a{
	display: block;
    position: relative;
	transition: transform 0.6s ease, opacity 0.6s ease;
    overflow: hidden;
}
.course-card a .thumbnail-imgg{
	position: relative;
    height: 274px;
}
.course-card a h3{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.course-card .thumbnail-imgg::before{
	content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(275deg, rgba(255, 209, 0, 0.4) 8.41%, rgba(16, 29, 73, 0.7) 95.13%);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateX(-100%);
	border-radius: 5px;
}
.course-card:hover .thumbnail-imgg::before{
	opacity: 1;
    transform: translateX(0);
    z-index: 9;
}
.course-card a .icon-imgg{
	position: absolute;
    right: 3%;
    bottom: -11%;
    border: 3px solid #fff;
    border-radius: 50%;
    height: 70px;
    width: 70px;
    background-color: #101D49;
    padding: 12px;
	z-index: 9;
}
.course-card a .icon-imgg img{
	object-fit: contain;
	width: 100%;
	height: 100%;
}
.course-card a .wp-post-image{
	width: 100% !important;
	height: 100% !important;
    object-fit: cover !important;
}
.course-card a h3{
	font-size: 18px;
    padding: 30px 45px 0px 10px;
    line-height: 29px;
	font-family: "Lato", Sans-serif;
	font-weight: 600;
	min-height: 88px;
}
.feature-course_detail{
	padding: 10px;
}
.feature-course_detail .course-description{
	text-align: justify;
    font-family: "Lato", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #111111;
	margin-bottom: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.feature-course_detail .read-more{
	color: #101d49;
}
.feature-course_detail .read-more i{
	margin-left: 3px;
    font-size: 12px;
}
.ast-page-builder-template .entry-header.ast-header-without-markup{
	display: none !important;
}
.navigation.post-navigation{
	 max-width: 1240px;
    margin: 0 auto;
}
/* Dynamic cards */
.courses-archive{
	width: 100%;
}
.courses-archive .category-banner{
    width: 100%;
}
.courses-archive .category-banner img{
	width: 100%;
}
.course-archive-bg{
	background-image: url("http://kgc.org.uk/wp-content/uploads/2025/09/hero-main-banner-old-1.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 350px;
	margin-bottom: 100px;
	display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
	position: absolute;
    left: 0;
    right: 0;
    top: 81px;
}
.course-archive-bg h1{
	color: #FFD100;
    font-family: "Poppins", Sans-serif;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3em;
}
.ast-single-post .entry-content a {
    text-decoration: none !important;
}
.footer-element h2 a{
	color: #fff !important;
}
/*  footer*/

.pris-testimonial-wrap .slick-list {
    padding: 0 !important;
}
.pris-testimonial-wrap .slick-dots {
    position: relative !important;
    bottom: 0 !important;
}
.pris-testimonial-wrap .slick-slide {
  margin: 0 10px !important; /* cards ke beech 20px total gap (10 left + 10 right) */
}

.pris-testimonial-wrap .slick-list {
  margin: 0 -10px !important; /* layout balance karne ke liye */
}
.team-picture img{
	width: 100%;
}
.mobile-banner-wrap{
	display: none;
}
.avatar-img-testimonial .elementor-widget-image{
	height: 60px;
	width: 60px;
	border-radius: 50%;
	overflow: hidden;
	max-width: 60px !important;
}
.avatar-img-testimonial .elementor-widget-image img{
	height: 100% !important;
	width: 100% !important;
	object-fit: cover;
}
.testimonial-right-section .elementor-widget-heading h2{
	min-height: 57px;
}
.testimonial-right-section .elementor-widget-text-editor p{
	min-height: 174px;
}
@media(max-width:1024px){
	.ast-logo-title-inline .ast-site-identity {
   	 	width: 190px;
	}
	.course-card{
		width: 49%;
	}
	.footer-logo {
        position: relative !important;
    }
}
@media(max-width:767px) {
    .footer-logo {
        position: relative !important;
    }
	.course-card{
		width: 100%;
	}
	.course-card a h3 {
		font-size: 20px;
		padding: 30px 10px 0px 10px;
		line-height: 29px;
	}
	.feature-course_detail .course-description {
		font-size: 14px;
	}
	.feature-course_detail .read-more {
		color: #101d49;
		font-size: 14px;
	}
	.courses-archive {
		width: 100%;
	}
	.form-flex {
		width: 100%;
		display: flex;
		align-items: center;
		gap: 20px;
		flex-wrap: wrap;
	}

	.form-field {
		width: 100%;
	}
	.ast-logo-title-inline .ast-site-identity {
		position: relative;
		background-color: #fff;
		border-bottom: none;
		padding: 0px;
		width: auto;
	}
	.ast-logo-title-inline .site-logo-img a {
		display: block;
		padding: 10px 20px 10px 20px;
	}
	header .custom-logo-link img {
		max-width: 125px;
		width: 125px;
	}
	button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal {
		border-style: none !important;
		border-color: inherit;
		outline: none !important;
	}
	.testimonial-right-section .elementor-widget-heading h2{
		min-height: 72px;
	}
	.testimonial-right-section .elementor-widget-text-editor p{
		min-height: 300px;
	}
}

@media(max-width:575px){
	.category-banner{
		display: none;
	}
	.mobile-banner-wrap{
		display: block;
	}
	.mobile-banner-wrap img{
		width: 100%;
	}
	.tax-diploma-category .site-content .ast-container {
		max-width: 100%;
		padding: 0px !important;
	}
}