/*=============================
  Root Variables
=============================*/
:root {
    --primary-color: #314550;
    --secondary-color: #ed3154;
    --cta-color: #314550;
    --link-color: #007bff;
    --light-color: #f0eee7;
    --primary-font: "Inter", sans-serif;
    --common-transition: all 0.4s;
}

body {
    color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
[class*="title-"] {
    color: #000;
    font-family: var(--primary-font);
}

.common-btn,
.common-btn:visited {
    color: var(--primary-color);
    border-radius: 25px;
    border: 2px solid var(--primary-color);
}

.common-btn.radius-10,
.common-btn.radius-10:visited {
    border-radius: 10px;
}

.common-btn:hover {
    color: #fff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.common-btn.primary,
.common-btn.primary:visited {
    color: #fff;
    background-color: var(--primary-color);
}

.primary-bg p {
    color: #a1abaf;
}

.common-btn.secondary,
.common-btn.secondary:visited {
    color: #fff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.common-btn.primary:hover {
    color: #fff;
    background-color: var(--link-color);
}

.common-btn.secondary:hover {
    color: #fff;
    background-color: var(--link-color);
}

.common-btn.cta {
    color: #cbd0d3;

    span {
        color: #fff;
    }
}

.common-btn.cta:hover {
    color: #ffffff;
    background-color: var(--secondary-color);
}

.btn-more,
.btn-more:visited {
    color: var(--link-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    padding-bottom: 2px;
}

.btn-more:after {
    content: "\f08e";
    font-family: "Font Awesome 6 Free";
}

.common-sec:nth-child(even) {
    background-color: #efefef;
}

.common-sec:nth-child(odd) {
    background-color: #fff;
}

.vdo-btn .fa-play {
    color: var(--secondary-color);
}

.vdo-btn {
    background-color: var(--light-color);
}

ul.list-items li:before {
    content: "\f00c";
    font: normal normal normal 14px/1 "Font Awesome 6 Free";
    font-weight: 900;
}

/*=============================
      Header Styles
    =============================*/
header {
    position: sticky;
    top: 0;
    z-index: 999999;
    background-color: var(--light-color);
    box-shadow: 0 0 8px rgba(32, 53, 69, 0.25);
    padding: 16px 0;
}

@media (min-width: 1200px) {
    .header-area__grid {
        display: grid;
        grid-template-columns: 160px 1fr auto;
        grid-template-areas: "logo nav-wrapper cta-wrapper";
        align-items: center;
        gap: 30px;
    }

    .header-area__logo-wrapper {
        max-width: 160px;
        height: auto;
        grid-area: logo;
        grid-column: 1 / 2;
    }

    .header-area__nav-wrapper {
        grid-area: nav-wrapper;
        grid-column: 2 / 3;
    }

    .header-area__cta-wrapper {
        grid-area: cta-wrapper;
        grid-column: 3 / 4;
    }

    .header-area__mobile-menu-toggle-wrapper {
        display: none;
    }
}

@media (max-width: 1199px) {
    .header-area__grid {
        display: grid;
        grid-template-columns: 160px 1fr auto;
        grid-template-areas: "logo cta-wrapper nav-toggler";
        align-items: center;
        gap: 30px;
    }

    .header-area__logo-wrapper {
        grid-area: logo;
    }

    .header-area__cta-wrapper {
        grid-area: cta-wrapper;
        margin-left: auto;
    }

    .header-area__mobile-menu-toggle-wrapper {
        grid-area: nav-toggler;
    }

    .header-area__nav-wrapper {
        display: block;
        position: fixed;
        width: 100%;
        height: calc(100vh - 112px);
        top: 112px;
        left: -100%;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 25px;
        overflow: hidden;
        transition: all 0.6s;
        z-index: 9;

        .navbar-collapse {
            height: 100% !important;
            overflow-y: scroll;
            padding-right: 30px;
            flex-basis: max-content;
            flex-grow: 0;
            display: block;
        }

        .navbar-nav {
            flex-direction: column;

            a.nav-link {
                font-size: 20px;
            }
        }
    }

    .header-area__nav-wrapper.toggled {
        left: 0;
    }
}

@media (max-width: 767px) {
    header {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .header-area__grid {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-areas: "logo logo" "cta-wrapper nav-toggler";
        align-items: center;
        gap: 10px;
    }

    .header-area__logo-wrapper {
        max-width: 160px;
        margin: auto;
    }

    .header-area__cta-wrapper {
        margin-right: auto;
        margin-left: unset;
    }

    .header-area__nav-wrapper {
        height: calc(100vh - 112px);
        top: 160px;
    }
}

@media (min-width: 1200px) {

    div#navbarNav,
    div#navbarNav * {
        all: unset;
    }
}

div#navbarNav {
    .navbar-nav {
        display: flex;
        justify-content: flex-end;
        align-items: center;

        .nav-item {
            a.nav-link {
                display: inline-block;
                color: #5c7988;
                font-size: 16px;
                font-weight: 500;
                text-decoration: none;
                padding: 10px 15px;
                cursor: pointer;
                transition: var(--common-transition);

                &:hover {
                    color: var(--secondary-color);
                }
            }

            .fas.fa-caret-down {
                color: #5c7988;
                font-size: 1.2rem;
                vertical-align: middle;
                margin-left: 5px;
                font-family: "Font Awesome 6 Free";
                font-weight: 900;
                font-style: normal;
                font-variant: normal;
                line-height: 1;
                text-rendering: auto;
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
            }

            &:hover {
                a.nav-link {
                    color: var(--secondary-color);
                }

                .fas.fa-caret-down {
                    color: var(--secondary-color);
                }
            }

            .dropdown-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                box-shadow: 0 6px 24px rgba(32, 53, 69, 0.18);
                border-radius: 8px;
                z-index: 1050;

                li {
                    display: block;
                }
            }
        }

        .nav-item.dropdown:hover>.dropdown-menu,
        .nav-item.dropdown:focus-within>.dropdown-menu {
            display: block;
        }

        .dropdown-item {
            padding: 10px 15px;
            color: var(--primary-color);
            background-color: var(--light-color);
            font-size: 15px;
            border: none;
            width: 100%;
            text-align: left;
            cursor: pointer;
            white-space: nowrap;
            transition: background 0.15s;
            text-decoration: none;
            display: block;
        }

        .dropdown-item:hover,
        .dropdown-item:focus {
            background: var(--secondary-color);
            color: #fff;
        }
    }
}

@media (max-width: 1199px) {

    .nav-item.dropdown:hover>.dropdown-menu,
    .nav-item.dropdown:focus-within>.dropdown-menu {
        display: none !important;
    }

    div#navbarNav {
        .navbar-nav {
            justify-content: center;

            .nav-item {
                text-align: center;
            }

            .nav-item.dropdown {
                a.nav-link {
                    position: relative;
                    left: -10px;

                    span.dropdown-caret {
                        position: absolute;
                        left: 100%;
                        top: 0;
                        height: 100%;
                        width: 20px;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        .fas {
                            font-size: 16px !important;
                            margin: 0;
                        }
                    }
                }

                .dropdown-menu {
                    display: none;
                    position: static;
                    top: unset;
                    left: unset;
                    box-shadow: none;
                    border: none;
                    border-radius: 0;
                    padding: 0;
                    border-top: 3px solid var(--secondary-color);

                    li {
                        display: block;
                    }
                }
            }

            .nav-item.dropdown.clicked {
                .dropdown-menu {
                    display: block !important;
                }
            }
        }
    }
}

@media (min-width: 1200px) {
    .navbar-toggler {
        display: none;
    }
}

.navbar-toggler {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 50%;
    position: relative;
    z-index: 1200;
    box-shadow: 0 2px 8px rgba(32, 53, 69, 0.25);
    width: 54px;
    height: 54px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.navbar-toggler:focus {
    box-shadow: 0 2px 8px rgba(32, 53, 69, 0.25);
}

.custom-hamburger {
    display: block;
    width: 32px;
    height: 32px;
    position: relative;
}

.custom-hamburger .bar {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--primary-color);
    transition: top 0.3s cubic-bezier(0.6, 0, 0.34, 1),
        left 0.3s cubic-bezier(0.6, 0, 0.34, 1),
        width 0.3s cubic-bezier(0.6, 0, 0.34, 1),
        background 0.3s cubic-bezier(0.6, 0, 0.34, 1),
        transform 0.35s cubic-bezier(0.7, 0, 0.33, 1), opacity 0.25s;
}

.custom-hamburger .bar:nth-child(1) {
    top: 4px;
}

.custom-hamburger .bar:nth-child(2) {
    top: 14px;
}

.custom-hamburger .bar:nth-child(3) {
    top: 24px;
}

/* Animated (open) state: morph into X with some color accent and fun movement */
.navbar-toggler[aria-expanded="true"] .custom-hamburger .bar:nth-child(1) {
    top: 14px;
    transform: rotate(45deg) scaleX(1.1);
    background: var(--secondary-color);
}

.navbar-toggler[aria-expanded="true"] .custom-hamburger .bar:nth-child(2) {
    opacity: 0;
    left: 30%;
    width: 40%;
}

.navbar-toggler[aria-expanded="true"] .custom-hamburger .bar:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg) scaleX(1.1);
    background: var(--secondary-color);
}

/* Optional: menu overlay for dramatic effect (use in HTML as needed) */
.menu-active-overlay {
    position: fixed;
    z-index: 1100;
    inset: 0;
    background: rgba(32, 53, 69, 0.28);
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: auto;
}

.menu-active-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

/* Add fun bouncy interaction when toggled */
.navbar-toggler:active .custom-hamburger .bar {
    transform: scaleX(0.92) !important;
}

/*=============================
      homepage
    =============================*/
.banner-wrapper {
    min-height: 560px;
}

#homepage-hero-banner {
    min-height: 560px;

    .subtitle {
        font-size: 20px;
        font-weight: 500;
        color: #5f5e5a;
        margin-bottom: 10px;
    }

    h1 {
        font-size: 6rem;
        color: #000;
    }
}

.breadcrumb {
    margin-bottom: 0 !important;
}

#servicepage-hero-banner,
#about-page-hero-banner {
    min-height: 560px;
}

#gallery-page-hero-banner {
    min-height: 700px;
}

.common-card {
    background-color: #e3e3e3;
    border-radius: 10px;
    padding: 24px;
    height: 100%;
    transition: var(--common-transition);

    *:last-child {
        margin-bottom: 0;
    }

    p {
        color: #666666;
        font-size: 18px;
    }
}

.gallery-section p {
    color: #666666;
    font-size: 20px;

    b {
        color: #314550;
    }
}

.gallery-wrapper {
    .img-box {
        margin-bottom: 30px;
        border-radius: 30px;
        border: 1px solid var(--primary-color);
        overflow: hidden;
        box-shadow: 0 8px 8px rgb(0 0 0 / 25%);

        img {
            width: 100%;
            object-fit: cover;
        }
    }
}

#our-promise p {
    font-size: 20px;
}

#our-location {
    font-size: 20px;
}

ul#business-hours li {
    color: #666666;
    font-weight: 500;
    margin-bottom: 20px;

    &:before {
        content: "\f017";
        font-weight: 400;
    }
}

ul#business-hours li:last-child {
    margin-bottom: 0;
}

.map-embed-outer {
    width: 100%;
    margin-top: 2rem;
}

.map-embed-inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 16px;
}

.map-embed-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#testimonials {
    background-color: #939598;
    font-size: 18px;

    .testimonial-card {
        background-color: #fff;
        border-radius: 10px;
        padding: 30px;
        height: 100%;
        transition: var(--common-transition);

        .given-by-wrapper {
            display: grid;
            grid-template-columns: 48px 1fr 48px;
            gap: 20px;
            align-items: center;
            margin-bottom: 20px;

            .given-by {
                font-weight: 700;
                font-size: 16px;
            }

            .given-by-position {
                color: #5f5e5a;
                font-size: 16px;
            }
        }

        blockquote {
            font-weight: 500;
        }
    }
}

.footer {
    background-color: #f0eee7;
}

.footer-top {
    display: grid;
    align-items: center;
    grid-template-columns: 0.7fr 2.5fr 1fr 1fr;
    gap: 30px;
    padding-block: 20px;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-top .common-btn {
    border-radius: 10px;
    color: white;
}

a.social-icon {
    text-align: end;
}

.social-icon img {
    width: 30px;
}

.footer-section ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-section ul a {
    text-decoration: none;
    color: #314550;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 0.4fr 2.5fr 0.6fr 0.3fr;
        gap: 10px;
        margin-bottom: 24px;
    }

    .footer-top .common-btn {
        padding: 5px !important;
        font-size: 12px;
    }

    .footer-links ul {
        gap: 10px;
    }

    .footer-links ul a {
        font-size: 14px;
    }
}

@media (max-width: 767px) {

    .footer-log,
    .footer-links,
    .footer-cta {
        margin-bottom: 10px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 24px;
    }

    .footer-links ul {
        flex-direction: column;
    }

    a.social-icon {
        text-align: start;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .footer-logo img {
        width: 150px;
        height: auto;
    }
}

.footer-bottom {
    background: #ed3154;
    color: white;
    padding-block: 15px;
}

.footer-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    margin-bottom: 0;
}

.footer-left a {
    color: white;
}

.subtitle {
    font-size: 20px;
    color: #314550;
}

.gallery-card p {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.55);
}

#about-us b,
#about-us i {
    font-size: 18px;
}

@media (max-width: 992px) {
    #homepage-hero-banner h1 {
        font-size: 4.5rem;
    }

    .subtitle {
        font-size: 18px;
    }

    #our-promise p {
        font-size: 18px;
    }

    #our-location {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .gallery-card p {
        font-size: 16px;
    }

    #about-us b,
    #about-us i {
        font-size: 16px;
    }
}

.dynamic-form {
    background: #ececec !important;
}

.dynamic-form .form-title {
    display: none;
}

.dynamic-form .btn-submit {
    background: var(--cta-color) !important;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 20px;
}

.form-actions {
    text-align: center !important;
}

.floating-label {
    font-size: 1.5rem !important;
    color: #000000;
}