/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Switzer-Variable", sans-serif;
  font-display: swap;
}
body {
  color: #222;
  background-color: #f8f8f8;
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* SIDEBAR (desktop) */
.sidebar {
  width: 320px;
  background: #f8f8f8;
  color: black;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  justify-content: space-between;
  padding: 2rem 0rem 2rem 4rem;
  transition: all 0.3s ease;
  z-index: 1000;
}
.sidebar .logo {
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  text-align: center;
  flex-direction: row;
}

.sidebar .logo a {
    text-decoration: none;
    color: black;
    align-content: center;
}

.sidebar .logo a:first-child {
  max-height: 50px;
}

.sidebar .logo h2 {
    margin-bottom: 0;
    width: 100%;
    font-size: 20px;
  }

.sidebar .logo img {
  object-fit: contain;
  height: clamp(40px, 4vw, 50px);;
  padding: 10px;
  margin-right: 10px;
  align-self: center;
  display: block;
}
.sidebar .nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sidebar .nav{
  height: 100%;
}

.sidebar .nav li a{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  
}


.sidebar .nav a i{
  color: #afacac;
}

.copyright-text{
  font-size: 14px;
}

.copyright-text-mobile{
    display: none;
  }



.sidebar .nav a {
  display: block;
  padding: 0.6rem 0;
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  transition: transform 0.3s ease;
}

.sidebar .nav a:hover{
  transform: scale(1.05);
}

.sidebar .nav a:hover i{
  color: #000000;
}
.sidebar .nav a.active i{
  color: #000000 !important;
}
.sidebar .socials {
  display: flex;
  gap: 0.5rem;
  justify-content: start;
  flex-wrap: wrap;
}


.sidebar .socials a , .sidebar .social-mobile a {
  color: black;
  font-size: 0.9rem;
  transition: color 0.2s;
  text-decoration: none;
  height: 35px;
  width: 35px;
  text-align: center;
  align-content: center;
  border: 1px solid #e6e6e6;
  border-radius: 50px;
}

.sidebar .socials a:hover {
  color: #777;
}

.sidebar-inner{
  display: flex;
  flex-direction: column;
  height: 100%;
  gap:3rem
}

/* MAIN CONTENT */
.main-content {
  margin-left: calc(320px + 6rem);
  margin-right: 6rem;
  padding: 4rem 3rem;
  flex: 1;
  border-right: 1px solid #cdcdcd;
  border-left: 1px solid #cdcdcd;
}
section {
  margin-bottom: 6rem;
}
h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}
p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-warper {
  display: flex;
  gap: 5rem; /* space between map and form */
  flex-wrap: wrap; /* allows stacking on small screens */
  width: 100%;
  margin-top: 20px;
  background: black;
  padding: 2rem;
  color: white;
}

.contact-info-container{
  flex: 0 0 45%;
}

.contact-info-container p:first-of-type{
  margin-top: 2rem;
}

.contact-label{
  text-transform: uppercase;
  color: #ffffffb3;
  font-size: 13px;
}

.contact-info{
  font-size: 13px;
  color: white;
}

#map {
  flex: 1; /* map takes half/remaining space */
  min-width: 300px; /* ensures map doesn’t get too small */
  height: 300px !important; /* fixed height */
  z-index: 0;
  margin-top: 2.6rem;
  width: 100%;
}

.contact-form-warper {
  flex: 1; /* form takes remaining space */
  min-width: 500px;
  align-content: center;
}

/* HERO */
.hero-section {
  height: 80vh;
  text-align: left;
}
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: black;
  color: white;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 6px;
}
.btn-primary:hover {
  background: #333;
}

.balance-grid{
  grid-template-columns: auto auto auto !important;
}

.balance-card h3{
  border-bottom: 2px solid;}

.balance-list{
  list-style: none;
  padding-left: 10px;
  color: #565454;
}

.balance-list a{
  text-decoration: none;
  color: black;
  font-weight: 700;
}

.balance-list a:hover{
  text-decoration: underline;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card, .balance-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* TESTIMONIALS */
.testimonials-section {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
}
.testimonial {
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* FAQ */
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-item h3 {
  margin-bottom: 0.5rem;
}

/* CONTACT */
.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  min-width: 500px;
}

.contact-form button {
  width: fit-content;
  padding: 0.25rem 0rem;
  background: #00000000;
  color: white;
  border: unset;
  border-bottom: 1px solid white;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0rem 0.25rem;
  font-size: 1rem;
  background: #ffffff00;
  border: unset;
  border-bottom: 1px solid #ffffff40;
  color: white;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom: 1px solid white;
}
.required::after{
  content: " *";
  color: red;
}
.contact-form textarea {
  min-height: 200px;
  resize: vertical;
}

/* FOOTER */
.footer {
  margin-top: 4rem;
  text-align: center;
  color: #777;
}

/* BURGER MENU BUTTON */
.menu-toggle {
  display: none;
  font-size: 1.3rem;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
}

.social-mobile{
  display: none;
}

.contact-section{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-section h2{
  align-self: flex-start;
}

.since_title{
  -webkit-text-size-adjust: 100%;
  color: black;
  line-height: 135%;
  box-sizing: border-box;
  font-family: "Fragment Mono", sans-serif;
  font-size: .8125rem;
  letter-spacing: -.06em;
  text-transform: uppercase;
}


.main-heading{
  padding: 12rem 0rem 3rem 0rem;
  width: 60%;
  color: grey;
}

.highlight-text{
  color: black;
}

/* IMAGE GRID */

.info-grid-image{
  width: 100%;
  display: block;
  height: 90%;
  object-fit: cover;
}

.info-grid-card{
  width: 100%;
  text-decoration: none;
  border: unset;
  transition: all 0.3s ease;
  max-height: 380px;
}


.image-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem .5rem;
}

.info-grid-text{
  color:black;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  margin-top: 10px;
}

.about-section{
  margin-top:10rem
}

.company-info-list .company-list-item:first-child{
  border-top: 1px solid #e6e6e6;
}

.company-list-item{
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0rem;
  width: 60%;
  border-bottom: 1px solid #e6e6e6;
}

.company-info-title{
  margin-top: 10rem;
  margin-bottom: 3rem;
}

.company-list-item h3{
  font-weight: 400;
  text-transform: uppercase;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.company-list-item h3:hover{
  transform: translateX(20px);
}

.company-list-item h3, .company-list-item p {
    margin: 0;
}

.company-list-item:has(h3:hover)::before{
    opacity: 1;
}

.company-list-item::before {
    margin-top: 1px;
    content: ">";
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
}


.partner-dropdown-header {
    margin-top: 0;
    margin-bottom: 1rem;
    cursor: pointer;
}

.partner-dropdown-header::after {
    content: "▾";
    margin-left: 10px;
    display: inline-block;
    font-size: 30px;
    transition: transform 0.3s ease;
}

.partner-dropdown-header-open::after {
    transform: rotate(180deg);
}

.partner-dropdown {
    transform: scaleY(0);
    max-height: 0px;
    transition: all 0.3s ease;
    transform-origin: top;
}

.partner-dropdown-open {
    transform: scaleY(1);
    opacity: 1;
    height: auto;
    padding-bottom: 4rem;
    max-height: 400px;
}


@media (max-width: 1175px){
  .image-grid{
    grid-template-columns: 1fr ;
  }
}

@media (max-width: 768px){
  .main-heading{
    width: 100% !important;
  }
}

@media (max-width: 1730px){
  .contact-info-container{
    flex: 0 100%;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  /* Turn sidebar into top bar */

  .main-heading{
    width: 80%;
  }

  .sidebar {
    position: fixed;
    width: 100%;
    height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
  }
  .sidebar .logo {
    font-size: 1.2rem;
    overflow: hidden;
    flex-direction: row;
    align-items: center;
    padding: 10px;
  }

  .sidebar .logo h2 {
    width: --webkit-fill-available;
    text-align: left;
    padding: 10px;
  }

  .copyright-text-mobile a {
    all: unset !important;
    font-weight: 600 !important;
    color: black !important;
  }

  .social-mobile{
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1rem 0rem;
  }

  .contact-info-container{
    width: 100%;
  }


  .social-mobile a {
    font-size: 1.2rem;
    transition: color 0.2s;
    text-decoration: none;
  }

  .balance-grid{
    grid-template-columns: auto !important;
  }

  .social-mobile i{
    color: black !important;
  }

  .social-mobile a:hover {
    color: #777;
  }
  .sidebar .socials {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .sidebar .nav li a{
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 3rem;
    font-size: 28px
  }

  .sidebar .nav li i{
    font-size: 22px;
  }

  .sidebar .nav a i{
    max-width: 20px;
  }

  .fill-width{
    width: -webkit-fill-available;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.open {
    max-height: 420px;
    padding: 1rem;
  }
  .nav ul {
    list-style: none;
    padding: 1rem 1.5rem;
  }
  .nav a {
    display: block;
    padding: 1rem 0;
    color: #bbb;
    text-decoration: none;
  }

  /* Adjust content */
  .main-content {
    margin-left: 0;
    margin-top: 60px;
    padding: 1.5rem 1.5rem;
    margin-right: 0;
  }

  .copyright-text{
    display: none;
  }

  .copyright-text-mobile{
    display: block;
    text-align: right;
  }

  .sidebar .nav a{
    color: black;
  }

  .sidebar .nav ul a{
    font-size: 28px;
  }

  .contact-form , .contact-form-warper{
    min-width: unset;
  }

  .company-list-item{
    width: 100%;
    gap: 2rem;
  }

  .company-list-item h3{
    text-align: left;
  }
  .company-list-item p{
    text-align: right;
  }
  
}
