html,
body {
  font-family: "Arapey", serif;
  font-size: 1.1rem;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}
#head {
  line-height: 1;
}
#spam {
  color: #554d90;
  font-size: 1.5rem;
}
.card-img-top {
  width: 80px;
  height: 110px;
  margin: 10px;
  border: none;
}
.card {
  border: none;
}
#text {
  display: inline-block;
  text-align: left;
}
h1 {
  color: #554d90;
  font-size: 3.5rem;
}
#krug {
  max-width: 100%;
  width: 10em;
  height: 15em;
}
#cleaning {
  color: #554d90;
  font-size: 2.5rem;
}
#price {
  color: #554d90;
  font-size: 2.5rem;
}
p {
  color: gray;
}
#button2,
#button3,
#button4,
#button5,
#button6 {
  border-radius: 18px;
  transition-duration: 0.4s;
  color: #fcab24;
  outline: none;
}

#button2:hover,
#button3:hover,
#button4:hover,
#button5:hover,
#button6:hover {
  background-color: #fcab24;
  color: white;
  outline: none;
}
#button1:focus,
#button2:focus,
#button3:focus,
#button4:focus,
#button5:focus,
#button6:focus {
  outline: none !important;
  box-shadow: none;
}

#button1 {
  border-radius: 18px;
  transition-duration: 0.4s;
  color: #554d90;
  border-color: #554d90;
}
#button1:hover {
  background-color: #554d90;
  color: white;
}
[aria-expanded="false"] > .expanded,
[aria-expanded="true"] > .collapsed {
  display: none;
}

span.badge.badge-primary.badge-pill {
  background-color: #554d90;
}
ul.list-group {
  border-radius: 18px;
  border: 1px solid #fcab24;
}
.list-group-item {
  border: none;
  color: gray;
  padding: 0.75rem 1.25rem;
}
.card > .list-group:first-child .list-group-item:first-child,
.card > .list-group:last-child .list-group-item:last-child {
  border-radius: 18px;
}

@media (max-width: 1200px) {
  .card {
    margin-top: 4rem;
  }
}
@media (max-width: 992px) {
  #text {
    display: inline-block;
    text-align: center;
  }
}
@media (max-width: 1200px) {
  #head {
    font-size: 3rem;
  }
  #cleaning {
    font-size: 2rem;
  }
}
.map-container {
  overflow: hidden;
  position: relative;
  height: 0;
  padding-bottom: 35%;
}

/* Taller map on mobile */
@media (max-width: 767px) {
  .map-container {
    padding-bottom: 80%;
  }
}

.map-container iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}
#footer {
  background-color: rgba(210, 230, 253, 0.3);
  color: #554d90;
}
#bb {
  width: 100%;
  border-bottom: 3px solid #fcab24 !important;
}
#bp {
  width: 30%;
  border-bottom: 3px solid #fcab24 !important;
}
/* Better accordion centering and smoothness */
#accordion .card {
  min-height: 200px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

#accordion .collapse {
  transition: height 0.3s ease;
}

#accordion .collapsing {
  transition: height 0.3s ease;
  overflow: hidden;
}

/* Ensure buttons are evenly spaced and same size */
#accordion .btn {
  min-width: 120px;
}

/* Center the accordion container */
#myGroup {
  justify-content: center !important;
}
/* Custom price section styling - exact original layout */
.price-card {
  transition: all 0.3s ease;
}

.price-card .list-group {
  transition: opacity 0.3s ease;
}

/* Button styling for price section - matches original */
#price-section .btn.active {
  background-color: #fcab24;
  color: white;
  border-color: #fcab24;
}

#price-section .btn.active:hover {
  background-color: #fcab24;
  color: white;
  border-color: #fcab24;
}

/* Ensure original flexbox layout works - center alignment */
#myGroup {
  align-items: center !important;
}

/* Fix the price card alignment */
#price-section .price-card {
  margin: 0;
}

/* Add bottom padding to price section */
#price-section {
  padding-bottom: 4rem;
}

/* Fix the orange border on price cards */
#price-section .list-group {
  border-radius: 18px !important;
  border: 1px solid #fcab24 !important;
  overflow: hidden;
}

#price-section .list-group-item:first-child {
  border-top-left-radius: 18px !important;
  border-top-right-radius: 18px !important;
}

#price-section .list-group-item:last-child {
  border-bottom-left-radius: 18px !important;
  border-bottom-right-radius: 18px !important;
}
/* Make buttons stretch to match price card width on mobile */
@media (max-width: 767px) {
  #myGroup {
    flex-direction: column;
    align-items: stretch !important;
  }

  #myGroup .d-flex.flex-column {
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
  }

  #myGroup .btn {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #myGroup .col-md-4.col-lg-3.px-0 {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 17px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.85rem;
  color: #554d90;
  transition: all 0.3s ease;
  outline: none;
}

.lang-btn:hover {
  background: #f0f0f0;
  outline: none;
}

.lang-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.lang-btn.active {
  background: #fcab24;
  color: white;
  outline: none;
}

/* Make it even smaller on mobile */
@media (max-width: 576px) {
  .language-switcher {
    top: 10px;
    right: 10px;
    padding: 2px;
  }
  
  .lang-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

/* Add padding to hero text on mobile */
@media (max-width: 991px) {
  #text {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Extra padding for very small screens */
@media (max-width: 576px) {
  #text {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  #text p {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Ensure no gap between map and footer */
#footer {
  margin-top: 0 !important;
  padding-top: 3rem;
}

/* Add more space between hero image and text on mobile */
@media (max-width: 991px) {
  .col-lg-6.order-2.order-lg-1 {
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .col-lg-6.order-2.order-lg-1 {
    margin-top: 3rem;
  }
}

/* Make service cards more compact on mobile */
@media (max-width: 991px) {
  .card {
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
  
  .card-body {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .card {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .card-body {
    padding: 1.25rem 1rem;
  }
}

/* Add padding between hero section and service cards on mobile */
@media (max-width: 991px) {
  section .container .row.text-center {
    padding-top: 3rem;
  }
}

@media (max-width: 576px) {
  section .container .row.text-center {
    padding-top: 2.5rem;
  }
}

/* Even tighter spacing on mobile */
@media (max-width: 767px) {
  #head {
    line-height: 0.85;
    margin-bottom: 0.5rem !important;
  }
}

/* Reduce space between service cards and price section on mobile */
@media (max-width: 991px) {
  #price-section {
    margin-top: -2rem;
  }
  
  #price-section .text-center.pt-5 {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
    margin-top: 2rem !important;
  }
}

@media (max-width: 576px) {
  #price-section {
    margin-top: -1rem;
  }
  
  #price-section .text-center.pt-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 0.5rem !important;
    margin-top: 1rem !important;
  }
}

/* Left align About Us and What Does Cleaning Include on mobile */
@media (max-width: 991px) {
  #footer .col-lg-5 h5,
  #footer .col-lg-5 p {
    text-align: left !important;
  }
  
  #cleaning {
    text-align: left !important;
  }
  
  .col-lg-4.order-2.order-lg-1 .text-center {
    text-align: left !important;
  }
  
  .col-lg-4.order-2.order-lg-1 #text {
    text-align: left !important;
  }
}
