@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}


:root{
    --bgcolour: rgb(250, 248, 250);
    --darkpink: rgb(134, 12, 87);
    --cardbg: rgb(147, 43, 111);
    --darkblue: rgb(15, 15, 141);
    --secondary-color-light: rgb(235, 98, 201);
    --footer-font: rgb(92, 91, 91);
    --palepink: rgb(239, 177, 208);
    --white: #fff;
    --light: rgba(255, 255, 255, 0.8);
}

body{
    font-family: 'Poppins', sans-serif;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bgcolour);
}

header{
    top: 0;
}

section{
    height: 100dvh;    
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

#welcome{
    background-image: linear-gradient(90deg, var(--darkpink), rgba(230, 82, 181, 0.525)), url(images/cleaning5.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 100%;
}

#welcome .linear-text-gradient {
    background: linear-gradient(90deg, rgba(180, 105, 156, 0.801), rgb(238, 217, 239));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.container{
    max-width: 100%;
    max-width: 1000px;
    padding: 16px;
    margin: auto;
    display: flex;
    align-items: center;
}

.headings{
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25%;
    color: white;
}



.title{
    font-size: 4.5em;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.subtitle{
    font-size: 1.3em;
    margin-top: 0px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 400;
    font-style: italic;
    width: 750px;
}

#our-services{
    height: 70%;
    width: auto;
    padding: 0;
    
}

#our-services .container{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: auto;
}

.left{
    width: 40%;
    height: 600px;
    background-image: linear-gradient(rgba(127, 78, 109, 0.558), rgba(159, 11, 127, 0.524)), url(images/cleaning\(1\).png);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}

.right{
    width: 60%;
    min-height: 400px;
    background: linear-gradient(120deg, rgba(200, 42, 131, 0.989), rgb(238, 217, 239));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    margin-left: -16%;
}

.right h4{
    color: whitesmoke;
    padding-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.right p{
    font-size: 1.1em;
    color: whitesmoke;
    font-weight: 300;
    line-height: 2.0;
    margin-bottom: 10px;
    padding: 25px 45px;
}

.right a.btn{
    border-radius: 5px;
    padding: 5px 5px;
    text-decoration: none;
    font-weight: 400;

}

.right a.btn:hover{
    background: magenta;
    color: white;
}


#commercial{
    max-width: 100%;
    height: auto;
    background-color: var(--darkpink);
    padding-top: 10px;
    background-image: linear-gradient(90deg, var(--darkpink), rgba(168, 12, 116, 0.15)),url("images/pale overlay.png");
    background-repeat: no-repeat;
    object-fit: cover;
}

#commercial .container{
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    color: white;
}

 /* Style the tab */
 .tab {
    overflow: hidden;
    border: 1px solid var(--darkpink);
    background-color: var(--palepink);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 5px;
    max-width: fit-content;
    margin: auto;
  }
  
  /* Style the buttons that are used to open the tab content */
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px 10px;
    transition: 0.3s;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: var(--darkpink);
    color: var(--white);
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    background-color: var(--bgcolour);
    color: black;
  }
  
  /* Style the tab content */
  .tabcontent {
    padding: 6px 20px;
    border-top: none;
    max-width: fit-content;
    max-height: fit-content;
    margin-bottom: 20px;
    animation: fadeEffect 1s; 
  } 

  .tabcontent{
    display: none;
  } 

  @keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }

title{
    background: var(--palepink);
}

  
  .booking{
    width: 100%;
    display: block;
  }

.booking button{
    background-color: var(--darkpink);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.booking button:hover{
    background-color: var(--palepink);
    color: black;
    font-weight: bold;
}

.center{
    margin: auto;
    width: 50%;
    padding: 10px; 
}

.center-item{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.tabcontent h4{
    position: relative;
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--darkpink);
}

.tabcontent p{
    line-height: 2;
    font-weight: 400;
}


.tabcontent h4::after{
    content: '';
    width: 50px;
    height: 35px;
    background: linear-gradient(var(--darkpink), var(--palepink)) ;
    position: absolute;
    top: 2px;
    left: auto;
    z-index: 3;
    margin-left:10px ;
    transform: rotate(10deg);
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
}

.tabcontent h5{
    position: relative;
    margin-top: 20px;
    margin-left: 45px;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1.2em;
    color: var(--darkpink);
}

/*Prices table*/

.prices-table h4{
    text-align: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.5em;
}

#prices {
    border-collapse: collapse;
    width: 40rem;
    margin-bottom: 25px; 
    /* need overflow for rounded corners */
    overflow: hidden; 
    border-radius: 10px;
  }
  
  #prices td, #prices th {
    border: 1px solid var(--darkpink);
    padding: 8px;
  }

  #prices td{
    font-size: 1em;
    font-weight: 300;
  }
  
  #prices tr:nth-child(even){background-color: var(--palepink);}
  #prices tr:nth-child(odd){background-color: var(--palepink);}
  
  #prices tr:hover {
    background-color: var(--darkpink);
    color: #fff;
}
  
  #prices th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: var(--palepink);
    color: black;
  }


  footer a{
    color: var(--footer-font);
}

@media only screen and (min-width:901px) and (max-width:1040px){

    #prices {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
      }

      .prices-table{
        max-width: 100%;
        margin: auto;
      }
      
}

@media only screen and (max-width:900px){

#welcome{
    width: 100%;
    max-width: 900px;
    min-height: 100%;
}

#our-services{
    height: auto;
}

.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    height: auto;
    margin: auto;
}

section{
    height: 100%;
    width: 100%;
}

.title{
    margin-top: 30px;
    font-size: 3em;
    letter-spacing: -2px;
    line-height: 1;
}

.subtitle{
    width: auto;
    font-size: 1em;
}

.left{
    width: 100%;
}

.right{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: -40%;
    margin-left: 0;
    padding: 0;
    background: linear-gradient(120deg, rgba(200, 42, 131, 0.989), rgb(102, 50, 84));
}

.right h4{
    font-size: 1.3em;
}

/* .right p{
    font-size: 1em;
    color: whitesmoke;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 10px;
    text-align: justify;
} */

.tab {
    width: auto;
    font-weight: bold;
    font-size: 1em;
    padding: 0;
  }

.right h4{
    font-weight: bold;
    font-size: 1em;
    color: var(--palepink);
}

  /* Style the tab content */
  .tabcontent {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    padding: 6px 20px;
    border-top: none;
    margin: 0;
    animation: fadeEffect 1s; 
  } 

.tabcontent p{
    line-height: 1.8;
    font-weight: 400;
    font-size: 0.6em;
    margin: 0;
    padding: 0;
    text-align: justify;
}


.tabcontent h5{
    margin: 0;
    font-weight: 500;
    font-size: 0.9em;
    padding: 0;
    color: var(--palepink);
}

/* leaf */
.tabcontent h4::after{
    content: '';
    width: 40px;
    height: 25px;
    background: linear-gradient(var(--darkpink), var(--palepink)) ;
    position: absolute;
    top: auto;
    left: auto;
    z-index: 3;
    margin-left:10px ;
    transform: rotate(10deg);
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
}

.booking button{
    width: 100%;
    border: 0.5px solid var(--palepink);
}

footer{
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 0;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

#commercial{
    max-width: 100%;
    margin: auto;
}

#prices {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 25px; 
    margin-left: auto;
    margin-right: auto;
    
  }
  
  .prices-table{
    max-width: 100%;
    margin: auto;
  }


}