:root {
    --main-color: #000;
    --grey-color: #707070;
    --yellow-color: #FFECB3;
    --orange-color: #FF7B31;
    --font-size: 18px;
    --border-radius: 10px;
    --section-padding: 60px;
}

body {
    color: var(--main-color);
}

a:hover {
    color: inherit;
}

a.nav-link {
    transition: color 0.3s ease;
}

a.nav-link:hover {
    color: var(--orange-color);
}

section {
    margin-bottom: 115px;
}

.section-padd-t {
    margin-top: 115px;
}

img.rounded {
    border-radius: var(--border-radius);
}
.pre-head-text{
	font-style: italic;
	color: var(--main-color);
	max-width: 75%;
	font-size: 18px;
	opacity: 50%;
}
.header-hero-bg {
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 695px;
    background-image: url('/wp-content/uploads/2025/11/back-hero.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: -1;
}

.logo {
    width: 132px;
}

#header .navbar-wrapper .navbar .navbar-nav .nav-item .nav-link.active {
    color: var(--orange-color);
}

#header .navbar-wrapper .navbar .navbar-nav .nav-item .nav-link {
    font-weight: 400;
}

.orange-color {
    color: var(--orange--color);
}

h2 {
    font-size: 32px;
}

.grey-color {
    color: var(--grey-color);
}

.pos-r {
    position: relative;
}
.hero-section{
	padding-top: 40px;
	min-height: 500px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 50%;
}

.hero-buttons {
    display: flex;
    gap: 26px;
}

.hero-image {
    position: relative;
    max-width: 28%;
	margin-right: 60px;
}

.hero-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(251, 223, 151, 0.9);
    border-radius: 0 0 10px 10px;
    font-size: 24px;
    text-transform: uppercase;
}

/*Right Hero Block*/ 


.icon-card{
	display: flex;
	border: 1px solid  var(--yellow-color);
	border-radius: var(--border-radius);
	gap: 20px;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	transform: rotate(1deg);
	position: relative;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	background: #fff;
}
.icon-card__icon{
	width:120px;
}
.icon-card__title{
	font-size: 21px;
}
p.icon-card__text{
	color: var(--grey-color);
	font-size: 14px;
	text-transform: none;
	text-align: left;
}
.icon-card__left{
	background: var(--yellow-color);
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 100%;
	height: 100%;
	border-radius: var(--border-radius);
}
.icon-card__right{
	padding: 20px;
	text-align: left;
}
.icon-card::before{
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-20deg);
	content:'';
	width: 40px;
	height: 48px;
	background: url('https://wise-kids.com.ua/wp-content/uploads/2026/01/decor-orange.png') center / cover no-repeat;;
}
}

/*Two Images Block Style*/
.grid-2-col.grid-50-50{
    grid-template-columns: 1fr 1fr;
}
.max-w-80{
    max-width: 80%;
    margin: 0 auto;
}
.grid-circle{
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 100%;
    border: 20px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
	background: #fff
}
.grid-circle-img{
	width: 50px;
	height: 50px;
}
.block-with-2-photos .grid-item{
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
	border-radius: var(--border-radius);
}

.block-with-2-photos .grid-item::before{
	content: '';
	position: absolute;
	height: 50%;
	bottom: 0;
	background: linear-gradient(
  to bottom,
  rgba(255, 255, 255, 0) 0%,
  rgba(255, 255, 255, 0.6) 60%,
  #fff 100%
);
	width: 100%;
}
.grid-item-img{
	border-radius: var(--border-radius);
}
.grid-text-content{
	position: absolute;
	bottom: 0px;
	display: flex;
	flex-direction: column;

	padding-left: 30px
}
.subject-title{
	font-size: 21px;
	text-transform: uppercase;
	color: var(--orange-color);
}
.subject-subtitle{
	color: black;
}
.grid-heading{
	max-width: 80%;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 40px
}
section.block-with-2-photos{
	margin-bottom: 40px
}

/*Programm Block*/
.programm-wrapper{
	padding: 50px ;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: center;
	color: white;
	background-image: url('https://wise-kids.com.ua/wp-content/uploads/2025/11/back-footer.svg');
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: var(--border-radius);
	max-width: 80%;
	margin: 0 auto;
}
.programm-head{
	margin-bottom: 20px
}

/*4 icons in line*/

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.grid-4-col {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.grid-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grid-title p {
    color: var(--grey-color);
    font-size: var(--font-size);
    font-weight: 300;

}

.grid-title h2 {
    font-size: 32px;
    font-weight: 500;
	text-align: center;
	margin-bottom: 40px;
}

.grid-item-wrapp {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 70px;
}

.grid-4-col p {
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
}

.grid-item.align-center {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.grid-item-icon {
    width: 91px;
    height: 91px;
}

.grid-decor {
    position: absolute;
    top: 60px;
    left: 130px;
    width: 1000px;
    transform: translate(0%, -50%);
    z-index: -1;
}

.block-form {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background: var(--yellow-color);
    border-radius: var(--border-radius);
    gap: 200px;
}

.block-form-content {
    padding: 77px 0 77px 86px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: var(--font-size);
    gap: 32px;
}

.block_form_wrapp_text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.block-form-content h2 {
    font-size: 36px;
    margin-bottom: 0;
}

.main-text p {
    font-size: 21px;
}

.btn {
    padding: 16px 25px;
    border-radius: 50px;
    background: var(--main-color);
    color: #fff;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid #000;
}

.btn:hover {
    background: var(--orange-color);
    border-color: var(--orange-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn.btn-outline-primary {
    background: transparent;
    color: var(--black-color);
}

.btn.btn-outline-primary:hover {
    background: var(--orange-color) !important;
    color: #fff;
    transform: translateY(-2px);
}

footer {
    position: relative;
}

footer::after {
    position: absolute;
    content: '';
    background: url('/wp-content/uploads/2025/11/back-footer.svg');
    width: 100svw;
    height: 100%;
    top: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.footer-wrapper {
    position: relative;
    z-index: 1;
    font-weight: 300;
    letter-spacing: 0.3px;
    font-size: var(--font-size);
}

.footer-logo {
    width: 132px;
}

.footer-wrapper .block-center {
    display: flex;
    justify-content: center;
}

.footer-wrapper .block-right {
    display: flex;
    justify-content: end;
}
/*Reviews*/
.review-item{
    border: 1px solid #000;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
	border-radius: var(--border-radius);
	height: 100%;
	justify-content: space-between;
	background: #fffaef;
}
.review-item-top{
	 display: flex;
    flex-direction: column;
    gap: 20px;
}
.review-item-title{
    font-size: 21px;
    font-weight: 600;
	line-height: 1.3
}

.review-item-text{
    color: var(--grey-color);
    line-height: 1.6;
	font-style: italic;
}

.review-author-wrapp{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

}
.review-author-left{
    display: flex;
    align-items: center;
    gap: 12px;
	
}

.review-author-name{
    font-size: 18px;
    font-weight: 500;
	color: var(--orange-color);
}
.review-author-icon-wrapp{
	width: 60px;
	height: 60px;
	background: #fff;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 3px;
	overflow: hidden;
}
.review-author-icon{
    width: 40px;
    height: auto;
	object-fit: contain;
	
}

.review-date{
    font-size: 14px;
    opacity: 0.6;
}
.help-project-container{
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
}
.help-project-form{
	width: 100%
}
.help-project-container h2{
	text-align: center;
}


/*Form Page*/
body.page-id-92 .header-hero-bg {
    height: 132px;
}

.form-page-header {
    max-width: 60%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.form-page-title {
    color: var(--orange-color);
    font-size: 36px;
}

.form-page-subtitle {
    color: var(--grey-color);
    font-weight: 300;
    font-size: var(--font-size);
}

.registration-form-wrapp {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    background: var(--yellow-color);
    border-radius: var(--border-radius);
    margin-top: 45px;
    overflow: hidden;
}

.registration-form-content {
    padding: 60px;
}

.registration-form-img {
    height: 100%;
    object-fit: cover;
}

/* Label text style */
.wpcf7-form label,
.wpcf7-form p {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 12px;
}

/* Input and textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #000;
    font-size: 16px;
    color: #1a1a1a;
    padding: 8px 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.wpcf7-form textarea {
    max-height: 50px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"] {
    max-height: 20px;
}


/* Hover */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #000;
}

/* Placeholders */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.3);
    font-size: 14px;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    padding: 12px 20px;
    border-radius: 50px;
    background: var(--main-color);
    color: #fff;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 25px;
    font-size: 15px;
    border: none;
    font-weight: 400;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #222;
    transform: translateY(-2px);
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #000;
    font-weight: 500;
    margin-top: 20px;
}

.conditional-field {
    display: none;
    margin-top: 12px;
}

.wpcf7-list-item {
    margin-right: 10px;
}

.wpcf7-not-valid-tip,
.screen-reader-response ul li {
    display: none;
}

.wpcf7-not-valid {
    border-color: red !important;
}

input[type=radio] {
    margin-right: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid var(--orange-color);
    transition: 0.2s all linear;
    outline: none;
    position: relative;
    top: 2px;
}

input[type=radio]:checked {
    border: 6px solid var(--orange-color);
}

/* === Burger styles === */
.no-scroll {
    overflow: hidden;
    height: 100dvh;
}

.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #F08240;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center center;
}

/* Burger to cross  */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6.5px, -5.5px);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fffaf5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 15;
}

.nav.active {
    opacity: 1;
    visibility: visible;
}
.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nav li {
    margin: 16px 0;
}

.nav a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.nav .btn {
    margin-top: 24px;
    background: #F08240;
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
}

@media (min-width: 480px) {
    .nav {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .nav ul {
        display: flex;
        gap: 0px;
        justify-content: flex-end;
        align-items: center;
    }

    .burger {
        display: none;
    }
}



@media(max-width: 479px) {
	.header-hero-bg {
    height: 900px;
	}
    .btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .hero-text {
        max-width: 100%;
		margin-right: 0;
    }
	.hero-image{
		max-width:90%;
		margin: 0 auto;
	}

    .hero-text h1,
    .form-page-title,
    .block-form-content h2 {

        font-size: 30px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-block {
        gap: 80px;
        margin-top: 40px;
    }

    .hero-caption {
        font-size: 18px;
        height: 70px;
    }

    .grid-2-col,
    .grid-item-wrapp,
    .block-form,
    .registration-form-wrapp {
        grid-template-columns: 1fr;
    }

    .hero-block,
    .hero-buttons {
        flex-direction: column;
    }
	.icon-card::before {
		display: none;
	}
	.icon-card {
		transform: none;
	}

    .d-flex.justify-content-between.align-items-center.header-type-1 {
        gap: 20px;
    }

    .grid-decor {
        top: -10px;
        left: -200px;
        width: 210%;
        transform: translate(0%, -50%);
        transform: rotate(-90deg);
        height: 1000px;
    }

    .block-form-content {
        padding: 40px 20px 0 20px;
        gap: 10px;
    }

    .block-form-content .btn {
        margin-top: 10px;
    }

    .block-form-img {
        max-width: 100%;
    }

    .block-form {
        gap: 30px;
    }

    section {
        padding: 0 15px;
    }

    section.no-padd-mob {
        padding: 0;
        margin-bottom: 0;
    }

    .grid-item-wrapp p {
        background: #fff;
    }

    .grid-title {
        gap: 20px;
        text-align: center;
    }

    .grid-title h2 {
        font-size: 28px;
    }

    .grid-item.align-center {
        max-width: 70%;
        margin: 0 auto;
    }

    .header-right .btn {
        display: none;
    }

    .navbar-toggler {
        background-image: url('/wp-content/uploads/2025/11/menu-icon.png');
        background-size: contain;
        background-repeat: no-repeat;
    }
	.wrapper-size{
		overflow-x: hidden;
	}
	.grid-2-col.grid-50-50 {
    grid-template-columns: 1fr;
		gap: 100px;
}
	section#reviews .grid-2-col.grid-50-50 {
		gap: 20px;
}
	.max-w-80, .programm-wrapper {
    max-width: none;
}
	.grid-circle{
		top: 50%;
	}
	.grid-4-col{
		grid-template-columns: 1fr;
	}
	.programm-wrapper {
    padding: 40px 30px;
	}
	h2{
		font-size: 24px;
	}
	.subject-subtitle, .grid-4-col p, .review-item-text  {
    font-size: 14px;
}
	.grid-4-col p {
		background: #fff;
	}
	.subject-title {
    font-size: 18px;
}
	.grid-text-content {
		padding: 0 10px;
		padding-left: 10px;
	}
	.review-item-title {
		font-size: 18px;
		line-height: 1.1;
	}
    .footer-logo {
        margin: 0 auto;
    }

    .row.footer-type-1 {
        gap: 30px;
    }

    .footer-wrapper .block-right {
        justify-content: center;
    }

    #footer .footer-wrapper .footer-margin-bottom {
        margin-bottom: 0;
    }
	.review-item{
		padding: 40px 20px;
	}

    /*Form Page*/
    .registration-form-content {
        padding: 40px 20px;
    }

    .registration-form-img {
        aspect-ratio: 1 / 1;
    }

    .form-page-header {
        max-width: none;
    }

    .section-padd-t {
        margin-top: 80px;
    }

    body.page-id-92 .header-hero-bg {
        height: 90px;
    }

}