/*
Theme Name: Ivy School Child
Theme URI: https://themeforest.net/item/ivy-school-education-wordpress-theme/22844105
Description: Child theme for Ivy School theme
Author: Your Name
Author URI: https://yourwebsite.com
Template: ivy-school
Version: 1.0.0
Text Domain: ivy-school-child
*/

/* Custom styles go below */


@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


.header-sec-2 h3.elementor-image-box-title {
    font-size: 22px;
    color: #000;
}

#primaryMenu>.menu-item.current_page_item>a, #primaryMenu>.menu-item.current-menu-item>a {
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Outfit", sans-serif !important;
    font-weight: 600;
}

.main-heading h2.elementor-heading-title {
    font-size: 34px;
    line-height: 1.3;
}

body, body p {
    font-family: 'Poppins';
    font-size: 16px;
}

body p {
    letter-spacing: 0.2px;
    line-height: 1.6;
}


.logo-header {
	background: #fff;
}

.logo-header p {
	margin: 0;
	font-size: 14px;
}

.affix .logo-header {
	display: none;
}

.icn-box  img.img-fluid {
	height: 30px;
	width: 30px;
	filter: brightness(0) invert(1);
}

.text-col {
	width: calc(100% - 60px);
	line-height: 1.2;
}	

.icn-box {
	display: flex;
	align-items: center;
}

.icn-col {
	margin-right: 10px;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #790303;
	border-radius: 100%;
}

.icn-box .text-col h4 {
	margin: 0px;
	font-size: 20px;
}

.icn-box .text-col p, .icn-box .text-col p a {
	color: #000;
	opacity: 0.7;
	font-size: 15px;
}
.header-wrapper {
	padding: 0 !important;
}
#masthead.affix {
	background: #790303 !important;
	box-shadow: 0px 0px 0px 1px #fff;
}

#primaryMenu li a:hover {
	color: #ffffff !important;
}

header#masthead.site-header.sticky-header.affix-top {
    position: relative !important;
}

/* main button css starts here */

.main-btn .elementor-button {
  background: linear-gradient(180deg, #181b1d, #7a2c2f);
  padding: 14px 24px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: poppins;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  font-family: "Outfit", sans-serif !important;
}
.main-btn .elementor-button:before {
  position: absolute;
  content: "";
  background: #7a2c2f;
  left: 0;
  right: 0;
  width: 100;
  height: 0%;
  top: 100%;
  bottom: 0;
  transition: 0.3s;
}
.main-btn .elementor-button:hover:before {
  top: 0;
  height: 100%;
}
.main-btn .elementor-button span {
  position: relative;
}

/* our vission icons section css here starts */

.header-sec-2 .e-con-inner > .elementor-element:last-child {
    border: 0;
}

.header-sec-2 .e-con-inner {
    padding: 0 !important;
    border-radius: 10px;
    overflow: hidden;
	box-shadow: 0px 0px 3px 0px #181b1d54;
}

.header-sec-2 .elementor-widget-image-box {
    padding: 20px;
}

.header-sec-2 .e-con-inner > .elementor-element {
    background: #fff;
	margin-top: 10px;
}

.header-sec-2 .e-con-inner > .elementor-element:before {
    position: absolute;
    content: "";
    background: transparent;
    right: 0;
    height: 80%;
    border-right: 1px dashed #7a2c2f;
    top: 50%;
    transform: translateY(-50%);
}

.header-sec-2 .e-con-inner > .elementor-element:last-child:before {
    display: none;
}

/* .header-sec-2 {
    position: relative;
    top: -130px;
}
 */
.header-sec-2 {
    margin-top: -140px;
}

.header-sec-2 figure.elementor-image-box-img {
    background: linear-gradient(45deg, #2e3349, #7a2c2f, #2e3349);
    height: 74px;
    width: 74px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px auto 20px !important;
    border-radius: 100%;
}

.header-sec-2 figure.elementor-image-box-img img {
    width: 52px;
    height: 52px;
}

.words-idea .elementor-widget-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.main-sec {
    padding: 60px 0px;
}

.padding-top {
	padding-top: 60px;
}

.padding-bottom {
	padding-bottom: 60px;
}

.courses-sec {
    padding-bottom: 60px;
}

.courses-sec h3.elementor-image-box-title {
    font-size: 20px;
	position: relative;
}

.courses-sec p.elementor-image-box-description {
    font-size: 15px;
    line-height: 1.2;
	position: relative;
}

.courses-sec .elementor-widget-image-box {
    border-radius: 10px;
    padding: 20px;
	background: #fff;
    box-shadow: 0px 0px 3px 0px #181b1d54;
	position: relative;
	overflow:hidden;
}

.courses-sec .elementor-widget-image-box:hover h3, .courses-sec .elementor-widget-image-box:hover p{
	color:#fff !important;
	transition:0.4s ease-in-out;
}

.courses-sec figure.elementor-image-box-img {
    background: linear-gradient(0deg, #7a2c2f, #181b1d);
    height: 80px !important;
    width: 80px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0px auto 20px !important;
    border-radius: 100%;
}

.courses-sec figure.elementor-image-box-img img {
    filter: grayscale(1) invert(1);
    height: 54px;
    width: 54px;
}   

.courses-sec .elementor-widget-image-box:before {
    position: absolute;
    content: "";
    background: linear-gradient(0deg, #7a2c2f, #181b1d);
    height: 100%;
    width: 0%;
    top: 0;
    left: 100%;
    right: 0;
    bottom: 0;
	transition:0.4s ease-in-out;
}

.courses-sec .elementor-widget-image-box:hover:before {
    left: 0;
    width: 100%;
	transition:0.4s ease-in-out;
}

.courses-sec .elementor-widget-image-box:hover figure.elementor-image-box-img {
    background: #fff !important;
     position: relative;
}

.courses-sec .elementor-widget.elementor-widget-image-box:hover img {
    filter: none;
}

/* Main container */
.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Heading */
.contact-form h2 {
  font-size: 28px;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

/* All input and textarea fields */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 16px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  font-family: 'Poppins';
}

/* Focus effects */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
  outline: none;
}

/* Submit button styling */
.contact-form input[type="submit"] {
    background: linear-gradient(180deg, #181b1d, #7a2c2f);
    font-weight: 600 !important;
    color: #fff;
    border: none;
    padding: 14px 20px;
    font-size: 18px !important;
    letter-spacing: 2px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
	font-family: 'Outfit';
}

.contact-form input[type="submit"]:hover {
  background: #0056b3;
}

.contact-form p, .contact-form span {
    width: 100%;
}

#contact .wpcf7.js, #contact .elementor-shortcode, #contact form.wpcf7-form.init, #contact .contact-form {
    height: 100%;
}

.contact-form p {
    gap: 0;
}

.contact-form textarea {
    max-height: 100px;
}


/* faq accordians css starts  here */

.home-faq .elementor-widget-thim-ekits-accordion {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.home-faq .accordion-section {
    margin-bottom: 15px;
    background: #fff;
    border: 0 !important;
}

.home-faq .accordion-content p {
    font-size: 14px;
}

.home-faq .accordion-title {
    background: linear-gradient(45deg, #f5f8fa, #faf5f5);
    border-radius: 10px;
}

.home-faq .accordion-title:hover {
    background: linear-gradient(0deg, #7a2c2f, #181b1d);
}

.home-faq .accordion-title:hover svg path {
    fill: #fff;
}

.home-faq .accordion-title[aria-selected=true] {
    background: linear-gradient(0deg, #7a2c2f, #181b1d) !important;
}

.home-faq .accordion-title[aria-selected=true] svg path {
    fill: #fff;
}

.footer .elementor-widget-image .elementor-widget-container {
    margin: 0 !important;
}

/* .footer .elementor-widget-image img {
    max-width: 180px;
} */

.footer-cont p {
    display: flex;
    align-items: flex-start;
}

.footer-cont p i {
    margin-top: 5px;
    margin-right: 10px;
    font-family: 'Font Awesome 5 Free';
    width: 16px;
}

.site-footer.footer-home-5 .footer {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.site-footer .widget_nav_menu {
    width: max-content;
    margin: auto;
}

.copyright-area {
    padding: 14px 0px !important;
    border-color: #5e5e5e !important;
}

.about-sec .elementor-widget-text-editor ul li {
    list-style: outside;
    margin: 14px 0px;
}

.about-sec .elementor-widget-text-editor ul {
    padding-left: 20px;
}

.text-bock {
    box-shadow: 0px 0px 3px 0px #181b1d54;
    padding: 24px;
	border-radius:6px;
}

/* rs-slide a {
    color: #fff !important;
    text-decoration: none;
    font-family: 'Outfit';
    font-size: 16px;
} */

@media (max-width: 1200px){
	
body.responsive footer#colophon.footer-home-5 .footer .footer-sidebars {
    grid-template-columns: repeat(3,1fr) !important;
}	
	
} 

@media (min-width: 768px) and (max-width: 991px){

	.footer .footer-sidebars .col-sm-6 {
    flex: 0 0 32.5%;
}
	
}

@media (max-width: 991px){
	
	.site-header > .container {
	background: #2e3349;
}
	
	.site-header > .container .header-wrapper {
	height: 40px;
}
	
.site-header.affix.menu-hidden {
    top: 0 !important;
}

.site-header.affix {
    top: 0 !important;
}	
	
}

@media (max-width: 767px){
	
	section#gallery {
    padding: 0px 0px 30px !important;
}
	
	.header-sec-2 {
    margin-top: 0px;
}
	
	.header-sec-2 .e-con-inner > .elementor-element::before {
	position: absolute;
	content: "";
	background: transparent;
	left: 50%;
	height: 1px;
	top: 100%;
	transform: translateX(-50%);
	width: 90%;
	bottom: 0;
	border-bottom: 1px dashed #7a2c2f;
}
	
	.site-footer .widget_nav_menu {
	width: max-content;
	margin: 0;
}
	
		.site-footer .elementor-section > .elementor-container > .elementor-column {
    margin: 0 !important;
}
	
	.main-sec {
	padding: 30px 0px;
}
	
    .logo-header .row .col-md-10 {
	display: none;
}	
	
	.width-logo.sm-logo {
	margin: 0 auto;
	padding: 5px 0px !important;
}
	
    .main-heading h2.elementor-heading-title {
	font-size: 24px;
	line-height: 1.3;
}
	
	.home-faq .elementor-widget-thim-ekits-accordion, .contact-form {
	padding: 20px 15px;
}
	
	.contact-form h2, .main-heading h2.elementor-heading-title {
	font-size: 24px;
}
	
	.main-btn .elementor-button {
	padding: 12px 20px;
	font-size: 14px;
}
	
	.header-sec-2 h3.elementor-image-box-title {
	font-size: 20px;
	color: #000;
}
	
	.testimonial-content .content {
	font-size: 14px !important;
}
	
	.site-footer.footer-home-5 .footer {
	padding-top: 30px !important;
	padding-bottom: 0px !important;
}
	
}