/*
Theme Name: EasyToFinish
Theme URI: https://easytofinish.com
Author: EasyToFinish
Author URI: https://easytofinish.com
Description: WordPress theme for Easy To Finish traffic school.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: easytofinish
*/

/* Accessibility */
.skip-link.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link.screen-reader-text:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--white, #fff);
  color: var(--black, #181818);
  z-index: 100000;
  clip: auto;
}

/* Inner pages */
.etf-page-content {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: linear-gradient(180deg, rgba(194, 228, 242, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.etf-page-intro h1 {
  color: var(--black, #181818);
  text-align: center;
}

.etf-content-card {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 22px 0 rgba(0, 0, 0, 0.1);
}

.etf-legal-content {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
}

.etf-legal-content h2,
.etf-legal-content h3 {
  color: #181818;
  font-weight: 700;
}

.etf-legal-content a {
  color: var(--blue, #00b3d8);
  font-weight: 600;
}

.etf-legal-content a:hover {
  color: var(--red, #f1592a);
}

.page-title.light-background {
  background: rgba(194, 228, 242, 0.45);
  border-bottom: 1px solid #dfe7f2;
  padding: 2rem 0;
}

.page-title.light-background h1 {
  color: var(--black, #181818);
}

.page-title.light-background .breadcrumbs a {
  color: var(--blue, #00b3d8);
  font-weight: 600;
}

.etf-policy-section {
  padding: 2.5rem 0 3rem;
}

.etf-legal-content--full {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header: logo then nav left-to-right; Register + hamburger on mobile */
.header-row {
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

.header-row .logo {
  flex: 0 0 auto;
  min-width: 0;
}

.header-mobile-bar {
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.header-register-mobile {
  padding: 8px 14px;
  font-size: 14px;
  white-space: nowrap;
}

.main-nav {
  flex: 1 1 100%;
  min-width: 0;
}

.main-nav .navbar {
  padding: 0;
  background: transparent !important;
  width: 100%;
}

.main-nav .navbar-collapse {
  flex-basis: auto;
  flex-grow: 1;
  justify-content: flex-end;
}

.main-nav .scroll-div {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  column-gap: clamp(12px, 1.5vw, 26px);
  justify-content: flex-end;
}

.main-nav .navbar-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: clamp(12px, 1.4vw, 28px);
  margin: 0;
}

.main-nav .navbar-nav .nav-link,
.main-nav .navbar-nav .lang-item {
  white-space: nowrap;
  flex-shrink: 0;
}

.main-nav .nav-btn {
  flex-shrink: 0;
  margin-left: clamp(8px, 1vw, 16px);
  white-space: nowrap;
}

.main-nav .nav-btn .blue-btn,
.main-nav .nav-btn .red-btn {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .header-row {
    flex-wrap: nowrap;
    align-items: center;
  }

  .header-mobile-bar {
    margin-left: auto;
  }

  .main-nav {
    flex: 0 0 100%;
    order: 3;
  }

  .main-nav .navbar-collapse:not(.show) {
    display: none;
  }

  .main-nav .scroll-div {
    display: block;
    column-gap: 0;
  }

  .main-nav .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    column-gap: 0;
  }

  .main-nav .navbar-nav .nav-link,
  .main-nav .navbar-nav .lang-item {
    white-space: normal;
  }

  .main-nav .nav-login-mobile {
    display: inline-block;
    text-align: center;
    margin-top: 8px;
  }

  .logo img.img-fluid {
    max-width: 160px;
  }
}

@media (min-width: 992px) {
  .header-row {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
  }

  .main-nav {
    flex: 1 1 auto;
    order: 0;
    margin-left: auto;
  }

  .main-nav .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    justify-content: flex-end;
  }

  .header-row .main-nav .scroll-div {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .logo img.img-fluid {
    max-width: 200px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .main-nav .navbar-nav .nav-link,
  .main-nav .navbar-nav .lang-item {
    font-size: 15px;
  }

  .main-nav .nav-btn .blue-btn,
  .main-nav .nav-btn .red-btn {
    padding: 10px 18px;
    font-size: 15px;
  }

  .logo img.img-fluid {
    max-width: 170px;
  }
}

/* How It Works, Testimonials, Privacy Policy — blue/orange theme */
.etf-inner-page {
  --accent-color: #00b3d8;
  --heading-color: #181818;
  background-color: #fff;
}

.etf-inner-page main.main {
  background-color: #fff;
}

.etf-inner-page .page-title.light-background {
  background: rgba(194, 228, 242, 0.45) !important;
  border-bottom: 1px solid #dfe7f2 !important;
}

.etf-inner-page .page-title.light-background h1 {
  color: #181818 !important;
}

.etf-inner-page .page-title.light-background .breadcrumbs a {
  color: #00b3d8 !important;
}

.etf-inner-page .page-title.light-background .breadcrumbs a:hover {
  color: #f1592a !important;
}

.etf-inner-page.service-details-page .service-details.section,
.etf-inner-page .etf-policy-section {
  background: #fff !important;
}

.etf-inner-page .service-details .help-box {
  background-color: #00b3d8 !important;
  color: #fff !important;
}

.etf-inner-page .service-details .help-box h4,
.etf-inner-page .service-details .help-box a,
.etf-inner-page .service-details .help-box .help-icon {
  color: #fff !important;
}

.etf-inner-page .service-details .help-box a:hover {
  color: #fff !important;
  opacity: 0.88;
}

.etf-inner-page .service-details .services-list a i {
  color: #00b3d8 !important;
}

.etf-inner-page .service-details .services-list a.active {
  background-color: #00b3d8 !important;
  color: #fff !important;
}

.etf-inner-page .service-details .services-list a.active i {
  color: #fff !important;
}

.etf-inner-page .service-details .services-list a:hover {
  background-color: rgba(0, 179, 216, 0.12) !important;
  color: #00b3d8 !important;
}

.etf-inner-page .service-details .services-list a:hover i {
  color: #00b3d8 !important;
}

.etf-inner-page .service-details ul i,
.etf-inner-page .service-details .service-box ul i,
.etf-inner-page .service-box .bi-check-circle,
.etf-inner-page .service-details .bi-check-circle,
.etf-inner-page .service-details ul li i {
  color: #00b3d8 !important;
}

.etf-inner-page .service-details h3,
.etf-inner-page .service-details h4,
.etf-inner-page .service-details .service-box h4 {
  color: #181818 !important;
}

.etf-inner-page .service-details .service-box h4 {
  border-bottom-color: rgba(0, 179, 216, 0.28) !important;
}

.etf-inner-page .service-details a:not(.red-btn):not(.blue-btn) {
  color: #00b3d8;
}

.etf-inner-page .service-details a:not(.red-btn):not(.blue-btn):hover {
  color: #f1592a;
}

.etf-inner-page .testimonials .testimonial-item {
  border-left: 4px solid #00b3d8 !important;
}

.etf-inner-page .testimonials .testimonial-item .stars i {
  color: #f1592a !important;
}

.etf-inner-page .testimonials .testimonial-item .quote-icon-left,
.etf-inner-page .testimonials .testimonial-item .quote-icon-right {
  color: rgba(0, 179, 216, 0.55) !important;
}

.etf-inner-page .etf-legal-content h2,
.etf-inner-page .etf-legal-content h3 {
  color: #181818 !important;
}

.etf-inner-page .etf-legal-content a {
  color: #00b3d8 !important;
}

.etf-inner-page .etf-legal-content a:hover {
  color: #f1592a !important;
}
