.rd-navbar-nav>li.rd-nav-item>a.rd-nav-link
{
    width: 70px;
    height: 40px;
}

/* .rd-navbar-nav>li>a:focus,
.rd-navbar-nav>li>a:hover,
.rd-navbar-nav>li.active>a,
.rd-navbar-nav>li.active>a:focus, */
.rd-navbar-nav>li.rd-nav-item>a.rd-nav-link:hover {
    text-decoration: none;

    color: #1a5b69 !important;
}
.banner-head{
    color: #fff;
    margin-top: 70px;
    line-height: 50px;
    font-family: sans-serif;
    font-size: 35px;
    font-weight: 600;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.box-shadow {
    box-shadow: 0px 0px 20px #dcdade;
    padding: 20px;
    border-radius: 5px;
    height: 320px;
}
.card-content{
    margin: 0;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 20px;
    font-family: "ClanPro-Book", sans-serif;
    font-weight: 300;
    color: #000;
    letter-spacing: 0.1px;
 }
 .icon img {
    width: 60px;
 }
 .icon-img{
    height: 50px;
 }
 .full-img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 95%;
    background-size: cover;
    background-position: center center;
}
.footer{
    background-color: #183398;
}
.wallet .amount span.txt {
    margin-right: 1.5em;
    padding-top: 9px;
}
.table-custom th {
    padding: 16px 24px;
}


#wrapper.toggled #sidebar-wrapper {
    /* width: 220px; */
    width: 20% !important;
}
.custom-btn-bg-color{
    background-color: #2a4696 !important;
}
/* .breadcrumbs-custom-main{
    background: #2a4696 url(../images/bg-image-1.jpg) center;
    background-size: cover;
} */
.team-img{
    height: 300;
}
.testimonial-img{
    height: 70;
}
.bg {
    /* The image used */
    background-image: url("https://cdn.pixabay.com/photo/2016/08/03/09/04/universe-1566161_960_720.jpg");
    /* Full height */
    height: 50%;
    opacity: 0.7;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .login-register-padding{
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .help{
    text-align: center;
    /* padding-left: 30%; */
  }
  @media (min-width: 992px) {
    .help{
        padding-left: 30%;
    }
}

.form-inline-1 .form-in-process{
    background: white !important;
}

/* home page */
.afh { position: relative; overflow: hidden; }

.afh__bg { position: absolute; inset: 0; z-index: 0; }
.afh__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.afh__container { position: relative; z-index: 1; }
.afh__main-row  { padding: 2.8rem 0 0; min-height: 280px; }

.afh__col-content { display: flex; flex-direction: column; padding-bottom: 2rem; }

.afh__kicker {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(238,7,21); color: #fff;
    font-size: 0.73rem; font-weight: 600; padding: 5px 12px;
    border-radius: 50px; border: 1px solid rgba(238,7,21); white-space: nowrap;
}

.afh__title {
    font-size: clamp(1.8rem,3.4vw,2.65rem);
    font-weight: 800; line-height: 1.08; margin: 0 0 0.65rem; letter-spacing: -0.5px;
}
.afh__accent { color: #EE0715; }

.afh__subtitle {
    font-size: clamp(0.87rem,1.6vw,0.99rem); line-height: 1.75; margin: 0 0 1.1rem; font-weight: 500;
}

.afh__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 1.3rem; }
.afh__tag {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(238,7,21,0.13);
    font-size: 0.73rem; font-weight: 600; padding: 5px 12px;
    border-radius: 50px; border: 1px solid rgba(238,7,21,0.22); white-space: nowrap;
}

.afh__download { display: flex; flex-direction: column; gap: 0.5rem; }
.afh__download-text { display: block; font-size: 0.86rem; font-weight: 500}
.afh__store-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.afh__store-btn { display: inline-block; border-radius: 9px; overflow: hidden; line-height: 0; transition: opacity .15s,transform .14s; }
.afh__store-btn:hover { opacity: 0.82; transform: translateY(-2px); }
.afh__store-btn img { height: 38px; width: auto; display: block; border-radius: 9px; }

.hero-pro-visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-pro-visual::before {
    content: "";
    width: 360px; height: 360px; border-radius: 50%;
    position: absolute;
    background: linear-gradient(135deg,rgba(7,31,58,0.22),rgba(238,7,21,0.2));
    filter: blur(40px);
    z-index: 0;
}

.afh__ring {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
    animation: ringPulse 4s ease-in-out infinite;
}
.afh__ring--outer { width: 420px; height: 420px; border: 1.5px solid rgba(255,193,7,0.15); }
.afh__ring--inner { width: 310px; height: 310px; border: 1.5px solid rgba(255,255,255,0.09); animation-delay: 0.8s; }

@keyframes ringPulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.05); opacity: 0.45; }
}

.phone {
    position: absolute;
    width: 280px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 46px rgba(12,35,44,0.32), 0 0 0 1px rgba(255,255,255,0.07);
    z-index: 2;
}
.phone img { width: 100%; display: block; }

.phone-main {
    right: 10%; top: 10%;
    width: 300px;
    transform: rotate(3deg);
    animation: floatMain 5.8s ease-in-out infinite;
}
@keyframes floatMain {
    0%,100% { transform: rotate(3deg) translateY(0); }
    50%      { transform: rotate(3deg) translateY(-14px); }
}

.afh__float {
    position: absolute; z-index: 4;
    display: flex; align-items: center; gap: 8px;
    background: rgba(7,31,58,0.13);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(7,31,58,0.22);
    border-radius: 40px; padding: 7px 14px 7px 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18); white-space: nowrap;
}
.afh__float-icon { font-size: 18px; line-height: 1; }
.afh__float div  { display: flex; flex-direction: column; line-height: 1.2; }
.afh__float strong { font-size: 0.82rem; font-weight: 700; }
.afh__float span   { font-size: 0.74rem; font-weight: 500;}

.afh__float--rating   { top: 18%; left: 2%; animation: floatBadge 6s ease-in-out infinite; }
.afh__float--delivery { bottom: 22%; left: 0%; animation: floatBadge 6s ease-in-out infinite 1.5s; }

@keyframes floatBadge {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

.afh__palm {
    position: absolute; bottom: 0; z-index: 0;
    width: 62px; height: 115px; background: rgba(0,0,0,0.13);
    clip-path: polygon(48% 100%,52% 100%,54% 55%,80% 20%,68% 22%,55% 48%,60% 30%,100% 5%,85% 12%,58% 42%,62% 20%,90% 0%,72% 6%,56% 38%,52% 0%,50% 35%,44% 38%,28% 6%,48% 0%,42% 20%,15% 12%,38% 30%,42% 42%,15% 5%,40% 20%,45% 48%,32% 22%,20% 20%,46% 55%);
    pointer-events: none;
}
.afh__palm--l { left: 12px;  transform: scaleX(-1); opacity: 0.55; }
.afh__palm--r { right: 44%;  opacity: 0.38; }

/* ============== NETWORK SECTION - FIXED & RESPONSIVE ============== */
.network-section {
    padding: 90px 0 70px;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.network-title {
    font-size: clamp(1.8rem, 3.4vw, 2.65rem);
    font-weight: 800;
    color: #1f1f1f;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.network-card {
    background: #fff;
    border: 2.5px solid #222;
    border-radius: 20px;
    padding: 28px 24px 140px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 420px;
}

.network-card:hover {
    transform: translateY(-8px);
    border-color: #EE0715;
    box-shadow: 0 20px 40px rgba(238, 7, 21, 0.1);
}

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    line-height: 1.15;
}

.card-desc {
    font-size: 1.02rem;
    line-height: 1.55;
    color: #444;
    margin-bottom: 20px;
}

.see-more {
    color: #EE0715;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 35px;
}

.card-visual {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* height: 135px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 15px 20px; */
}

.card-visual img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Background Colors */
.yellow-bg { background: linear-gradient(135deg, #FFEB3B, #FFB300); }
.green-bg  { background: linear-gradient(135deg, #4CAF50, #2E7D32); }
.team-bg   { background: linear-gradient(135deg, #FF4081, #9C27B0, #3F51B5); }

/* ============== PLACE YOUR ORDER SECTION ============== */
.order-section {
    padding: 100px 0 80px;
    background: #071F3A;
    color: white;
}

.order-main {
    max-width: 1100px;
    margin: auto;
}

.order-card {
    background: #d48f8f;
    border-radius: 28px;
    padding: 50px 40px 60px;
    text-align: center;
    position: relative;
}

.order-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
}

.order-illustration {
    position: relative;
    height: 280px;
}

.carousel-img {
    position: absolute;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    opacity: 0;
    transition: 0.5s;
}

.carousel-img.active {
    opacity: 1;
}

.order-steps {
    position: relative;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.progress-line {
    position: absolute;
    top: 50%;
    width: 60%;
    height: 4px;
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%);
    z-index: 0;
}

.order-illustration {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img {
    position: absolute;
    max-width: 80%;
    max-height: 260px;
    object-fit: contain;

    opacity: 0;
    transition: 0.5s ease;
}

.carousel-img.active {
    opacity: 1;
    position: relative;
}


.order-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.step-dot {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: 0.3s;
}

.step-dot.active {
    background: #111;
    color: white;
    transform: scale(1.1);
}

.order-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #111;
    background: transparent;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.nav-btn:hover {
    background: #111;
    color: white;
}

.bottom-content {
    max-width: 1100px;
    margin: 90px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.left-text h2 {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.right-text p {
    font-size: 1.02rem;
    line-height: 1.7;
}

.features-slider { overflow: hidden; background: #e4727a; padding: 15px 0; }
.features-track { display: flex; gap: 15px; width: max-content; animation: scrollLeft 25s linear infinite; }
.feature { background: rgba(255,255,255,0.1); color: white; padding: 10px 18px; border-radius: 30px; white-space: nowrap; font-size: 14px; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ultra-slider-section { perspective: 1500px; overflow: hidden; padding: 100px 0; position: relative; }
.ultra-slider-section::before { content: ""; position: absolute; top: 50%; left: 50%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.08), transparent); transform: translate(-50%, -50%); }
.ultra-track { display: flex; gap: 60px; transform-style: preserve-3d; transition: transform 0.5s ease-in-out; }
.ultra-phone { width: 220px; height: 420px; border-radius: 42px; padding: 10px; background: linear-gradient(145deg, #EE0715, #071F3A); flex-shrink: 0; transition: all 0.4s ease; transform: scale(0.7) rotateY(25deg); opacity: 0.3; filter: blur(2px); }
.ultra-phone.active { transform: scale(1.15) rotateY(0deg); opacity: 1; filter: blur(0); z-index: 5; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.ultra-phone.near { transform: scale(0.9); opacity: 0.7; filter: blur(0.5px); }
.ultra-phone img { width: 100%; height: 100%; border-radius: 30px; object-fit: cover; }
.ultra-phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 80px; height: 12px; background: #fff; border-radius: 12px; }
.ultra-phone:hover { transform: scale(1.2) !important; }

.restaurants-map-section { padding: 80px 20px; background: #f5f5f5; }
.restaurants-map-container{max-width:1200px;margin:auto;display:grid;grid-template-columns:1.2fr .8fr;border-radius:25px;overflow:hidden;border:3px solid #EE0715;background:#fff;}
.map-left { position: relative; background: #e9e2c7; }
#map{width:100%;height:520px;border-right:3px solid #EE0715;}
.map-tag{position:absolute;padding:6px 14px;border-radius:10px;font-weight:700;font-size:13px;border:2px solid #EE0715;color:#fff;white-space:nowrap;transform:translate(-50%,-50%);box-shadow:0 4px 10px rgba(0,0,0,.15);transition:.3s;cursor:pointer;}
.map-tag:hover { transform: translate(-50%, -50%) scale(1.08); }
.map-tag.purple { background: #EE0715; }
.map-tag.green { background: #34d399; }
.map-tag.orange { background: #fb923c; }
.map-right{background:#EE0715;padding:20px;overflow-y:auto;max-height:520px;}
.search-box{width:100%;padding:10px;border-radius:10px;border:none;margin-bottom:15px;}
.restaurant-list{max-height:420px;overflow-y:auto;}
.restaurant:hover { transform: translateY(-2px); }
.restaurant{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:12px;border-radius:12px;margin-bottom:10px;cursor:pointer;transition:.3s;}
.restaurant.active{border:2px solid #EE0715;background:#ecfdf5;}
.restaurant button{border:none;color:#fff;width:35px;height:35px;border-radius:50%;}
.map-info{position:absolute;bottom:15px;left:15px;background:#fff;padding:10px 15px;border-radius:20px;font-size:13px;box-shadow:0 3px 10px rgba(0,0,0,.2);}

@media (max-width: 768px) {
    .order-card { padding: 40px 25px 55px; }
    .order-illustration { height: 240px; }
    .carousel-img { max-height: 220px; }
    .order-nav { bottom: 15px; left: 50%; transform: translateX(-50%); }
    .order-nav { display: none;}
    .bottom-content { grid-template-columns: 1fr; text-align: center; gap: 35px; }
    .restaurants-map-container { grid-template-columns: 1fr; }
    #map { height: 320px; }
}

@media (max-width: 480px) {
    .network-section {  padding: 70px 0 50px; }
    .network-card { padding: 24px 20px 120px; border-radius: 16px; }
    .card-desc { font-size: 1rem; }
}

@media (max-width: 767px) {
    .afh__main-row    { padding: 1.8rem 0 0; }
    .afh__col-content { text-align: center; }
    .afh__tags        { justify-content: center; }
    .afh__store-btns  { justify-content: center; }
    .hero-pro-visual  { height: 360px; margin-top: 1rem; }
    .phone-main       { width: 200px; right: auto; top: 10%; }
    .afh__ring--outer { width: 280px; height: 280px; }
    .afh__ring--inner { width: 200px; height: 200px; }
    .afh__float--rating   { top: 5%;  left: 4%; }
    .afh__float--delivery { bottom: 8%; left: 4%; }
    .network-grid { grid-template-columns: 1fr; gap: 22px; }
    .network-card { min-height: 380px; padding: 26px 22px 130px; }
    .card-title { font-size: 1.55rem; }
    /* .card-visual { height: 125px; } */
}