/********** Template CSS **********/
/* Color Palette:
   Primary (was red/orange): #2C2C2C (elegant black)
   Secondary (was brown): #1A1A1A (deep black)
   Accent: #D4C5B0 (warm beige)
   Light: #F5F5F0 (off-white/cream)
   White: #FFFFFF
*/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** 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 {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-dark,
.btn.btn-outline-dark:hover {
    color: var(--bs-white);
    font-weight: 500;
}

.btn.btn-primary:hover {
    background: #1A1A1A;
    border-color: #1A1A1A;
}

.btn.btn-dark:hover {
    background: #2C2C2C;
    border-color: #2C2C2C;
}

.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-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin: 0 12px;
    padding: 10px 0;
    color: var(--bs-secondery);
    font-size: 17px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #2C2C2C;
}

.navbar .navbar-nav .dropdown-item:hover,
.navbar .navbar-nav .dropdown-item.active {
    background: #2C2C2C;
}

.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-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@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;
    }
}

.navbar .btn-light {
    font-weight: 500;
    color: var(--bs-secondery);
}

.navbar .btn-light:hover {
    color: var(--bs-white);
    background: #2C2C2C;
}

.hero-header {
    position: relative;
    background-image: url("../img/hero.jpg"); /* change path if needed */
    background-size: cover;        /* makes image responsive */
    background-position: center;   /* keeps focus center */
    background-repeat: no-repeat;
    min-height: 100vh;              /* full viewport height */
    display: flex;
    align-items: center;
}
.hero-header .container {
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    .hero-header {
        min-height: 80vh;
        text-align: center;
    }
}

/*** Hero ***/
.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #2C2C2C;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #2C2C2C;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #2C2C2C;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--bs-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}

.page-header {
    background: url(../img/hero.jpg) center right no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-secondery)
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: #2C2C2C;
}


/*** Appointment ***/
@media (min-width: 992px) {
    .container.appointment {
        max-width: 100% !important;
    }

    .container.appointment .appointment-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.appointment .appointment-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.appointment .appointment-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.appointment .appointment-form  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.appointment .appointment-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.appointment .appointment-form  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.appointment .appointment-text {
    background: linear-gradient(rgba(212, 197, 176, .95), rgba(212, 197, 176, .95)), url(../img/service-4.jpg) center center no-repeat;
    background-size: cover;
}

.container.appointment .appointment-form {
    background: linear-gradient(rgba(44, 44, 44, .95), rgba(44, 44, 44, .95)), url(../img/service-1.jpg) center center no-repeat;
    background-size: cover;
}

.container.appointment .appointment-text .h-100,
.container.appointment .appointment-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item .service-text {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.service-item .service-img {
    transition: .5s;
}

.service-item:hover .service-img {
    transform: scale(1.2) rotate(7deg);
}



/*** Team ***/
.team {
    position: relative;
}

.team::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 110px;
    left: 0;
    bottom: 3rem;
    background: #F5F5F0;
    z-index: -1;
}

.team .team-item {
    position: relative;
    overflow: hidden;
}

.team .team-item img {
    position: relative;
    transform: scale(1.1);
    transition: .5s;
}

.team .team-item:hover img {
    margin-top: -30px;
    padding-bottom: 30px;
}

.team .team-text {
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team .team-text-overflow {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-text-overflow {
    bottom: 0;
    opacity: 1;
}



/*** Testimonial ***/
.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    animation: pulse-img 5s ease-out infinite;
}

@keyframes pulse-img {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 0;
    }

    50% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 0;
    }
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

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

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

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-white);
    background: #2C2C2C;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: #1A1A1A;
}


/*** Footer ***/
.footer {
    color: rgba(256, 256, 256, .6);
    
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(256, 256, 256, .6);
    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: rgba(256, 256, 256, .6);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #F5F5F0;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(256, 256, 256, .6);
    border: 1px solid rgba(256, 256, 256, .6);
}

.footer .btn.btn-square:hover {
    color: var(--bs-white);
    border-color: #2C2C2C;
    background: #2C2C2C;
}

.footer .form-control {
    color: #F5F5F0;
    border-color: rgba(256, 256, 256, .6);
}

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

.footer .copyright a {
    color: #D4C5B0;
}

.footer .copyright a:hover {
    color: #FFFFFF;
}
/**FB Instagram**/
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

       /** body {
            font-family: Arial, sans-serif;
            padding: 20px;
            background: #f5f5f5;
            overflow-x: hidden;
        }**/

        /* Ensure widget doesn't cause horizontal scroll */
        html {
            overflow-x: hidden;
        }

        /* Social Widget Container */
        .social-widget {
            position: fixed;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            transition: right 0.3s ease;
            z-index: 1000;
        }

        .social-widget.hidden {
            right: -320px;
        }

        /* Toggle Button */
        .toggle-btn {
            position: absolute;
            left: -40px;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 100px;
            background: #4267B2;
            border: none;
            border-radius: 8px 0 0 8px;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            box-shadow: -2px 0 5px rgba(0,0,0,0.2);
            transition: background 0.3s ease;
        }

        .toggle-btn:hover {
            background: #365899;
        }

        .toggle-btn:active {
            transform: translateY(-50%) scale(0.95);
        }

        @media (hover: none) {
            .toggle-btn:active {
                background: #365899;
            }
        }

        .toggle-btn svg {
            width: 24px;
            height: 24px;
            fill: white;
        }

        /* Widget Panel */
        .widget-panel {
            width: 320px;
            background: white;
            box-shadow: -2px 0 10px rgba(0,0,0,0.2);
            border-radius: 8px 0 0 8px;
            overflow: hidden;
        }

        .widget-header {
            background: linear-gradient(135deg, #4267B2 0%, #E1306C 100%);
            color: white;
            padding: 15px;
            text-align: center;
            font-weight: bold;
            font-size: 16px;
        }

        .widget-content {
            padding: 20px;
            max-height: 600px;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        /* Custom scrollbar for webkit browsers */
        .widget-content::-webkit-scrollbar {
            width: 6px;
        }

        .widget-content::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .widget-content::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 3px;
        }

        .widget-content::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

        /* Social Links */
        .social-link {
            display: flex;
            align-items: center;
            padding: 15px;
            margin-bottom: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            text-decoration: none;
            color: #333;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .social-link:hover {
            transform: translateX(-5px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .social-link.facebook {
            background: linear-gradient(135deg, #4267B2 0%, #3b5998 100%);
            color: white;
        }

        .social-link.instagram {
            background: linear-gradient(135deg, #E1306C 0%, #C13584 50%, #833AB4 100%);
            color: white;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            margin-right: 15px;
            fill: currentColor;
        }

        .social-info h3 {
            font-size: 16px;
            margin-bottom: 4px;
        }

        .social-info p {
            font-size: 12px;
            opacity: 0.9;
        }

        /* Embedded Feed Preview */
        .feed-preview {
            margin-top: 20px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .feed-preview h4 {
            margin-bottom: 10px;
            color: #333;
        }

        .feed-item {
            background: white;
            padding: 10px;
            margin-bottom: 10px;
            border-radius: 6px;
            border-left: 3px solid #4267B2;
        }

        .feed-item.instagram {
            border-left-color: #E1306C;
        }

        /* Demo Content */
        .demo-content {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 5px;
            }
        }

        .demo-content h1 {
            color: #333;
            margin-bottom: 20px;
        }

        .demo-content p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        /* Responsive - Tablets */
        @media (max-width: 768px) {
            .widget-panel {
                width: 280px;
            }

            .social-widget.hidden {
                right: -280px;
            }

            .toggle-btn {
                width: 35px;
                height: 90px;
                left: -35px;
            }

            .toggle-btn svg {
                width: 20px;
                height: 20px;
            }

            .widget-content {
                padding: 15px;
                max-height: 500px;
            }

            .social-link {
                padding: 12px;
            }

            .social-icon {
                width: 35px;
                height: 35px;
                margin-right: 12px;
            }

            .social-info h3 {
                font-size: 14px;
            }

            .social-info p {
                font-size: 11px;
            }
        }

        /* Responsive - Mobile */
        @media (max-width: 480px) {
            .widget-panel {
                width: 240px;
            }

            .social-widget.hidden {
                right: -240px;
            }

            .toggle-btn {
                width: 30px;
                height: 80px;
                left: -30px;
            }

            .toggle-btn svg {
                width: 18px;
                height: 18px;
            }

            .widget-header {
                padding: 12px;
                font-size: 14px;
            }

            .widget-content {
                padding: 12px;
                max-height: 400px;
            }

            .social-link {
                padding: 10px;
                margin-bottom: 10px;
            }

            .social-icon {
                width: 30px;
                height: 30px;
                margin-right: 10px;
            }

            .social-info h3 {
                font-size: 13px;
            }

            .social-info p {
                font-size: 10px;
            }

            .feed-preview {
                padding: 12px;
                margin-top: 15px;
            }

            .feed-preview h4 {
                font-size: 13px;
            }

            .feed-item {
                padding: 8px;
                font-size: 12px;
            }

            .demo-content {
                padding: 20px;
            }

            .demo-content h1 {
                font-size: 24px;
            }

            .demo-content p {
                font-size: 14px;
            }
        }

        /* Extra Small Devices */
        @media (max-width: 360px) {
            .widget-panel {
                width: 200px;
            }

            .social-widget.hidden {
                right: -200px;
            }

            .toggle-btn {
                width: 28px;
                height: 70px;
                left: -28px;
            }

            .toggle-btn svg {
                width: 16px;
                height: 16px;
            }

            .social-info h3 {
                font-size: 12px;
            }

            .social-info p {
                display: none;
            }
        }