/* ==========================================================================
   DEIFENDEIFER ACCOUNTING — Custom styles
   Bootstrap 5.3 handles layout/spacing. This file only defines brand colors
   and the few visual touches Bootstrap utilities can't express.
   ========================================================================== */
@font-face {
  font-family: 'Google Sans Flex';
  src: url('../fonts/GoogleSansFlex-VariableFont_GRAD,ROND,opsz,slnt,wdth,wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Calibri';
  src: url('../fonts/Calibri.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --lima-navy: #234198;
  --lima-orange: #F16522;
  --lima-orange-light: #FBEBE3;
  --lima-peach: #FBEBE3;
  --lima-black: #000000;
  --lima-dark: #222;
  /* New transition variable */
  --lima-timing: cubic-bezier(.17, .67, .83, .67);
}

/* ---- Color helpers ---- */
.text-navy {
  color: var(--lima-navy) !important;
}

.text-orange {
  color: var(--lima-orange) !important;
}

.bg-navy {
  background-color: var(--lima-navy) !important;
}

.bg-orange {
  background-color: var(--lima-orange) !important;
}

.bg-peach {
  background-color: var(--lima-peach) !important;
}

/* ---- Buttons ---- */
.btn-navy {
  border-radius: 9999px;
  background: var(--lima-navy);
  border: 1px solid var(--lima-navy);
}

.btn-orange {
  border-radius: 9999px;
  background: var(--lima-orange);
}

body {
  font-family: 'Google Sans Flex', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Google Sans Flex', sans-serif;
  font-weight: 700;
}

p {
  font-family: 'Google Sans Flex', sans-serif;
  font-weight: 400;
}

.btn {
  padding-top: 14px;
  padding-bottom: 14px;
  text-align: center;
  font-family: "Google Sans Flex";
  font-size: 18px;
  font-style: normal;
  line-height: 28px;
  min-width: 260px;
}

.btn:hover,
.btn:focus {
  color: var(--lima-navy) !important;
  border: 1px solid var(--lima-navy) !important;
  background-color: #ffffff !important;
  -webkit-transition: all 0.3s var(--lima-timing);
  transition: all 0.3s var(--lima-timing);
}

.btn-outline-navy {
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--lima-navy);
  min-width: 184px;
}

.section-title {
  color: #4C4C4C;
  text-align: center;
  font-family: "Google Sans Flex";
  font-size: 48px;
  font-style: normal;
  line-height: 48px;
}

.text-paragraph {
  color: var(--lima-dark);
  font-family: "Google Sans Flex";
  font-style: normal;
  line-height: 25px;
  letter-spacing: 0.48px;
}

/* ---- Top Bar ---- */
.top-bar img {
  width: 14px;
  height: 14px;
}

.top-bar span a {
  font-family: Calibri;
  font-size: 14px;
  font-style: normal;
  line-height: 20px;
}

.top-bar .login-button {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.24);
  -webkit-transition: all 0.3s var(--lima-timing);
  transition: all 0.3s var(--lima-timing);
}

.top-bar .login-button:hover,
.top-bar .login-button:focus {
  background: rgba(255, 255, 255, 1);
  color: var(--lima-navy) !important;
  -webkit-transition: all 0.3s var(--lima-timing);
  transition: all 0.3s var(--lima-timing);
}

/* ---- Brand / navbar ---- */
.navbar {
  border-bottom: 0.5px solid #BABABA;
}

.navbar .nav-link {
  font-family: "Google Sans Flex";
  font-style: normal;
  line-height: 24px;
  -webkit-transition: font-weight 0.3s var(--lima-timing);
  transition: font-weight 0.3s var(--lima-timing);
}

.btn-orange {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  font-family: "Google Sans Flex";
  font-style: normal;
  line-height: 21px;
  min-width: 180px;
  border: 0px !important;
  -webkit-transition: all 0.3s var(--lima-timing);
  transition: all 0.3s var(--lima-timing);
}

.btn-orange:hover,
.btn-orange:focus {
  background-color: var(--lima-orange-light);
  color: var(--lima-black) !important;
  -webkit-transition: all 0.3s var(--lima-timing);
  transition: all 0.3s var(--lima-timing);
  border: 0px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  font-weight: 600 !important;
  -webkit-transition: font-weight 0.3s var(--lima-timing);
  transition: font-weight 0.3s var(--lima-timing);
}

/* ---- Dropdown Sub-menu ---- */
.dropdown-menu {
  background-color: #fff;
  border-radius: 12px;
  padding: 10px 0;
  margin-top: 0;
}

.dropdown-item {
  color: var(--lima-dark);
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 24px;
  -webkit-transition: all 0.3s var(--lima-timing);
  transition: all 0.3s var(--lima-timing);
}



/* ---- Hero ---- */
#hero {
  min-height: 90vh;
}

#hero .container {
  position: relative;
  z-index: 1;
}

#hero h1 {
  color: var(--lima-dark);
  font-family: "Google Sans Flex";
  font-size: 60px;
  font-style: normal;
  line-height: 75px;
  padding-top: 20px;
}

#hero p {
  color: var(--body, var(--lima-dark));
  font-style: normal;
  line-height: 25px;
  /* 156.25% */
  letter-spacing: 0.48px;
}

#hero .btn-outline-navy:hover,
#hero .btn-outline-navy:focus {
  background-color: var(--lima-navy) !important;
  color: #ffffff !important;
}

/* ---- Hero Split Screen Image ---- */
.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  /* Takes up exactly the right half of the screen */
  height: 100%;
  background-image: url('../images/handshake.svg');
  /* Make sure this path is correct */
  background-size: cover;
  background-position: center;
  border-bottom-left-radius: 80px;
  /* Matches the curve in your design */
  z-index: 0;
}

#welcome {
  background-color: #F8F9FC;
  padding: 96px 0px;
}

#welcome img {
  border-radius: 24px;
}

#services {
  padding: 96px 0px;
}

#services .serve-check {
  width: 24px;
  height: 24px;
}

#services .icon-text {
  color: var(--lima-dark);
  font-family: "Google Sans Flex";
  font-style: normal;
  line-height: 25px;
  /* 156.25% */
  letter-spacing: 0.48px;
}

.problems {
  margin-bottom: 70px;
}

.problems .bg-peach {
  border-radius: 24px;
}

/* ---- Feature cards on the navy section ---- */
.features-section {
  padding: 96px 0px;
}

.features-section .feature-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.10);
  -webkit-transition: all 0.3s var(--lima-timing);
  transition: all 0.3s var(--lima-timing);
}

.feature-card:hover {
  border: 1px solid rgba(255, 255, 255, 0.50);
  background: #234198;
  -webkit-transition: all 0.3s var(--lima-timing);
  transition: all 0.3s var(--lima-timing);
}

.features-section .feature-card h3 {
  font-style: normal;
  line-height: 24px;
}

.features-section .feature-card .feature-icon {
  width: 40px;
  height: 40px;
}

.features-section .btn-orange {
  min-width: 212px;
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 21px;
}

/* ---- Problems accordion (flush look on peach background) ---- */
.problems-accordion .accordion-item {
  border-radius: 36px;
  border: 1px solid #C9C9C9;
  background: transparent;
}

.accordion-item:has(.accordion-collapse.show) {
  border-radius: 20px;
  background: #F8F9FC;
  border: 1px solid transparent;
}

/* Target first child ONLY when it does NOT have the .show class inside it */
.accordion-flush>.accordion-item:first-child:not(:has(.accordion-collapse.show)) {
  border-top: 1px solid #C9C9C9;
}

/* Target last child ONLY when it does NOT have the .show class inside it */
.accordion-flush>.accordion-item:last-child:not(:has(.accordion-collapse.show)) {
  border-bottom: 1px solid #C9C9C9;
}

.problems-accordion .accordion-button {
  color: var(--lima-dark);
  box-shadow: none;
  background-color: transparent;
  color: var(--lima-dark);
  font-family: "Google Sans Flex";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.problems-accordion .accordion-body {
  color: var(--lima-dark);
  font-family: "Google Sans Flex";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0.48px;
}

.problems-accordion .accordion-button:not(.collapsed) {
  color: var(--lima-dark);
  box-shadow: none;
  background-color: transparent;
  margin-bottom: 10px;
}

.problems-accordion .accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

/* 1. Default Closed State (Add Icon) */
.problems-accordion .accordion-button::after {
  background-image: url('../images/add.svg');
  /* Update filename if needed */
  background-size: contain;
  transform: none !important;
}

/* 2. Open State (Minus Icon) */
.problems-accordion .accordion-button:not(.collapsed)::after {
  background-image: url('../images/minus.svg');
  /* Update filename if needed */
  transform: none !important;
}

/* ---- Testimonials ---- */
#testimonials {
  padding: 96px 0px;
}

#testimonials .testimonial-slider .card .card-body {
  padding: 40px;
  border-radius: 24px;
  background-color: #F8F9FC;
  background-image: url('../images/blockquote.svg');
  background-repeat: no-repeat;
  background-position: 32px 33px;
  cursor: grab;
}

#testimonials .testimonial-slider .card .card-body p {
  color: #4C4C4C;
  font-family: Calibri;
  font-size: 18px;
  line-height: 29.25px;
  margin-bottom: 32px;
}

#testimonials .testimonial-slider .card .card-body .avatar img{
  width: 48px;
  height: 48px;
}

#testimonials .testimonial-slider .card .card-body span.client-name {
  font-style: normal;
  line-height: 24px;
}

#testimonials .testimonial-slider .card .card-body small {
  color: #414141;
  font-size: 12px;
  font-style: normal;
  line-height: 16px;
  /* 133.333% */
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Slick Slider Custom Styles */
.slick-dots {
  display: none !important;
}

#testimonials .slick-dotted.slick-slider {
  margin-bottom: 0px;
}

.slick-track {
  display: flex !important;
}

.slick-slide {
  height: inherit !important;
  transition: all 0.3s ease;
  opacity: 0.95;
}

.slick-slide.slick-center {
  opacity: 1;
}

.slick-slide>div {
  height: 100%;
}

/* ---- Contact Box ---- */
#contact {
  margin-bottom: 96px;
}

#contact .bg-orange {
  border-radius: 24px;
}

#contact .text-paragraph {
  margin-bottom: 32px;
}

#contact ul li .contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.10);
}

#contact ul li .text-box span
{
font-size: 12px;
font-style: normal;
line-height: 16px;
text-transform: uppercase;
}

#contact ul li .text-box span small
{
font-size: 18px;
font-style: normal;
line-height: 28px;
}



#contact ul li .contact-icon img {
  width: 16px;
  height: 16px;
}

#contact ul li.text-box a {
  font-family: "Google Sans Flex";
  font-size: 12px;
  font-style: normal;
  line-height: 16px;
  text-transform: uppercase;
}

#contact ul li.text-box small {
  font-size: 18px;
  font-style: normal;
  line-height: 28px;
}

/* ---- Footer links / social ---- */
.footer p{
 /* line-height:0;*/
}
.footer p.footer-bottom-text {
  font-style: normal;
  line-height: 25px !important;
  letter-spacing: 0.48px;
}

.footer h3 {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}

.footer .footer-link {
  font-style: normal;
  line-height: 24px;
}

.footer .footer-link:hover {
  color: #fff;
}

.footer .social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.10);
  -webkit-transition: all 0.3s var(--lima-timing);
  transition: all 0.3s var(--lima-timing);
}

.footer #newsletterEmail {
  border-radius: 8px 0 0 8px;
  background: rgba(255, 255, 255, 0.10);
  border: none;
}

.footer #newsletterEmail::placeholder {
  color: #9CA3AF;
  font-family: Calibri;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.social-link:hover {
  background-color: var(--lima-orange);
}
/* ---- Newsletter Form ---- */
/*.submit-btn-icon {
  min-width: 56px;
  height: 56px;
  background-image: url('../images/submit-icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  padding: 0;
  border-radius: 0 8px 8px 0;
    background-color: var(--lima-orange);
    padding: 16px 24px;
}*/


.submit-btn-icon {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 56px !important;
    width: 56px;
    height: 56px;
    background-image: url(../images/submit-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    padding: 0 !important;
    border-radius: 0 8px 8px 0;
    background-color: var(--lima-orange);
    border: 0;
    font-size: 0;
    line-height: 0;
}


.submit-btn-icon:hover, .submit-btn-icon:focus {
  background-color: var(--lima-orange) !important;
  border: none !important;
}
.l-64 {
  line-height: 64px;
}

.copyright-section {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

/* Mobile behavior: Stack the image below or above the text */
@media (max-width: 991.98px) {
  .hero-bg-image {
    display: block !important;
    /* Override the d-none d-lg-block if you want it on mobile */
    position: relative;
    width: 100%;
    height: 400px;
    /* Give it a fixed height on mobile */
    border-bottom-left-radius: 0;
    /* Remove curve on mobile if desired */
    order: 2;
    border-radius: 10px;
    /* If using flexbox to reorder */
  }
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .navbar .nav-item.dropdown:hover .nav-link {
    color: #fff;
  }
}

@media (max-width: 768px) {


.navbar-toggler
 {
  padding: 0.75rem 1rem !important;
}

 .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .navbar-nav {
    background-color: var(--lima-navy);
    padding: 0px 10px;
    border-radius: 10px !important;

  }

  .navbar-nav .nav-item {
    border-bottom: 1px solid #fff;
    padding: 10px 0;
  }

  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  #hero {
    flex-direction: column;
    margin: auto 10px;
  }

  .problems .bg-peach {
    padding: 40px 15px !important;
  }

  .features-section .row .col {
    margin-bottom: 20px;
  }

  .features-section .row .col:last-child {
    margin-bottom: 0;
  }

  .slick-dots {
    display: block !important;
  }

  .slick-dots li button:before {
    font-size: 12px;
    color: var(--lima-navy);
  }

  .slick-dots li.slick-active button:before {
    color: var(--lima-orange);
  }

  .section-title {
    font-size: 38px;
    line-height: 40px;
  }

  #hero h1 {
    font-size: 50px;
    line-height: 60px;
  }
}