
html, body {
    height: 100%;
    margin: 0;
}

/* Apply flexbox to the body to push the footer to the bottom */
body {
    display: flex;
    flex-direction: column;
}.main-content {
    flex: 1;
}
.privacy-policy,.terms-and-conditions{
    padding: 4rem 0;
}
.navbar-brand img {
    /* max-width: 150px; */
    max-height: 45px;
    object-fit: cover;
}
ul.SocialIcons {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.SocialIcons li a {
    background: #D9D9D9;
    border-radius: 50%;
    width: 32px;
    display: flex;
    height: 32px;
    justify-content: center;
    align-items: center;
    color: #000;
    text-decoration: none;
    margin: 0 5px;
}
.logo {
    min-width: 250px;
    max-width: 250px;
    min-height: 100px;
    max-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #fbfbfb; */
}
.navbar-brand img {
    /* max-width: 150px; */
    max-height: 100px;
    object-fit: cover;
}

.nav-link {
    padding: 8px 15px !important;
    text-transform: uppercase;
    font-size: 15px;
}

.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 580px;
}

.hero-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; max-width: 100%;
    max-height: 700px;
}

.first-section {
    padding: 5rem 0;
    background: #6d86a2;
    color: white;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(65 65 65 / 46%);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 50px 15px;
    min-height: 700px;
}
.hero-section .btn {
    background-color: #6c757d;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
}

.hero-section .btn-secondary:hover {
    background-color: #5a6268;
}

.hero-section h1 {
    margin: 13rem 0 0;
    font-size: 50px;
    font-weight: 700;
}
.hero-section h6 {
    font-size: 30px;
    font-weight: 500;
}

.hero-section .container {
    z-index: 10000;
    position: relative;
}

.help {
    padding: 5rem 0;
    background: #3066a4;
    color: white;
}

/* Custom styling */
/* Grid container styling */
.first-section .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: center;
}

.first-section .img-container {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.first-section .content-section h2 {
    margin-top: 10px;
    font-size: 1.25rem;
}

.first-section .content-section p {
    font-size: 1rem;
    color: #555;
}

.first-section .grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}


.first-section .img-container {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.first-section .content-section h2 {
    margin-top: 10px;
    font-size: 1.25rem;
}

.first-section .content-section p {
    font-size: 1rem;
    color: #555;
}



.first-section .image-right img {
    /* width: 500px; */
    height: 500px;

}

.services {
    padding: 5rem 0 2rem;
    background: #EDEEEF;
}

.services .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    height: auto;
}

.services .grid-item {
    text-align: center;
    font-size: 16px;
}

.services .person-name {
    font-size: 22px;
    color: #333;
    margin-bottom: 0px;
    font-weight: 500;
}

.services .role {
    color: #555;
    font-size: 14px;
}

.services .description {
    margin-top: 10px;
    font-size: 14px;
    color: #000;
    padding: 0 2rem;
}

.services img {
    margin-bottom: 1rem;
    width: 100%;
    height: unset;
    object-fit: cover;
    max-width: 255px;
    min-height: auto;
    border-radius: 5px;
}

.help .grid-container {
    display: grid;
    grid-template-rows: auto;
    gap: 20px;

    margin: 0 auto;
}

.help .layer1 {
    text-align: center;
}
.help .websiteBuilderTemplateContactUsHeading {
    font-weight: 700;
    font-size: 44px;
}

.help .layer2 {
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 3rem;
}

.help .layer3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: left;
    gap: 2rem;
    font-size: 16px;
}

.help .contact-item {
    text-align: center;
}

.help .contact-item span {
    font-weight: bold;
}

.contact-item p {
    margin: 0;
}

.help {
    padding: 5rem 0;
}

/* * Grid container for the links */
.long-link .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
}

/* Grid items (links) */
.long-link .grid-item {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.long-link .grid-container img {
    width: 120px;
    width: 150px;
    height: 45px;
    object-fit: contain;
}

.footer-set {
    display: flex;
    padding: 1rem 0 0;
    justify-content: center;
}

.footer {
    padding: 2rem 0;
    background: #264f7e;
    color: #fff;
}

.long-link .fixpages .grid-item {
    text-decoration: underline;
    /* color: black; */
}
footer.footer.long-link .contact-item p {
    color: #fff;
}

.services h1 {
    margin-bottom: 4rem;
}
/* section.services.videoSec h1 {
    color: #fff;
} */
.videoSection video {
    width: 100%;
}
.videoSection iframe {
    width: 100%;
    max-height: 500px;
    min-height: 400px;
}
section.GallerySlider .card {
    border: 0;
}
section.GallerySlider .card-img {
    max-width: 250px;
    max-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fcfcfc;
    min-width: 250px;
    min-height: 250px;
}
section.GallerySlider .carousel-control-next,
section.GallerySlider .carousel-control-prev {
    position: absolute;
    top: auto;
    bottom: -60px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    color: #fff;
    text-align: center;
    background: 0 0;
    opacity: .5;
    transition: opacity .15s ease;
    border-radius: 100%;
    height: 40px;
    background: #FFFFFF;
    border: 1.5px solid #5A6176;
    color: #5A6176;
    text-decoration: none;

}
section.GallerySlider .carousel-control-next:hover, section.GallerySlider .carousel-control-prev:hover {
    border-color: #000;
    color: #000;
}
.carousel-control-next {
    right: auto;
    left: 55px;
}
section.GallerySlider .carousel-control-next i, section.GallerySlider .carousel-control-prev i{

    font-size: 20px;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
ul.ItemsList {
    list-style: none;
    padding: 0;
}
.MenuList h3 {
    font-size: 20px;
    font-weight: 700;
}
ul.ItemsList h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}
ul.ItemsList span{
    font-size:13px ;
}
ul.ItemsList li {
    margin-bottom: 30px;
}
.MenuList {
    position: relative;
}
.H-Border {
    width: 1px;
    height: 89%;
    background: #000;
    position: absolute;
    top: 12px;
    bottom: 0;
    left: 0;
    right: 30px;
    margin: auto;
}
ul.WeekTime {
    list-style: none;
    padding: 0;
}
ul.WeekTime li {
    margin-bottom: 12px;
}
section.services.TalkTime {
    /* background-image: url(../images/talk.png); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
section.services.TalkTime img {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 100%;
    z-index: 1;
    overflow: hidden;
}
.CallActionContent {
    width: 42%;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}
.CallActionContent h1 {
    margin: 0 0 20px 0;
}
.CallActionContent button{
    margin-top: 30px;
}
.themebg{
    background-color: #6d86a2 !important;
}
section.GallerySlider {
    padding: 5rem 0;
}
section.GallerySlider.themebg a.bg-transparent.w-aut {
    border-color: #fff;
    opacity: 1;
    color: #fff;
}
.themebg .H-Border{
    background-color: #fff;
}
@media (max-width: 767px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {

    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }

    .carousel-inner .carousel-item-start.active,
    .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start {
    transform: translateX(0);
}
body {
    overflow-x: hidden;
  }  /* Initial state before animation */

/* Initial state before animation */
.hero-section h1,
.hero-section h6 {
    transform: translateY(40px);
    /* Default slide up */
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: transform, opacity;
}

/* Slide from left only for h6 */
.hero-section h6 {
    transform: translateX(-40px);
}

/* Final visible state */
.hero-section h1.visible,
.hero-section h6.visible {
    transform: translateX(0) translateY(0);
    opacity: 1;
}

/* Base animation styles */
[data-animate] {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: transform, opacity;
}

/* Directional animations */
[data-animate="bottom"] {
    transform: translateY(40px);
}

[data-animate="left"] {
    transform: translateX(-40px);
}

[data-animate="right"] {
    transform: translateX(40px);
}

[data-animate="zoom"] {
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 1.8s ease-out, transform 1.8s ease-out;
    will-change: transform, opacity;
}

[data-animate="zoom"].visible {
    opacity: 1;
    transform: scale(1);
}

/* Visible state */
[data-animate].visible {
    opacity: 1;
    transform: none;
}

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 1;
}

.SliderArrow {
    width: 100px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .first-section .image-right img {
        width: 592px;
        height: 485px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .services .grid-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 5rem;
    }

    .services img {
        width: auto;
    }

    .services .description {
        padding: 0 11rem;
    }

    .first-section .image-right img {
        width: 300px;
        height: 300px;
        align-content: end;
    }

    .image-right {
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .navbar-collapse {
        display: inline-flex;
        flex-direction: column;
        position: absolute;
        left: 0;
        right: 0;
        top: 4rem;
        background: #fff;
        z-index: 999999;
    }

    .navbar-collapse .ms-auto {
        margin-left: revert !important;
    }

}
@media (max-width: 768px) {
    .first-section .grid-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
    }
    .services {
        padding: 2rem 0 2rem;
        background: #E5E0E3;
    }
}

@media (min-width:320px) and (max-width:767px) {
    .services .grid-container {
        grid-template-columns: 1fr;
        flex-direction: column-reverse;
        display: flex;
        gap: 4rem;
    }
    .navbar-collapse.CustomNavbar .navbar-nav {
        width: 100%;
    }
    .navbar-collapse.CustomNavbar .navbar-nav a.nav-link {
        padding: 8px 15px !important;
        border-bottom: 1px solid #eee;
    }
    ul.SocialIcons {
        padding: 0 0 10px 0;
        margin-top: 10px;
    }
    .H-Border{
        display: none;
    }
    .CallActionContent{
        width: 90%;
    }
    section.services.TalkTime {
        padding: 3rem 0;
    }

    .navbar-collapse {
        display: inline-flex;
        flex-direction: column;
        position: absolute;
        left: 0;
        right: 0;
        top: 7.29rem;
        background: #fff;
        z-index: 999999;
    }

    .navbar-collapse .ms-auto {
        margin-left: revert !important;
    }
    .services h1 {
        margin-bottom: 2rem;
    }
    .services .description {
        padding: 0;
    }
    .help {
        padding: 2rem 0;
    }
    .help .layer2 {
        margin-bottom: 1rem;
    }
    .footer {
        padding: 1rem 0;
    }
    .help .websiteBuilderTemplateContactUsHeading {
        font-size: 28px;
    }
    .first-section .grid-container {
        gap: 10px;
    }

    .first-section {
        padding: 1rem;
    }

    .right.d-flex {
        flex-direction: column;
    }

    .help .grid-container {
        padding: 0 2rem;
    }

    .services .grid-item {
        padding: 0 2rem;
    }

    .footer-set {
        padding: 0;
    }

    .help .layer3 {
        gap: 35px
    }

    nav .ms-auto {
        align-items: center;
    }

    .long-link .grid-container {
        gap: 46px;
        display: grid;
        grid-template-columns: auto;


        justify-items: center;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .footer-set {
        height: 60px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .first-section .image-right img {
        width: 100%;
        height: 257px;
    }
}

@media only screen and (min-width: 1800px) {}

@media only screen and (min-width: 2400px) {}
