body {
    font-family: 'Poppins', sans-serif;
}

.scroll-down {
    left: 50%;
    transform: translateY(0%) rotate(45deg);

    opacity: 0;
}

.scroll-section {
    margin-top: 100px;
}

@keyframes scrolldown {
    0% {
        transform: translateY(20%) rotate(45deg);
        opacity: 0.7;
    }

    50% {
        transform: translateY(0%) rotate(45deg);
        opacity: 0.2;
    }

    100% {
        transform: translateY(20%) rotate(45deg);
        opacity: 0.7;
    }
}

.custom-navbar {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: white;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}


.custom-navbar.scrolled {
    padding: 35px 0 15px 0;
    z-index: 20000;
    background: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

#hero {
    position: relative;
    height: 100%;
    /* full screen */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#main-hero {
    height: auto;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(3, 18, 33, 0.7);
    z-index: 1;
}

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 100;

}

#hero .container {
    position: relative;
    z-index: 10000;
}

@media (min-width:768px) and (max-width:1023px) {
    #main-hero {
        height: auto;
        max-height: auto;
    }

    #hero {
        height: 40vh;
        max-height: 50vh;
    }
}

@media (min-width:1024px) and (max-width:1700px) {
    #main-hero {
        height: auto;
        max-height: auto;
    }

    #hero {
        height: 40vh;
        max-height: 50vh;
    }
}

@media(min-width:1701px) {
    #main-hero {
        height: 70vh;
        max-height: 70vh;
    }
}

@media(min-width:2000px) {
    #main-hero {
        height: 50vh;
        max-height: 50vh;
    }
}


@media (max-width: 767px) {
    #hero {
        padding: 80px 20px;
    }

    #main-hero {
        height: auto;
    }

}

@media (max-width:1199px) {


    #main-hero {
        flex-direction: column !important;
    }

    #appointment-section {
        position: unset !important;
        width: 100% !important;
        left: unset !important;
        top: unset !important;
    }

    .divider-section {
        display: none;
    }

    /* #hero{
        height: 50vh;
    } */
}

#appointment-section {
    top: 70%;
    margin: auto;
    z-index: 100 !important;
    width: 70%;
    max-width: 100%;
    z-index: 10;
    background-color: white;
}

.divider-section {
    height: 330px;

}

.logo {
    width: 75px;
    /* height: 29px; */
}

@media only screen and (min-width: 768px) {
    .logo {
        width: 139px;
        /* height: 37px; */
    }
}

@media only screen and (min-width: 1200px) {
    .logo {
        width: 150px;
    }
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.service-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.4s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
    filter: brightness(33%);
}

.service-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
    color: #fff;
}

.service-card:hover .service-overlay {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width:1023px) {
    .service-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .service-img {
        transform: scale(1.1);
        filter: brightness(33%);
    }
}

.service-overlay h4 {
    font-weight: bold;
    margin-bottom: 5px;
}

.service-overlay .price {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.appointment-header {
    font-size: 30px;
    color: #055d94;
    font-weight: 600;
}

@media(max-width:1023px) {
    .appointment-header {
        font-size: 20px;
    }
}

.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link.show,
.upload-btn {
    color: #055d94;
    font-weight: 600;
    transition: all .4s ease-in-out;
    border-radius: 0;
}
.upload-btn{
    border-bottom: 2px solid #055d94;
}

.offcanvas .navbar-nav .nav-link.active,
.offcanvas .navbar-nav .nav-link.show,
.upload-btn {
    color: #055d94;
    font-weight: 600;
    /* border-bottom: 2px solid #055d94; */
    transition: all .4s ease-in-out;
    border-radius: 0;
}

.upload-btn:hover {
    border: 2px solid #055d94;
    color: #055d94;
}

.title::after {
    content: "";
    display: block;
    width: 10%;
    /* Xəttin eni */
    height: 1.5px;
    /* Xəttin qalınlığı */
    background-color: #055d949a;
    /* Xəttin rəngi (Bootstrap Primary rəngi nümunə) */
    margin: 10px auto 0;
    /* Yuxarıdan 8px boşluq, mərkəzləşdirildi */
    border-radius: 2px;
    /* Xəttin kənarlarını yumşaltmaq üçün */
}
.title-left::after {
    content: "";
    display: block;
    width: 10%;
    /* Xəttin eni */
    height: 1.5px;
    /* Xəttin qalınlığı */
    background-color: #055d949a;
    /* Xəttin rəngi (Bootstrap Primary rəngi nümunə) */
    /* margin: 10px auto 0; */
    /* Yuxarıdan 8px boşluq, mərkəzləşdirildi */
    border-radius: 2px;
    /* Xəttin kənarlarını yumşaltmaq üçün */
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding-left: 10px;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    transition: all 0.3s ease;
}

.service-overlay h4,
.service-overlay p {
    margin: 0 0 0 10px;
}

.service-overlay .btn {
    transition: transform 0.3s ease;
    margin-right: 10px;
}

.service-overlay .btn:hover {
    transform: translateX(10px);
}

.btn-detail {
    font-size: 30px;
}

.about-image {
    /* max-width: 50%; */
    width: 100%;
    display: block;
    margin: 0 auto;
}

.service-detail-img {
    max-width: 40%;
    width: 100%;
    display: block;
    margin: 0 auto;
}

@media(max-width:991px) {

    .about-image,
    .service-detail-img {
        max-width: 60%;
    }
}

html,
body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#footer {
    margin-top: auto;
    background-color: #055d94;
}

.btn-primary {
    background-color: #055d94 !important;
}

.form-step {
    display: none;
}

.form-step-active {
    display: block;

}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.steps-indicator .step {
    text-align: center;
    flex: 1;
    position: relative;
}

.steps-indicator .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: -1;
}

.steps-indicator .circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
    display: inline-block;
    line-height: 30px;
    color: #fff;
    margin-bottom: 5px;
}

.steps-indicator .step.active .circle {
    background: #0073aa;
}

.steps-indicator .label {
    font-size: 14px;
    color: #555;
}

.steps-indicator .step.active .label {
    font-weight: bold;
    color: #0073aa;
}

.prev-btn {
    margin-right: 10px;
}

.offcanvas.offcanvas-end {
    z-index: 100000 !important;
}
.offcanvas .nav-item{
    margin-bottom: 20px;
}
/* --------------------------------------------------
   DESKTOP NAV LINK HOVER ANIMATION
-------------------------------------------------- */
.custom-navbar .navbar-nav .nav-link {
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

/* sliding underline */
.custom-navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0%;
    height: 2px;
    background-color: #055d94; /* Mavi xətt */
    transition: width 0.35s ease;
}

.custom-navbar .navbar-nav .nav-link:hover::after,
.custom-navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* hover text color */
.custom-navbar .navbar-nav .nav-link:hover {
    color: #055d94 !important;
    font-weight: 600;
}


/* --------------------------------------------------
   MOBILE / OFFCANVAS NAV LINK HOVER (SEPARATE STYLE)
-------------------------------------------------- */
.offcanvas .navbar-nav .nav-link {
    padding: 12px 10px;
    border-radius: 8px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* hover background fade */
.offcanvas .navbar-nav .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.1); /* Açıq mavi fon */
    color: #055d94 !important;
    font-weight: 600;
}

/* active state */
.offcanvas .navbar-nav .nav-link.active {
    background-color: rgba(13, 110, 253, 0.1);
    color: #055d94 !important;
    border-radius: 8px;
}
.about-image {
    border-radius: 24px;
    box-shadow: 0 25px 40px rgba(0,0,0,0.08);
    border: 3px solid rgba(13, 110, 253, 0.1);
    transition: .4s ease;
}