@import url(./colors.css);

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.5;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

hr {
    opacity: 1;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a, a:hover, a:focus {
    text-decoration: none;
    color: inherit;
}

h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;

}

.heading-text {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    text-align: center;
}

p {
    font-size: 14px;
    font-weight: 400;
}

.intro {
    font-size: 21px;
    text-align: center;
    width: 80%;
    margin: auto;
    margin-bottom: 10rem;
}


main {
    position: relative;
    padding: 2rem 0;
    margin: 1.5rem 0;
}

main section {
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 7rem;
}

/*****Home Page*****/

.quotes {
    padding: 0 42px;
}

.half-circle-top-right {
    position: absolute;
    top: 16%;
    right: 0;
}

.half-circle-top-right svg {
    width: 33px;
    height: 91px;;
}

.half-circle-bottom-left{
    position: absolute;
    bottom: 0%;
    left: 0;
}

.half-circle-bottom-left svg {
    width: 33px;
    height: 91px;
}

/*****About-intro Home Page*****/
.intro-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 13rem 2rem 7rem 2rem;
}

#about-intro .about {
    width: 60%;
}



.why-us {
    width: 350px;
    height: 290px;
    background-color: var(--primary-color);
    border-radius: 19px;
    color: #fff;
    padding: 13px;
    margin-left: 2rem;
}

.why-us h3 {
    font-size: 18px;
}

.why-us-details {
    display: flex;
    flex-direction: row;
}

.why-us-details .icon {
    margin-left: 5px;
    margin-right: 4px;
}

.why-us-details .icon i {
    width: 31px;
    height: 31px;
    font-size: 16px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    padding: 6px;
    text-align: center;
}

.explanation span {
    font-size: 14px;
    font-weight: 700;
}

.explanation p {
    font-size: 12px;
    margin-bottom: 10px;
}

/*****Testimonials Home Page*****/
#testimonials .intro-container {
    justify-content: space-evenly;
    padding: 0;
    margin-top: 18rem;
}

/*****Services Home Page*****/
#services-intro .intro-container {
    justify-content: space-evenly;
    padding: 0;
}

.service {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    color: #fff;
    width: 330px;
    height: 340px;
    background-color: var(--primary-color);
    box-shadow: 18px 18px var(--secondary-color);
    padding: 17px;
    border-radius: 6%;
}

.service .icon-service {
    text-align: center;
}

.service .icon-service span {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 2px;
}

.service .icon-service i.fas {
    background-color: transparent;
}

.service .icon-service i.fa {
    background-color: transparent;
}

.service .icon-service .fas {
    font-size: 30px;
    margin-right: 12px;
}

.service .icon-service .fa {
    font-size: 29px;
    margin-right: 12px;
}

.service p {
    text-align: center;
    margin-top: 25px;
    font-size: 16px;
}

.service .buttons {
    position: relative;
    bottom: -4%;
    text-align: center;
    text-align: -webkit-center;
}

.service .buttons .cta-secondary {
    display: block;
    width: 60%;
    margin-bottom: 8px;
    text-align: center;
    padding: 8px 8px;
}

/*****Contact Home Page*****/
.contact-info-group {
    width: 35%;
}

#contact-snippet .text p {
    font-size: 18px;
    font-weight: 500;
}

#contact-snippet .contact-info-b span {
    display: block;
    font-size: 15px;
    font-weight: 500;
}

#contact-snippet .contact-info-b span:hover {
    cursor: pointer;
    color: gray;
}

#contact-snippet .contact-info-b span:hover i {
    cursor: pointer;
    background-color: var(--secondary-color);
}

#contact-snippet .contact-info-b span i {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 13px;
    padding: 8px;
    border-radius: 50%;
    margin-top: 8px;
    margin-right: 5px;
}

#contact-snippet .contact-info-b span i.fa.fa-whatsapp {
    font-size: 17px;
    font-weight: 500;
}

/**** About Page*****/
#about-page .intro-container {
    flex-direction: row;
    row-gap: 68px;
    margin-top: 17rem;
}

#about-page .intro-container .about {
    width: 60%;
}

#about-page .about #myTabContent.tab-content {
    border-bottom: 0.5px solid var(--secondary-color);
}

#about-page .why-us {
    width: 30%;
    height: fit-content;
    padding: 15px;
    margin-left: 0;
}

#about-page .why-us h3 {
    font-size: 20px;
    margin-bottom: 0.8rem;
}

#about-page .why-us-details .icon {
    margin-left: 10px;
    margin-right: 13px;
}

#about-page .explanation span {
    font-size: 16px;
}

#about-page .explanation p{
    font-size: 14px;
}

/**** Services Page*****/
#services-page i {
    background-color: transparent;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    margin-right: 2px;
}

#services-page i:hover {
    color: var(--secondary-color);
}

#services-page .half-circle-top-right {
    top: 8%;
}

/**** Quote Page*****/
#quote .half-circle-top-right {
    top: 6%;
}

#price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
}

.est-total {
    width: 395px;
    text-align: center;
    padding: 23px;
    padding-bottom: 5px;
    background-color: #d4d4d445;
    border-radius: 28px;
    margin-bottom: 1.8rem;
}

p#displayPrice.est-price {
    width: 100%;
    font-size: 22px;
    font-weight: 600;
    margin-top: 15px;
    color: var(--primary-color);
}

#price h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 10px 0;
}

#price p {
    width: 80%;
    margin-bottom: 24px;
    text-align: center;
    font-size: 16px;
}

.client-details {
    width: 50%;
    margin-bottom: 2rem;
}

.client-details .form-floating {
    margin-bottom: 25px;
}

#quoteForm form input, form textarea, form select, .form-control, .form-select {
    font-size: 15px;
}

#quoteForm .form-floating>.form-control-plaintext:focus, .form-floating>.form-control-plaintext:not(:placeholder-shown), .form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown) {
    padding-bottom: .1rem;
}

textarea#messageTextarea.form-control {
    height: 83px;
}

.form-floating>.form-control, .form-floating>.form-control-plaintext {
    padding: 1rem .5rem;
}

.form-floating>label {
    padding: 1rem .4rem;
}

#submitQuoteBtn:disabled {
    background-color: #A0A0A0 !important; /* A darker shade of grey */
    border-color: #909090 !important;     /* Match border to background */
    cursor: not-allowed;                  /* Shows a 'no entry' cursor */
    opacity: 0.7;                         /* Slightly transparent */
    box-shadow: none !important;          /* Remove any shadow */
    pointer-events: none;                 /* Crucial for disabling hover on parent, 
                                             though tooltip needs special handling */
}

#submitSpinner {
    display: none;
}

/* For tooltip wrapper (needed because pointer-events: none on button disables tooltip) */
.submit-btn-wrapper {
    display: inline-block; /* Essential for the tooltip to work when the button is disabled */
     /* If button is block level, make wrapper block level */
}


footer {
    background-color: var(--primary-color);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-top: 1.5rem;
    padding-bottom: 0.8rem;
    margin-top: -63px;
}

footer img {
    width: 80%;
}

footer .brand p {
    margin-top: 15px;
}

footer p {
    color: #fff;
}

footer h3 {
    color: #fff;
}

footer div a {
    display: block;
    color: #fff;
}

footer div a:hover {
    color: var(--secondary-color);
}

footer i {
    color: #fff;
    background-color: transparent;
    padding: 5px;
}


