/*
Theme Name: Roofing Theme
Theme URI: http://example.com/roofing-theme
Author: tribebuiltroofing
Author URI: http://example.com
Description: Custom converted theme for Roofing website.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roofing-theme
*/

/*

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

input:focus,
a:focus,
button:focus,
textarea:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
}

a,
img,
button,
input[type="submit"],
ul li {
    transition: all 0.5s ease;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    position: relative;
}

body {
    font-weight: 400 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 18px;
    overflow-x: hidden;
    font-family: 'Helvetica', sans-serif;
}

.book-now-btn {
    position: fixed;
    right: 0;
    top: 80%;
    background: linear-gradient(to right, #0B4587, #DBCB88);
    text-decoration: none;
    padding: 12px 30px;
    font-size: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #fff;
    border-radius: 20px 0 0 20px;
    z-index: 9999999;
}

.book-now-btn span {
    display: block;
    margin: 0;
    padding: 0;
}

.book-now-btn img {
    display: block;
    width: 32px;
    margin: 0 auto;
}

.main-wrapper {
    padding: 20px 30px 0 30px;
}

.hero-section {
    background: url("./assets/banner.png");
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    border-radius: 16px 16px 0 0;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 90%,
            rgb(0, 0, 0) 100%);
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

header {
    position: relative;
    z-index: 99;
}

header .hero-navbar {
    background: transparent;
    padding: 0;


}

header .navbar>.container {
    align-items: flex-start;
}

header .menu-wrapper ul {
    background: #fff;
    padding: 25px 40px;
    position: relative;
}

header .menu-wrapper ul::before,
header .menu-wrapper ul::after {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
}

header .menu-wrapper ul::before {
    left: -109px;
    top: 0;
    border-top: 0 solid transparent;
    border-bottom: 76px solid transparent;
    border-right: 110px solid #fff;
}

header .menu-wrapper ul::after {
    right: -109px;
    border-top: 0 solid transparent;
    border-bottom: 76px solid transparent;
    border-left: 110px solid #fff;
}

header .hero-navbar .nav-link {
    padding: 0;
    font-weight: 600;
    font-size: 17px;
    color: #000;
}

header .hero-navbar .nav-link:hover {
    text-decoration: underline !important;

}

header .contact-btn {
    background: #E2D088;
    color: #000;
    border-radius: 30px;
    padding: 8px 22px;
    font-weight: 600;
    margin-top: 30px;
}



.hero-content {
    padding: 120px 0 100px 0;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
}


.hero-content .hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
}

.hero-content .custom-btn a {
    background: #E2D088;
    color: #000;
    border-radius: 30px;
    padding: 15px 30px;
    font-weight: 600;
}

.hero-content .custom-btn a:hover {
    background-color: #000;
    color: #fff;
}

.banner-vertical-text {
    position: absolute;
    top: 20px;
    right: 0;
    writing-mode: vertical-rl;

    font-size: 16px;
    color: #fff;
    display: flex;
    gap: 20px;
}

.banner-vertical-text span a {
    color: #fff;

}

.partners {
    background: #000;
    color: #fff;
    padding: 60px 0;
    border-radius: 0 0 16px 16px;
}

.partners .sub-title {
    color: #E2D088;
    margin-bottom: 10px;
}

.partners h4 {
    font-size: 40px;
    font-weight: 700;
    line-height: 50px;
}

.partners h4 span {
    font-size: 56px;
}

.partners img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;

}

.about {
    padding: 60px 0;
    position: relative;
}

.about .sub-title {
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 20px;
    color: #CFB54E;
}

.about h3 {
    margin-bottom: 15px;
    font-size: 48px;
    font-weight: 700;
}

.about h3 span {
    color: #CFB54E;
}

.about .custom-btn {
    margin-top: 50px;
}

.about .custom-btn a {
    background: #333;
    color: #E2D088;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
}


marquee {
    padding: 10px 0;
    color: #E2D088;
    padding: 10px 0;
    font-size: 120px;
    font-weight: 700;
    text-transform: uppercase;
}



.contact {
    position: relative;
    background: #333;
    color: #fff;
}

.contact h3 {
    font-size: 46px;
    color: #E2D088;
    font-weight: 700;
}

.contact-form {
    display: flex;
    justify-content: end;
}

.contact-card {
    max-width: 600px;
    color: #000;
    background: #fff;
    padding: 20px 60px;
}

.contact-card label {
    font-size: 12px;
}

.contact-card input {
    border-radius: 0;
    font-size: 16px;
    border: none;
    outline: none;
    border-bottom: 2px solid #D8DBDE;
}

.contact-card textarea {
    border-radius: 0;
    font-size: 16px;
    border: none;
    outline: none;
    border-bottom: 2px solid #CFB54E;
}

.contact-card .contact-label {
    color: #CFB54E;
}

.contact-card .custom-btn {
    background: #333;
    color: #E2D088;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 16px;
    margin-top: 60px;
    border: none;
}

.services {
    padding: 60px 0;
    position: relative;
}

.services-wrapper {
    padding: 0 180px;
}

.services .sub-title {
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 20px;
    color: #CFB54E;
    text-align: center;
}

.services h3 {
    margin-bottom: 60px;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
}

.services .custom-btn a {
    background: #F4F3F8;
    color: #000;
    border-radius: 30px;
    padding: 15px 30px;
    font-weight: 600;
}

.services .custom-btn a:hover {
    background: #CFB54E;
}

.services .content-wrapper {
    padding: 0 10px;
    z-index: 9999;
}

.services .content {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
    z-index: 1 !important;
    min-height: 325px;
    position: relative;
    top: -100px;
}

.services .content .sub-heading {
    font-size: 12px;
    color: #CFB54E;
    font-weight: 500;
    margin-bottom: 5px;
}

.services .content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
}

.services .content p {
    font-size: 14px;
    margin-bottom: 30px;
}

.services .img-wrapper {
    position: absolute;
    top: 40%;
    right: 0;
    z-index: -50;
}

.loyal {
    padding: 60px 0;
    position: relative;
    background: #333;
    color: #fff;
}

.loyal h3 {
    font-size: 26px;
    color: #E2D088;
    font-weight: 700;
}

.cta {
    padding: 60px 0;
    position: relative;
    background: #fff;
}

.cta h3 {
    font-size: 56px;
    color: #E2D088;
    margin-bottom: 30px;
    font-weight: 600;
}

.cta .cta-wrapper {
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #D8DBDE;
}

.cta .img-box {
    display: flex;
    align-items: center;
    justify-content: end;
}

.cta .custom-btn a {
    background: #333;
    color: #E2D088;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 16px;
    margin-top: 60px;
    border: none;
}


footer {
    padding: 60px 0 0;
    background: #CFB54E;
    color: #000;
    border-top: 4px solid #000;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    font-size: 16px;
    margin-bottom: 10px;
    color: #000;
}

.footer-bottom {
    text-align: end;
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    background: #000;
    color: #fff;
}


.latest-projects {
    background: #333;
    padding: 60px 0;
    position: relative;
    text-align: center;
    margin-bottom: 120px;
    min-height: 550px;
}

.latest-projects::before {
    content: "TRIBE BUILT";
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 110px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: 6px;
    pointer-events: none;
    width: 100%;
}

.latest-projects .section-tag {
    color: #d4af37;
    font-size: 14px;
    margin-bottom: 10px;
}

.latest-projects .section-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 36px;
}

.latest-projects .project-wrapper {
    position: absolute;
    left: 0;
    top: 150px;
    z-index: 99;
}

.project-card {
    position: relative;
}

.project-card img {
    display: block;
    border-radius: 8px;
    width: 100%;
    height: auto;
}

.project-overlay {
    margin: 0 12px;
    border-radius: 16px;
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 65%);
    opacity: 0;
    transition: 0.4s ease;
}


.text-top {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #d4af37;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.5s ease;
}

.text-bottom {
    position: absolute;
    bottom: 25px;
    right: 20px;
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transform: translateX(40px);
    transition: 0.6s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .text-top,
.project-card:hover .text-bottom {
    opacity: 1;
    transform: translateX(0);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #777;
}

.slider-dots span.active {
    background: #d4af37;
}


.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}


.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.701);
    opacity: 0;
    transition: 0.4s ease;
}


.service-content {
    position: absolute;
    top: 25px;
    left: 25px;
    color: #fff;
    opacity: 0;
    transform: translateX(-30px);
    transition: 0.5s ease;
    padding: 10px;
    border-top: 3px solid #2196F3;
    border-left: 3px solid #2196F3;
    width: calc(100% - 70px);
}

.service-content .service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}


.service-content h5 {
    font-weight: 600;
    margin: 0 0 8px 0;
    text-align: left;
}

.service-content p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}


.service-number {
    border-bottom: 3px solid #2196F3;
    border-right: 3px solid #2196F3;
    padding: 10px;
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 50px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease;
}


.service-card:hover img {
    transform: scale(1.08);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-card:hover .service-content,
.service-card:hover .service-number {
    opacity: 1;
    transform: translate(0);
}

*/