:root{
    --back:#fff;
    --text:#1a1f24;
    --muted:#6b7280;
    --mutedbg:#E9F1F7;
    --apnblue:#005397;
    --apngreen:#51B948;
    --apnorange:#f58021;
    --darkgrey:#2e2e2e;
    --hovergrey:rgba(168, 166, 166, 0.2);
    /* footer styles */
    --f-primary:#2c3e50;
    --f-secondary: #34495e;
    --f-accent: #3498db;
    --f-light:#ecf0f1;
    --f-success: #27ae60;
    --f-warning: #f39c12;
    --f-alert:#e74c3c;
    --f-text:#2c3e50;
    --f-text-light: #7f8c8d;
    --f-border:rgba(189, 195, 199, 0.5);
    --f-shadow: rgba(44,62,80,0.15);
    --f-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --footer-height: 80px;
}



*{
    box-sizing:border-box;
    margin:0;
    padding:0;

}

html{
    height:100%;
    margin: 0;
}

body{
    display:flex;
    flex-direction:column;
    min-height:100vh;
    font-family: system-ui, -apple-system, Segoe Ui, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--back);
    scroll-behavior: smooth;  
}


main{
  flex: 1 0 auto;
  display: flex;
  min-height: calc(80vh - var(--footer-height));
  max-height: none; 
}

main.site-main, main {
  flex: 1 1 auto;
  display: block;
  box-sizing: border-box;
  padding-bottom: 0;
  min-height:0;
}



footer{
  flex-shrink: 0;
 width:100%;
}

section, main, footer{
  height: auto;
  scroll-snap-align: start;
}

section.site-section, main.site-main, footer.site-footer {
  height: auto;
  scroll-snap-align: start;
}

/*=========== Nav ===========*/

.site-header {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0;
  height: 64px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  z-index: 2000;
  background: none;          
  backdrop-filter: none;    
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* logo */
.brand img{
  display: block;
  height:40px;
}


.nav-links {
  display: flex;
  gap: 15px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links a:hover {
  color:var(--darkgrey);
  background: var(--hovergrey);
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
}

/* site header when scrolled */
.site-header.scrolled{
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px) saturate(110%);
    -webkit-backdrop-filter: blur(8px) saturate(110%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: var(--f-transition);
}

.site-header.scrolled .nav-toggle span{
    background: var(--darkgrey);
}

/* nav-links when scrolled */
.nav-links.scrolled a,
.site-header.scrolled,.nav-links a {
    color: var(--darkgrey);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    background: transparent;
    transition: color .2s ease, background .2s ease;
    
}

/* smooth default transition */
.nav-links a {
    transition: color .2s ease, background .2s ease;
}

.contact-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  border:none;
  cursor:pointer;
  background: #f58021;
}

.contact-btn a{
  background: #f58021;
  color: #fff;
  text-decoration: none;
  font-weight: 600;

  cursor:pointer;
  transition: background .15s ease;
}
.contact-btn:hover{
  background: #cc6b1c;
}


/* Hamburger toggle*/
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  position: fixed;
  top: 16px;
  right: 5vw;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 24px; 
  height: 2px;
  background: var(--muted);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/*=========== End of Nav ===========*/
.page {
    display: flex;
    flex: 1 0 auto;
    margin: 0 auto;
    padding: 50px 10px 20px 10px !important;
    min-height: calc(80vh - var(--footer-height));
    width:100%;
}


.page-title{
    font-size:2rem;
    font-weight:700;
    color:var(--apnblue);
    margin-bottom:10px;
}

.page-header{
    display:flex;
    flex-direction:column;
    align-items:left;
    justify-content:left;
    text-align:left;
    padding:20px 0 20px 0;
}


.left {
    flex: 1 0 42%;
    display: flex;
    width: 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(44, 62, 80, 0.18); /*contrast for accessibility */
    backdrop-filter: blur(12px) saturate(110%);
    -webkit-backdrop-filter: blur(12px) saturate(110%);

}

.right {
    position: relative;
    flex: 1 1 42%;
    display:flex;
    flex-direction: column;
    z-index: -1;
    overflow:hidden;
    inset: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  padding-top: 20px;
}

.contact-section > div:first-child {
  flex: 0 0 500px;
  min-width: 200px;
}

.contact-section > div:last-child {
  flex: 1 0 280px;
  min-width: 200px;
}

.contact-section i{
  font-size: 20px;
  padding: 0 8px 0 0;
}

.contact-image-container {
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 500;
}
.contact-image {
  position: relative;
  z-index: 1000;
  max-width: 100%;
  height: auto;
  max-height: 1000px;
  pointer-events: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10px;
} 

.contact-info h1 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text); 
}

.contact-info h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text); 
}

.contact-info p {
  font-size: 14px;
  margin: 8px 0;
  color: var(--muted); 
}

.contact-details {
  padding: 15px 0;
  padding-left: 55px;
  margin-left: -55px;

}

.contact-details-bg{
  padding: 15px 0;
  margin-bottom: 20px;
  background-color: var(--mutedbg);
  border-radius: 8px;
  margin-left: -55px;
  margin-right: -30px;
  padding-left: 55px;
  padding-right: 30px;
}

.contact-details p {
  margin: 8px 0;
  color: var(--muted); 
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
}



.contact-item a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  vertical-align: top;
  padding: 5px;
}

.contact-item a:hover {
  text-decoration: underline;
  color:var(--apnblue)
}

/*======== License & Business Info =============*/

.license-info {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 7px;
}

.license-info a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.license-info a:hover {
  text-decoration: underline;
  color:var(--apnblue);
}

.license-info h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text); 
}

/*.license-info p {
  font-size: 13px;
  color: var(--muted);
  width:50%;
  line-height: 1.6em;
  
}
*/


.business-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  color: var(--muted);
}

.details {
  padding: 10px 0;
  margin-bottom: 7px;
  font-size: 14px;
}

/*.business-info div {
  margin-bottom: 10px;  
}
*/
.contact-box {
  display: flex;
  font-size: 12px;
  flex-direction: column;
}


.contact-box h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text); 
}

.contact-box h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2px; 
}


/*=========== FAQ Accordion Section ===========*/
.faq-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 1rem 2rem;
  grid-column: 1 / -1; /* span across all columns */
}

.faq-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text);
  align-items: left;
  margin-left: -2.5rem;
}


.faq-accordion {
  flex: 0 100%;
  max-width: 100%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  padding: 0 0 10px 10px;
}

.accordion {
  row-gap: 2.5rem;
  height: auto;
  margin-left:-2.5rem;
}

.accordion__container {
    display: flex;
    flex-direction: column;
    background-color: var(--back);
    border-radius: .5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    row-gap: 1.5rem;
    height: auto;
    align-self: stretch;
}

.accordion__title {
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 400;
  margin-top: .15rem;
  transition: .2s;
}

/* Rotate icon and add font weight to titles */
.accordion-open .accordion__icon { 
  transform: rotate(45deg); 
}
.accordion-open .accordion__title { 
  font-weight: 600; 
}


.accordion__header {
  column-gap: .5rem;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  cursor: pointer;
  position: relative;
}

.accordion__header h3{
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}
.accordion__description {
  padding: 0 1.25rem 1.25rem 3rem;
  font-size: 1rem;
}

.accordion__description a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.accordion__description a:hover {
  text-decoration: underline;
  color:var(--apnblue);
}


.accordion__icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    margin-top: -0.5rem;
    font-size: 1.5rem;
    height: auto;
    color: var(--text);
    transition: var(--f-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    text-align: center;
    pointer-events: none;
}

.accordion__icon::before {
  content: '\f067';
  font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 5 Free Regular", sans-serif;
  font-style: normal;
  font-weight: 400;
  display: inline-block;
  line-height: 1;
}

.accordion__item {
  background-color: var(--back);
  border-radius: .25rem;
  position: relative;
  transition: all .25s ease;
}

.accordion__item::after {
  content: '';
  background-color: var(--f-accent);
  width: 5px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: .25rem 0 0 .25rem;
}

.accordion__item:nth-child(1) 
{ background-color: var(--back); }

.accordion__item:nth-child(1)::after 

{ background-color: var(--mutedbg); }

.accordion__item:nth-child(2) 
{ background-color: var(--mutedbg); }

.accordion__item:nth-child(2)::after 
{ background-color: var(--mutedbg); }

.accordion__item:nth-child(3) 
{ background-color: var(--back); }

.accordion__item:nth-child(3)::after 
{ background-color: var(--mutedbg); }

.accordion__item:nth-child(4) 
{ background-color: var(--mutedbg); }

.accordion__item:nth-child(4)::after 

{ background-color: var(--mutedbg); }

.accordion__item:nth-child(5) 
{ background-color: var(--back); }

.accordion__item:nth-child(5)::after 
{ background-color: var(--mutedbg); }

.accordion__item:nth-child(6) 
{ background-color: var(--mutedbg); }

.accordion__item:nth-child(6)::after 
{ background-color: var(--mutedbg); }

.accordion__item:nth-child(7) 
{ background-color: var(--back); }

.accordion__item:nth-child(7)::after 
{ background-color: var(--mutedbg); }
.accordion__item:nth-child(8) 
{ background-color: var(--mutedbg); }

.accordion__item:nth-child(8)::after 
{ background-color: var(--mutedbg); }

.accordion__content {
  overflow: hidden;
  height: 0;
  transition: all .25s ease;
}

.accordion__item.open .accordion__content {
  height: auto;
}

.accordion__item.open .accordion__icon::before {
  content: '\f068';
}





/*=========== End of FAQ Accordion Section ===========*/



/*===========Responsive===========*/
/* Extra-small phones */
@media (max-width: 480px) {
  .site-header {
    padding: 0 3vw;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .accordion__title {
    font-size: 1.1rem;
  }

  .accordion__description {
    font-size: 0.9rem;
  }
}

 /* Mobile */
@media screen and (max-width: 900px) {
  html, body {
    overflow-x: hidden;
  }
  .nav-toggle { 
    display: block; }

  .nav-links {
    text-align: center;
    display: none;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
    padding: 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
  }
  .nav-links a {
    background: rgba(52,73,98,0.25);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border:none;
    cursor:pointer;
  }
  .contact-btn a{
  background: #f58021;

}
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 55px;
    right: 5vw;
    transition: var(--f-transition);
  }

  .nav-links.open.scrolled {
    display: flex;
    position: fixed;
    top: 55px;
    right: 5vw;
    transition: var(--f-transition);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px) saturate(110%);
    -webkit-backdrop-filter: blur(8px) saturate(110%);
  }

  .nav-links a:hover {
  background: rgba(255,255,255,0.95);
}

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

.contact-btn a:hover {
  background: none;
}

.site-header{
      justify-content: space-between;
    }
    
.page{ 
   padding: 80px 16px 16px 16px !important;}
 
.contact-info {
    display: flex;
    justify-content: center;
    padding: 0 5px;
    width:auto;
}

.contact-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

.contact-info {
    padding: 0;
  }

  .faq-section {
    flex-direction: column;
    padding: 1rem 0;
  }

  .faq-section h2,
  .accordion {
    margin-left: 0;
  }

  .faq-accordion {
    padding: 0;
  }

  .accordion__header{
    padding: 1rem 2.5rem 1rem 1rem;
    font-size: 1rem;
  }

  .accordion__description {
    padding: 0 1rem 1rem 1rem;
  }

  .accordion__icon {
    right: 1rem;
    top: 50%;
    margin-top: -0.5rem;
    font-size: 1.25rem;
    padding: 0 5px;
  }

  .contact-image-container {
    display:none;
  }

}

@media screen and (max-width: 1200px) {

    .page{
      padding: 25px !important;
    }

 
  .contact-info {
    display: flex;
    justify-content: center;
    padding: 0 5px;
    width:auto;
  }


  .faq-accordion h2 {
    font-size: 1.5rem;
    margin-left: -1rem;
  } 

  .faq-accordion {
    padding: 0 10px 0 10px;
  }

  .accordion__description {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }

  .accordion__title {
    padding: 1rem;
  }

.accordion__container {
    row-gap: 1rem;
    width: 100%;
    align-self: stretch;
    padding: 0px;
    margin-left:auto;
  }

  .accordion__icon {
    right: 1rem;
    top: 50%;
    margin-top: -0.5rem;
    font-size: 1.25rem;
    padding: 0 5px;
  }

  .license-info {
    font-size: .20rem;
    margin-bottom: 5px;
    margin-right: 10px;
    padding: 0 20px 0 0;
  }

  .faq-section {
    flex-direction: column;
    padding: 0 10px 0 10px;
  }

  .faq-accordion {
    padding: 0 10px 0 0;
  }

  .accordion__header{
    padding: 1.25rem;
    font-size: .25rem;
  }

  .contact-image-container {
    display:none;
  }
.contact-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }
   
}

@media screen and (min-width: 1201px) {
 .contact-image-container {
  display: flex;
   justify-content: center;
   align-items: center;
   padding: 0 10px;
 }

 .accordion__container {
    row-gap: 1.5rem;
    width: 100%;
    align-self: stretch;
    padding: 0px;
    margin-left:auto;
  }

  .faq-accordion {
    padding: 0 0 10px 10px;
  }

  .faq-section {
    flex-direction: row;
    justify-content: center;
    margin-left: 2.5rem;
    padding: 0rem 1.5rem;
    padding-left: 30px;
  }

}