:root {
    --primary-color: #099C99;
}

html {   
    scroll-behavior: smooth;
}

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

/* 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 (Kirupa 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 ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 70px;
}

nav a {
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav a.active {
  color: #009C99;
  border-radius: 5px;
}

nav a:hover {
    color: #009C99;
}

nav li:first-child {
    margin-right: auto;
}

nav li:first-child:hover {
    opacity: 70%;
}

.comp-logo {
    inline-size: 130px;
}

.home-btn {
    color: #009C99;
}

.home-btn:hover {
    opacity: 70%;
}


/* Styling the contact button on the nav menu list*/
#nav-button1 {
    background-color: #009C99;
    padding: 10px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition-duration: 0.4s;
    border: 2px solid #009C99;
    color: #fff;
    margin-right: 30px;
}

#nav-button1:hover {
    color:#009C99;
    background-color: #fff;
}

/* Styling the Sidebar of the main page*/
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.395);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.menu-button {
    display: none;
}

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.page-transition.fade-out {
  opacity: 0;
}



/* Gallery section */
.gallery-container {
    max-width: 100%;
    position: relative;
    min-height: 100vh;
}

.gallery-header {
    margin-top: 40px;
    text-align: center;
    width: 285px;
    margin: auto;
}

.gallery-header h1 {
    font-weight: bolder;
    font-size: 3rem;
    border-bottom: 3px solid var(--primary-color);
}

#gallery-id {
    font-weight: 100;
    color: var(--primary-color);
}

.gallery-container .image-container{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}

.gallery-container .image-container img {
    width: 100%;
    height: 100%;
    transition: .4s linear;
}

.gallery-container .image-container .image{
    /* box-shadow: 0 5px 15px rgba (0, 0, 0, 0.1); */
    overflow: hidden;
    cursor: pointer;
    object-fit: cover;
    max-width: 400px;
    
}

.gallery-container .image-container .image:hover img {
    transform: scale(1.1);
}

/* Styling the pop-up Images on the gallery page */
.gallery-container .popup-images {
    position: fixed;
    top: 0; 
    left: 0;
    background: rgba(0, 0, 0, 0.718);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}

.gallery-container .popup-images #close-sign{
    position: absolute;
    top: 0; right: 10px;
    font-size: 60px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
}

#forward-sign,
#backward-sign {
    position: absolute;
    color: #ffffff46;
    z-index: 100;
    font-size: 60px;
    font-weight: bolder;
    background-color: #20303056;
    border-radius: 10%;
    padding: 10px;
    cursor: pointer;
    transition-duration: 0.4s;
}

#forward-sign {
    top: 50%; right: 18%;
}

#backward-sign {
    top: 50%; left: 18%;
}

#forward-sign:hover,
#backward-sign:hover {
    opacity: 50%;
    color: black;
}

.gallery-container .popup-images img {
    max-width: 80%;
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* object-position: center;
    border: 1px solid #9b1c1c; */
}

@media (max-width: 768px) {
    .gallery-container .popup-images {
        width: 100%;
        object-fit: cover;
    }
}

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

/*Social Media icons  */
.social-media-btn {
    display: flex;
    align-items: center;
    column-gap: 5px;
    flex-wrap: wrap;
}

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

.social-media-btn a img {
    width: 47px;
    vertical-align: middle;
    padding-bottom: 3px;
    border-radius: 7px;
}

.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: 5px;
}
.form-1 {
    margin-right: 40px;
}

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

.form-1 h3{
    line-height: 0.4rem;
    font-size: 1.6rem;
    padding-bottom: 8px;
}

.form-1 p {
    line-height: 1rem;
}

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

.anchor-contact a{
    font-size: 1.2rem;
    font-weight: 100;
    text-decoration: underline;
    margin-top: 0;
    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,
textarea:focus {
    border: 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 {
    width: 47%;
    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;
    /* background-image: linear-gradient(to right, rgba(43, 10, 10, 0.77), rgba(54, 154, 99, 0.863)); */
    border: none;
    font-size: 1.2rem;
    color: #fff;
    transition-duration: 0.4s;
}

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

.last-stand {
    padding-top: 40px;
    background-color: black;
}

.last-stand p {
    color: #8C8C8C;
    text-align: center;
    margin: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

