/* =====================================================
   FUNYATRA PROFESSIONAL FONT
   English + Hindi
===================================================== */

body {
    font-family:
        "Noto Sans",
        "Noto Sans Devanagari",
        "Segoe UI",
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Noto Sans", "Noto Sans Devanagari", sans-serif;
}

:lang(hi) {
    font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif;
}


/* Hindi text */
:lang(hi) {
    font-family:
        "Noto Sans Devanagari",
        "Noto Sans",
        "Segoe UI",
        Arial,
        sans-serif;
}


/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family:
        "Noto Sans",
        "Noto Sans Devanagari",
        "Segoe UI",
        Arial,
        sans-serif;

    font-weight: 700;
}


/* Hindi headings */
:lang(hi) h1,
:lang(hi) h2,
:lang(hi) h3,
:lang(hi) h4,
:lang(hi) h5,
:lang(hi) h6 {
    font-family:
        "Noto Sans Devanagari",
        "Noto Sans",
        "Segoe UI",
        Arial,
        sans-serif;
}/* =====================================================
   FunYatra Category Destination Page
   Professional Travel Theme
===================================================== */


/* ===============================
   ROOT COLORS
=============================== */

:root {

    --primary:#0066ff;
    --secondary:#00b894;
    --orange:#ff9f43;
    --yellow:#ffd166;
    --danger:#ff6b6b;

    --dark:#102a43;
    --text:#334e68;
    --light:#f5f9ff;

    --white:#ffffff;

    --shadow:
    0 10px 30px rgba(0,0,0,.12);

}



/* ===============================
   CONTAINER
=============================== */


.container {

    width:min(1200px,92%);

    margin:auto;

}



/* ===============================
   BREADCRUMB
=============================== */


.breadcrumb {

    display:flex;
   
    flex-wrap:wrap;
    margin-bottom:4px;
    margin-top:4px;

    padding:4px 5;

    font-size:14px;

}


.breadcrumb a {

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

}


.breadcrumb a:hover {

    color:var(--secondary);

}


.breadcrumb span {

    color:#78909c;

}



/* ===============================
   HERO
=============================== */


.category-hero {

    height:400px;

    position:relative;

    overflow:hidden;

}



.category-hero img {

    width:100%;

    height:100%;

    object-fit:cover;

    transform:scale(1.02);

}



.hero-overlay {

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        135deg,

        rgba(0,102,255,.55),

        rgba(0,184,148,.35),

        rgba(0,0,0,.75)

    );

}



.hero-content {


    position:absolute;

    bottom:60px;

    left:50%;

    transform:translateX(-50%);


    width:min(1100px,90%);

    color:white;

}



.hero-content h1 {


    font-size:48px;

    font-weight:800;

    margin-bottom:15px;

    text-shadow:

    0 4px 15px rgba(0,0,0,.4);

}



.hero-content p {


    max-width:850px;

    font-size:18px;

    line-height:1.8;

}



/* ===============================
STATISTICS
=============================== */

.category-stats{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;

    margin-top:-40px;
    position:relative;
    z-index:10;
}

.stat-box{

    background:#fff;
    border-radius:14px;
    padding:14px 12px;      /* Reduced from 30px 20px */

    text-align:center;

    box-shadow:var(--shadow);

    border-top:3px solid var(--primary);   /* Reduced from 5px */

    transition:.3s;
}

.stat-box:nth-child(2){
    border-color:var(--secondary);
}

.stat-box:nth-child(3){
    border-color:var(--orange);
}

.stat-box:nth-child(4){
    border-color:var(--danger);
}

.stat-box:hover{
    transform:translateY(-5px);
}

.stat-box h3{

    font-size:24px;      /* Reduced from 36px */

    margin:0;

    line-height:1.1;

    background:linear-gradient(
        45deg,
        var(--primary),
        var(--secondary)
    );

    -webkit-background-clip:text;
    color:transparent;
}

.stat-box p{

    margin-top:4px;

    font-size:14px;      /* Added */

    color:var(--text);

    font-weight:600;
}


/* ===============================
   SECTION TITLE
=============================== */


.section-title {


    margin:60px 0 35px;

    text-align:center;

}



.section-title h2 {


    font-size:34px;

    color:var(--dark);

}



.section-title p {


    color:#607d8b;

    max-width:850px;

    margin:auto;

    line-height:1.8;

}



/* ===============================
   PLACE CARDS
=============================== */


.place-grid {


    display:grid;

    grid-template-columns:

    repeat(3,1fr);

    gap:28px;

}



.place-card {


    background:white;

    border-radius:22px;

    overflow:hidden;

    box-shadow:

    0 8px 25px rgba(0,0,0,.10);

    transition:.35s;


}

/* Remove all text underline */

.place-card a,
.place-card a:hover,
.place-card a:focus,
.place-card a:visited{

    text-decoration:none;

    color:inherit;

}



.place-card:hover {


    transform:

    translateY(-10px);


    box-shadow:

    0 18px 40px rgba(0,102,255,.20);


}



.place-image {


    height:250px;

    position:relative;

}



.place-image img {


    width:100%;

    height:100%;

    object-fit:cover;

}



.category-badge {


    position:absolute;

    bottom:15px;

    left:15px;


    background:

    linear-gradient(

    45deg,

    var(--orange),

    var(--yellow)

    );


    padding:7px 15px;

    border-radius:30px;


    font-size:13px;

    font-weight:700;

    color:#333;


}



.place-content {


    padding:24px;

}



.place-content h3 {


    color:var(--dark);

    font-size:23px;

}



.place-content p {


    color:#607d8b;

    line-height:1.7;

}



.place-content span {


    display:inline-block;

    margin-top:15px;


    color:var(--primary);

    font-weight:700;

}


/* ===============================
   MOBILE
=============================== */

@media (max-width:600px){

    /* SECTION TITLE */

    .section-title{
        margin:30px 0 18px;
    }

    .section-title h2{
        font-size:24px;
        margin-bottom:8px;
        line-height:1.3;
    }

    .section-title p{
        font-size:14px;
        line-height:1.6;
        margin:0;
        padding:0 4px;
    }


    /* ===============================
       PLACE CARDS
    =============================== */

    .place-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .place-content{
        padding:14px;
    }

    .place-content h3{
        font-size:19px;
        margin:0 0 8px;
        line-height:1.35;
    }

    .place-content p{
        font-size:14px;
        line-height:1.55;
        margin:0 0 10px;
    }

    .view-btn{
        font-size:14px;
        margin-top:0;
    }



}


/* =====================================================
   MOBILE - COMPACT RELATED SECTIONS
===================================================== */

@media (max-width:600px){

    /* Section spacing */
    #states,
    #districts,
    #categories{

        margin-top:0;
        margin-bottom:0;
        padding-top:0;
        padding-bottom:0;

    }


    /* Reduce heading top/bottom space */
    #states .section-title,
    #districts .section-title,
    #categories .section-title{

        margin-top:18px;
        margin-bottom:10px;

    }


    /* Smaller heading */
    #states .section-title h2,
    #districts .section-title h2,
    #categories .section-title h2{

        font-size:21px;

        margin:0;

        padding:0;

        line-height:1.2;

    }


    /* 2 cards per row */
    .related-grid{

        display:grid;

        grid-template-columns:repeat(2, minmax(0,1fr));

        gap:8px;

        margin:0;

        padding:0;

    }


    /* Compact cards */
    .related-card{

        padding:0px 5px;

        min-height:25px;

        height:auto;

        display:flex;

        align-items:center;

        justify-content:center;

        text-align:center;

        font-size:13px;

        line-height:1.2;

        border-radius:12px;

        margin:0;

        box-sizing:border-box;

    }


    .related-card span{

        font-size:11px;

        margin-left:3px;

    }
    
    .related-card{
    padding:2px 5px;
    min-height:30px;
}

.related-grid{
    gap:6px;
}

#states .section-title,
#districts .section-title,
#categories .section-title{
    margin-top:13px;
    margin-bottom:8px;
}

}




/* ===============================
   RELATED BOXES
=============================== */


.related-grid {


    display:grid;

    grid-template-columns:

    repeat(4,1fr);

    gap:20px;

}



.related-card {


    padding:22px;


    background:

    linear-gradient(

    135deg,

    #ffffff,

    #eef8ff

    );


    border-radius:18px;


    text-align:center;


    color:var(--dark);

    text-decoration:none;


    font-weight:700;


    box-shadow:

    0 8px 20px rgba(0,0,0,.08);


    transition:.3s;


}



.related-card:hover {


    background:

    linear-gradient(

    135deg,

    var(--primary),

    var(--secondary)

    );


    color:white;

    transform:translateY(-5px);


}



.related-card span {


    color:#78909c;

}

/* ===============================
   FAQ
=============================== */

.faq-section{

    margin:70px 0;

}

/* FAQ ITEM */

.faq-item{
    background:#fff;
    border-left:5px solid var(--secondary);
    padding:25px;
    margin-bottom:18px;
    border-radius:15px;
    box-shadow:
        0 8px 20px rgba(0,0,0,.08);
}

/* QUESTION */
.faq-item h3{
    color:var(--dark);
    font-size:20px;
    line-height:1.45;
    margin:0 0 10px;
    font-weight:700;
}


/* ANSWER */
.faq-item p{
    color:#607d8b;
    font-size:16px;
    line-height:1.8;
    margin:0;
}

/* ===============================
   TABLET
=============================== */

@media(max-width:992px){
    .faq-section{
        margin:55px 0;
    }
    .faq-item{
        padding:20px;
        margin-bottom:15px;
    }
    .faq-item h3{
        font-size:19px;
    }

    .faq-item p{
        font-size:15px;
        line-height:1.7;
    }
}

/* ===============================
   MOBILE
=============================== */
@media(max-width:600px){
    .faq-section{
        margin:35px 0;
    }

    .faq-item{
        padding:14px 14px 14px 16px;
        margin-bottom:12px;
        border-left-width:4px;
        border-radius:12px;
        box-shadow:
            0 5px 15px rgba(0,0,0,.07);
    }

    .faq-item h3{
        font-size:16px;
        line-height:1.45;
        margin:0 0 6px;
    }

    .faq-item p{
        font-size:14px;
        line-height:1.65;
        margin:0;
        text-align:justify;
    }

}


/* ===============================
   SMALL MOBILE
=============================== */

@media(max-width:400px){
    .faq-section{
        margin:28px 0;
    }

    .faq-item{
        padding:12px 12px 12px 14px;
        margin-bottom:10px;
    }

    .faq-item h3{
        font-size:15px;
    }

    .faq-item p{
        font-size:13.5px;
        line-height:1.6;
    }
}

/* ===============================
   RESPONSIVE TABLET
=============================== */

@media(max-width:992px){

.hero-content h1{
font-size:38px;
}

.category-stats{
grid-template-columns:
repeat(2,1fr);

}


.place-grid{
grid-template-columns:
repeat(2,1fr);
}

.related-grid{
grid-template-columns:
repeat(2,1fr);
}

}



/* ===============================
   MOBILE
=============================== */
@media(max-width:600px){
.category-hero{
height:350px;
}

.hero-content h1{
font-size:30px;
}

.hero-content p{
font-size:15px;
}
.category-stats{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:10px;
        margin-top:-28px;
    }

    .stat-box{
        padding:5px 5px;
        border-radius:12px;
    }

    .stat-box h3{
        font-size:20px;
    }

    .stat-box p{
        font-size:12px;
        margin-top:4px;
        line-height:1.3;
    }

.place-grid{
grid-template-columns:1fr;
}

.section-title h2{
font-size:27px;
}

.place-image{
height:220px;
}
}

/* ===============================
PAGE TOC
=============================== */
.toc-header{

    display:flex;

    align-items:center;

    gap:16px;

    flex-wrap:wrap;      /* wraps on small screens */

}

.toc-header h2{

    margin:0;

    white-space:nowrap;

    flex-shrink:0;

    font-size:22px;

    color:var(--dark);

}

.toc-list{

    display:flex;

    flex:1;

    flex-wrap:wrap;

    gap:10px;

    margin:0;

    padding:0;

    list-style:none;

    align-items:center;

}


.page-toc{

    margin:18px 0 28px;

    background:#fff;

    border:1px solid #e5eef8;

    border-radius:12px;

    padding:14px 18px;

    box-shadow:0 3px 10px rgba(0,0,0,.05);
}

.page-toc h2{

    margin:0 0 10px;

    font-size:20px;

    color:var(--dark);
}

.toc-list{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin:0;

    padding:0;

    list-style:none;
}

.toc-list li{

    margin:0;
}

.toc-list a{

    display:block;

    padding:6px 12px;

    border-radius:20px;

    background:#f5f9ff;

    color:var(--primary);

    text-decoration:none;

    font-size:14px;

    font-weight:600;

    transition:.25s;
}

.toc-list a:hover{

    background:var(--primary);

    color:#fff;
}
/* Hide TOC heading on mobile */

@media (max-width:600px){

    .toc-header h2{

        display:none;

    }

}

/* =====================================================
   PAGINATION
===================================================== */

.pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:8px;

    margin:35px 0 50px;

}

.page-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    min-width:40px;

    height:40px;

    padding:0 12px;

    border-radius:8px;

    background:#fff;

    border:1px solid #dce6f2;

    color:var(--primary);

    text-decoration:none;

    font-weight:700;

    transition:.25s;

}

.page-btn:hover{

    background:var(--primary);

    color:#fff;

}

.page-btn.active{

    background:var(--primary);

    color:#fff;

    border-color:var(--primary);

}


/* MOBILE */

@media(max-width:600px){

    .pagination{

        gap:5px;

        margin:25px 0 35px;

    }

    .page-btn{

        min-width:34px;

        height:34px;

        padding:0 8px;

        font-size:13px;

    }

}