.margintop {
    margin-top: 117px;
}

@media (max-width: 767px) and (min-width: 320px) {
    .margintop {
        margin-top: 50px;
    }
}

/* carousel */
.size {
    height: 93vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
}

.carousel-caption h1 {
    font-size: 4.5rem;
    font-weight: bold;
    color: #ffffff;
}

@media (max-width: 767px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #ffffff;
    }
}

.carousel-caption p {
    font-size: 1.2rem;
}

.btn-custom {
    background-color: #00b3b3;
    color: white;
    padding: 12px 24px;
    font-size: 1.2rem;
    border-radius: 25px;
}

.btn-custom:hover {
    background-color: #00b3b3;
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* navbar */
.navbar-3d .nav-link {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 7px;
}

.navbar-3d .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-link {
    font-weight: bold;
    color: white;
}

.nav-link:hover {
    color: #ffffff;
}

.navbar {
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    padding-top: 11px;
    padding-bottom: 11px;
    background-color: #118fb4;
    box-shadow: 0px 1px 10px #999;
}

.nav-link.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* button */
.typing-btn {
    background-color: #c1d800;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 3px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    height: 50px;
    width: 160px;
    text-align: center;
}

.typing-btn:hover {
    background-color: #c1d800;
    transition: background-color 0.4s ease;
}

.typing-btn .static-text {
    visibility: visible;
    transition: visibility 0s linear 0.2s;
}

.typing-btn:hover .static-text {
    visibility: hidden;
    transition: visibility 0s;
}

.typing-btn .animated-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    color: white;
    background-color: inherit;
    line-height: 1.2;
}

.typing-btn:hover .animated-text {
    animation: typing 1s steps(7, end) forwards,
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: white;
    }
}

/* white button background*/
.type-btn {
    background-color: #fdfdfd;
    color: #c1d800;
    border: none;
    padding: 12px 30px;
    border-radius: 3px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    height: 50px;
    width: 160px;
    text-align: center;
}

.type-btn:hover {
    background-color: #faffc8;
    transition: background-color 0.4s ease;
}

.type-btn .white-text {
    visibility: visible;
    transition: visibility 0s linear 0.2s;
}

.type-btn:hover .white-text {
    visibility: hidden;
    transition: visibility 0s;
}

.type-btn .animation-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    color: #c1d800;
    background-color: inherit;
    line-height: 1.2;
}

.type-btn:hover .animation-text {
    animation: typing 1s steps(7, end) forwards,
        blink-caret 0.75s step-end infinite;
}

.step-box {
    padding: 20px;
}

.step-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-icon {
    background-color: white;
    padding: 10px;
}

.step-icon img {
    width: 100px;
}

.step-title {
    font-weight: bold;
    color: #0077b6;
}

.step-desc {
    color: #333;
    margin: 0;
}

.how-it-works-header {
    font-weight: bold;
}

.book-now-btn {
    background-color: #c1d800;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    color: black;
}

/* counter */
.counter-section {
    background-color: #c0ce31;
    padding: 40px 0;
    color: #1a1a1a;
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
}

.highlight {
    background-color: #f6fbe9;
    border-radius: 5px;
    padding: 5px 10px;
    margin-bottom: 10px;
    font-weight: 500;
    display: inline-block;
    animation: fadeInDown 0.5s ease;
    color: #000000;
}

/* cursor */
.circle {
    width: 20px;
    height: 20px;
    z-index: 1000;
    border-radius: 50%;
    background: #3f3f3f;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.subtext {
    color: #5a5a5a;
}

.maintext {
    color: #118fb4;
}

/* service */
.service-box {
    background-color: #fff;
    overflow: hidden;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.service-box:hover {
    transform: translateX(10px);
}

.service-image-container {
    overflow: hidden;
    position: relative;
}

.service-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    height: 100%;
    width: 50%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.2)
    );
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
}

.service-image-container:hover::before {
    animation: sparkle 2s infinite;
}

.service-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.service-image-container:hover img {
    transform: scale(1.05) translateX(10px);
}

.service-content {
    padding: 10px 0;
}

.service-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.service-number {
    float: right;
    color: #888;
}

@keyframes sparkle {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

/* book */
.hero-section {
    background-color: #c1d800;
    padding: 3rem 1rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

@media (max-width: 768px) {
    .box {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h3 {
        font-size: 1rem;
    }
}

/* advantage  */
.advantage-icon {
    font-size: 2rem;
    color: #0d6efd;
}

.hover-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.hover-img-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-25deg);
}

.hover-img-wrapper:hover::before {
    animation: shine 0.75s ease-in-out;
}

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

.advantage-card {
    text-align: center;
    padding: 20px;
}

.advantage-card h6 {
    font-weight: bold;
}

.advantage-card p {
    font-size: 0.95rem;
    color: #555;
}

/* icon service sub */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 30px 15px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
    color: #118fb4;
}

.service-card:hover .service-icon {
    transform: scale(1.2);
    color: #c0ce31;
}

.service-number {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    color: #6c757d;
}

.service-title {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

/* client */
.carousel img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.carousel .card {
    border: none;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
    height: 3rem;
    background-color: grey;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.quotes {
    font-size: 3rem;
}

@media (max-width: 767.98px) {
    .carousel-item > .d-md-flex {
        display: block !important;
    }

    .carousel .card {
        width: 90% !important;
        margin: 1rem auto;
    }

    .carousel-item .card:not(:first-child) {
        display: none;
    }
}

.footer {
    background-color: #1296b4;
    color: white;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    padding: 3rem 0;
}

.footer h5,
.footer h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer p,
.footer li,
.footer span {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-link {
    color: white;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.footer-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: 0.3s ease all;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-link:hover {
    color: #e0e0e0;
}

.footer ul {
    padding-left: 0;
    list-style: none;
}

.footer .contact-info span {
    display: block;
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .footer .col-md-3 {
        margin-bottom: 2rem;
    }
}

.footer-link.active {
    color: #c1d800;
    border-bottom: 2px solid white;
}

/*about Sparkle hover effect */
.image-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.hover-sparkle {
    display: block;
    position: relative;
    z-index: 1;
}

.image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    height: 100%;
    width: 50%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    z-index: 2;
}

.image-wrapper:hover::before {
    animation: shine 1s forwards;
}

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

/* Responsive text */
@media (max-width: 767px) {
    h2 {
        font-size: 2rem;
    }

    ul li {
        font-size: 1rem;
    }
}

/* blog */
.textbold {
    font-weight: bold;
    margin-bottom: 30px;
}

.subtextservic {
    margin-top: 30px;
}

.list-unstyled {
    font-weight: 500;
}

.decorattext {
    text-decoration: none;
    color: #2e2e2e;
}

.decorattext:hover {
    color: #d60000;
}

.position-sticky {
    top: 100px;
    padding-left: 50px;
    padding-right: 20px;
    font-size: 20px;
}

.blogfistcolor {
    color: #005e82;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .position-sticky {
        top: 100px;
        padding-left: 0px;
        padding-right: 0px;
        font-size: 20px;
    }
}

/* book detail page */
.rightcard {
    font-size: 15px;
}

.btn-option {
    width: 100%;
    background-color: #ffffff;
    margin-bottom: 1rem;
}

.btn-option:hover {
    width: 100%;
    background-color: #c0ce31;
    margin-bottom: 1rem;
}

.form-check-input:checked {
    background-color: #118fb4;
    border-color: #118fb4;
}

.form-check-input:focus {
    border-color: #118fb4;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #c0f0ff;
}

.form-control:focus {
    color: #272727;
    background-color: var(--bs-body-bg);
    border-color: #118fb4;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #c0f0ff;
}

.btn-option {
    color: #118fb4;
}

.btn-option:hover {
    width: 100%;
    background-color: #c0ce31;
    margin-bottom: 1rem;
}

.btn:focus-visible {
    color: #118fb4;
    background-color: black;
    border-color: black;
    outline: 0;
    box-shadow: black;
}

.btn:hover {
    color: #ffffff;
    background-color: #118fb4;
    border-color: #118fb4;
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
    color: #ffffff;
    background-color: #118fb4;
    border-color: #118fb4;
}

/* button */
.boxfix {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 50px;
    right: 30px;
    border-radius: 30px;
    box-shadow: rgba(100, 100, 111, 0.2) 10px 10px 50px 10px;
    z-index: 100;
}
.box--fixed {
    position: fixed;
    background-color: #25d366;
}

@keyframes kreep {
    0% {
        -webkit-transform: scale(1.1, 0.9);
        transform: scale(1.1, 0.9);
    }

    50% {
        -webkit-transform: scale(0.9, 1.1) translateY(-0.5rem);
    }

    70% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.boxfix.kreep {
    display: inline-block;
    /*name-duration-function(ease,eas-in,linear)-delay-count-direction */
    animation: kreep 0.7s ease 2s infinite alternate;
}

.boxfix.kreep:hover {
    animation: none;
}

/*SHAKER*/
@keyframes wiggle {
    2% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }

    4% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }

    6% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }

    8% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }

    10% {
        -webkit-transform: translateX(2px) rotate(1deg);
        transform: translateX(2px) rotate(1deg);
    }

    12% {
        -webkit-transform: translateX(-2px) rotate(-1deg);
        transform: translateX(-2px) rotate(-1deg);
    }

    14% {
        -webkit-transform: translateX(2px) rotate(1deg);
        transform: translateX(2px) rotate(1deg);
    }

    16% {
        -webkit-transform: translateX(-2px) rotate(-1deg);
        transform: translateX(-2px) rotate(-1deg);
    }

    18% {
        -webkit-transform: translateX(1px) rotate(0);
        transform: translateX(1px) rotate(0);
    }

    20% {
        -webkit-transform: translateX(-1px) rotate(0);
        transform: translateX(-1px) rotate(0);
    }
}

.boxfix.wiggle {
    animation: wiggle 2.7s infinite;
}

.boxfix.wiggle:hover {
    animation: none;
}

/*END SHAKER*/
