/* Layout */
main {
  width: 100%;
  margin: 0;
}

.full-width {
  margin-left: 0;
  margin-right: 0;
}

#div2 {
  background: url(../img/adult-driver.jpg);
  background-size: cover;
  background-color: aliceblue;
  background-repeat: no-repeat;
  max-height: auto;
}

#div3 {
  background: url(../img/car-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

iframe {
  border: 1px solid black;
  width: 100%;
}

.output {
  background: #eee;
}

/* Horizontal rules */
hr {
  border: 3px solid #0056b3 !important;
}

hr.medium-gray-hr {
  border: none;
  height: 1px;
  border-top: 1px solid #777777;
  width: calc(100% - 1in);
  margin: 0 auto;
}

/* Back to top */
#toTop {
  position: fixed;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  display: none;
  background-color: #fa0606;
  border-color: #fa0606;
  z-index: 1000;
}

/* Lists */
ul {
  line-height: 1.25;
  padding-bottom: 4px;
}

li {
  padding-bottom: 4px;
}

ul.list-group li {
  padding-bottom: 10px;
}

/* FAQ text */
.faq {
  line-height: 1.6em;
}

/* Rounded boxes */
.rounded-green {
  outline: 3px solid green;
  outline-offset: -7px;
  border-radius: 30px;
  padding: 25px;
  background-color: #ffffff;
}

.rounded-red {
  outline: 3px solid #ff0000;
  outline-offset: -7px;
  border-radius: 30px;
  padding: 20px;
  background-color: #ffffff;
}

.rounded-black {
  outline: 3px solid lime;
  outline-offset: -7px;
  border-radius: 0;
  padding: 15px;
  background-color: #000;
}

.rounded-grey {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 12px;
  background-color: #d0e6ff;
  border: 1px solid #b2d0ff;
  outline: none;
  outline-offset: 0;
}

.rounded-lt-blue {
  border: 4px solid #cccccc !important;
  outline-offset: -7px !important;
  border-radius: 0 !important;
  padding: 25px !important;
  background-color: #dcecf4 !important;
}

.rounded-lt-white {
  border: 0px solid #cccccc !important;
  outline-offset: -7px !important;
  border-radius: 0 !important;
  padding: 25px !important;
  background-color: #ffffff !important;
}

.rounded-orange {
  border: 4px solid #d7dbdd !important;
  outline-offset: 0 !important;
  border-radius: 0 !important;
  padding: 25px !important;
  background-color: #fbfcfc !important;
}

.rounded-yellow {
  border: 4px solid #f7f7f7 !important;
  outline-offset: 0 !important;
  border-radius: 0 !important;
  padding: 25px !important;
  background-color: #f5f5dc !important;
}

.rounded-tan {
  border: 4px solid #f7f7f7 !important;
  outline-offset: 0 !important;
  border-radius: 0 !important;
  padding: 25px !important;
  background-color: #dcecf4 !important;
}

.rounded-white {
  outline: 0 solid #ffffff !important;
  outline-offset: -3px !important;
  border-radius: 30px !important;
  padding: 25px !important;
  background-color: #ffffff !important;
  margin-top: 10px;
}

/* Backups for rounded-blue (for reference only) */
.rounded-blue-BACKUP {
  outline: 5px solid #cccccc !important;
  outline-offset: -7px;
  border-radius: 30px;
  padding: 30px;
  background-color: #fafbf4 !important;
}

.rounded-blue-NEW-BACKUP {
  max-width: 900px;
  width: 100%;
  margin: 30px auto;
  padding: 30px;
  background-color: #f5f6ec;
  border-radius: 30px;
  outline: 2px solid #d0d0d0;
  outline-offset: -7px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Current rounded-blue for teen cards */
.rounded-blue {
  max-width: 900px;
  width: 100%;
  margin: 30px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #ffffff;
}

/* Pricing & Contact */
.phone {
  font-weight: normal;
  color: #3d98db;
  text-align: center;
  font-size: 200%;
}

/* Intro borders / sections */
.options {
  border-top: none;
  margin-bottom: 2rem;
}

/* Typography */
p {
  line-height: 1.75;
  font-size: 120%;
}

/* Global body styles */
body {
  overflow-x: hidden;
  font-family: 'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji';
  background-color: #ffffff;
}

nav.navbar.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1030;
}


.custom-page {
  background-color: #7ec8e3 !important;
}

/* Custom link helper */
.custom-link,
a.custom-link {
  color: #0000ff !important;
  text-decoration: none;
}

a.custom-link:hover {
  color: #000c66 !important;
}

/* Custom headings / paragraphs */
.custom-heading-h1,
h1.custom-heading {
  color: #ffffff !important;
}

.custom-heading-h2,
.custom-heading-h3,
.custom-heading-h4,
.custom-heading-h5,
.custom-heading-h6,
.custom-paragraph,
.custom-list,
.custom-ul,
.custom-ol,
h2.custom-heading,
h3.custom-heading,
h4.custom-heading,
h5.custom-heading,
h6.custom-headin,
ul.custom-list,
ol.custom-list,
p.custom-paragraph {
  color: #050a30 !important;
}

.custom-paragraph {
  line-height: 1.75;
  font-size: 120%;
}

/* Base headings */
h2 {
  color: #12365c; /* darkest */
}

h3 {
  color: #1e4b7a;
}

/* Custom lists */
ul.custom-list,
ol.custom-list {
  list-style-type: none;
  padding-left: 1em;
}

/* Sections */
section {
  padding: 80px 0;
}

section h2.section-heading {
  font-size: 25px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 15px;
}

section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 75px;
  text-transform: none;
  font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji';
}

@media (min-width: 768px) {
  section {
    padding: 150px 0;
  }
}

/* Buttons */
.btn {
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji';
  font-weight: 500;
}

.btn-xl {
  font-size: 18px;
  padding: 15px 40px;
}

/* General styles */
.image-container {
  position: relative;
  height: 50vh;
}

.image-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
}

.image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 100%;
  background-color: transparent;
}

.lazy-image {
  position: relative;
  width: 100%;
  height: auto;
}

/* Simple dropdown (non-Bootstrap) */
.dropbtn {
  background-color: #04aa6d;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

/* Rounded element helper */
.element {
  border-radius: 12px;
}

/* Top button (scroll to top) */
.top-button {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  transition: background-color 0.3s, color 0.3s;
}

.top-button:hover {
  background-color: darkred;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Navigation styles */
#mainNav {
  background-color: transparent;
  transition: background-color 0.3s;
}

#mainNav.navbar-shrink {
  background-color: #212529;
}

#mainNav .navbar-nav .nav-link {
  color: #fff;
  transition: color 0.3s;
}

#mainNav.navbar-shrink .navbar-nav .nav-link {
  color: #000;
}

@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background-color: #212529;
  }

  #mainNav .navbar-nav .dropdown-menu {
    background-color: #212529;
  }
}

/* Nav font weight */
.navbar-nav .nav-link {

  font-weight: normal;
}

@media (min-width: 992px) {
  .navbar-nav .nav-link {
    font-weight: bold;
  }
}

/* Floating Contact button */
#floatingButton {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s, color 0.3s;
}

#floatingButton:hover {
  background-color: darkred;
}

/* UserWay button */
.userway-button {
  position: absolute;
  top: 10px;
  right: 10px;
}

@media (max-width: 767px) {
  body .userway-button {
    position: relative;
    top: 0;
    right: auto;
    left: auto;
    margin: 0 auto;
    display: block;
  }
}

/* From agency custom CSS */

main {
  width: 100%;
  margin: 0;
  
  /* creates 20% margins on either side */
}

.full-width {
  /* 1/3 of 60% = the 20% margin on either side */
  margin-left: 0;
  margin-right: 0;
}

#div2 {
  background: url(../img/adult-driver.jpg);
  background-size: cover;
  background-color: aliceblue;
  background-repeat: no-repeat;
  max-height: auto;
}

#div3 {
  background: url(../img/car-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

iframe {
    border: 1px solid black;
    width: 100%;
}

.output {
    background: #eee;
}

hr
{
    border: 3px solid #0056b3 !important;
}

 #toTop{
	position: fixed;
	bottom: 10px;
	right: 10px;
	cursor: pointer;
	display: none;
	background-color: #fa0606;
	border-color: #fa0606;
	z-index:1000;
}

/* Border Colors */

.faq {line-height: 1.6em}

.rounded-blue-BACKUP {
outline: 5px solid #cccccc !important; 
outline-offset: -7px; 
border-radius: 30px; 
padding: 30px; 
background-color: #FAFBF4 !important;
}

.rounded-blue-NEW-BACKUP {
  max-width: 900px;
  width: 100%;
  margin: 30px auto;
  padding: 30px;
  background-color: #f5f6ec;   /* slightly darker/warmer than #fafbf4 */
  border-radius: 30px;
  outline: 2px solid #d0d0d0;
  outline-offset: -7px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.rounded-blue {
  max-width: 900px;
  width: 100%;
  margin: 1.5rem auto;
  padding: 1.25rem;
  background-color: #f7fbff;
  border-radius: 8px;
  border: 1px solid #dce7f7;
}



.rounded-green {
outline: 3px solid green; 
outline-offset: -7px; 
border-radius: 30px; 
padding: 25px; 
background-color: white;
}

.rounded-red {
outline: 3px solid #ff0000; 
outline-offset: -7px; 
border-radius: 30px; 
padding: 20px; 
background-color: ffffff;
}

.rounded-black {
outline: 3px solid lime; 
outline-offset: -7px; 
border-radius: 0px; 
padding: 15px; 
background-color: #000;
}


/* Pricing & Contact */

.phone { 
font-weight: normal; 
color: #3d98db; 
text-align: center; 
font-size: 200%;
}

 /* Intro Borders */

.options {
  border-top: none;
}


 /* Intro Borders */

section {
  padding: 100px 0;
}

section h2.section-heading {
  font-size: 25px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 15px;
}

section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 75px;
  text-transform: none;
  font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

@media (min-width: 768px) {
  section {
    padding: 150px 0;
  }
}

a {
    color: #0000ff;
    text-decoration: none;
    font-weight: normal; /* Make the font bold */
}

a:hover {
    color: #A7112F;
    font-weight: normal; /* Make the font bold */
}



.btn {
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  font-weight: 500;
}

.btn-xl {
  font-size: 18px;
  padding: 15px 40px;
}

/* Primary button base */
.btn-primary {
  background-color: #145da0;       /* solid, slightly softer blue */
  border: 2px solid #0f4a80;       /* darker blue border */
  color: #ffffff;                  /* white text */
  font-weight: 400;                /* normal weight */
}

/* Hover and focus (lighter background, dark text) */
.btn-primary:hover,
.btn-primary:focus {
  background-color: #e6f2ff;       /* light blue */
  border-color: #145da0;           /* keep blue border */
  color: #0f4a80;                  /* dark blue text */
  font-weight: 400;
}

/* Active and keyboard focus ring */
.btn-primary:active,
.btn-primary:focus {
  -webkit-box-shadow: 0 0 0 .2rem rgba(254, 209, 55, .5) !important;
  box-shadow: 0 0 0 .2rem rgba(254, 209, 55, .5) !important;
  font-weight: 400;
}


/* End agency custom CSS */

/* Begin first agency unpack CSS */

::-moz-selection {
  background: #005A70;
  text-shadow: none;
}

::selection {
  background: #005A70;
  text-shadow: none;
}

img::-moz-selection {
  background: 0 0;
}

img::selection {
  background: 0 0;
}

img::-moz-selection {
  background: 0 0;
}

#mainNav {
  background-color: #212529;
}

#mainNav .navbar-toggler {
  font-size: 12px;
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: #fff;
  border: 0;
  background-color: #fb0606;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-brand {
  color: #fb0606;
  font-family: 'Kaushan Script', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-brand.active,
#mainNav .navbar-brand:active,
#mainNav .navbar-brand:focus,
#mainNav .navbar-brand:hover {
  color: #fec503;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 75%;
  font-weight: 400;
  padding: 0.75em 0;
  letter-spacing: 1px;
  color: #fff;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-nav .nav-item .nav-link.active,
#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #fb0606;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 25px;
    padding-bottom: 25px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: transparent;
  }

  #mainNav .navbar-brand {
    font-size: 1.75em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1em 1em !important;
  }

  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #212529;
  }

  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
    padding: 12px 0;
  }
}

#mainNav {
  background-color: #343a40 !important; /* This is the color for .bg-dark in Bootstrap */
}


/* End first agency unpack CSS */

/* Begin agency unpack CSS (masthead) */
header.masthead {
  text-align: center;
  color: aliceblue;
  background-image: url('https://arcadedriversschool.com/img/student-driver-bg-small.webp'); /* Placeholder image */
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}

header.masthead .intro-text {
  padding-top: 175px;
  padding-bottom: 50px;
}

header.masthead .intro-text .intro-lead-in {
  font-size: 11px;
  font-style: italic;
  line-height: 11px;
  margin-bottom: 12px;
  font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

header.masthead .intro-text .intro-heading {
  font-size: 25px;
  font-weight: 350;
  line-height: 25px;
  margin-bottom: 12px;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

@media (min-width: 768px) {
  header.masthead .intro-text {
    padding-top: 350px;
    padding-bottom: 50px;
  }

  header.masthead .intro-text .intro-lead-in {
    font-size: 20px;
    font-style: italic;
    line-height: 20px;
    margin-bottom: 12px;
    font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  }

  header.masthead .intro-text .intro-heading {
    font-size: 37px;
    font-weight: 350;
    line-height: 37px;
    margin-bottom: 25px;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  }
}

.service-heading {
  font-weight: 600;
  margin: 15px 0;
  text-transform: none;
}

/* Begin agency unpack CSS (masthead) */

/* Begin agency unpack CSS (custom masthead) */

header.masthead2 {
  text-align: center;
  color: aliceblue;
  background-image: url("../img/car-bg-02.webp");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  height: 50vh;
  overflow: hidden;
  position: relative;
}

header.masthead2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

header.masthead2 .intro-text {
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translate(-50%, 0);
  padding: 25px 0;
  width: 100%;
  box-sizing: border-box;
}

header.masthead2 .intro-text .intro-lead-in {
  font-size: 11px;
  font-style: italic;
  line-height: 11px;
  margin-bottom: 50px;
  font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

header.masthead2 .intro-text .intro-heading {
  font-size: 25px;
  font-weight: 350;
  line-height: 25px;
  margin-bottom: 50px;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

@media (min-width: 768px) {
  header.masthead2 .intro-text {
    padding-top: 175px;
    padding-bottom: 25px;
  }

  header.masthead2 .intro-text .intro-lead-in {
    font-size: 20px;
    font-style: italic;
    line-height: 20px;
    margin-bottom: 12px;
    font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  }

  header.masthead2 .intro-text .intro-heading {
    font-size: 37px;
    font-weight: 350;
    line-height: 37px;
    margin-bottom: 25px;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  }
}

@media (max-width: 576px) {
  header.masthead2 {
    height: 25vh;
  }

  header.masthead2 .intro-text {
    padding-top: 50px;
    padding-bottom: 15px;
  }
}

/* End agency unpack CSS (custom masthead) .service heading above in masthead 2 */

/* social media buttons */

.social-media-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-media-icon {
  width: 50px; /* Adjust the width as needed */
  height: 50px; /* Adjust the height as needed */
}


/* Adjust text */

.left-aligned-list {
  text-align: left;
}


/* Define the marker icon as a background image */
.service-area-list li:before {
  content: "";
  display: inline-block;
  width: 12px; /* Adjust the width and height to match your marker icon size */
  height: 16px;
  background-image: url("../img/marker.png"); /* Replace 'path/to/marker.png' with the actual path to your marker icon image */
  background-size: cover;
  margin-right: 10px; /* Adjust the margin to add spacing between the marker and the text */
  padding-left: 10px; /* Adjust the padding to add spacing between the marker and the text */
}

/* Hide the default bullet points */
.service-area-list {
  list-style-type: none;
}

.service-area-list li {
  line-height: 1.5;
  margin-bottom: 10px;
}

#video-thumbnail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: url('https://arcadedriversschool.com/images/trypscore-facade.webp') no-repeat center center;
    background-size: contain;
}

.well {
  max-width: 900px;
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  background-color: #f0f2e6;   /* slightly different warm tone */
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.04);
}

/* Global selection color */
::selection {
  background-color: #ffeeba;  /* light warm yellow */
  color: #111111;             /* dark text */
}

/* Optional: Firefox-specific (for best coverage) */
::-moz-selection {
  background-color: #ffeeba;
  color: #111111;
}

.bullet-center {
  list-style-position: inside;
  text-align: center;     /* center the text + bullets */
  padding-left: 0;        /* remove default left padding if needed */
}

.footer-copy {
  color: #ffffff !important;
}

.hr-deep-blue {
  border: 0;
  border-top: 3px solid #0056b3;
}

.toggle-more,
.toggle-less {
  font-weight: 600;
  text-decoration: none;
}

.toggle-more:hover,
.toggle-less:hover {
  text-decoration: underline;
}


/* Navigation */
.navbar {
  font-family: Arial, sans-serif;
}

.navbar-nav {
  margin-left: auto;
}

.navbar-shrink {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

/* Hero */
.masthead2 {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 6rem 0 4rem;
}

.teen-hero-container {
  margin-top: -30px;
}

.teen-hero-title h1 {
  color: #f0f8ff;
  margin-bottom: 1rem;
}

.teen-hero-buttons .btn {
  margin: 0 10px;
  margin-bottom: -20px;
}

/* Section headings */
.section-heading small {
  display: block;
  font-size: 75%;
  letter-spacing: 0.08em;
}

.teen-subheading {
  font-size: 125%;
}

/* Cards / program blocks */
.options {
  margin-bottom: 2rem;
}

.teen-card-image {
  width: auto;
  max-width: 100%;
  height: auto;
}

.left-aligned-list {
  text-align: left;
  padding-left: 1.2rem;
}

/* Inline links */
.teen-inline-link {
  font-size: 115%;
  font-weight: normal;
}

/* Show more/less toggles */
.toggle-link {
  font-weight: 600;
  text-decoration: none;
}

.toggle-link:hover,
.toggle-link:focus {
  text-decoration: underline;
}

.toggle-less-wrapper {
  text-align: left;
  margin-top: 0.5rem;
}

/* Global accordion header colors to match teen program styling */

/* Closed state (all accordions) */
.accordion-button {
  background-color: #e3f0ff;  /* slightly darker than card bg */
  color: #12365c;             /* matches your h2 color */
}

/* Open state (all accordions) */
.accordion-button:not(.collapsed) {
  background-color: #d0e6ff;  /* a bit darker for active */
  color: #12365c;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

/* Body when open (all accordions) */
.accordion-collapse.show .accordion-body {
  background-color: #ffffff;
}

/* Teen services accordion specific tweaks */
#servicesAccordion .accordion-button {
  font-weight: 600;
}

#servicesAccordion .accordion-body ul {
  padding-left: 1.1rem;
}


/* Discover section */
.teen-discover-container {
  padding: 35px 15px;
}

/* Contact line */
.teen-contact-line {
  text-align: center;
  padding-top: 15px;
}

/* Logos section */
.teen-logos-container {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.teen-logo-heading {
  font-size: 100%;
}

/* Floating Contact + Top buttons */

/* Base style for both buttons */
#floatingButton,
.top-button {
  position: fixed;
  z-index: 9999;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  background-color: #007bff;
  color: #fff;
}

/* Contact: bottom-left */
#floatingButton {
  left: 20px;
  bottom: 40px;
  right: auto;
  display: inline-block;
  width: auto;
}

/* Top: bottom-right */
.top-button {
  right: 20px;
  bottom: 40px;
  left: auto;
  display: none; /* JS toggles this */
}

/* Hover state for both */
#floatingButton:hover,
.top-button:hover {
  background-color: #0056b3;
  color: #fff;
}


/* Responsive tweaks */
@media (max-width: 767.98px) {
  .teen-hero-buttons .btn {
    margin-bottom: 0;
  }


  .teen-logos-container h3 {
    font-size: 95%;
  }
}
/* Remove decorative lines under main teen headings */
.section-heading,
.section-subheading,
.service-heading {
  border-bottom: none !important;
}

.section-heading::after,
.section-subheading::after,
.service-heading::after {
  content: none !important;
}
.parent-care-cta {
  text-align: center;
  color: #12365c;          /* same family as your h2 heading blue [web:113] */
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* Student Login CTA in navbar */
.btn-student-login {
  background-color: #ffb000;   /* warm amber that pops on dark bg */
  border-color: #e09500;
  color: #212529;
  font-weight: 600;
}

.btn-student-login:hover,
.btn-student-login:focus {
  background-color: #ffd35e;   /* lighter on hover */
  border-color: #e09500;
  color: #212529;
}

/* High-visibility Student Login button in navbar */
/* Student Login button color */
nav.navbar a.btn-student-login {
  background-color: #ffb000 !important;
  border-color: #e09500 !important;
  color: #212529 !important;
  font-weight: 700;
}

nav.navbar a.btn-student-login:hover,
nav.navbar a.btn-student-login:focus {
  background-color: #ffd35e !important;
  border-color: #e09500 !important;
  color: #212529 !important;
}
@media (max-width: 991.98px) {
  .btn-student-login {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.navbar {
  font-family: Arial, sans-serif;
}

.navbar-nav {
  margin-left: auto;
}

.custom-list-2 {
  padding: 0 20px;            /* Stay inside page margins */
  text-align: left;
  list-style: none;
  padding-left: 0;
  margin: 0;                  /* Remove default margins */
  display: flex;
  flex-wrap: wrap;            /* Wrap on smaller screens */
  justify-content: space-between;
}

.custom-list-2 li {
  position: relative;
  padding-left: 25px;         /* Space for checkmark */
  margin-bottom: 10px;
}

.custom-list-2 li::before {
  content: "\2713";
  color: #2ECC71;
  font-size: 1.7em;
  font-weight: bold;
  position: absolute;
  left: -10px;
  top: -10px;
}

@media screen and (max-width: 768px) {
  .custom-list-2 {
    flex-direction: column;   /* Vertical on smaller screens */
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* -------------------- */

.custom-list-container {
  padding: 0 20px;
  text-align: left;
}

.custom-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.custom-list li {
  position: relative;
  padding-left: 35px;         /* Space for checkmark */
  margin-bottom: 10px;
}

.custom-list li::before {
  content: "\2713";
  color: #76F00F;
  font-size: 1.7em;
  font-weight: bold;
  position: absolute;
  left: 0;                    /* Checkmark at far left */
  top: 50%;                   /* Vertically centered */
  transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
  .custom-list li {
    padding-left: 35px;
  }
}
/* Make the built-in close (X) button larger, red, with a white X in a square */
/* Make the default Bootstrap X highly visible */
/* Larger, dark, highly visible X in modal header */
.modal-header .btn-close {
  width: 1.75rem;
  height: 1.75rem;
  opacity: 1;          /* fully visible */
  padding: 0.4rem;     /* enlarge click target */
  filter: none;        /* keep the default dark X color */
}


  /* If you still want the X white and visible, keep this.
     If the X disappears, REMOVE this filter line. */
  filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-header .btn-close:hover {
  background-color: #b02a37;
}


/* Center the bottom Close button and make it red */
.modal-footer {
  justify-content: center;
}

.modal-footer .btn {
  min-width: 120px;
}

.modal-footer .btn-secondary {
  background-color: #dc3545;
  border-color: #dc3545;
  font-weight: 600;
}

.modal-footer .btn-secondary:hover {
  background-color: #b02a37;
  border-color: #b02a37;
}


/* Slightly tighter global page spacing on content pages */
/* Tighten spacing on SEO content pages */
main.content-page {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Remove any default top margin on sections inside content pages */
main.content-page section {
  margin-top: 0;
  margin-bottom: 1.25rem; /* adjust up/down to taste */
}

/* Optional: tighten headings inside sections */
main.content-page h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

section {
  margin: 0;
}

main.content-page section {
  margin-bottom: 1.25rem;
}

main.content-page section {
  margin-top: 0;
  margin-bottom: 2rem;
  padding-top: 0;
  padding-bottom: 0;
}

    /* Page-specific styles for adult driving lessons page */
    .section-band {
      background-color: #f7fbff;
      padding: 2.5rem 0;
      margin-left: calc(-50vw + 50%);
      margin-right: calc(-50vw + 50%);
      padding-left: calc(50vw - 50%);
      padding-right: calc(50vw - 50%);
    }
    .section-plain {
      padding: 2rem 0;
    }
    .icon-card {
      background-color: #ffffff;
      border: 1px solid #dce7f7;
      border-radius: 8px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
    }
    .icon-card .card-icon {
      font-size: 2rem;
      color: #0d6efd;
      margin-bottom: 0.75rem;
      display: block;
    }
    .icon-card h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }
    .icon-card p {
      font-size: 0.95rem;
      margin-bottom: 0;
      color: #444;
    }
    .difference-card {
      background-color: #ffffff;
      border-left: 4px solid #0d6efd;
      border-radius: 0 8px 8px 0;
      padding: 1.25rem 1.25rem 1.25rem 1.25rem;
      margin-bottom: 1.25rem;
    }
    .difference-card h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.4rem;
    }
    .difference-card p {
      font-size: 0.95rem;
      margin-bottom: 0;
      color: #444;
    }
    .pricing-card {
      background-color: #ffffff;
      border: 1px solid #dce7f7;
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 1.25rem;
    }
    .pricing-card .pricing-header {
      background-color: #0d6efd;
      color: #ffffff;
      padding: 0.75rem 1rem;
      text-align: center;
      font-weight: 700;
      font-size: 1rem;
    }
    .pricing-card .pricing-body {
      padding: 1rem;
      text-align: center;
    }
    .pricing-card .pricing-amount {
      font-size: 1.6rem;
      font-weight: 700;
      color: #0d6efd;
      margin-bottom: 0.25rem;
    }
    .pricing-card .pricing-note {
      font-size: 0.875rem;
      color: #666;
      margin-bottom: 0;
    }
    .step-block {
      display: flex;
      align-items: flex-start;
      margin-bottom: 1.5rem;
    }
    .step-number {
      background-color: #0d6efd;
      color: #ffffff;
      font-weight: 700;
      font-size: 1.1rem;
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-right: 1rem;
      margin-top: 0.15rem;
    }
    .step-content h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.35rem;
    }
    .step-content p {
      font-size: 0.95rem;
      color: #444;
      margin-bottom: 0;
    }
/* Navbar dropdown: scrollable on all screen sizes */
.navbar .dropdown-menu {
  max-height: calc(100vh - 120px); /* adjust 120px as needed */
  overflow-y: auto;
}
/* END Navbar dropdown CSS: scrollable on all screen sizes */

/* Grant bar cleanup */
.grant-bar {
  background-color: #198754;
  color: #fff;
  text-align: center;
  padding: 8px 40px 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  line-height: 1.4;
}

.grant-bar a {
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}

.grant-bar-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

/* Scroll-safe dropdown on all screen sizes */
.navbar .dropdown-menu {
  max-height: calc(100vh - 120px); /* tweak 120px based on grant bar + navbar height */
  overflow-y: auto;
}

/* Ensure Bootstrap navbar behaves correctly on mobile */
.navbar-nav {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.navbar-nav .nav-item {
  display: block;
}

@media (min-width: 768px) {
  .navbar-nav .nav-item {
    display: inline-block;
  }
}