@media (max-width: 1199px) {
    .container {
        max-width: 90%;
    }
}


@media (max-width: 992px) {
    .notice-bar {
        background-size: 269% 250%;
    }

    .main-header.sticky .nav-menu ul.nav li a {
        color: #000;
    }

    .sticky .menu-toggle {
        color: #ffffff;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
        color: #071d37;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        gap: 10px;
        height: calc(100vh + 60px);
        width: 280px;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transition: 0.4s ease;
    }

    .nav-menu ul.nav {
        gap: 0;
    }

    .nav-menu ul.nav li a.nav-link {
        border-bottom: 1px solid #ccc;
        padding: 10px 0;
    }

    .nav-menu ul.nav li a.nav-link i {
        position: absolute;
        right: 0;
        top: 12px;
    }

    .nav-menu ul.nav .nav-item {
        width: 100%;
        display: block;
    }

    .mega-col .mega-item:hover {
        background: unset;
    }

    .contact_info {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .service-drop,
    .subject-drop {
        width: 100%;
    }

    .mega-dropdown {
        position: static;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transform: translateY(10px) !important;
        transition: max-height 0.35s ease;
    }

    .contact_info a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .nav-link i {
        transition: transform 0.3s ease;
    }

    .nav-link.active i {
        transform: rotate(180deg);
    }

    .mega-col .mega-item {
        padding: 0 0 7px 0 !important;
    }

    .close-menu,
    .banner-customer__img-mobile {
        display: block;
    }

    .mega-inner.grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 10px;

    }

    .mega-item .icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        font-size: 15px;
    }

    .mega-col .mega-item {
        align-items: center;
    }

    .mega-item .icon.blue {
        background: none;
    }

    .mega-item .icon.green {
        background: none;
    }

    .mega-item .icon.purple {
        background: none;
    }

    .mega-item .icon.orange {
        background: none;
    }

    .mega-item .icon.red {
        background: none;
    }

    .mega-item .icon.teal {
        background: none;
    }

    .counter_wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-customer__info {
        padding: 60px 30px 0;
    }

    .banner-customer__img-left,
    .mega-title,
    .banner-customer__img-right,
    .mega-item p,
    .help-strip {
        display: none;
    }


    .banner-customer__img-mobile-picture {
        height: 100px;
        max-width: unset;
        width: auto;
    }

    .banner-customer__wrap {
        border-radius: 16px;
        margin: 0 auto;
        max-width: 704px;
        width: 100%;
        flex-direction: column;
        overflow: hidden;
    }

    .service-slider-cards .slick-dots {
        left: 40%;
    }
    section.cta-banner img {
    display: none;
}
section.cta-banner .container 
 {
    padding: 44px;
}
}

@media(max-width:768px) {

    .hide-mobile,
    .process-section .line::before {
        display: none;
    }

    .hide-desktop {
        display: block;
    }

    .seo-columns {
        grid-template-columns: 1fr;
    }

    .seo-arrow {
        right: -50px;
    }

    .process-box .circle {
        height: 120px;
        width: 120px;
    }

    .process-box .circle i {
        font-size: 32px;
    }

    .whatsapp-content {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .accordion-btn {
        color: #B1F520;
    }

    .accordion-content a {
        color: #ccc;
    }

    .bottom-inner {
        flex-direction: column;
        gap: 10px;
    }

    .bottom-inner .copyright {
        order: 3;
        text-align: center;
        font-size: 14px;
    }

    .referencing-scroll {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
    }

    .referencing-scroll .ref-card {
        width: 240px;
        flex-shrink: 0;
    }

    .referencing-scroll::-webkit-scrollbar,
    .subject-card-wrap::-webkit-scrollbar {
        height: 6px;
    }

    .referencing-scroll::-webkit-scrollbar-thumb,
    .subject-card-wrap::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }

    .subject-card-wrap {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 0 0 10px 10px;
    }

    .subject_card {
        width: 250px;
        flex-shrink: 0;
    }

    .subject-card:hover {
        transform: translateY(0);
        box-shadow: 0px 12px 35px rgba(122, 90, 244, 0.15);
    }

    .about-hero img,
    .writers-section img {
        width: 100%;
    }

    .price-single.d-flex {
        display: inline-block !important;
    }
}

@media (max-width: 576px) {
    .plagarism-free span img {
        width: 66px;
        height: 66px;
    }

    .logo-img {
        width: 150px;
        height: auto;
    }

    .main-header.sticky {
        padding: 5px 10px;
    }

    h2,
    .section-title {
        font-size: 30px;
    }

    .container {
        max-width: 100%;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero {
        padding-top: 160px;
        padding-bottom: 50px;
    }

    .banner-customer__info,
    .banner-customer__subtitle {
        width: 100%;
    }

    .banner-customer__buttons {
        flex-direction: column;
        width: 100%;
        margin-bottom: 0;
    }

    .expert_card .detail-container {
        height: auto;
    }

    /* Dots Wrapper */
    .expert_wrap .owl-dots {
        display: none;
    }


    .hero_review_wrap {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px;
    }

    .hero_review_wrap .r_card img {
        width: 28px;
    }

    .hero_review_wrap .r_card span {
        font-size: 14px;
        line-height: 16px;
    }

    .plagarism-free {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .process-box .circle {
        height: 80px;
        width: 80px;
    }

    .process-box .circle i {
        font-size: 24px;
    }

    .counter {
        font-size: 30px;
    }

    .counter-text {
        font-size: 12px;
    }

    .counter-icon {
        font-size: 40px;
    }

    .seo-arrow {
        display: none;
    }

    .banner-customer__buttons .order-btn {
        width: auto;
        height: auto;
    }

    .banner-customer__info {
        padding: 0px 30px 0;
    }

    .bottom-footer {
        padding-top: 0;
    }

    .stats_card {
        padding: 25px;
    }

    .stats_card .card_title {
        font-size: 28px;
        margin-bottom: 0;
    }
    section.pricing-area .pricing {
        border: 1px solid #ddd;
    }
    .essay-writing .content_navigatation_area .content_area .left, .essay-writing .content_navigatation_area .content_area .right {
    width: 100%;
    color: #2A2A2A;
}
.essay-writing .content_navigatation_area .content_area {
    display: block;
}
.value_box figcaption {
    font-size: 20px;
}
.dubble-btn a{
    width: 100%;
}
.service-slider-cards .slick-dots {
        left: 0;
    }
    
    .assignment-inner-services .container {
    flex-direction: column-reverse;
    gap: 30px;
}
.assignment-inner-services .right-content-box
 {
    width: 100%;
}
.assignment-inner-services .left-sidebar {
    width: 100%;
    position: relative;
    top: 0;
}
}

@media (max-width: 480px) {

    p,
    tr td,
    .order-btn,
    .btn-outline-secondary,
    .faq-answer,
    .service-section .nav-link,
    .service-list li,
    .banner-customer__subtitle {
        font-size: 14px !important;
    }

    .slider-controls i {
        font-size: 30px;
    }

    h2,
    .section-title,
    .banner-customer__title {
        font-size: 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-usp {
        grid-template-columns: repeat(2, 1fr);
    }

    .seo-arrow {
        right: -31px;
    }

    .top-arrow {
        top: 5px;
    }

    .bottom-arrow {
        bottom: 5px;
    }

    .service-section .nav-tabs {
        flex-wrap: nowrap;
        align-items: flex-end;
    }

    .gurantee_card .title {
        font-size: 20px;
        line-height: 20px;
    }

    .gurantee_card .card-image img {
        width: 70px;
    }

    .counter-icon {
        font-size: 30px;
    }

    .counter-box h3,
    .counter {
        font-size: 20px;
    }

    .counter-text {
        font-size: 10px;
    }

    .faq-item {
        margin-bottom: 5px;
    }

    .accordion-btn {
        font-size: 14px;
    }

    .whatsapp-section {
        padding: 8px 0;
    }

    .hire-tutor-section .tutor-card h3 {
        font-size: 19px;
        margin: 0;
    }

    .banner-customer__subtitle {
        margin: 0 auto 25px;
    }

    .banner-customer__buttons {
        margin: 0 auto 30px;
    }

    .seo-section {
        padding: 50px 0;
    }
    .order-steps .sample-process .right-head h3 {
    font-size: 18px;
}
.order-steps .sample-process .right-head .stepno {
    font-size: 16px;
}
.cards-slider-section {
    padding-top: 60px;
}

}

@media (max-width: 768px) {
    .footer-brand-mark {
        font-size: 28px;
        letter-spacing: 2px;
        margin: 20px 0;
        padding-bottom: 15px;
    }
}

@media (max-width: 420px) {
    .counter_wrap {
        grid-template-columns: 1fr;
    }

    .counter_wrap .counter-box {
        width: 310px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
  .order-btn {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .whatsapp {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}
/* Breadcrumb single-line scroll */
.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  font-size:12px;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
}

.breadcrumb::-webkit-scrollbar {
  display: none;               /* Chrome, Safari */
}

/* Breadcrumb items inline */
.breadcrumb-item {
  flex-shrink: 0;
}
/* ================================
   MOBILE ICON RESIZE
================================== */
@media (max-width: 768px) {

    /* Reduce large FontAwesome icons */
    .subject-icon i,
    .deliverable-icon i,
    .benefit-icon i {
        font-size: 1.8rem !important;   /* Smaller than fa-3x */
    }

    .step-icon i {
        font-size: 1.5rem !important;
    }

    /* Reduce step number size */
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}


/* ================================
   HORIZONTAL SCROLL FOR CARDS
   (Mobile Only)
================================== */

@media (max-width: 768px) {

    /* Subject Cards Scroll */
    .subject-card,
    .deliverable-card,
    .benefit-card,
    .testimonial-card,
    .step-card {
        min-width: 260px;
        flex: 0 0 auto;
    }

    /* Target rows containing cards */
    .row.g-4,
    .row.g-3 {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 15px;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    /* Smooth snap scroll */
    .row.g-4 > *,
    .row.g-3 > * {
        scroll-snap-align: start;
    }

    /* Hide Scrollbar */
    .row.g-4::-webkit-scrollbar,
    .row.g-3::-webkit-scrollbar {
        display: none;
    }

    .row.g-4,
    .row.g-3 {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

/* ======================================
   MOBILE OPTIMIZATION (≤ 768px)
====================================== */
@media (max-width: 768px) {

    /* ----------------------------------
       Smaller Buttons on Mobile
    ---------------------------------- */
    .order-btn,
    .whatsapp {
        padding: 8px 18px !important;
        font-size: 14px !important;
        border-radius: 25px;
    }

    .order-btn i,
    .whatsapp i {
        font-size: 14px;
    }

    /* ----------------------------------
       Smaller Icons on Mobile
    ---------------------------------- */
    .subject-icon i,
    .deliverable-icon i,
    .benefit-icon i {
        font-size: 1.6rem !important;
    }

    .step-icon i {
        font-size: 1.4rem !important;
    }

    .step-number {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    /* ----------------------------------
       Horizontal Scroll Layout
    ---------------------------------- */
    .row.g-4,
    .row.g-3 {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        padding-left: 10px;
        padding-right: 40px; /* creates right side peek */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    /* Each card smaller width
       So next card is partially visible */
    .row.g-4 > *,
    .row.g-3 > * {
        flex: 0 0 85%;   /* show 15% of next card */
        max-width: 85%;
        scroll-snap-align: start;
    }

    /* Hide scrollbar */
    .row.g-4::-webkit-scrollbar,
    .row.g-3::-webkit-scrollbar {
        display: none;
    }

    .row.g-4,
    .row.g-3 {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    /* Smooth premium card look */
    .subject-card,
    .deliverable-card,
    .benefit-card,
    .testimonial-card,
    .step-card {
        border-radius: 14px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }
}
/* =========================================
   FIX CTA BUTTON WIDTH ISSUE (MOBILE)
========================================= */
@media (max-width: 768px) {

    /* Override Bootstrap large button */
    .order-btn.btn-lg {
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        font-size: 14px !important;
        width: auto !important;
        max-width: 90%;
    }

    /* Prevent stretching */
    .text-center .order-btn {
        display: inline-block !important;
        margin: 0 auto;
    }

}
/* =====================================
   TUTOR SECTION – MOBILE FIX ONLY
===================================== */

@media (max-width: 768px) {

    /* Stack image & text vertically */
    .tutor-card {
        flex-direction: column !important;
        text-align: center;
    }

    /* Remove side margin on image */
    .tutor-img {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    /* Reduce image size */
    .tutor-img img {
        max-width: 80px !important;
    }

    /* Reduce padding slightly */
    .tutor-card {
        padding: 20px !important;
    }

    /* Smaller heading */
    .tutor-card h3 {
        font-size: 18px;
    }

    /* Smaller paragraph */
    .tutor-card p {
        font-size: 14px;
    }

    /* Button full width for better UX */
    .tutor-card .order-btn {
        width: 100%;
        justify-content: center;
        padding: 10px !important;
        font-size: 14px !important;
    }

}
.mobile-fa-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 10px 12px;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  z-index: 9998;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.95);
}

.mobile-fa-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #666;
  font-size: 11px;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
  flex: 1;
}

.mobile-fa-item i {
  font-size: 22px;
  margin-bottom: 3px;
}

.mobile-fa-item.active {
  color: #1270d3;
}

/* WhatsApp item specific styling */
.mobile-fa-item.whatsapp-item {
  color: #666; /* Keep same as other items */
}

/* Red counter badge */
.live-badge {
  position: absolute;
  top: -2px;
  right: 20%;
  background: #ff4757;
  color: white;
  border-radius: 50px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
  border: 2px solid white;
  animation: pulse 1.5s infinite;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Add safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-fa-nav {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

/* Hide on desktop */
@media (min-width: 768px) {
  .mobile-fa-nav {
    display: none;
  }
}
/* Floating WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Main Button */
.whatsapp-button {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 3px solid white;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Live Counter Badge */
.live-counter {
    position: absolute;
    bottom: 70px;
    /* right: -5px; */
    background: #ff4757;
    color: white;
    border-radius: 50px;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.5);
    border: 2px solid white;
    animation: counterPulse 1.5s infinite;
    white-space: nowrap;
}

@keyframes counterPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Hide on mobile devices */
@media (max-width: 768px) {
    .whatsapp-widget {
        display: none;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .whatsapp-widget {
        display: none;
    }
}

    .mobile-fa-item i {
  font-size: 18px;
  font-weight: 400;     /* makes icon lighter */
  opacity: 0.75;
}
@media (max-width: 768px) {

  .mobile-fa-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #101828;
    display: flex;
    justify-content: space-around;
    padding: 5px 26px 5px;
    border-top: 1px solid #e5e7eb;
    z-index: 998;
  }

  .mobile-fa-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #9ca3af;
    font-size: 11px;
    height: 50px;
    font-weight: 500;
    transition: all 0.25s ease;
    width: 50px;
    border-radius: 8px;
    gap: 0;
  }

  .mobile-fa-item i {
    font-size: 18px;
    opacity: 0.8;           
  color:#b1f520;
      
  }

  .mobile-fa-item.active {
    color: #b1f520;
    background: #ffffff0d;
  }

  .mobile-fa-item.active i {
    opacity: 1;
  }

  .mobile-fa-item:hover {
    color: #2883dc;
  }
}

/* DESKTOP HIDE */
@media (min-width: 769px) {
  .mobile-fa-nav {
    display: none;
  }
}
@media (max-width: 768px) {
  body {
    padding-bottom: 55px; 
  }
}
