/* Schoolara adjustments on top of the Educeet theme (main.css).
   Keep theme files untouched so they can be updated from the template. */

/* logo: the tree-and-book mark plus the name */
.sa-logo { display: inline-flex; align-items: center; gap: 10px; }
.sa-logo img { height: 52px; width: auto; }
.sa-logo span { font-family: var(--it-ff-heading); font-size: 26px; line-height: 1; color: #7c5751; letter-spacing: -0.5px; padding-top: 6px; }
@media (max-width: 575px) { .sa-logo img { height: 42px; } .sa-logo span { font-size: 22px; } }

/* module cards use Font Awesome icons where the template drew SVGs */
.it-categories-area a { color: inherit; }
.it-categories-item span i { font-size: 72px; line-height: 1; color: var(--it-theme-1); transition: 0.3s; display: inline-block; }
@media (max-width: 1399px) { .it-categories-item span i { font-size: 48px; } }
.it-categories-item.item-style-2 span i { color: #2F57EF; }
.it-categories-item.item-style-3 span i { color: #FF4D4F; }
.it-categories-item.item-style-4 span i { color: #3D97FE; }
.it-categories-item.item-style-5 span i { color: #2F57EF; }
.it-categories-item.item-style-6 span i { color: #39B410; }
.it-categories-item.item-style-7 span i { color: #8E56FF; }
.it-categories-item.item-style-8 span i { color: #F92596; }

/* feature cards (template course cards without photo, author and price) */
.sa-feature-card { background: #fff; border-radius: 20px; height: calc(100% - 35px); }
.sa-feature-card .it-course-content { display: flex; flex-direction: column; height: 100%; }
.sa-feature-card .it-course-btn { margin-top: auto; }
.sa-feature-icon { width: 64px; height: 64px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
                   background: rgba(3, 89, 78, 0.08); color: var(--it-theme-1); font-size: 28px; }
[data-tab-pane][hidden] { display: none !important; }

/* hero: two buttons side by side */
.it-hero-btn .it-btn-yellow { margin: 0; }

/* mobile menu: submenus open in place */
.it-menu-mobile ul li.dropdown-opened > .submenu { display: block !important; }

/* top bar: keep links on one line */
.it-header-top-login-box a, .it-header-top-social-box span, .it-header-top-contact a { white-space: nowrap; }
@media (max-width: 1199px) { .it-header-top-social-box span { display: none; } }

/* "Made for schools like yours" photo cards */
.sa-photo { position: relative; overflow: hidden; aspect-ratio: 3 / 4; }
.sa-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.sa-photo:hover img { transform: scale(1.06); }
.sa-photo-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 22px;
                    background: linear-gradient(to top, rgba(3, 89, 78, 0.92), rgba(3, 89, 78, 0)); color: #fff; }
.sa-photo-caption h6 { color: #fff; margin-bottom: 6px; font-size: 18px; }
.sa-photo-caption p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 14px; line-height: 1.5; }

/* ═══════════════ Inner pages (portal/_page.html) ═══════════════ */
.it-breadcrumb-thumb img:not(.it-breadcrumb-shape-2) { width: 100%; max-width: 640px; aspect-ratio: 16 / 10; object-fit: cover; }
.it-breadcrumb-title { margin-bottom: 20px; }
.sa-page-lead { margin: 22px 0 0; font-size: 17px; line-height: 1.7; color: var(--it-text-body); max-width: 520px; }

/* section helpers the page contents use */
.sp1 { padding: 110px 0; }
@media (max-width: 991px) { .sp1 { padding: 80px 0; } }
.bg-white { background: var(--it-common-white); }
.bg-beige { background: var(--it-gray-1); }
.space10 { height: 10px; } .space16 { height: 16px; } .space20 { height: 20px; } .space28 { height: 28px; }
.space30 { height: 30px; } .space32 { height: 32px; } .space40 { height: 40px; } .space48 { height: 48px; }
.space60 { height: 60px; } .space70 { height: 70px; } .space80 { height: 80px; }
.heading2 h1, .heading2 h2 { font-family: var(--it-ff-heading); color: var(--it-common-black); font-size: 36px; line-height: 1.3; margin: 0; }
.heading2 h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 5px; margin-top: 16px; background: var(--it-theme-2); }
.heading2 p { font-size: 17px; color: var(--it-text-body); margin: 0; max-width: 760px; }
@media (max-width: 767px) { .heading2 h1, .heading2 h2 { font-size: 28px; } }

/* cards */
.pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.pp-card { background: #fff; border: 1px solid #E5ECEB; border-radius: 20px; padding: 32px 28px; height: 100%;
           transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; }
.bg-white .pp-card { background: var(--it-gray-3); }
.pp-card:hover { box-shadow: 0 20px 40px rgba(3, 89, 78, 0.10); transform: translateY(-4px); border-color: var(--it-theme-1); }
.pp-card .pp-ic { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
                  background: rgba(3, 89, 78, 0.08); color: var(--it-theme-1); font-size: 26px; margin-bottom: 22px; transition: 0.3s; }
.pp-card:hover .pp-ic { background: var(--it-theme-2); color: var(--it-common-black); }
.pp-card h4 { font-family: var(--it-ff-heading); font-size: 20px; color: var(--it-common-black); margin-bottom: 10px; }
.pp-card p { font-size: 15px; color: var(--it-text-body); margin: 0; line-height: 1.7; }
.pp-card a.pp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--it-theme-1); }
.pp-card a.pp-more:hover { color: var(--it-common-black); }

/* tick lists */
.pp-list { list-style: none; padding: 0; margin: 0; }
.pp-list li { position: relative; padding: 14px 0 14px 40px; font-size: 16px; color: var(--it-common-black); border-bottom: 1px dashed #D5DFDD; }
.pp-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Pro"; font-weight: 900; position: absolute; left: 0; top: 13px;
                      width: 26px; height: 26px; border-radius: 50%; background: var(--it-theme-2); color: var(--it-common-black);
                      font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* numbered steps */
.pp-steps { counter-reset: step; }
.pp-step { position: relative; padding: 0 0 34px 80px; }
.pp-step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 58px; bottom: 6px; border-left: 2px dashed #C9D6D4; }
.pp-step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 56px; height: 56px;
                   border-radius: 50%; background: var(--it-theme-1); color: #fff; font-family: var(--it-ff-heading); font-size: 20px;
                   display: flex; align-items: center; justify-content: center; }
.pp-step h4 { font-family: var(--it-ff-heading); font-size: 20px; color: var(--it-common-black); margin-bottom: 8px; padding-top: 4px; }
.pp-step p { color: var(--it-text-body); margin: 0; }

/* FAQs */
.pp-faq details { background: #fff; border: 1px solid #E5ECEB; border-radius: 14px; padding: 20px 24px; margin-bottom: 14px; transition: border-color 0.3s; }
.pp-faq details[open] { border-color: var(--it-theme-1); box-shadow: 0 10px 30px rgba(3, 89, 78, 0.08); }
.pp-faq summary { font-family: var(--it-ff-heading); font-size: 17px; color: var(--it-common-black); cursor: pointer; list-style: none;
                  display: flex; justify-content: space-between; gap: 16px; }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "\f067"; font-family: "Font Awesome 6 Pro"; font-weight: 400; color: var(--it-theme-1); }
.pp-faq details[open] summary::after { content: "\f068"; }
.pp-faq details p { margin: 14px 0 0; color: var(--it-text-body); }

/* old button class used inside page content */
.vl-btn6 { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 600;
           background: var(--it-theme-2); color: var(--it-common-black); transition: 0.3s; }
.vl-btn6:hover { background: var(--it-theme-1); color: #fff; }

/* contact page */
.sa-contact-label { font-size: 13px; color: var(--it-text-body); font-weight: 400; margin-bottom: 2px; }
.it-contact-list ul li span i { font-size: 28px; color: var(--it-theme-1); }
.it-signup-input select.sa-select { width: 100%; height: 60px; padding: 0 20px; border-radius: 10px; border: 1px solid #E5ECEB;
                                    background: #fff; color: var(--it-common-black); appearance: auto; }

/* the theme capitalises every placeholder; keep hints as written (e.g. "e.g. 0772...") */
input::placeholder, textarea::placeholder { text-transform: none; }
/* the theme pads every input; checkboxes and radios must stay square */
.form-check-input, input[type="checkbox"], input[type="radio"] { padding: 0; line-height: normal; }
.form-check-input { width: 1em; height: 1em; }

/* landscape photos placed in the theme's portrait frames (home "about" section) */
.sa-crop { width: 100%; object-fit: cover; }
.sa-crop-tall { aspect-ratio: 303 / 478; }
.sa-crop-mid { aspect-ratio: 314 / 403; }
