/*
Theme Name: Summit Learning Solutions WordPress Theme
Theme URI: https://summit-learning-solutions.com/
Author: Nate Saloh
Author URI: https://summit-learning-solutions.com/
Description: A basic theme for WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: slstheme

Font Awesome Free 6.7.2 used under CC BY 4.0 (https://fontawesome.com)
*/


/************************
*** GLOBAL
************************/

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body {
    font-size:1rem;
    line-height:1.5;
}

html, body {
  height: 100%;
}

#page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/************************
*** HEADER
************************/

header {
    box-shadow: 0 1px 2px #ccc;
}

#header-container {
    max-width:1440px;
    margin: 0 auto;
}

#main-nav-bar {
    display: flex;
    align-items: stretch;
    padding: 0 8px;
}

#header-container a:hover {
    background-color:rgba(0,0,0,0.1);
}

.custom-logo-link {
    font-size:0;
    display: flex;
    align-items: center;
    padding: 16px 8px;
}

.custom-logo-link img {
    max-height:45px;
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
}

#title-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#title-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 16px 8px;
    text-decoration: none;
    color: black;
}

#site-title {
    font-size:1.6rem;
    line-height: 1;
    font-weight:bold;
    display: inline-block;
}

#title-description-sep {
    height:4px;
}

#site-description {
    line-height: 1;
    display: inline-block;
} 

/************************
*** MENUS
************************/

#nav-menu-section {
    margin-left: auto;
    white-space: nowrap;
}

.menu-main-menu-container {
    height:100%;
}

.menu {
    height:100%;
}

.menu ul {
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
    unicode-bidi: normal;
    height:100%;
    font-size: 0;
}

.menu li {
    text-align: center;
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    height: 100%;
}

.menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 8px;
    text-decoration: none;
    color: black;
}

#search-toggle {
    display: flex;
    align-items: center;
    padding: 0 8px;
    cursor: pointer;
}

#search-section {
    flex: 1 1 200px; /* grow, shrink, basis */
    display: none;
    align-items: center;
    padding: 16px 8px;
}

#search-section.visible {
  display: flex;
}

.searchform {
    display: flex;
    flex: 1;
    max-width: 100%;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-input-wrapper input[type="text"],
.search-input-wrapper input#s {
    width: 100%;
    padding: 8px 32px 8px 8px; /* leave space for icon */
    border: 1px solid #888;
    border-radius: 3px;
    box-sizing: border-box;
    font-size:1.2rem;
}

.search-input-wrapper input::placeholder {
    color: #888;
    opacity: 1; /* Ensure full visibility in some browsers */
}

.search-button {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    height: 100%;
    padding: 0 8px;
    cursor: pointer;
    font-size: 1rem;
}

.search-button:hover,
#search-toggle:hover {
    background-color:rgba(0,0,0,0.1);
}

#search-section #mobile-menu-section .menu {
  display: none;
}

@media screen and (max-width: 767px) {
  #nav-menu-section .menu-main-menu-container {
    display: none;
  }

  #search-section.visible #mobile-menu-section .menu {
    display: block;
    width: 100%;
    margin-top: 1rem;
  }

  #mobile-menu-section .menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  #mobile-menu-section .menu li {
    border: none;
  }

  #mobile-menu-section .menu a {
    display: block;
    padding: 10px;
    background-color: #f5f5f5;
    color: #000;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
  }

  #mobile-menu-section .menu a:hover {
    background-color: #e0e0e0;
  }

    #search-section {
    flex-direction: column;
    align-items: stretch;
  }

  .searchform {
    width: 100%;
    margin-bottom: 1rem;
  }

  #mobile-menu-section {
    width: 100%;
  }
}

/************************
*** HOMEPAGE
************************/

.title-hero {
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    padding:4rem 1rem;
    text-align: center;
    color:#fff;
}

.title-hero h1 {
    font-size:3rem;
    line-height: 1.2;
}

.title-hero h2 {
    max-width:800px;
    margin:1rem auto 2rem auto;
}

.light-button {
    text-decoration: none;
    display:inline-block;
    margin:0 auto;
    background-color:#fcb11a;
    padding:10px 20px;
    color:#000;
    border:1px solid #fff;
    border-radius:3px;
}

.light-button:hover {
    background-color:#5d7892;
    color:#fff;
}

.dark-button {
    text-decoration: none;
    display:inline-block;
    margin:0 auto;
    background-color:#5d7892;
    padding:10px 20px;
    color:#fff;
    border:1px solid #000;
    border-radius:3px;
}

.dark-button:hover {
    background-color:#fcb11a;
    color:#000;
}

.home-about {
    text-align:center;
    padding:3rem 0;
}

.home-about-image {
display:inline-block;
max-width:300px;
font-size:0;
vertical-align: middle;
padding:1rem;
}

.home-about-image img {
    max-width:100%;
}

.home-about-text {
display:inline-block;
max-width:800px;
text-align: left;
vertical-align: middle;
padding:1rem;
}
.home-about-text h3 {
    font-size: 1.4rem;
    line-height: 1.2;
}

.home-about-text p {
    margin:1rem 0;
}

.home-services {
    background-color:#20486d;
    text-align: center;
    padding:3rem 0;
}
.home-services-box {
max-width:400px;
display: inline-block;
text-align: left;
background-color: #fff;
border-radius: 3px;
margin:1rem;
}
.home-services-box img {
max-width: 100%;
border-radius:3px 3px 0 0;
}
.home-services-box h4 {
    padding:1rem 1rem 0 1rem;
    font-size: 1.2rem;

}
.home-services-box p {
    padding:1rem;
}

.home-services-box a {
    margin:0 1rem 1rem 1rem;
}


.testimonial-slider {
  max-width: 1000px;
  width:100%;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

.testimonial-slider h3 {
    font-size: 1.4rem;
    line-height: 1.2;
    padding-bottom: 2rem;
}

.home-services h3 {
    font-size: 1.4rem;
    line-height: 1.2;
    padding-bottom: 1rem;
    color:#fff;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.nav {
  font-size: 2rem;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  flex-shrink: 0;
}

.nav:hover {
  color: #fcb11a;
}

.slider-container {
  flex: 1 1 800px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/************************
*** FOOTER
************************/

.site-footer {
  background-color: #3d3d3d;
  padding: 4rem 1rem;
  font-size: 0.95rem;
  color: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column img {
display:block;
margin: 0 auto 10px auto;
max-width:100px;
height:auto;
}

.footer-column {
  text-align: center;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

/************************
*** SEARCH RESULTS
************************/

.search-results {
  padding: 3rem 1rem;
}

.search-results h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.search-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-result-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
}

.search-result-item h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.search-result-item a {
  text-decoration: none;
  color: #20486d;
}

.search-result-item a:hover {
  text-decoration: underline;
}

.pagination {
  margin-top: 2rem;
}

/************************
*** PAGES
************************/

.container {
    max-width:800px;
    margin:0 auto;
}

.container h1 {
    text-align:center;
}

.inner-page {
    margin:2rem auto 4rem auto;
}

.inner-page h1 {
    margin-bottom:2rem;
}

.inner-page p {
    margin-bottom:1rem;
}

.inner-page ul {
    padding-left:2rem;
    margin-bottom:1rem;
}

.inner-page img {
    max-width:100%;
    border-radius:3px;
    margin-bottom:1rem;
}

.inner-page hr {
    margin-top:2rem;
    margin-bottom:2rem;
}

.contact-page {
  padding: 3rem 1rem;
}

.contact-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-form,
.contact-details {
  flex: 1 1 300px;
}

.contact-form label {
  font-weight: bold;
  margin-top: 1rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  margin-top: 1rem;
}

.contact-details h2 {
  margin-bottom: 1rem;
}

.contact-map {
  margin-top: 3rem;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .contact-columns {
    flex-direction: column;
  }
}
