/*** Component Imports ***/
@import url('components/_carousel-overrides.css');

/********** Template CSS **********/
:root {
    --primary: #FDA12B;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

.floating-whatsapp {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 18px 35px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp .floating-whatsapp__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.floating-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(37, 211, 102, 0.45);
    color: #fff;
}

.floating-whatsapp:focus {
    outline: 3px solid rgba(37, 211, 102, 0.35);
    outline-offset: 4px;
}

.floating-whatsapp__text {
    white-space: nowrap;
}

.floating-whatsapp i {
    font-size: 1.25rem;
}

.floating-whatsapp--compact {
    padding: 0.75rem;
}

.floating-whatsapp--compact .floating-whatsapp__text {
    display: none;
}

@media (max-width: 575.98px) {
    .floating-whatsapp {
        right: 20px;
        bottom: 20px;
        padding: 0.75rem;
    }

    .floating-whatsapp__text {
        display: none;
    }
}

body.modal-open-whatsapp {
    overflow: hidden;
}

.whatsapp-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(24, 35, 51, 0.65);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.whatsapp-modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.whatsapp-modal__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    cursor: pointer;
}

.whatsapp-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    box-shadow: 0 24px 60px rgba(24, 35, 51, 0.35);
    animation: whatsappModalIn 0.3s ease forwards;
}

.whatsapp-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: transparent;
    color: var(--dark);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.whatsapp-modal__close:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.whatsapp-modal__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25d366;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.whatsapp-modal__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.whatsapp-modal__description {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.whatsapp-modal__form .form-label {
    font-weight: 500;
    color: var(--dark);
}

.whatsapp-modal__feedback {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #d93025;
    min-height: 1.25rem;
}

.whatsapp-modal__feedback.is-success {
    color: #17813d;
}

@keyframes whatsappModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 575.98px) {
    .whatsapp-modal {
        align-items: flex-end;
        padding: 0.75rem;
    }

    .whatsapp-modal__dialog {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 1.75rem 1.5rem 2rem;
    }
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: none;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 2rem 4rem;
    z-index: 1;
    background: none;
}

.carousel-caption.caption-light {
    color: var(--dark);
}

.carousel-caption.caption-dark {
    color: #ffffff;
    text-shadow: none;
}

.carousel-caption h1,
.carousel-caption p,
.carousel-caption span,
.carousel-caption .lead {
    color: inherit;
}

.carousel-caption .badge {
    letter-spacing: 1px;
    font-weight: 600;
}

.carousel-caption .btn-outline-primary {
    border-color: var(--primary);
    color: inherit;
}

.carousel-caption .btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 15px solid transparent;
    border-radius: 50px;
}

.carousel-item {
    background: #f8fbff;
}

.carousel-item img.carousel-solar-img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-solar-img {
    max-height: none;
    object-fit: contain;
    background: #f8fbff;
}

.brand-logo {
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.brand-logo--navbar {
    height: 100px;
}

.brand-logo--footer {
    max-height: 70px;
}

@media (max-width: 991.98px) {
    .brand-logo--navbar {
        height: 80px;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 260px;
        padding: 80px 1.5rem 2rem;
        background: #FF9327;
        color: #ffffff;
        box-shadow: 8px 0 25px rgba(0, 0, 0, 0.18);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1050;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        background: transparent;
    }

    .navbar .navbar-nav .nav-link  {
        color: #ffffff;
        margin-left: 0;
        padding: 12px 0;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: #ffffff;
        opacity: 0.8;
    }

    .navbar-toggler {
        border: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }
}

.footer .contact-phone,
.footer .contact-phone a,
.footer .contact-phone span {
    font-size: 0.95rem;
}

.newsletter-feedback {
    display: none;
    color: #198754;
}

.newsletter-feedback.is-visible {
    display: block;
}

.newsletter-feedback.is-error {
    color: #dc3545;
}

.about-figure {
    position: relative;
    height: 100%;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-left: 70px;
}

.about-section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(24, 35, 51, 0.16);
}

.about-experience {
    position: absolute;
    left: 0;
    top: 48px;
    width: 190px;
    height: 190px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(24, 35, 51, 0.12);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-experience__badge {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: #fba12a;
    color: #ffffff;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
}

.about-experience__years {
    display: block;
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.1;
}

.about-experience__label {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
}

.about-label {
    display: inline-block;
    background: #fba12a;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 999px;
}

.about-title {
    color: #0b3f9e;
}

.about-description {
    color: #8f949a;
    line-height: 1.8;
}

.about-features {
    border-color: #e7e9ef !important;
}

.about-feature-icon {
    color: #fba12a;
    font-size: 1.4rem;
    margin-top: 3px;
}

.about-feature-text {
    color: #1f2e3f;
    font-weight: 700;
}

@media (max-width: 768px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

@media (max-width: 1199.98px) {
    .about-figure {
        min-height: 380px;
        padding-left: 36px;
    }

    .about-experience {
        width: 170px;
        height: 170px;
    }
}

@media (max-width: 991.98px) {
    .about-figure {
        padding-left: 0;
        min-height: 360px;
    }

    .about-section-image {
        border-radius: 12px;
    }

    .about-experience {
        left: 12px;
        top: 22px;
    }

    .about-features .col-sm-4 {
        justify-content: center;
        text-align: center;
    }

    .about-feature-icon {
        margin-right: 0;
        margin-bottom: 6px;
    }

    .about-feature-text {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .about-figure {
        min-height: 300px;
    }

    .about-experience {
        width: 150px;
        height: 150px;
        top: 12px;
        left: 12px;
    }

    .about-experience__years {
        font-size: 2.4rem;
    }

    .about-experience__label {
        font-size: 0.95rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-feature-text {
        font-size: 0.95rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.footer .row {
    margin-left: 0;
    margin-right: 0;
}

.footer .row > [class*="col-"] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
