/* ==================== MOBILE + TABLET ONLY (max 1024px) Header==================== */
@media only screen and (max-width: 1024px) {

  .utsoraa-header-mobile {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    padding: 14px 20px;
    background: #111;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    height: 72px; /* bilkul same height */
    perspective: 1200px; /* 3D flip */
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
  }

  /* Menu-open pe radius change mat kar – same structure rahe */
  /* .utsoraa-header-mobile.menu-open { border-radius: 0; } ← yeh hata diya */

  .flip-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
  }

  .flip-front, .flip-back {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    backface-visibility: hidden;
    border-bottom-left-radius: 24px; /* same rounded structure */
    border-bottom-right-radius: 24px;
    background: #111;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  }

  .flip-front {
    z-index: 2;
  }

  .flip-back {
    transform: rotateY(180deg);
  }

  .menu-open .flip-container {
    transform: rotateY(180deg);
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
  }

  .header-logo-mobile {
    order: 1;
  }

  .header-logo-mobile img {
    height: 42px;
    width: auto;
  }

  .menu-trigger {
    order: 2;
  }

  .menu-trigger span,
  .close-trigger span {
    color: #d4b996;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }


  
  
  /* Back pe horizontal slider (same height mein fit) */
  .mobile-nav-menu {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .mobile-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0 20px 0 0; /* slider padding */
    display: flex;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    height: 100%;
    scrollbar-width: none; /* hide scrollbar */
  }

  .mobile-nav-menu ul::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav-menu li {
    padding: 0 25px 0 0;
    display: flex;
    align-items: center;
  }

  .mobile-nav-menu li:last-child {
    padding-right: 0px;
  }

  .mobile-nav-menu a {
    color: #d4b996;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
  }



  .close-li {
    margin-right: -40px; /* close ko end pe push */
  }

  .utsoraa-header {
    display: none !important;
  }


  
}

/* Desktop pe mobile header hide */
@media only screen and (min-width: 1025px) {
  .utsoraa-header-mobile {
    display: none;
  }
}

/* ==================== MOBILE + TABLET ONLY (max 1024px) Header End==================== */
/* Mobile + Tablet pe cursor gayab */
@media only screen and (max-width: 1024px),
       only screen and (pointer: coarse) {
    #magic-cursor,
    #ball {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
}

/* ==================== MOBILE + TABLET ONLY (max 1024px) Events Made Effortless.==================== */

@media only screen and (max-width: 1024px) {
  /* Purana desktop section chhupa do */
  .al-about-pg-area {
    display: none !important;
  }

  .al-about-pg-area-mobile {
    padding-top: 30px !important;     /* ← YE BADHA DIYA (120px bhi try kar sakta hai agar 140 zyada lage) */
    padding-bottom: 100px !important;
    
  }

  /* Naya mobile section dikhana */
  .al-about-p-relative.al-about-pg-area-mobile {
    display: block !important;
    padding: 90px 0px 100px !important;
    background: #000;
  }

  .al-about-pg-area-mobile .tp-portfolio-revealing-slide-heading {
    font-size: 40px !important;
    line-height: 1.15 !important;
    padding: 0 20px;
  }

    .al-about-pg-area-mobile .about-mobile-para {
    max-width: 720px !important;          /* ← heading se thoda wide, better reading */
    margin: -20px auto 60px auto !important;  /* ← -20px = thoda upar shift */
    padding: 0 20px !important;           /* ← heading ke barabar left-right space */
    text-align: justify !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
 
  }

  .about-mobile-slider-wrapper {
    padding: 0 20px;
  }

  .about-mobile-img {
      max-width: 92% !important;
      height: auto !important;
      border-radius: 24px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
      display: block;
      margin: 0 auto 30px;
    }

  .small-spin-ring {
      width: 80px;
      position: absolute;
      top: 30px;
      right: 30px;
      animation: spin 20s linear infinite;
      opacity: 0.6;
    }

    .about-slider-prev,
    .about-slider-next {
      width: 48px;
      height: 48px;
      background: rgba(255, 40px 0, 0.3);
     color:#111;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-size: 28px;
      cursor: pointer;
      z-index: 10;
      user-select: none;
      transition: 0.4s ease;
    }

  .about-slider-prev { position: absolute; left: 20px; top: 45%; }
  .about-slider-next { position: absolute; right: 20px; top: 45%; }

  .about-slider-pagination {
      text-align: center;
      margin-top: 20px;
    }
  .about-slider-pagination .swiper-pagination-bullet {
      width: 12px;
      height: 12px;
      background: #d4b996;
      opacity: 0.4;
      border-radius: 50%;
      margin: 0 6px;
      transition: 0.4s;
    }
  .about-slider-pagination .swiper-pagination-bullet-active {
      opacity: 0.8;
      width: 14px;
      height: 14px;
      background: #d4b996;
      box-shadow: 0 0 20px #d4b996;
    }

  /* Button ko thoda aur premium bana diya */
  .al-about-pg-area-mobile .tp-btn-ai {
      background: #d4b996;
      color: #fff !important;
      padding: 18px 48px !important;
      font-size: 18px !important;
      border-radius: 60px;
      box-shadow: 0 10px 30px rgba(212, 185, 150, 0.4);
      transition: all 0.4s;
    }

    .al-about-mobile .tp-btn-ai:hover {
        transform: scale(1.05);
      }

      
}

@media only screen and (max-width: 1024px) {
  /* Mobile pe naya section dikhao */
  .al-about-pg-area-mobile {
    display: block !important;
  }
  
  /* Purana desktop section chhupao */
  .al-about-pg-area {
    display: none !important;
  }
}

@media only screen and (min-width: 1025px) {
  /* Desktop pe sirf purana section dikhe */
  .al-about-pg-area {
    display: block !important;
  }
  
  /* Naya mobile section chhup jaye */
  .al-about-pg-area-mobile {
    display: none !important;
  }
}

/* ==================== MOBILE + TABLET ONLY (max 1024px) Events Made Effortless. end==================== */

/* ==================== MOBILE + TABLET ONLY (max 1024px) Text editor ==================== */
@media only screen and (max-width: 1024px) {

  /* Section thoda upar shift */
  .al-text-slider-seo-area {
    padding-top: 20px !important;
    padding-bottom: 30px !important;
    margin-top: -60px;
  }

  /* CURVE WAVES KO BILKUL RAKHA, BAS HEIGHT KAM KAR DI */
  .al-text-slider-seo-wave-shape-1 svg,
  .al-text-slider-seo-wave-shape-2 svg {
  filter: invert(1);
  }

  /* TEXT KO PERFECTLY CENTER KAR DIYA (upar-neeche + left-right) */
  .al-text-slider-seo-wrap {
    min-height: 80px !important;      /* fixed height diya taaki center perfect lage */
    display: flex !important;
    align-items: center !important;   /* ← vertical center */
    justify-content: center !important;
    overflow: hidden;
  }

  /* MARQUEE SUPER FAST KAR DIYA – ab ekdum maza aayega */
  .al-text-slider-seo-active .swiper-wrapper {
    display: flex !important;
    animation: superfast-marquee 20s linear infinite !important;  /* ← 12 second loop = tez */
  }

  @keyframes superfast-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Hover pe pause (premium feel) */
  .al-text-slider-seo-wrap:hover .swiper-wrapper {
    animation-play-state: paused !important;
  }

  /* Text ko thoda bada aur bold kiya taaki tez speed mein bhi clear dikhe */
  .al-text-slider-seo-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    margin: 0 1px !important;   /* items ke beech gap */
    white-space: nowrap;
  }
}

/* ==================== MOBILE + TABLET ONLY (max 1024px) Text editor  end==================== */
/* ==================== MOBILE + TABLET ONLY (max 1024px) build by vision==================== */


/* DESKTOP PE MOBILE LAYOUT CHHUPAO */
.mobile-founder-layout {
    display: none !important;
}

/* MOBILE + TABLET PE DIKHAO – YE PAKKA CHALEGA */
@media only screen and (max-width: 1024px) {
    
    /* YE SABSE PEHLE AANA CHAHIYE */
    .mobile-founder-layout {
        display: block !important;
    }

    /* Desktop wala content chhupao */
    .utsoraa-hero-section .col-lg-6 {
        display: none !important;
    }

    .utsoraa-hero-section.tp-team-details-area {
        padding-top: 0 !important;
    }

    /* Ab alignment – bilkul perfect */
   
    .mobile-founder-layout .founder-mobile-img,
    .mobile-founder-layout .al-about-pg-content {
        margin-left: -75px !important;
        margin-right: -20px !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        width: calc(140% + 40px) !important;
        max-width: none !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .mobile-founder-layout h2 {
        font-size: 48px !important;
        line-height: 1.2 !important;
        margin-bottom: 50px !important;
        width:110% !important;
       
    }

    .mobile-founder-layout .founder-mobile-img,
    .mobile-founder-layout .al-about-pg-content {
        margin-bottom: 60px !important;
    }

.mobile-founder-layout .tp-btn-ai {
        background: #d4b996;
        color: #fff !important;
        padding: 18px 48px !important;           /* ← padding kam kiya taaki text center rahe */
        font-size: 18px !important;
        border-radius: 60px !important;
        box-shadow: 0 10px 30px rgba(212, 185, 150, 0.4);
        transition: all 0.4s;
        display: inline-block !important;       /* ← ye zaroori hai */
        text-align: center !important;
        line-height: 1 !important;
        margin-top: -80px !important;
        margin-bottom: 100px !important;
        width: auto !important;                 /* ← extra width hata diya */
    }

    .mobile-founder-layout .tp-btn-ai:hover {
        transform: scale(1.05);
    }

    .mobile-heading{
      margin-top:40px !important;
    }
    
}


/* ==================== MOBILE + TABLET ONLY (max 1024px) build by vision end==================== */

/* ==================== MOBILE + TABLET ONLY (max 1024px) the smarter way start==================== */


/* Mobile pe interactive pointers */
@media only screen and (max-width: 1024px) {

    /* Desktop wala paragraph mobile pe chhupa do */
    .desktop-text {
        display: none !important;
    }

    /* Mobile wala paragraph dikhao + perfect center alignment */
    .mobile-event-text {
        margin-top: 30px;
    }

    .event-hero-text-mobile {
        font-size: 21px !important;
        line-height: 1.6 !important;
        color: #fff !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        font-weight: 400;
    }

    /* Heading bhi perfect center */
    .event-hero-content h2 {
        text-align: center !important;
        display: block !important;
        font-size: 42px !important;
        margin-bottom: 20px !important;
        text-align:justify;
    }

    /* Button perfect center + thoda tight */
    .event-hero-content .tp-header-btn {
        display: block !important;
        text-align: center !important;
        margin-top: 40px !important;
    }

    .event-hero-content .tp-btn-ai {
        padding: 18px 60px !important;
        font-size: 18px !important;
        border-radius: 60px !important;
        background: #d4b996 !important;
        color: #fff !important;
        box-shadow: 0 10px 30px rgba(212, 185, 150, 0.4);
        display: inline-block !important;
    }
.mobile-para {
        padding: 0 15px;            /* ← pehle 9px tha, ab 20px – zyada breathing space */
        text-align: center;
    }
    
    .mobile-para p {
        max-width: 100%;            /* ← ab full wide (sirf 20px side gap rahega) */
        margin: 20px auto 0 auto;   /* ← top 20px gap */
        font-size: 18px;
        line-height: 1.6;
        font-weight: 400;
    }

    .tp-header-btn .tp-btn-ai{
      padding: 18px 48px !important;   
    }

.mobile-explore-link {
    position: relative;
    display: inline-block;
    padding: 16px 36px;
    border-radius: 100px;
    width: 220px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff !important;                    /* ← starting se white text */
    background: transparent !important;        /* ← starting se transparent bg */
    border: 2px solid transparent;
    z-index: 1;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.5s ease;
    background-clip: padding-box;
}

/* Gradient border (starting se dikhega) */
.mobile-explore-link::after {
    content: "";
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    z-index: -1;
    border-radius: 101px;
    background-image: linear-gradient(90deg, #A70C7E 0%, #A70C7E 50%, #021352 100%);
    background-size: 200% 200%;
    animation: sliderTitle3 4s ease-in-out infinite;
}

/* Hover pe inner background gradient ban jaye */
.mobile-explore-link::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #A70C7E, #021352);
    background-size: 200% 200%;
    border-radius: 100px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mobile-explore-link:hover::before {
    opacity: 1;
}

.mobile-explore-link:hover {
    color: #fff !important;
    border-color: transparent;
}
  
}