


:root{
    --back:#fff;
    --text:#1a1f24;
    --muted:#6b7280;
    --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,body{
    height:100%;
    margin: 0;
    scroll-behavior: smooth;
}

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);
    overflow:auto;
    background: var(--f-primary);
}

h1 {
    color: #ffffff !important;
}

h2 {
    color: #000000 !important;
}


main{
  flex: 1 1 auto;
  display: flex;
  min-height: calc(100vh - 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;
}

section{
    background-color: var(--back);
}


footer{
  flex-shrink: 0;
  position: relative;
  text-align:center;
  padding:1rem;
  background: var(--f-light);
}

section, main, footer {
  height: auto;
  scroll-snap-align: start;
}



.viewport{
    width: 100vw;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /* 
       <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    */
}

 
/*=========== 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: 5000;
  background: none;          
  backdrop-filter: none;    
}


/*.page {
  padding-top: 64px;
}
*/

.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: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav-links a:hover {
  color:var(--muted);
  background: rgba(255,255,255,0.8);
  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: #fff;
  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);
}

/* ==== HERO ===== */

.page {
    display: flex;
    flex: 1 0 auto;
    margin: 0 auto;
    padding: 50px 20px;
    min-height: calc(80vh - var(--footer-height));
    width:100%;
}

.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;
}

.hero-section{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2000 !important;
  width: 100% !important;
  display: flex;
  justify-content: center;
  pointer-events: auto;
  background: transparent;
  max-height: 100vh;
  overflow: hidden;
}

.hero-section .hero {
    display: flex;
    inset: 0;
    background-size: cover;
    background-position: right center;
    z-index: 0; 
    overflow: hidden;
    width: auto;
    flex-wrap: wrap;
    padding: 4rem 2rem;
}

.hero-section .hero-content{
    width: min(425px, 92%);
    padding: 25px;
    display:flex;
    flex-direction:column;
    margin-top: auto;
    margin-bottom: auto;
    color: var(--back);
}

.hero {
    display: flex;
    inset:0;
    background-size:cover;
    background-position: right center;
    z-index: -1;
    overflow: hidden;
    width:auto;
    flex-wrap: wrap;
    padding: 4rem 2rem;
}

.hero-content {
    width: min(425px, 92%);
    padding: 25px;
    display:flex;
    flex-direction:column;
    margin-top: auto;
    margin-bottom: auto;
    color:var(--back);
}

.hero-content p{
    padding-top:10px;
}

.hero-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  pointer-events: none; 
}

.hero-image img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
}


/* HOW WE HELP */

.how-help {
    display: flex;
    flex-wrap: wrap;
    padding: 4rem 2rem;
    gap: 2rem;
    background-color: var(--back);
}

.how-left, .how-right {
    flex: 1;
    min-width: 300px;
}

.how-right ul {
    list-style: disc;
    margin-top: 1rem;
    padding-left:1.5rem;
    padding-right: 2rem;
}

.how-right li{
    padding-top: 1rem;
}

.how-image {
  flex: 1 1 52%;
  max-width: 100%;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  order: -1; 
  overflow: hidden; 
  height: auto; 
  object-fit: contain;
}


.how-image img {
  display: block;
  width: auto;     
  height: auto;   
  max-width: 100%;
  max-height: 100%; 
  object-fit: contain; 
}



.how-left {
  flex: 1 0 35%;
  max-width: 35%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.25rem;
  margin: 0;
  box-sizing: border-box;
  align-items: flex-start;
  justify-content: center;
  background: var(--back);
}


/*=============== PROVIDE MORE ===============*/
.provide-more {
    display: flex;
    gap: 2rem;
    
    padding: 4rem 2rem;
    flex-wrap: nowrap; /* keep columns side-by-side on wide screens */
}


.provide-more h2 {
    width: 100%;
    text-align: left;
    font-size: 1.5rem;
    color: var(--text);
    
}

/* LEFT column */
.provide-left {
    flex: 0 0 100%;
    max-width: 100%;
    background: var(--back);
    padding: 2.25rem;
    margin: 0;
    box-sizing: border-box;
}

.provide-left h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 3rem;
    margin-left: -2rem;
}

/* RIGHT column (content + image) — set as a row so content and image are side-by-side */
/*.provide-right {
    flex: 0 0 64%;
    max-width: 64%;
    min-width: 320px;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0;
    box-sizing: border-box;
    background: var(--back);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}*/

/* Provide content (text) inside the right column */
/*.provide-content {
    flex: 0 0 48%;
    max-width: 48%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    color: var(--text);
    align-self: stretch;
    box-sizing: border-box;
    background: transparent;
}


.provide-image {
    flex: 1 1 52%;
    min-width: 300px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--back) !important;
}




.provide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/




/* ==== Accordion ==== */

.features-accordion {
    flex: 0 100%;
    max-width: 100%;
    min-width: 300px;
    order: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.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;
    margin: 0;
    align-self: stretch;
}

.accordion__title {
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 400;
  margin-top: .15rem;
  transition: .2s;
}

.accordion__header {
  column-gap: .5rem;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  cursor: pointer;
}

.accordion__description {
  padding: 0 1.25rem 1.25rem 3rem;
  font-size: 1rem;
}

.accordion__link {
    color: var(--f-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.accordion__header {
    position: relative;
}

.accordion__content {
    padding-top: .75rem;
    line-height: 1.6;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    margin-left: 20px;
    margin-bottom: 10px;
}
.accordion__content h3,
.accordion__content a {
    margin-top: 0;
    margin-left: 2.75rem;
    padding: 0 1.25rem 1.25rem .25rem;
}

.accordion__content ul {
    list-style: disc;
    margin-top: 1rem;
    margin-left: 2.75rem;
    padding-left:2rem;
}

.accordion__details {
    padding: 0 1.25rem 1.25rem 3rem;
    font-size: 1rem; 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    justify-content: center;
}

.accordion__details img {
    width: 100%; 
    height: auto; 
    border-radius: 8px;
}
.accordion__details h3,
.accordion__details a,
.accordion__details p {
    margin-top: 0;
}

.accordion__details div {
  padding: 1rem;  
  flex: 1;
}

.accordion__details ul {
    list-style: disc;
    margin-top: 1rem;
    padding-left:1.75rem;
}

.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;
  margin-bottom: 1rem;
}

.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(--apnorange); }

.accordion__item:nth-child(2) 
{ background-color: var(--back); }

.accordion__item:nth-child(2)::after 
{ background-color: var(--apnblue); }

.accordion__item:nth-child(3) 
{ background-color: var(--back); }

.accordion__item:nth-child(3)::after 
{ background-color: var(--apngreen); }

.accordion__item:nth-child(4) 
{ background-color: var(--back); }

.accordion__item:nth-child(4)::after 

{ background-color: var(--apnorange); }

.accordion__item:nth-child(5) 
{ background-color: var(--back); }

.accordion__item:nth-child(5)::after 
{ background-color: var(--apnblue); }

.accordion__item:nth-child(6) 
{ background-color: var(--back); }

.accordion__item:nth-child(6)::after 
{ background-color: var(--apngreen); }

.accordion__item:nth-child(7) 
{ background-color: var(--back); }

.accordion__item:nth-child(7)::after 
{ background-color: var(--apnorange); }
.accordion__item:nth-child(8) 
{ background-color: var(--back); }

.accordion__item:nth-child(8)::after 
{ background-color: var(--apnblue); }

.accordion__content {
  overflow: hidden;
  height: 0;
  transition: all .25s ease;
}

.accordion__item.open .accordion__content {
  height: auto;
}

/* Rotate icon and add font weight to titles */
.accordion-open .accordion__icon { 
  transform: rotate(45deg); 
}
.accordion-open .accordion__title { 
  font-weight: 600; 
}


/* carousel within accordion content */

.accordion-carousel {
  position: relative;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
  overflow: visible; /* prevent clipping of dots/nav */
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 3 / 2;
  height: auto;
  overflow: visible; /* allow controls to render outside the box */
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--f-shadow);
  padding-bottom: 2.25rem; /* reserve space so dots aren’t overlapped/cut */
}

.carousel-container img,
.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.accordion-slide {
  background-size: cover;
  background-position: center;
}

.carousel-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.accordion-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1800ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 1800ms;
  will-change: opacity;
  z-index: 0;
}

.accordion-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition: opacity 800ms ease, visibility 0s;
  animation: accordionFadeIn 800ms 800ms ease;
}

@keyframes accordionFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Carousel navigation buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 20;
  pointer-events: auto;
}

.carousel-btn {
  background: var(--f-accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--f-transition);
  pointer-events: auto;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  touch-action: manipulation;
}

.carousel-btn:hover {
  background: var(--apnblue);
  color: #fff;
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.75rem 0; /* slightly larger for touch targets */
  margin-top: -1.25rem; /* pull dots closer to the container without overlapping */
  position: relative;
  z-index: 25;
}

.carousel-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--f-border);
  cursor: pointer;
  transition: var(--f-transition);
  flex: 0 0 auto;
  border: none;
  outline: none;
  appearance: none;
}

.carousel-dots .dot.active {
  background: var(--f-accent);
  transform: scale(1.2);
}

.carousel-dots .dot:hover {
  background: var(--apnblue);
}

/* Carousel items for horizontal scroll variant */
.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 250px;
  height: auto;
}

.carousel-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px var(--f-shadow);
  transition: transform 0.3s ease;
}

.carousel-item img:hover {
  transform: scale(1.05);
}

/* Scrollbar styling for horizontal carousel variant */
.accordion-carousel::-webkit-scrollbar {
  height: 8px;
}

.accordion-carousel::-webkit-scrollbar-track {
  background: var(--f-border);
  border-radius: 4px;
}

.accordion-carousel::-webkit-scrollbar-thumb {
  background: var(--f-accent);
  border-radius: 4px;
}

.accordion-carousel::-webkit-scrollbar-thumb:hover {
  background: var(--apnblue);
}


/*.icon::before {
    content: '+';
    font-size: 1.2rem;
    transition: var(--f-transition)
}

.accrd-item.open .icon::after {
    content:'-';
    transform: rotate(90deg);
}*/








  

/* Mobile */
@media screen and (max-width: 900px) {
    
  .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-bottom: 12px;}
 

}

/* Show/hide elements based on screen size */
@media screen and (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}

@media screen and (min-width: 769px) {
  .desktop-only {
    display: block;
  }
  .mobile-only {
    display: none;
  }
}

@media screen and (max-width: 1200px){


    .page {
    flex-direction: column;
    padding: 80px clamp(1.5rem, 5vw, 3rem) 40px;
  }
  .left {
    width: 100%;
    max-width: 100%;
    padding: 32px 24px;
  }
  .hero-section .hero,
  .hero {
    padding: 3.5rem clamp(1.5rem, 5vw, 3rem);
  }

  .hero-content h1 {
    font-size: 2rem;
    padding: 10px 0;
  }
  .hero-content {
    width: 100%;
  }
  .how-help {
    padding: 3rem clamp(1.5rem, 5vw, 3rem);
  }
  .features-accordion,
  .provide-more {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .accordion__details {
    flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
  }


  .how-image img {
    display: block;
    width: auto;         
    max-width: 100%;
    height: auto;          
    max-height: 60vh;      
    object-fit: contain;   
    border-radius: 6px;
  }

  .accordion__details img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }
  
  .accordion__details div {
    padding: 0;
    width: 100%;
    margin:0;
  }
  .accordion__content h3, .accordion__content a {
    margin-left: 0;
  }

  /* Adjust carousel container for smaller screens */
  .carousel-container {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
 .accordion {
    row-gap: 1.5rem;
    display: flex;
    flex-direction: column;
  }

  .accordion__icon {
    right: 1rem;
    top: 50%;
    margin-top: -0.5rem;
    font-size: 1.25rem;
    padding: 0 5px;
  }
.accordion__container {
    row-gap: 1rem;
    width: 100%;
    align-self: stretch;
    padding: 0px;
    margin-left:auto;
  }

  .accordion__description {
    padding: 0 1.25rem .25rem 0;
  }

}