/* =========================================================
   GLOBAL
========================================================= */

body{
    margin:0;
    font-family:'Inter',sans-serif;
    background:#f8fafc;
    color:#0f172a;
    width: 100%;
}



/* =========================================================
   CONTAINER
========================================================= */

/* =========================================================
   HEADER FIXED
========================================================= */

/* =========================================================
   HEADER CONTAINER
========================================================= */

.container{
    width:82%;
    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:30px;
}

/* =========================================================
   HEADER
========================================================= */

.main-header,
.top-header{
    background:#fff;

    border-bottom:1px solid #e2e8f0;

    padding:18px 0;
   

    position:sticky;
    top:0;
    z-index:999;
}
.mobile-toggle{

    display:none;

    font-size:30px;

    cursor:pointer;

    margin-left:auto;
}

/* =========================================================
   LOGO
========================================================= */

.header-left{
    flex-shrink:0;
}

.logo a,
.logo{
    font-size:30px;
    font-weight:700;

    color:#3b82f6;

    text-decoration:none;

    white-space:nowrap;
}

/* =========================================================
   CENTER AREA
========================================================= */

.header-center{
    flex:1;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:40px;
}

/* =========================================================
   NAVBAR
========================================================= */

.main-nav{
    display:flex;
    align-items:center;

    gap:30px;
}

.main-nav a{
    text-decoration:none;

    color:#334155;

    font-weight:500;

    transition:.3s;

    white-space:nowrap;
}

.main-nav a:hover{
    color:#3b82f6;
}

/* =========================================================
   SEARCH BOX
========================================================= */

.search-box{
    width:100%;
    max-width:320px;
    flex-shrink:0;
}

.search-wrapper{
    position:relative;
    width:100%;
}

#live-search{
    width:100%;
    padding:14px 20px;
    border-radius:50px;
    border:1px solid #e2e8f0;
    background:#f1f5f9;
    outline:none;
    font-size:15px;
    box-sizing:border-box;
}

/* =========================================================
   SEARCH RESULTS
========================================================= */

#search-results{
    position:absolute;

    top:60px;
    left:0;

    width:100%;

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    z-index:9999;

    box-shadow:0 10px 20px rgba(0,0,0,0.08);
}

.live-search-item{
    display:flex;
    align-items:center;

    gap:15px;

    padding:15px;

    text-decoration:none;

    color:#0f172a;

    border-bottom:1px solid #e2e8f0;
}

.live-search-item img{
    width:50px;
    height:50px;

    border-radius:12px;
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:992px){

    .container{

        width:92%;

        display:flex;
        align-items:center;
        justify-content:space-between;
    }

    /* SHOW MOBILE TOGGLE */

    .mobile-toggle{
        display:block;
    }

    /* HIDE DESKTOP NAV */

    .header-center{
        display:none;
    }

}
/* =========================================================
   HERO SLIDER
========================================================= */

/* ===== MODERN HERO SLIDER DESIGN ===== */
/* Classes unchanged to prevent JS conflicts */
/* Adds: Blur + Shine background | Vertical card layout (image on top) | Modern styling */

.hero-slider {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
}

.heroSwiper {
    width: 90%;
    margin: auto;
    overflow: visible;
    padding: 20px 0 40px;
    
    overflow: hidden;
}

.heroSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

/* ----- CARD (HERO-BOX) - VERTICAL LAYOUT + BLUR/SHINE BACKGROUND ----- */
.hero-box {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 35px 45px;
    border-radius: 48px;
    
    
    /* Vertical card layout: image on top, content below */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;



    
    /* Glassmorphic base with blur-friendly opacity */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(168, 165, 249, 0.821);

}


/* Extra shiny sweep effect (moving light) */


/* Bring content above background effects */
.hero-left, .hero-right {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ----- IMAGE SECTION (ON TOP - CARD STYLE) ----- */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;  /* Forces image to appear on top */
    margin-bottom: 8px;
}

.hero-right img {
    width: 100%;
    max-width: 150px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255,255,255,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-box:hover .hero-right img {
    transform: scale(1.02);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.3);
}

/* ----- TEXT CONTENT (BELOW IMAGE) ----- */
.hero-left {
    text-align: center;
    width: 100%;
}

.featured-tag {
    display: inline-block;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    color: #1e40af;
    padding: 8px 22px;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    backdrop-filter: blur(100px);
    border: 1px solid rgba(59,130,246,0.2);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.hero-left h1 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 400;
    line-height: o.5;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.hero-left p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 2px;
    max-width: 90%;
    font-weight: 450;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(105deg, #2563eb, #3b82f6);
    margin-top: 18px;
    color: white;
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-btn:hover {
    background: linear-gradient(105deg, #1d4ed8, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 16px 28px -10px rgba(37, 99, 235, 0.5);
}

/* ----- CARD HOVER INTERACTION (subtle lift) ----- */
.hero-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -16px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59,130,246,0.3);
    border-color: rgba(19, 27, 253, 0.892);
}

/* Animations for shiny background effect */
@keyframes shineSweep {
    0% {
        left: -100%;
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    40% {
        left: 120%;
        opacity: 0;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}

@keyframes subtleBlurShift {
    0% {
        background: radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.35), rgba(168, 85, 247, 0.15) 60%, rgba(255, 255, 255, 0) 90%);
        transform: scale(1.2) rotate(0deg);
        opacity: 0.6;
    }
    100% {
        background: radial-gradient(circle at 70% 65%, rgba(99, 102, 241, 0.4), rgba(236, 72, 153, 0.2) 55%, rgba(255, 255, 255, 0) 85%);
        transform: scale(1.3) rotate(2deg);
        opacity: 0.75;
    }
}

/* ----- Responsive & Alignment Tweaks ----- */
@media screen and (max-width: 992px) {
    .hero-box {
        padding: 30px 25px 40px;
        border-radius: 40px;
        gap: 24px;
    }
    
    .hero-right img {
        max-width: 280px;
        border-radius: 28px;
    }
    
    .hero-left p {
        max-width: 100%;
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 12px 28px;
    }
}

@media screen and (max-width: 640px) {
    .hero-slider {
        padding: 30px 0;
    }
    
    .hero-box {
        padding: 24px 20px 32px;
        border-radius: 32px;
        gap: 20px;
    }
    
    .hero-right img {
        max-width: 220px;
        border-radius: 24px;
    }
    
    .featured-tag {
        font-size: 0.75rem;
        padding: 6px 16px;
        margin-bottom: 16px;
    }
    
    .hero-left h1 {
        margin-bottom: 12px;
    }
    
    .hero-left p {
        margin-bottom: 24px;
        font-size: 0.95rem;
    }
    
    .hero-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

/* Fix smooth alignment for all slide content */
.hero-box, .hero-left, .hero-right {
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Ensure cards are consistent height in swiper */
.swiper-slide {
    height: auto !important;
}

/* Additional micro-interaction: tag */
.featured-tag:hover {
    background: linear-gradient(135deg, #c7dafe, #b9d0f5);
    transform: translateY(-1px);
}

/* Text selection readability */
.hero-left h1::selection,
.hero-left p::selection {
    background: #3b82f620;
    color: #0f172a;
}
/* =========================================================
   SECTION TITLE
========================================================= */

.section-title{

    width:90%;
    margin:auto;
    /* margin-bottom:35px; */

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.section-title h2{
    font-size:38px;
    margin:20px;
}

.more-btn{

    text-decoration:none;

    background:#3b82f6;
    color:#fff;

    padding:10px 20px;

    border-radius:40px;

    font-size:14px;
    font-weight:600;

    transition:.3s;
}

.more-btn:hover{

    transform:translateY(-2px);

    opacity:.9;
}

/* =========================================================
   FILTER BUTTONS
========================================================= */

.filter-buttons{
    width:90%;
    margin:auto;
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:40px;
}

.filter-btn{
    padding:12px 22px;
    border-radius:40px;
    border:1px solid #e2e8f0;
    background:#fff;
    cursor:pointer;
    font-weight:700;
    transition:.3s;
}

.filter-btn.active,
.filter-btn:hover{
    background:#3b82f6;
    color:#fff;
}
/* =========================================================
   Featured app page
========================================================= */


/* =========================
   APPS GRID
========================= */

/* FEATURED PAGE GRID */



/* CARD */


/* IMAGE */

.featured-page .app-card img{

    width:60px;
    height:60px;

    border-radius:18px;

    flex-shrink:0;
}

/* CONTENT */

.featured-page .app-card-content{

    flex:1;

    display:flex;
    flex-direction:column;

    align-items:flex-start;

    gap:6px;
}

/* TITLE */

.featured-page .app-card h3{

    min-height:auto;

    margin:0;

    font-size:17px;

    text-align:left;

    justify-content:flex-start;
}

/* VERSION */

.featured-page .version{

    margin:0;

    font-size:13px;
}

/* BADGE */

.featured-page .app-badge{

    margin-bottom:0;

    padding:5px 10px;

    font-size:10px;
}

/* BUTTON */

.featured-page .card-btn{

    margin-top:8px;

    padding:8px 14px;

    font-size:12px;
}


/* =========================================================
   APPS GRID
========================================================= */

/* =========================================================
   APP CARD
========================================================= */

.app-card{

    background:#fff;

    border-radius:28px;

    padding:20px;

    display:flex;
    flex-direction:column;

    align-items:center;

    justify-content:flex-start;

    text-align:center;

    transition:.3s;

    border:1px solid #edf2f7;

    gap:10px;
}

.app-card:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(0,0,0,0.06);
}

.app-card img{

    width:72px;
    height:72px;

    object-fit:cover;

    border-radius:22px;

    margin-bottom:0px;
}

.app-card h3{

    font-size:20px;

    

   
}

.version{

    color:#64748b;

    font-size:14px;

    margin:0;
}

.card-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:10px 18px;

    border-radius:40px;

    background:#3b82f6;

    color:#fff;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

    margin-top:auto;
}

/* =========================================================
   BADGES
========================================================= */

.app-badge{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    padding:6px 14px;

    border-radius:30px;

    font-size:11px;

    font-weight:700;

    color:#fff;

    margin:0;
}
.app-badge.mod{
    background:#22c55e;
}

.app-badge.safe{
    background:#3b82f6;
}

.app-badge.verified{
    background:#f59e0b;
}

.app-badge.premium{
    background:#a855f7;
}

/* =========================================================
   CATEGORY SECTION
========================================================= */

.categories-section{

    width:100%;
    max-width:1400px;

    margin:auto;
    padding-bottom: 60px;

  
}


.categories-grid{

       display:flex;
    flex-wrap:wrap;
    gap:15px;
    justify-content:center;
    margin-top: 40px;
}

.category-card{

     background:#fff;
    border:1px solid #e2e8f0;

    padding: 0px 30px;

    border-radius:16px;

    text-align:center;
    text-decoration:none;

    color:#0f172a;

    font-size:14px;
    font-weight:600;

    transition:.3s;

    display:flex;
    align-items:center;
    justify-content:center;

    min-height:70px;

    flex:0 0 auto;



}

.category-card:hover{

    background:#3b82f6;

    color:#fff;

    transform:translateY(-3px);
}
@media(max-width:768px){

    .categories-grid{

        grid-template-columns:
        repeat(auto-fit,minmax(80px,1fr));

        gap:10px;
         width:90%;
         margin: auto;
    }

    .category-card{

        padding:10px 20px;

        font-size:12px;

        border-radius:12px;

       

        overflow:hidden;

        text-overflow:ellipsis;

        white-space:nowrap;
    }

}
/* =========================================================
   SINGLE PAGE REDESIGN
========================================================= */

.single-layout{
    width:90%;
    max-width:1400px;
    margin:40px auto;
    display:grid;
    grid-template-columns:minmax(0,2.2fr) 340px;
    gap:30px;
    align-items:start;
}

/* =========================================================
   TOP APP CARD
========================================================= */


.app-top{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:30px;

    padding:35px;

    display:grid;
    grid-template-columns:180px 1fr;
    gap:30px;

    align-items:center;
}

.app-image{
    width:180px;
    height:180px;
}

.app-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:30px;
    display:block;
}

.app-info h1{
    font-size:42px;
    margin:0 0 15px;
    line-height:1.2;
}
.app-meta{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* make developer look like badge (important) */
.developer-name{
    background: #0b40bb;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

/* optional: soft difference from badge */
.developer-name{
    opacity: 0.9;
}



/* STATS */
.top-stats{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.dev-badge{
    background: #0f172a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dev-badge span{
    color: #94a3b8;
    font-weight: 500;
}

.top-stat{
    background:#f8fafc;
    padding:14px 20px;
    border-radius:18px;
    min-width:120px;
}

.top-stat strong{
    display:block;
    font-size:18px;
    margin-bottom:4px;
}

.top-stat span{
    font-size:14px;
    color:#64748b;
}

/* BUTTONS */

.app-buttons{
    display:flex;
    gap:15px;
}

.download-btn,
.share-btn{
    height:55px;
    border-radius:16px;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    font-size:20px;
}

.download-btn{
    flex:1;
    background:#22c55e;
    color:#fff;
    max-width: 200px;
}

.share-btn{
    width:70px;
    background:#3b82f6;
    color:#fff;
}
/* =========================================================
   SINGLE PAGE RESPONSIVE
========================================================= */
/* =========================
   SINGLE APP LAYOUT
========================= */

.single-layout{
    width:90%;
    max-width:1400px;
    margin:40px auto;
    display:grid;
    grid-template-columns:minmax(0,2.2fr) 340px;
    gap:30px;
    align-items:start;
}

.single-app{
    width:100%;
    min-width:0;
}

/* =========================
   TOP CARD
========================= */

.app-top{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:30px;
    padding:35px;
    display:grid;
    grid-template-columns:180px 1fr;
    gap:30px;
    align-items:center;
}

.app-image{
    width:180px;
    height:180px;
}

.app-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:30px;
    display:block;
}

.app-info h1{
    font-size:42px;
    margin:0 0 15px;
    line-height:1.2;
    word-break:break-word;
}

/* =========================
   SCREENSHOTS
========================= */

.screenshots{
    width:100%;
    margin-top:50px;
    overflow:hidden;
}

.mySwiper{
    width:100%;
    overflow:hidden;
    padding:10px 0 30px;
}

.mySwiper .swiper-slide{
    display:flex;
    justify-content:center;
}

.mySwiper .swiper-slide img{
    width:100%;
    max-width:240px;
    height:auto;
    max-height:500px;
    object-fit:cover;
    border-radius:25px;
}

/* =========================
   DESCRIPTION & RELATED
========================= */

.description,
.related-section{
    background:#fff;
    border-radius:30px;
    padding:30px;
    margin-top:30px;
    border:1px solid #e2e8f0;
}

.description h2{
    margin-top:0;
    margin-bottom:20px;
    font-size:28px;
}

/* =========================
   APPS GRID
========================= */

.apps-grid{
    width:90%;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin: auto;
}



.app-card img{
    max-width:100%;
    height:auto;
}
.related-section .apps-grid{
    width:100%;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.related-section .app-card{
    background:#fff;
    border-radius:28px;
    padding:20px;
    text-align:center;
    border:1px solid #edf2f7;
}

.related-section .app-card img{
    max-width:100%;
    height:auto;
}



/* =========================
   COMMENTS
========================= */

.comments-area{
    background:#fff;
    padding:25px;
    border-radius:25px;
    margin-top:30px;
    border:1px solid #e2e8f0;

}

.comment-form textarea{
    width:100%;
    min-height:150px;
    padding:15px;
    border:1px solid #ddd;
    border-radius:12px;
    box-sizing:border-box;
}

.comment-form input[type="submit"]{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:12px 25px;
    border-radius:10px;
    cursor:pointer;
}

/* =========================
   TABLET
========================= */

@media (max-width:992px){

    .single-layout{
        grid-template-columns:1fr;
    }
 
    .app-sidebar{
        display:none;
    }

    .app-top{
        grid-template-columns:140px 1fr;
    
    }

    .app-image{
        width:140px;
        height:140px;
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    .single-layout{
        width:95%;
        gap:20px;
    }
    .top-stats{
    justify-content: center;
}
    .app-meta{
    justify-content: center;
}
.download-btn{
    flex:1;
    background:#22c55e;
    color:#fff;
    max-width: 320px;
    padding-top: 15px;
    padding-bottom: 15px;
    justify-content: center;
}



    .app-top{
        grid-template-columns:1fr;
        text-align:center;
        padding:20px;
      
    }

    .app-image{
        width:120px;
        height:120px;
        margin:auto;
    }

    .app-info h1{
        font-size:28px;
    }

    .description,
    .related-section,
    .comments-area{
        padding:20px;
        border-radius:20px;
    }
    .comments-area
{
align-items: center;
justify-content: center;
}
    

    .apps-grid{
        grid-template-columns:1fr;
    }

    .mySwiper .swiper-slide img{
        max-width:180px;
    }

}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width:480px){

    .app-info h1{
        font-size:24px;
    }
    .app-meta{
    justify-content: center;
}


    .mySwiper .swiper-slide img{
        max-width:160px;
    }
    .apps-grid{
        grid-template-columns:2fr;
    }

}

/* =========================================================
   STATS
========================================================= */

.top-stats{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-bottom:30px;
    margin-top:30px;
}

.top-stat{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    padding:16px 22px;
    border-radius:20px;
    min-width:110px;
}

.top-stat strong{
    display:block;
    font-size:20px;
    margin-bottom:5px;
}

.top-stat span{
    color:#64748b;
    font-size:14px;
}

/* =========================================================
   CONTENT BOXES
========================================================= */

.description,
.related-section{
    background:#fff;
    border-radius:30px;
    padding:30px;
    margin-top:30px;
    border:1px solid #e2e8f0;
}
.description h2{
    margin-top:0;
    margin-bottom:20px;
    font-size:28px;
}




/* =========================================================
   SIDEBAR APPS
========================================================= */

.sidebar-app{
    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:20px;
}

.sidebar-app:last-child{
    margin-bottom:0;
}

.sidebar-app img{
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:18px;
}

.sidebar-app h4{
    margin:0 0 6px;
    font-size:16px;
}

.sidebar-app span{
    color:#64748b;
    font-size:14px;
}

/* =========================================================
   RELATED APPS
========================================================= */

.related-section .apps-grid{
    width:100%;
    padding-bottom:0;
}


/* =========================================================
   SCREENSHOTS
========================================================= */

.screenshots{
    margin-top:50px;
    overflow:hidden;
}

.mySwiper{
    width:100%;
    padding:10px 0 30px;
}



/* =========================================================
   FOOTER
========================================================= */

footer{
    background:#fff;
    border-top:1px solid #e2e8f0;
    padding:20px;
    text-align:center;
    color:#64748b;
}




/* =========================================================
   MOBILE SIDEBAR
========================================================= */

.mobile-sidebar{
    position:fixed;
    top:0;
    left:-100%;
    width:75%;
    height:100vh;
    background:#111827;
    padding:30px 20px;
    transition:.3s;
    z-index:99999;
}

.mobile-sidebar.active{
    left:0;
}

.mobile-nav ul{
    list-style:none;
    margin:0;
    padding:0;
}

.mobile-nav li{
    position:relative;
}

.mobile-nav > ul > li{
    margin-bottom:12px;
}

.mobile-nav a{
    display:block;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    transition:.3s;
}

.mobile-nav a:hover{
    background:rgba(255,255,255,.08);
}

/* SUB MENU */

.mobile-nav .sub-menu{
    display:none;
    padding-left:15px;
    margin-top:2px;
}

.mobile-nav li:hover > .sub-menu{
    display:block;
}

.mobile-nav .sub-menu a{
    font-size:14px;
    color:#cbd5e1;
}
@media (max-width:768px){

    .mySwiper .swiper-slide{
        width:160px !important;
    }

    .mySwiper .swiper-slide img{
        width:160px;
        height:auto;
        max-height:320px;
    }
    

}


/* =========================================================
   TABLET
========================================================= *

/* =========================================================
   MOBILE
========================================================= */



/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:520px){


    .hero-left h1{
        font-size:28px;
    }

    .hero-left p{
        font-size:15px;
    }

    .app-buttons{
        flex-direction:column;
    }

    .download-btn,
    .share-btn{
        width:100%;
    }

}

/* =========================================================
   BLOG SECTION
========================================================= */

.blog-grid{

    width:90%;
    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(400px,1fr));

    gap:25px;

    padding-bottom:60px;
}

/* BLOG CARD */

.blog-card{

    background:#fff;

    border-radius:28px;

    overflow:hidden;

    border:1px solid #e2e8f0;

    transition:.3s;
}

.blog-card:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(0,0,0,0.08);
}

/* IMAGE */

.blog-card img{

    width:100%;
    height:220px;

    object-fit:cover;

    display:block;
}

/* CONTENT */

.blog-content{

    padding:22px;
}

/* DATE */

.blog-date{

    font-size:13px;

    color:#64748b;
}

/* TITLE */

.blog-content h3{

    margin:12px 0;

    font-size:22px;

    line-height:1.4;
}

.blog-content h3 a{

    text-decoration:none;

    color:#0f172a;
}

/* TEXT */

.blog-content p{

    color:#475569;

    line-height:1.7;

    font-size:15px;

    margin-bottom:20px;
}

/* BUTTON */

.blog-btn{

    display:inline-block;

    padding:10px 20px;

    border-radius:40px;

    background:#3b82f6;

    color:#fff;

    text-decoration:none;

    font-size:14px;

    font-weight:600;
}

/* MOBILE */

@media(max-width:768px){

    .blog-grid{

        grid-template-columns:1fr;
    }

}
/* =========================================================
   BLOG SINGLE PAGE
========================================================= */

.blog-single{
    padding:50px 0;
}

.blog-container{
    width:90%;
    max-width:900px;
    margin:auto;
}

.blog-featured-image img{
    width:100%;
    height:auto;
    display:block;
    border-radius:30px;
}

.blog-featured-image img{
   
    object-fit:cover;
    display:block;
}

.blog-content-box{
    background:#fff;
    padding:40px;
    border-radius:30px;
    margin-top:30px;
    border:1px solid #e2e8f0;
}

.blog-date{
    color:#64748b;
    font-size:14px;
    margin-bottom:15px;
}

.blog-content-box h1{
    font-size:42px;
    line-height:1.3;
    margin-bottom:25px;
}

.blog-content{
    font-size:17px;
    line-height:1.9;
    color:#334155;
}

.blog-content img{
    max-width:100%;
    height:auto;
    border-radius:20px;
}

/* =========================================================
   RELATED BLOGS
========================================================= */

.related-blogs{
    width:90%;
    margin:60px auto;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.blog-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    border:1px solid #e2e8f0;
    transition:.3s;
}

.blog-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 30px rgba(0,0,0,0.06);
}

.blog-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.blog-card-content{
    padding:20px;
}

.blog-card h3{
    font-size:20px;
    line-height:1.5;
    margin-bottom:20px;
}

/* MOBILE */

@media(max-width:768px){

    .blog-grid{
        grid-template-columns:1fr;
    }

    .blog-content-box{
        padding:25px;
    }

    .blog-content-box h1{
        font-size:30px;
    }

}
html,
body{
    overflow-x:hidden;
}

.app-sidebar{
    position:sticky;
    top:100px;
}
@media (max-width:992px){

    .app-sidebar{
        position:static;
        top:auto;
    }

}

/* COMMENTS SECTION */
/* =========================================================
   COMMENTS AREA (User Reviews)
   Fully responsive, modern, matches app card style
========================================================= */

/* =========================================================
   COMMENTS AREA - COMPLETE FIX (Responsive + Beautiful)
========================================================= */

.comments-area {
    width: 84%;
    margin: 45px auto 0 auto;
    background: #fff;
    border: 1px solid #eef2ff;
    border-radius: 32px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
    
    width: auto;
  
}


/* عنوان */
.comments-title {
    font-size: 28px;
    margin-bottom: 25px;
    color: #0f172a;
    border-left: 5px solid #2563eb;
    padding-left: 20px;
}

/* کامنٹس لسٹ */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.comment {
    background: #fafcff;
    border: 1px solid #eef2ff;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 20px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.comment-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author .fn {
    font-weight: 700;
    font-size: 18px;
    color: #0f172a;
}

.comment-meta {
    font-size: 13px;
    color: #64748b;
    margin-left: auto;
}

.comment-content p {
    color: #334155;
    line-height: 1.6;
    margin: 10px 0 0;
}

/* ریپلائی بٹن */
.reply {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    background: #3b82f6;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-top: 12px;
    transition: 0.2s;
}

.reply:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* ---- ریٹنگ سلیکٹ ---- */
.rating-select {
    background: #f8fafc;
    border-radius: 28px;
    padding: 15px 22px;
    margin: 20px 0 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    border: 1px solid #e2e8f0;
}

.rating-select label {
    font-weight: 700;
    font-size: 15px;
    background: #fff;
    padding: 5px 15px;
    border-radius: 40px;
    border: 1px solid #cbd5e1;
}

#rating-stars {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 40px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #f59e0b;
    letter-spacing: 2px;
    cursor: pointer;
}

/* ---- COMMENT FORM (اہم ترین حصہ) ---- */
.comment-respond {
    margin-top: 20px;
}

.comment-reply-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0f172a;
}

/* گرڈ لے آؤٹ: نام اور ای میل ساتھ بڑی سکرین پر */
.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comment-form p {
    margin: 0;
}

.comment-form-author,
.comment-form-email {
    grid-column: span 1;
}

.comment-form-comment {
    grid-column: span 2;
}

.comment-form-rating {
    grid-column: span 2;
}

.comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1e293b;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.comment-form select {
    width: 84%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    font-size: 15px;
    background: #fff;
    transition: 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus,
.comment-form select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* سبمٹ بٹن */
.form-submit {
    grid-column: span 2;
    text-align: right;
    margin-top: 10px;
}

.submit-btn,
.comment-form input[type="submit"] {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}
.submit-btn
{
    font-size: 20px;
    font-weight: 500px;
    background-color: blue;
}
#submit
{
    background-color: #054ef8;
    color: white;
    font-size: 20px;
    font-weight: 400px;
    padding: 10px 20px 10px 20px ;
    border-radius: 40px;
    justify-content: left;
}

.submit-btn:hover,
.comment-form input[type="submit"]:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* لوگڈ ان یوزر */
.logged-in-as {
    font-size: 14px;
    background: #f1f5f9;
    padding: 8px 15px;
    border-radius: 40px;
    display: inline-block;
    margin-bottom: 15px;
}

.required {
    color: #ef4444;
}

/* =========================================================
   موبائل پر جوابدہ (Responsive)
========================================================= */
@media (max-width: 768px) {
    .comments-area {
        width: 70%;
        padding: 20px;
    }
    .comment-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .comment-form-author,
    .comment-form-email,
    .comment-form-comment,
    .comment-form-rating,
    .form-submit {
        grid-column: span 1;
    }
    .form-submit {
        text-align: center;
    }
    .submit-btn,
    .comment-form input[type="submit"] {
        width: 100%;
        text-align: center;
    }
    .rating-select {
        flex-direction: column;
        align-items: stretch;
    }
    .rating-select label {
        width: fit-content;
        margin: 0 auto;
    }
    .comment-author {
        flex-direction: column;
        align-items: flex-start;
    }
    .comment-meta {
        margin-left: 0;
    }
 
}

@media (max-width: 480px) {
    .comments-area {
        width: 84%;
        padding: 16px;
    }
    .comments-title {
        font-size: 22px;
    }
    .comment-author .fn {
        font-size: 16px;
    }
}
.footer-menu{
    margin-bottom:20px;
}

.footer-menu ul{
    display:flex;
    justify-content:center;
    gap:20px;
    list-style:none;
    padding:0;
    margin:0;
    flex-wrap:wrap;
}

.footer-menu a{
    text-decoration:none;
}

.theme-credit{
    margin-top:10px;
    font-size:14px;
}






/* ====================================
   WORDPRESS MENU FIX
==================================== */

.main-nav ul{
    display:flex;
    align-items:center;
    gap:30px;

    list-style:none;
    margin:0;
    padding:0;
}

.main-nav li{
    position:relative;
}

.main-nav a{
    display:block;

    text-decoration:none;
    color:#334155;

    font-weight:600;
    font-size:15px;

    padding:10px 0;

    transition:.3s;
}

.main-nav a:hover{
    color:#3b82f6;
}
.main-nav .sub-menu{

    position:absolute;

    top:100%;
    left:0;

    min-width:220px;

    background:#fff;

    border-radius:16px;

    padding:10px 0;

    list-style:none;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    opacity:0;
    visibility:hidden;

    transform:translateY(10px);

    transition:.3s;

    z-index:999;
}

.main-nav li:hover > .sub-menu{

    opacity:1;
    visibility:visible;

    transform:translateY(0);
}

.main-nav .sub-menu li{
    width:100%;
}

.main-nav .sub-menu a{

    padding:12px 20px;

    display:block;
}
/* =========================
   MODERN FOOTER
========================= */

.site-footer{
    background:#0f172a;
    color:#fff;
    margin-top:40px;
}

.footer-top{
    width:100%;
    max-width:1300px;
    margin:auto;

    padding:20px 0;

    display:flex;
    justify-content:space-between;
    gap:40px;
    
}

.footer-about{
    max-width:350px;
}

.footer-about img{
    max-height:70px;
    width:auto;
    margin-bottom:20px;
}

.footer-about p{
    color:#cbd5e1;
    line-height:1.8;
    text-align: left;
}

.footer-links h3{
    margin-bottom:20px;
    color:#fff;
}

.footer-links ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#cbd5e1;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#3b82f6;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);

    text-align:center;

    padding:10px;
}

.footer-bottom p{
    margin:8px 0;
}

.theme-credit a{
    color:#3b82f6;
    text-decoration:none;
}


/* MOBILE */

@media(max-width:768px){

    .footer-top{
        flex-direction:column;
        text-align:left;
    }

    .footer-about{
        max-width:100%;
    }
}

.footer-links ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links ul li{
    position:relative;
}

.footer-links ul li a{
    color:#cbd5e1;
    text-decoration:none;
    padding:8px 0;
    display:block;
}

/* SUB MENU HIDE */

.footer-links .sub-menu{
    display:none;
    position:absolute;
    left:80%;
    top:0;

    background:#1e293b;

    min-width:140px;

    padding:10px;

    border-radius:10px;

    z-index:999;
}

/* HOVER PAR SHOW */

.footer-links li:hover > .sub-menu{
    display:block;
}

.footer-links .sub-menu li a{
    padding:8px 12px;
    white-space:nowrap;
}










/* Footer Menu Dropdown */

.footer-links ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    position:relative;
}

.footer-links a{
    display:block;
    padding:8px 0;
    text-decoration:none;
    color:#cbd5e1;
}

/* HIDE SUBMENU */

.footer-links .sub-menu{
    display:none;

    position:absolute;
    top:100%;
    left:0;

    min-width:200px;

    background:#1e293b;

    padding:10px 0;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    z-index:999;
}

/* SHOW ON HOVER */

.footer-links .menu-item-has-children:hover > .sub-menu{
    display:block;
}

.footer-links .sub-menu li{
    width:100%;
}

.footer-links .sub-menu a{
    padding:10px 15px;
}

.footer-links .sub-menu a:hover{
    background:#334155;
}
.logo{
    display:flex;
    align-items:center;
}

.logo img{
    max-width:100%;
    max-height:100%;

    object-fit:contain;
}
.logo .custom-logo-link{
    display:flex;
    align-items:center;
}

.logo .custom-logo{
    max-height:55px;
    width:auto;
    max-width:100%;

    display:block;
    object-fit:contain;
}
.main-nav ul{
    display:flex;
    align-items:center;
    gap:30px;

    list-style:none;
    margin:0;
    padding:0;
}

.main-nav li{
    position:relative;
}

.main-nav a{
    text-decoration:none;
    color:#334155;
    font-weight:500;
}

/* SUBMENU */

.main-nav .sub-menu{
    display:none;

    position:absolute;
    top:100%;
    left:0;

    min-width:220px;

    background:#fff;

    padding:10px 0;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    list-style:none;

    z-index:999;
}

.main-nav .sub-menu li{
    width:100%;
}

.main-nav .sub-menu a{
    display:block;
    padding:10px 15px;
}

.main-nav li:hover > .sub-menu{
    display:block;
}
.mobile-search{
    position:relative;
}

#mobile-search-results{

    position:absolute;
    top:60px;
    left:0;
    width:100%;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
    z-index:99999;
}
.mobile-search{
    margin-top:25px;
    position:relative;
}

.mobile-search input{
    width:90%;
    box-sizing:border-box;

    padding:14px 20px;

    background:#fff;

    border:1px solid #e2e8f0;

    border-radius:50px;

    font-size:15px;

    outline:none;
}

.mobile-search input:focus{
    border-color:#3b82f6;
    box-shadow:0 0 0 4px rgba(59,130,246,.1);
}
/* =========================
   404 PAGE
========================= */

.error-404-page{

    min-height:70vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:60px 20px;
}

.error-box{

    background:#fff;

    border:1px solid #e2e8f0;

    border-radius:30px;

    padding:60px 40px;

    text-align:center;

    max-width:600px;

    width:100%;
}

.error-box h1{

    font-size:120px;

    margin:0;

    color:#3b82f6;

    line-height:1;
}

.error-box h2{

    margin:20px 0;

    font-size:36px;
}

.error-box p{

    color:#64748b;

    font-size:16px;

    margin-bottom:30px;
}

.home-btn{

    display:inline-block;

    background:#3b82f6;

    color:#fff;

    text-decoration:none;

    padding:14px 30px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;
}

.home-btn:hover{

    transform:translateY(-3px);

    opacity:.9;
}