body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #f5f5f5;
}

/* Main Scroll Button Container */
#scrollToTopBtn {
  position: fixed;
  bottom: -60px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #009C99;
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transition: bottom 0.5s ease, opacity 0.5s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

#scrollToTopBtn.show {
  bottom: 30px;
  opacity: 1;
}

/* Pulsing Ring (style) */
#scrollToTopBtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(77, 255, 246, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: pulse-ring 1.5s infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

#scrollToTopBtn:hover {
  background-color: #009C99;
}

/* Styling the nav bar */
nav {
    background-color: #f5f5f5;
}

.subs-hero-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: auto;
}

.subs-hero-section img {
    max-width: 100%;
    filter: brightness(0.4);
}

/* Styling the header on the subsidiaries page */
.subs-heading {
    position: absolute;
    text-align: center;
    padding-top: 80px;
    line-height: 20px;
    top: 20%;
    left: 40%;
}

.subs-heading h3 {
    color: #009C99;
}

.subs-heading h1 {
    font-size: 1rem;
    font-size: clamp(1rem, -0.28205128205128216rem + 5.47008547008547vw, 3rem);
    color: #fff;
    margin-bottom: 80px;
}

/* Styling the main content on the subsidiaries page */
.container {
    max-width: 1200px;
    column-gap: 2.5rem;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 60vh;
    align-items: flex-start;
    padding-top: 10%;
    margin-bottom: 80px;
}

.subsidiary-list {
    width: 100%;
    max-width: 360px;
}

.contact-subs-page img{
    width: 100%;
    max-width: 360px;
    margin-top: 4rem;
}

.subsidiary-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subsidiary-list li {
    background-color: #fff;
    padding: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}

.subsidiary-list li span:first-child {
    flex-grow: 1;
}

.headers-subs {
    margin-bottom: 1rem;
}

.subsidiary-list li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    /* background-color: #00d6bd; */
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(34,193,195,1) 100%);
    transition: width 0.8s ease;
    z-index: 0;
}

.subsidiary-list li:hover::before,
.subsidiary-list li.active::before {
    width: 100%;
}

.subsidiary-list li span {
    position: relative;
    z-index: 1;
    color: #00d6bd;
}

.subsidiary-list li:hover span,
.subsidiary-list li.active span {
    color: #fff;
}

.arrow {
    position: relative;
    z-index: 1;
    color: #333;
    transition: color 0.3s ease;
}

.subsidiary-list li:hover .arrow,
.subsidiary-list li.active .arrow {
    color: #fff;
}

.subsidiary-content {
    flex: 1;
    padding: 0 60px 0 0;
    text-align: left;
    /* background-color: #fff; */
    display: none;
}

.subsidiary-content h2 {
    margin-top: 3rem;
}

.subsidiary-content p {
    line-height: 1.5rem;
    opacity: 50%;
}

.subsidiary-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.subsidiary-content img{
    max-width: 100%;
}

.call-banner {
    /* background-color: #00d6bd; */
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(34,193,195,1) 100%);
    padding-top: 0;
    text-align: center;
    color: #fff;
}

.call-banner p {
    margin-top: 0;
}

.call-banner img {
    width: 60px;
    margin: 20px;
}

#subs-call-line a {
    text-decoration: none;
    font-size: 1.5;
}

#subs-call-line a::after {
    content: '';
    background-color: #fff;
    width: 100px;
    height: 5px;
}

.subsidiary-content video {
    width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Styling the list content in each subsidiary*/
.subsidiary-content ul {
    margin-top: 40px;
    padding-left: 0;
}

.subsidiary-content ul li {
    list-style: none;
    line-height: 2.5rem;
    opacity: 50%;
}

.subsidiary-content ul li .check-marks {
    vertical-align: middle;
}

/* design on top of the footer */
.design-part {
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(34,193,195,1) 100%);
    max-width: 100%;
    height: 0.5rem;
}

/* Styling the Contact form on the Services page */
.service-contact-container {
    max-width: 100%;
    position: relative;
}

.service-contact-container .footer-background-image img {
    position: absolute;
    object-fit: cover;
    object-position: center;
    max-width: 50%;
    left: 40%;
    margin: auto;
    z-index: -1;
}

.service-contact-container .footer-background-image img:nth-child(1) {
    left: 0%;
}

.service-contact-container .footer-background-image img:nth-child(2) {
    right: 0%;
    bottom: 0;
}

.service-contact-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 255, 251, 0.229);
    z-index: -2;
}

.service-contact-form {
    max-width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 90px;
}

.form-1 {
    padding-top: 50px;
    padding-bottom: 70px;
}

.form-2 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.form-1 #support-us {
    margin-top: 10px;
    padding-bottom: 7px;
}

.form-1 {
    margin-right: 40px;
}

.form-1 #intouch{
    text-decoration: underline;
    text-decoration-color: #009C99;
}

.form-1 h3{
    line-height: 0.2em;
    font-size: 1.2rem;
    padding: 7px 0 10px 0px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-1 p {
    line-height: 0.8rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-1 a {
    text-decoration: none;
    color: black;
    font-size: 1.6rem;
    font-weight: bolder;
}

.anchor-contact a{
    font-size: 1.1rem;
    font-weight: 100;
    text-decoration: underline;
    transition-duration: 0.4s;
    color: #5d5757;
}

.anchor-contact a:hover {
    color: #009C99;
}

.first-input input::placeholder {
    padding-top: 10px;
    padding-left: 5px;
    color: #8C8C8C;
    opacity: 0.5;
    font-size: 20px;
    outline: #8C8C8C;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.first-input input[type=text]:focus,
.first-input input[type=email]:focus,
.first-input input[type=tel]:focus {
    border: 1px solid #009C99;
}

textarea:focus {
    outline: 1px solid #009C99;
}

.first-input {
    padding-right: 30px;
}

input[type="email"],
input[type="text"],
input[type="tel"] {
    padding: 20px 0 20px 20px;
    font-size: 20px;
    color: #8C8C8C;
    border: none;
    padding-right: 20px;
    background-color: #fff;
    outline: 1px solid #009C99;

}

input[type="email"],
input[type="text"] {
    margin-bottom: 20px;
}

input[type="text"],
input[type="tel"] {
    margin-right: 20px;
}

.services-row {
    margin-bottom: 20px;
}

.general-services {
    padding: 18px 1px;
    color: #8C8C8C;
    border: none;
    font-size: 17px;
    outline: 1px solid #009C99;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-2 textarea {
    width: 98%;
    height: 150px;
    background-color: #fff;
    border: none;
    color: #8C8C8C;
    padding-left: 28px;
    outline: 1px solid #009C99;
}

.btn-request {
    width: 200px;
    height: 60px;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    background-color: #009C99;
    border: none;
    font-size: 1.2rem;
    color: #fff;
    transition-duration: 0.4s;
}

.btn-request:hover {
    background-color: black;
    color: #009C99;
}

/* Responsiveness */
@media (max-width: 1150px) {
    .service-contact-form {
        padding: 1rem;
    }
}

@media (max-width: 992px) {
    .service-contact-form {
        flex-direction: column;
    }
    .subs-hero-section .subs-heading {
        top: 10%;
    }
    .form-1 {
        padding-bottom: 0;
    }
    .form-2 {
        padding-top: 1rem;
    }
}

@media (max-width: 800px) {
    .subs-hero-section .subs-heading {
        top: 5%;
    }
}

@media (max-width: 768px) {
    .container {
      flex-direction: column;
      padding: 1rem;
    }

    .subsidiary-content h2 {
        margin-top: 2rem;
      }

    .subsidiary-list {
      max-width: 100%;
      box-shadow: none;
    }

    .subsidiary-content {
      padding: 20px;
    }
    .contact-subs-page img {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .subs-hero-section .subs-heading {
        top: -12%;
        line-height: 0.6rem;
    }
    .form-1 {
        padding-bottom: 0;
    }
    input[type="email"],
    input[type="text"],
    input[type="tel"] {
        width: 100%;
        display: block;
    }
    input[type="email"], input[type="text"] {
        margin-bottom: 10px;
    }
    .general-services {
        width: 100%;
        margin-top: .5rem;
    }
    .form-2 textarea {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .subs-hero-section .subs-heading {
        top: -32%;
    }
}










