:root {
       --color-brand: #303289;
    --color-sec: #DA3832;
    --color-light-orange: #f57e232c;
}
img {
    object-fit: cover;
}

.bg-brand {
    background-color: var(--color-brand);
    color: white;
}
.bg-sec {
    background-color: var(--color-sec);
    color: white;
}
.text-brand {
    color: var(--color-brand);
}
.border-bottom-brand {
    border-bottom: 1px solid var(--color-brand);
}
@media (min-width: 546px) {
    .sm-flex {
        display: flex;
    }
}
@media (min-width: 768px) {
    .md-flex {
        display: flex;
    }
}
@media (min-width: 992px) {
    .lg-flex {
        display: flex;
    }
}

h2 .fs-normal {
    font-weight: 300px !important;
    font-size: 36px;
}
.provider-box {
    border-radius: 20px;
    margin-bottom: 10px;
    padding: 5px;
}
.provider-box:hover {
    /* padding: 5px 0px; */
    /* border-radius: 20px; */
    /* background-color: rgba(241, 151, 115, 0.253); */
    box-shadow: 0 -5px 10px #80808057;

    /* transform: translateY(-10px); */
    transition: 0.5s all ease-in-out;
}
.banner-img {
    background-image: url("https://images.pexels.com/photos/392018/pexels-photo-392018.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
    background-repeat: no-repeat;

    height: 400px;
    width: 100%;
}
.banner-img::before {
    content: "";
    width: 100%;
    /* height: 100% */
    background-color: rgba(0, 0, 0, 0.219);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.my-help {
    margin-bottom: 60px;
}

.my-help table {
    /* border: 1px solid black; */
}
.my-help table th {
    color: white;
    font-size: 16px;
    padding: 10px 10px;
    border-right: 1px solid #dee2e6;
}
.my-help table td {
    /* color: white; */
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
    padding: 10px 10px;
}

.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Popup Box */
.popup-box {
    background: white;
    padding: 0 0 30px 0;
    width: 700px;
    /* text-align: center; */
    border-radius: 8px;
    position: relative;
    z-index: 30;
    box-shadow: 0 5px 10px gray;
    min-height: 400px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 45px;
    cursor: pointer;
}
.popup-box a {
    color: grey !important;
    font-size: 10px;
    padding-bottom: 10px;
    text-decoration: underline;
}
.popup-box a:hover {
    color: var(--color-brand) !important;
}
.popup-box select {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 14px;
}
.popup-box option {
    font-size: 14px;
}
.popup-box .login-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--color-brand);
    border-radius: 20px;
    color: white;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: bold;
}
.popup-box .login-btn:hover {
    background-color: #acd4f7;
    color: var(--color-brand);
}
.popup-container.active {
    opacity: 1;
    pointer-events: auto;
}

.contact-form-section select {
    font-size: 14px;
    padding: 0 0;
    background-color: #f3edfd;
}

.how-search-section .select2-container {
    width: 30% !important;
    font-size: 14px;
    padding: 3px;
}
.how-search-section .select2-container,
.how-search-section .select2-selection--single {
    height: 35px !important;
    /* padding-top: 5px; */
}

.page-item.active .page-link {
    background-color: var(--color-brand) !important;
    border: 1px solid var(--color-brand);
    color: white !important;
}
.page-link:hover,
.page-link {
    color: black !important;
}
.contact-form-section .select2-container {
    font-size: 14px;
    padding: 5px;
}
.contact-form-section .select2-selection--single {
    height: 45px !important;
    background-color: #f3edfd;
    /* padding-top: 5px; */
}
.contact-form-section
    .select2-container--default
    .select2-results
    > .select2-results__options
    li {
    font-size: 14px !important;
}
.contact-form-section
    .select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--color-sec) !important;
    color: white !important;
    font-size: 14px;
}
.contact-form-section
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    right: 20px;
    top: 15px;
}
.contact-form-section
    .select2-container
    .select2-selection--single
    .select2-selection__rendered {
    padding-top: 10px;
}
.contact-form-section .select2-search--dropdown {
    padding: 0;
}
.contact-form-section .select2-container--default .select2-selection--multiple {
    height: 45px !important;
    background-color: #f3edfd;
}
.contact-form-section
    .select2-container--default.select2-container--focus
    .select2-selection--multiple {
    height: 100% !important;
}
.contact-form-section
    .select2-container
    .select2-selection--multiple
    .select2-selection__rendered {
    display: block;
}
.contact-form-section .selection {
    height: 50px;
    color: red;
    display: block;
}

.contact-form-section
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__display {
    color: black !important;
}

.faq-section .select2-container {
    width: 200px !important;
    font-size: 14px;
}

.select2-container--default .select2-results__option--selected,
.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable:hover {
    background-color: var(--color-sec);
}
.select2-container--default .select2-results__option--selected,
.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    font-size: 14px;
}

/* login page  */
.form-floating input::placeholder {
    font-size: 16px;
}
.form-floating input {
    font-size: 16px;
}
.form-floating label {
    font-size: 20px;
}
/* .needs-validation button:hover {
    background-color: var(--color-sec);
    color: white !important;
} */

/* otp  */
.swal2-popup.swal2-toast .swal2-title {
    font-size: 18px;
}

/* for title */
.service-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* for login page. */
.login-page {
    width: 100%;
    background-color: #ac1f5a70;
    padding: 0 0 60px 0;
}

@media (min-width: 992px) {
    .login-page {
        overflow: hidden;
        padding: 100px 0;
        height: 100vh;
    }
}

.login-logo {
    width: 100px;
    margin: auto;
}

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

.login-section {
    background-color: white;
    padding: 40px 50px;
    border-radius: 30px;
    border: 5px solid var(--color-brand);
}

/* .login-section button:hover {
    transform: translateY(-5px);
    transition: 0.3s all ease-in-out;
    box-shadow: 0 5px 10px var(--color-brand);
} */

.login-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/logo/aen-logo.png") center/cover no-repeat;
    opacity: 0.3;
    z-index: -1;
    width: 60%;
    margin: auto;
    height: 60%;
}

.login-text h2,
.login-page .title {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px) {
    .login-text h2 {
        display: none;
    }
    .login-page .title {
        display: block;
    }
    .shape1 {
        display: none;
    }
}

@media (min-width: 992px) {
    .login-page .title {
        display: none;
    }
}

.login-section .shape1 {
    position: absolute;
    width: 105px;
    height: 260px;
    border: 15px solid var(--color-sec);
    top: 136px;
    right: -40px;
    z-index: -1;
}

.login-section .shape2 {
    position: absolute;
    width: 120px;
    height: 120px;
    background-color: var(--color-brand);
    border-radius: 100%;
    top: -40px;
    left: -40px;
    z-index: -1;
}

.about-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000; /* fallback */
    background-color: rgba(0, 0, 0, 0.5); /* 60% transparency */
    /* alternative: background-color: #00000099; */
}
.banner-content {
    position: relative;
    z-index: 1;
}
.about-description {
    text-align: justify;
    font-size: 16px;
}
.about-image {
    height: 350px;
    width: 100%;
    /* margin: auto; */
    margin-bottom: 20px;
}

.blog-size {
    height: 185px;
}
.blog-size img {
    border-radius: 10px 10px 0 0;
}
.package-box {
    background-color: white;
    padding-bottom: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    min-height: 350px;
    border-bottom: 3px solid var(--color-brand);
}
@media (min-width:1200px) {
    .package-box {
         min-height: 335px;
    }

}
.package-box:hover{
    box-shadow: 0 5px 10px gray;
    transition: 0.3s all ease-in-out;
}
.package-box .blog-content {
    padding: 10px 20px;
}

.price-box .arrow {
    color: var(--color-brand);
    font-size: 18px;
}
.apply {
    background-color: white;
    padding: 20px 30px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.apply .content-title {
    font-size: 22px;
    color: var(--color-brand);
}
.content-details {
    margin: 20px 0;
    padding: 20px;
    background-color: #e8f1f8ab;
    border-radius: 20px;
}
.contact-wrapper.apply .content-title {
    border-bottom: 1px solid var(--color-brand);
}
.mission-vision {
    padding: 40px 0;
}
.mission {
    padding: 20px 40px;
    box-shadow: 0 5px 10px gray;
    border-radius: 20px;
    margin: 30px 0;
}
.mission:hover {
    transform: translateY(-2px);
    transition: 0.3s all ease-in-out;
}
.button-title {
    background-color: var(--color-brand);
    color: white;
    border-radius: 10px;
    padding: 5px 20px;
    margin: 0;
    display: inline-block;
    font-size: 16px;
    margin-bottom: 20px;
}
.provider-description {
    font-size: 16px;
}
   #similar-packages {
                background: white;
                border-radius: 20px;
                border-top: 3px solid #B72825;
                border-bottom: 3px solid #B72825;
                padding: 10px;

            }
  #similar-packages  .popular-item{
    border: 1px solid rgba(128, 128, 128, 0.233);
}
@media (min-width: 992px) {
    #similar-packages {
        position: sticky;
        top: 20px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: #c1c1c1 #f1f1f1;
        padding-right: 8px;
    }

    #similar-packages::-webkit-scrollbar {
        width: 6px;
    }

    #similar-packages::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    #similar-packages::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 10px;
    }

    #similar-packages::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
}

/* Mobile View - Remove Sticky Behavior */
@media (max-width: 991.98px) {
    #similar-packages {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}
.dropdown-menu {
    position: static !important ;
    top: 50px !important;
    left: 10px !important;
    /* inset: auto !important; */
    background-color: transparent;
}
.dropdown-menu-end {
    transform: translate3d(0px, 0px, 0px) !important;
    width: 100%;
}


@media (min-width: 992px) {
    .dropdown-menu {
            position: absolute !important ;
        top: 14px !important;
        left: -15px !important;
            background-color: white;
    }
    .dropdown-menu-end {
    transform:translate3d(0px, 44px, 0px) !important;

}
}

.menu a.active {
  color: white  !important;
  /* background: #777777; */
  border-radius: 5px;
  border-bottom: 2px solid var(--color-sec)
}
@media (min-width:768px) {
    .menu a.active {
  color: var(--color-brand) !important;
  /* background: #777777; */
  border-radius: 5px;
  border-bottom: 2px solid var(--color-brand);
}
}

/* forms  */
.form-pages label, .form-pages input{
    font-size: 14px;
}
.warning-text{
    font-size: 14px;
}
.password-addon{
    top: -5px;
    right: 3px;
    width: 40px;
}
.btn-primary{
    outline: none;
    border: 1px solid var(--color-brand);
}
.btn-primary.focus, .btn-primary:focus, .btn-primary:hover {
    background-color: #eb4441d2 !important;
        border: 1px solid var(--color-brand) !important;
        box-shadow: none !important;
}
.form-pages  .card-body{
    padding: 20px 14px;


}
.form-pages{
   margin: 10px 0;
       display: flex;
    align-content: stretch;
    height: auto;
}
@media (min-width:768px) {
    .form-pages{
        height: 640px;
    }
}
.form-pages{
   margin: 10px 0;
       display: flex;
    align-content: stretch;
}
 .register-image{
    display: none;
 }
@media (min-width:768px) {
    .form-pages{
   margin: 60px 0;
}
    .register-image{
        display: block;
    /* min-height: 600px; */
    /* max-height: 620px; */
    height: 100%;
    width: 100%;

}
.register-image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;

}

}

.comment-section{

margin-top: 30px;
 background: white; 
 border-radius: 12px; 
 padding: 40px; 
 box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);

}
.comment-section .title{
    color: #1a1a1a; 
    font-size: 24px; 
    font-weight: 600; 
    margin-bottom: 30px;
   
}
.comment-section .rating i{
    cursor: pointer;
    color: #DA3832;

}
