/*
 Theme Name:   Edumoon Child Theme
 Theme URI:    https://getmasum.com/themes-wp/edumoon/
 Description:  This is Edumoon Child Theme
 Author:       themesvila
 Author URI:   https://themeforest.net/user/themesvila
 Template:     edumoon
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:  two-columns, right-sidebar
 Text Domain:  edumoon-child
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;600;700&display=swap");

/* ===== Educeres custom components (ed-*) ===== */
.ed-sec{color:#1c2b4a}
.ed-head{text-align:center;max-width:760px;margin:0 auto 36px}
.ed-head .sub{color:#0D5FF9;font-weight:600;letter-spacing:.5px;text-transform:uppercase;font-size:14px}
.ed-head h2{font-size:38px;line-height:1.2;margin:8px 0 12px;color:#0b1c39}
.ed-head p{color:#5a6a85;font-size:17px}
.ed-grid{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.ed-grid.c2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.ed-card{background:#fff;border:1px solid #e3e9f4;border-radius:16px;padding:28px 24px;box-shadow:0 6px 24px rgba(13,95,249,.06);display:flex;flex-direction:column}
.ed-card h3{font-size:22px;margin:0 0 6px;color:#0b1c39}
.ed-card p{color:#5a6a85}
.ed-card .meta{color:#0D5FF9;font-weight:600;margin-bottom:14px}
.ed-card ul{list-style:none;padding:0;margin:0 0 20px;flex:1}
.ed-card li{padding:7px 0 7px 26px;position:relative;color:#46546e;border-bottom:1px dashed #edf1f7}
.ed-card li:before{content:"\2713";position:absolute;left:0;color:#1bb36b;font-weight:700}
.ed-card.hot{border:2px solid #0D5FF9;position:relative}
.ed-badge{position:absolute;top:-13px;right:20px;background:#ff8a00;color:#fff;font-size:12px;font-weight:700;padding:4px 12px;border-radius:20px}
.ed-soon,.ed-live{display:inline-block;align-self:flex-start;font-size:12px;font-weight:600;padding:3px 10px;border-radius:20px;margin-bottom:10px}
.ed-soon{background:#fff4e0;color:#b86a00}.ed-live{background:#e3f8ee;color:#118a52}
.ed-btns{display:flex;gap:10px;flex-wrap:wrap}
.ed-btn{display:inline-block;padding:11px 20px;border-radius:8px;font-weight:600;text-decoration:none!important;background:#0D5FF9;color:#fff!important;text-align:center;transition:.2s}
.ed-btn:hover{background:#0b1c39}
.ed-btn.o{background:transparent;color:#0D5FF9!important;border:1.5px solid #0D5FF9}.ed-btn.o:hover{background:#0D5FF9;color:#fff!important}
.ed-btn.w{background:#fff;color:#0b1c39!important}
.ed-subj{border-top:4px solid var(--c,#0D5FF9)}
.ed-subj .n{font-size:13px;color:var(--c);font-weight:700;text-transform:uppercase}
.ed-faq details{background:#fff;border:1px solid #e3e9f4;border-radius:12px;padding:16px 20px;margin-bottom:12px}
.ed-faq summary{font-weight:600;cursor:pointer;color:#0b1c39;font-size:17px}
.ed-faq p{margin:10px 0 0;color:#5a6a85}
.ed-cta{background:linear-gradient(120deg,#0b1c39,#0D5FF9);color:#fff;border-radius:20px;padding:48px 32px;text-align:center}
.ed-cta h2{color:#fff;font-size:34px;margin:0 0 10px}.ed-cta p{color:#d8e4ff;max-width:640px;margin:0 auto 22px}
.ed-cta .ed-btns{justify-content:center}.ed-cta .ed-btn.o{color:#fff!important;border-color:#fff}
.ed-steps{counter-reset:s}.ed-step{counter-increment:s}
.ed-step h3:before{content:counter(s);display:inline-flex;width:34px;height:34px;border-radius:50%;background:#0D5FF9;color:#fff;align-items:center;justify-content:center;font-size:16px;margin-right:10px;vertical-align:middle}
.ed-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ed-tbl{width:100%;min-width:640px;border-collapse:collapse;background:#fff;font-size:15px}
.ed-tbl th{background:#0b1c39;color:#fff;padding:12px;text-align:left}.ed-tbl th.hl{background:#0D5FF9}
.ed-tbl td{padding:11px 12px;border-bottom:1px solid #e9eef6;color:#46546e}.ed-tbl td:first-child{font-weight:600;color:#0b1c39}
.ed-split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.ed-form{background:#fff;border:1px solid #e3e9f4;border-radius:16px;padding:30px}
.ed-form label{display:block;font-weight:600;color:#0b1c39;margin:6px 0 4px;font-size:14px}
.ed-form .form-control{margin-bottom:12px}
.ed-form .wpcf7-checkbox .wpcf7-list-item{display:inline-block;margin:0 14px 6px 0}
.ed-form .wpcf7-list-item label{display:inline;font-weight:400}
.ed-info li{list-style:none;padding:10px 0;border-bottom:1px dashed #e3e9f4}.ed-info{padding:0}
.ed-urdu{font-family:'Noto Nastaliq Urdu',serif;direction:rtl;line-height:2.2}
.ed-wa,.copyright a[href*="wa.me"]{position:fixed;left:20px;bottom:20px;z-index:9999;width:56px;height:56px;border-radius:50%;background:#25d366;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.2)}
@media(max-width:991px){.ed-split{grid-template-columns:1fr}}
@media(max-width:767px){.ed-head h2{font-size:28px}.ed-cta h2{font-size:26px}.ed-cta{padding:36px 20px}.ed-form{padding:20px}}
.ed-wa,.copyright a[href*="wa.me"]{background:#25d366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23fff'%3E%3Cpath d='M16 3C9 3 3.3 8.6 3.3 15.6c0 2.5.7 4.8 1.9 6.8L3 29l6.8-2.1c1.9 1 4 1.6 6.2 1.6 7 0 12.7-5.6 12.7-12.6S23 3 16 3zm0 23.1c-2 0-3.9-.6-5.5-1.6l-.4-.2-4 1.2 1.3-3.9-.3-.4c-1.1-1.7-1.7-3.6-1.7-5.6C5.4 9.8 10.2 5.1 16 5.1s10.6 4.7 10.6 10.5S21.8 26.1 16 26.1zm5.8-7.8c-.3-.2-1.9-.9-2.2-1-.3-.1-.5-.2-.7.2-.2.3-.8 1-1 1.2-.2.2-.4.2-.7.1-.3-.2-1.3-.5-2.6-1.6-1-.8-1.6-1.9-1.8-2.2-.2-.3 0-.5.1-.6l.5-.6c.2-.2.2-.3.3-.5.1-.2 0-.4 0-.6l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.1-1.2 2.7s1.2 3.1 1.4 3.4c.2.2 2.4 3.6 5.8 5 .8.4 1.4.6 1.9.7.8.3 1.5.2 2.1.1.6-.1 1.9-.8 2.2-1.5.3-.7.3-1.4.2-1.5-.1-.2-.3-.3-.6-.4z'/%3E%3C/svg%3E") center/30px no-repeat;font-size:0;color:transparent}
.ed-wa:hover,.copyright a[href*="wa.me"]:hover{transform:scale(1.07)}
/* header tidy */
header .course_cat,header .cart-icon,header .mobile_cart{display:none!important}
header .site-logo img{max-width:240px!important;width:240px;height:auto}
@media(min-width:1200px){header .col-30{flex:0 0 25%;max-width:25%}header .col-40{flex:0 0 50%;max-width:50%}header nav>ul{flex-wrap:nowrap;white-space:nowrap}}
@media(max-width:575px){header .site-logo img{width:170px}}
/* mobile tidy */
@media(max-width:767px){
header{padding-top:14px!important;padding-bottom:14px!important}
header .row{flex-wrap:nowrap!important;align-items:center}
#sm_menu_ham{top:32px!important}
header .left-col{flex:1 1 auto!important;max-width:none!important;width:auto!important}
header .col-40{display:none!important}
header .right-col{flex:0 0 auto!important;width:auto!important;max-width:none!important;padding-right:52px!important}
header .right-col .searchcart{display:none!important}
header .right-col{display:flex!important;align-items:center}
header .white-btn{padding:8px 12px!important;font-size:13px!important;line-height:1.2!important;margin:0!important}
header .site-logo img{width:160px!important}
.banner-content-inner .title{font-size:32px!important;line-height:1.25!important}
.section-title h2{font-size:26px!important;line-height:1.3!important}
.ed-card{padding:22px 18px}
.ed-btns .ed-btn{flex:1 1 auto}
}
@media(max-width:340px){header .white-btn{display:none!important}header .right-col{padding-right:44px!important}}
/* Urdu / RTL */
html[lang="ur"] body,html[lang="ur"] h1,html[lang="ur"] h2,html[lang="ur"] h3,html[lang="ur"] h4,html[lang="ur"] p,html[lang="ur"] li,html[lang="ur"] a,html[lang="ur"] td,html[lang="ur"] th,html[lang="ur"] label,html[lang="ur"] summary,html[lang="ur"] input,html[lang="ur"] select,html[lang="ur"] textarea,html[lang="ur"] button,html[lang="ur"] span:not([class*=icon]):not(.ab-icon){font-family:'Noto Nastaliq Urdu',serif!important}
html[lang="ur"] p,html[lang="ur"] li,html[lang="ur"] td,html[lang="ur"] summary{line-height:2.1!important}
html[lang="ur"] h1,html[lang="ur"] h2,html[lang="ur"] h3{line-height:1.9!important}
html[lang="ur"] .ed-head h2{font-size:32px}
html[lang="ur"] .ed-card li{padding:7px 26px 7px 0}html[lang="ur"] .ed-card li:before{left:auto;right:0}
html[lang="ur"] .ed-badge{right:auto;left:20px}
html[lang="ur"] .ed-tbl th,html[lang="ur"] .ed-tbl td{text-align:right}
html[lang="ur"] .ed-head .sub{letter-spacing:0;text-transform:none}
html[lang="ur"] .ed-soon,html[lang="ur"] .ed-live{align-self:flex-start}
html[lang="ur"] #wpadminbar *{font-family:inherit}
.ed-lang>a{font-weight:700;color:#0D5FF9!important}
html[lang="ur"] .ed-lang>a{font-family:Urbanist,sans-serif!important}
@media(max-width:767px){html[lang="ur"] .banner-content-inner .title{font-size:28px!important;line-height:1.8!important}html[lang="ur"] .ed-head h2{font-size:24px!important}}
@media(min-width:768px){html[lang="ur"] .home-banner .banner_img{right:auto!important;left:76px!important}}
/* ===== end Educeres ===== */

/* Educeres: hide WooCommerce cart icon + mini cart in header (site is lead-gen, not a shop) */
.searchcart .cart-icon,
.searchcart .mobile_cart,
#mini_cart { display: none !important; }

/* Educeres: keep phone numbers in left-to-right order on Urdu pages */
.rtl .contact-info p span { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Educeres Urdu: right-align section titles that use Bootstrap .text-start (LTR-only class) */
.rtl .page-builder-template .text-start { text-align: right !important; }

/* Educeres Urdu header: blue shape goes behind the buttons (left), not behind the logo */
.rtl #navigation::after { right: auto !important; left: 0 !important; transform: scaleX(-1); }

/* Educeres Urdu mobile header: smaller logo so the longer Urdu button fits */
@media (max-width: 767px) {
	.rtl #sm_menu_ham { right: auto !important; left: 16px !important; }
	.rtl header .right-col { padding-right: 0 !important; padding-left: 66px !important; }
}
@media (max-width: 575px) {
	.rtl header .site-logo img { width: 140px !important; }
	.rtl header .white-btn { padding: 8px 9px !important; font-size: 12px !important; }
}

/* Educeres: hide footer newsletter row (title + form) until a newsletter service is set up */
.footer > .container > .row:first-child:not(.footer-bottom) { display: none !important; }
