/* =================== RESPONSIVE DESIGN - ALL SCREENS =================== */

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .container-xxl {
        /* max-width: 1800px; */
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Desktop (1400px - 1920px) - Default styles apply */
@media(max-width: 1440px) {

    .container,
    .container-fluid,
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding-left: max(12px, env(safe-area-inset-left)) !important;
        padding-right: max(12px, env(safe-area-inset-right)) !important;
        box-sizing: border-box !important;
    }
}

/* Laptop (1200px - 1399px) */
@media (max-width: 1399px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .articles-grid,
    .categories-grid,
    .tips-grid-v2,
    .who-grid-v2,
    .cta-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-wrapper {
        flex-direction: column;
    }

    .hero-main {
        height: 400px;
    }

    .hero-slide {
        height: 400px;
    }

    .hero-cta-grid {
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
    }

    .articles-grid,
    .categories-grid,
    .tips-grid-v2,
    .who-grid-v2,
    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }


    .articles-grid,
    .categories-grid,
    .who-grid-v2,
    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tips-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }

    .setup-container {
        grid-template-columns: 1fr;
    }

    .setup-side {
        position: relative;
        top: auto;
    }

    .about-title-v3 {
        font-size: 2.4rem;
    }

    .about-media-v3 {
        height: 440px;
    }

    .article-meta {
        gap: unset !important;
    }

    .about-left-v3 {
        max-width: unset !important;
    }

    .about-stats-v3 {
        gap: 0.5rem !important;
    }

    .swiper-horizontal>.swiper-pagination-bullets,
    .swiper-pagination-bullets.swiper-pagination-horizontal,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        margin-top: 20px !important;
    }

    /* Reviews Section */
    .rating-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quiz-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .nav-link-custom {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .articles-grid,
    .categories-grid,
    .tips-grid-v2,
    .who-grid-v2,
    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }


    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-cta-card {
        height: 200px;
        padding: 2rem 1.5rem;
    }

    .news-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title-v2 {
        font-size: 2.2rem;
    }

    .articles-grid,
    .categories-grid,
    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }


    .tips-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .setup-grid {
        grid-template-columns: 1fr;
    }

    .who-card-v2 {
        min-height: auto;
    }

    /* Deals Hero */
    .deals-hero-frame {
        min-height: 500px;
    }

    .deals-hero-content {
        padding: 40px 30px;
    }

    .deals-hero-title {
        font-size: clamp(28px, 3.5vw, 42px);
    }

    /* Reviews Section */
    .reviews-title {
        font-size: 2rem;
    }

    .example-rating-card {
        padding: 0.5rem;
    }


    /* Footer */
    .footer-bottom-v2 {
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {

    .d-none-desktop {
        display: block !important;
    }

    .methodology-card .method-icon {
        width: 70px !important;
        height: 70px !important;
    }

    .methodology-card .method-icon i {
        font-size: 2rem !important;
    }

    .methodology-card h5 {
        font-size: 1.3rem !important;
    }

    .methodology-card p {
        font-size: 1rem !important;
    }

    .category-section {
        padding: 1rem 0 !important;
    }

    .quiz-cta-banner {
        margin-top: 20px !important;
    }

    .quiz-section-header {
        margin-bottom: 20px !important;
    }

    /* Typography */
    .hero-title {
        font-size: 1.8rem;
    }

    .about-text-v3 {
        font-size: 1rem;
        line-height: 1.4;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .section-subtitle {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
    }

    .who-grid-v2 {
        grid-template-columns: 1fr !important;
    }

    .section-header {
        margin-bottom: 0 !important;
    }

    .pro-tip {
        margin: 1rem 0 1rem !important;
    }

    .cta-card {
        padding: 1.5rem 1rem !important;
    }

    .cta-title {
        font-size: 1.1rem !important;
    }

    .cta-text {
        font-size: 14px !important;
    }

    .view-all-btn {
        margin-top: 5px !important;
    }

    .reviews-section {
        padding: 1rem 0 !important;
    }

    .product-grid {
        margin-bottom: 1rem !important;
    }

    .quiz-section {
        padding: 1rem 0 !important;
    }

    .comparison-section {
        padding: 1rem 0 !important;
    }

    .comparison-stats {
        flex-direction: unset !important;
    }

    .comparison-stat-number {
        font-size: 35px !important;
    }

    .comparison-card {
        padding: 25px !important;
    }

    .comparison-cta-btn {
        font-size: 15px !important;
    }

    .comparison-grid {
        margin-bottom: 25px !important;
    }

    .rating-categories-section {
        padding: 1.5rem;
    }

    .deals-cta-box p {
        margin-bottom: 0 !important;
    }

    .comparison-cta {
        margin-top: 0 !important;
        padding: 20px 40px !important;
    }

    .deals-header {
        margin-bottom: 1rem !important;
    }

    .deals-cta-box {
        padding: 1rem !important;
    }

    .deals-note {
        font-size: 1.05rem !important;
    }

    .reviews-header {
        margin-bottom: 1rem !important;
    }

    .deals-subtitle {
        margin: 0 auto 0 !important;
    }

    .comparison-stats {
        margin-bottom: 15px !important;
    }

    .comparison-card p {
        margin-bottom: 15px !important;
    }

    .subsection-title {
        margin: 1rem 0 1rem !important;
    }

    .setup-container {
        gap: 1rem !important;
    }

    .office-setup {
        padding: 1rem 0 !important;
    }

    .deals-hero-right {
        padding-top: 5px !important;
    }

    .category-hero {
        padding: 1rem 0 !important;
    }

    /* Navigation */
    .main-navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand-custom {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .write-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Hero */
    .hero-main {
        height: 350px;
    }

    .hero-slide {
        height: 350px;
    }

    .hero-cta-grid {
        gap: 1rem;
    }

    .hero-cta-card {
        height: 150px;
        padding: 1.5rem 1rem;
    }

    .hero-cta-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .hero-cta-title {
        font-size: 1.1rem;
    }

    /* News Section */
    .news-image-wrapper {
        min-height: 300px;
    }

    .news-content {
        padding: 1rem !important;
    }

    .news-title {
        font-size: 1.5rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }


    /* Grid Layouts */
    .articles-grid,
    .categories-grid,
    /* .tips-grid-v2,
    .who-grid-v2, */
    .cta-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    /* About Section */
    .about-left-v3 {
        text-align: center;
    }

    .about-stats-v3 {
        justify-content: center;
        gap: 1.5rem;
    }

    .about-mission-v3 {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 15px 20px;
    }

    /* Categories */
    .category-card {
        padding: 2rem 1.5rem;
    }

    .category-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.6rem !important;
    }

    .category-card {
        padding: 1.5rem 1rem !important;
    }

    .tipsSwiper {
        /* padding: 0.5rem 0 2.8rem; */
        padding: none !important;
    }

    /* Tips Section */
    .tip-card-v2 {
        height: 500px;
    }

    .tips-prev,
    .tips-next {
        display: none;
    }

    /* Deals Hero */
    .deals-hero-content {
        padding: 30px 24px;
    }

    .deals-hero-overlay-gradient {
        background: linear-gradient(180deg, rgba(15, 23, 42, .7) 0%, rgba(15, 23, 42, .9) 100%);
    }

    .hero-chair-box {
        max-width: 100%;
        height: 250px;
    }

    .expert-badge {
        bottom: -30px;
        right: -30px;
        padding: 0.8rem 1rem;
    }

    /* .section-title {
        margin: 0;
    } */

    /* Quiz Section */
    .quiz-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    /* Comparison Section */
    .comparison-stats {
        flex-direction: column;
        gap: 1rem;
    }

    /* Reviews Section */
    .rating-categories-list {
        grid-template-columns: 1fr;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Deals Section */
    .deals-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Portrait (376px - 575px) */
@media (max-width: 575px) {
    .container-xxl {
        /* padding: 0 15px; */
    }

    /* Typography */
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Navigation */
    .top-bar {
        font-size: 0.75rem;
    }

    .top-bar-links {
        gap: 0.8rem;
    }

    .navbar-brand-custom {
        font-size: 1rem;
    }

    .nav-menu {
        display: none;
        /* Consider adding hamburger menu */
    }

    /* Hero */
    .hero-main {
        height: 300px;
    }

    .hero-slide {
        height: 300px;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Cards */
    .article-card,
    .category-card,
    .who-card-v2 {
        border-radius: 12px;
    }

    .article-image-wrapper {
        height: 180px;
    }

    .article-content {
        padding: 1rem;
    }

    /* News Section */
    .news-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .news-header-left {
        flex-direction: column;
    }

    /* About Section */
    .about-title-v3 {
        font-size: 1.8rem;
    }

    .about-media-v3 {
        height: 350px;
    }

    /* Tips Section */
    .tip-card-v2 {
        height: 450px !important;
        /* width: 350px !important; */
        text-align: center !important;
    }

    .expert-badge {
        margin-right: 100px;
    }

    .comparison-cta-btn {
        font-size: 15px;
    }

    .example-rating-section {
        padding: 1.5rem;
    }

    .overall-score {
        font-size: 2rem;
    }

    .overall-label {
        font-size: 1.2rem;
    }

    .product-example-name h4 {
        font-size: 1.2rem;
        font-weight: 800;
        margin-bottom: 0.3rem;
        color: var(--text-dark);
    }

    .reviews-subtitle {
        font-size: 1rem;
        line-height: 1.2;
    }

    .deals-subtitle {
        font-size: 1rem;
        line-height: 1.2;
    }

    .swiper-horizontal>.swiper-pagination-bullets,
    .swiper-pagination-bullets.swiper-pagination-horizontal,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        margin-top: 30px;
    }

    /* Setup Cards */
    .pdf-box,
    .write-for-us-box,
    .coffee-support-box {
        padding: 1.5rem;
    }

    /* Hero Chair Box */
    .hero-chair-box {
        height: 200px;
    }

    .expert-badge {
        position: static;
        margin-top: 1rem;
    }

    /* Quiz Cards */
    .quiz-card-img {
        height: 180px;
    }

    /* Footer */
    .footer-v2 {
        padding: 2rem 0 1rem;
    }

    .footer-brand-head-v2 {
        flex-direction: column;
        text-align: center;
    }

    .footer-chips-v2 {
        gap: 0.6rem;
    }
}

/* Small Mobile (320px - 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .hero-main {
        height: 250px;
    }

    .hero-slide {
        height: 250px;
    }

    .hero-cta-card {
        height: 130px;
    }

    .hero-cta-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .article-content,
    .category-card,
    .who-card-v2 {
        padding: 1rem;
    }

    .tip-card-v2 {
        height: 420px !important;
    }

    .about-media-v3 {
        height: 300px;
    }

    .hero-chair-box {
        height: 180px;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {

    .hero-main,
    .hero-slide {
        height: 350px;
    }

    .hero-cta-card {
        height: 140px;
        padding: 1rem;
    }

    .about-media-v3 {
        height: 350px;
    }
}

/* Print Styles */
@media print {

    .top-bar,
    .main-navbar,
    .hero-cta-grid,
    .footer-v2,
    .write-btn,
    .cta-button,
    .hero-btn {
        display: none !important;
    }

    .hero-main {
        height: auto;
    }

    * {
        background: white !important;
        color: black !important;
    }
}

/* =================== RESPONSIVE HAMBURGER MENU =================== */

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #31adad, #ff2d8d);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hamburger Animation */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Container */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding-top: 80px;
    margin-top: 30px;
}

.mobile-nav-menu.active {
    right: 0;
}

/* Mobile Menu Items */
.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    background: linear-gradient(135deg, rgba(49, 173, 173, 0.1), rgba(255, 45, 141, 0.1));
    color: var(--primary-pink);
    padding-left: 2rem;
}


.mobile-nav-link i {
    transition: transform 0.3s;
}

.mobile-nav-item.open .mobile-nav-link i {
    transform: rotate(180deg);
}

/* Mobile Dropdown */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    background: #f8f9fa;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.open {
    max-height: 500px;
}

.mobile-dropdown-item {
    display: block;
    padding: 0.8rem 2.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.mobile-dropdown-item:hover {
    background: white;
    color: var(--primary-pink);
    border-left-color: var(--primary-pink);
    padding-left: 3rem;
}

/* Mobile Write Button */
.mobile-write-btn {
    margin: 1.5rem;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #31adad, #ff2d8d);
    color: white;
    padding: 1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.mobile-write-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 45, 141, 0.4);
    color: white;
}

/* Close Button in Mobile Menu */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: #f0f0f0;
    transform: rotate(90deg);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        display: none !important;
    }

    .write-btn {
        display: none;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}


/* ============================================================
   MOBILE MENU — your existing styles preserved
============================================================ */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 8000;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 9000;
    padding: 24px 16px;
    overflow-y: auto;
    transition: right .3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-menu-close {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
    margin-bottom: 16px;
    margin-left: auto;
}

.mobile-nav-item {
    border-bottom: 1px solid #f2f2f2;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: color .2s;
}

.mobile-nav-link:hover {
    color: var(--primary-pink);
}

.mobile-nav-link i {
    font-size: .7rem;
    transition: transform .3s;
}

.mobile-nav-item.open .mobile-nav-link i {
    transform: rotate(180deg);
}

.mobile-dropdown {
    display: none;
    padding: 0 8px 8px 16px;
}

.mobile-nav-item.open .mobile-dropdown {
    display: block;
}

.mobile-dropdown-item {
    display: block;
    padding: 8px 10px;
    font-size: .83rem;
    color: #555;
    border-radius: 6px;
    transition: color .2s, background .2s;
}

.mobile-dropdown-item:hover {
    color: var(--primary-pink);
    background: rgba(255, 45, 141, .05);
}

.mobile-write-btn {
    display: block;
    margin-top: 18px;
    background: var(--grad);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .9rem;
    transition: opacity .2s;
}

.mobile-write-btn:hover {
    opacity: .88;
    color: #fff;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .write-btn {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
}


/* =================== ABOUT US - MOBILE FIXES =================== */

/* Mobile Responsive - About Section */
@media (max-width: 991px) {
    .about-section.about-v3 {
        padding: 3rem 0;
    }

    .about-left-v3 {
        max-width: 100%;
        text-align: center;
        /* margin-bottom: 2rem; */
    }

    .about-title-v3 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .about-text-v3 {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-stats-v3 {
        justify-content: center;
        gap: 1rem;
    }

    .stat-item-v3 {
        text-align: center;
    }

    .about-btn-v3 {
        margin: 0 auto;
        display: inline-flex;
    }

    .about-media-v3 {
        height: 400px;
        /* margin-top: 2rem; */
    }

    .about-mission-v3 {
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .about-section.about-v3 {
        padding: 2rem 0;
        border-radius: 30px;
    }

    .latest-articles-v2 {
        padding: 1rem 0;
    }

    /* .articles-grid,
    .categories-grid,
    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        display: grid !important;
    } */

    .about-title-v3 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .about-text-v3 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .about-stats-v3 {
        gap: 0.3rem !important;
        margin: 1rem 0 1.5rem;
        flex-wrap: unset !important;
    }

    .stat-icon-v3 {
        width: 50px;
        height: 50px;
        color: #fff;
        font-size: 1rem;
    }

    .stat-item-v3 {
        min-width: 120px !important;
    }

    .stat-icon-v3 {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        margin: 0 auto 0.6rem;
    }

    .stat-number-v3 {
        font-size: 1.4rem;
    }

    .stat-label-v3 {
        font-size: 0.85rem;
    }

    .about-btn-v3 {
        padding: 0.85rem 1.4rem;
        font-size: 0.95rem;
    }

    .about-media-v3 {
        height: 350px;
        border-radius: 18px;
    }

    .about-mission-v3 {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 15px 18px;
    }

    .about-mission-v3 h4 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .about-mission-v3 p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 575px) {
    .about-section.about-v3 {
        padding: 2rem 0;
        border-radius: 20px;
    }

    .about-title-v3 {
        font-size: 1.6rem;
    }

    .about-text-v3 {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .about-stats-v3 {
        /* flex-direction: column; */
        gap: 0.5rem;
        margin: 0.5rem 0;
    }

    .stat-item-v3 {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .stat-icon-v3 {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .stat-number-v3 {
        font-size: 1.3rem;
    }

    .stat-label-v3 {
        font-size: 0.8rem;
    }

    .about-btn-v3 {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .about-media-v3 {
        height: 300px;
        border-radius: 15px;
    }

    .about-mission-v3 {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 15px;
    }

    .about-mission-v3 h4 {
        font-size: 1rem;
    }

    .about-mission-v3 p {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .about-title-v3 {
        font-size: 1.4rem;
    }

    .about-stats-v3 {
        gap: 1.2rem;
    }

    .stat-icon-v3 {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .stat-number-v3 {
        font-size: 1.2rem;
    }

    .about-media-v3 {
        height: 250px;
    }

    .about-mission-v3 {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 10px 12px;
    }
}

/* =================== MOBILE FILTER MODAL =================== */

/* Mobile Browse Filters Button - Desktop par hide */
.mobile-browse-btn {
    display: none;
}

/* Mobile Filter Modal */
.mobile-filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-filter-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Dark Overlay */
.mobile-filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* Modal Content */
.mobile-filter-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(240, 248, 255, 0.95) 100%);
    border-radius: 24px 24px 0 0;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

.mobile-filter-modal.active .mobile-filter-content {
    transform: translateY(0);
}

/* Modal Header */
.mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-filter-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.mobile-filter-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

/* Modal Body */
.mobile-filter-body {
    padding: 0.5rem 0 2rem;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

/* Filter Options */
.mobile-filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    margin: 0.3rem 1rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.mobile-filter-option span {
    flex: 1;
}

.mobile-filter-option i {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Active State */
.mobile-filter-option.active {
    background: linear-gradient(135deg,
            rgba(49, 173, 173, 0.15),
            rgba(255, 45, 141, 0.15));
    border-color: var(--primary-teal);
}

.mobile-filter-option.active i {
    color: var(--primary-teal);
}

/* Hover State */
.mobile-filter-option:hover {
    background: rgba(0, 0, 0, 0.03);
}

/* Special "More Categories" Option */
.mobile-filter-option.special {
    background: linear-gradient(135deg,
            rgba(49, 173, 173, 0.1),
            rgba(255, 45, 141, 0.1));
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #31adad, #ff2d8d) 1;
    margin-top: 1rem;
}

.mobile-filter-option.special i:first-child {
    color: var(--primary-pink);
    margin-right: 0.5rem;
}

/* Prevent body scroll when modal open */
body.filter-modal-open {
    overflow: hidden;
}

/* =================== MOBILE RESPONSIVE =================== */

@media (max-width: 767px) {

    .section-padding {
        padding: 2rem 0 !important;
    }

    /* Show modal system on mobile */
    .mobile-filter-modal {
        display: block;
    }

    .hero-section {
        padding-top: 1rem !important;
    }

    /* Hide desktop filter pills on mobile */
    .filter-section {
        display: none;
    }

    .d-mobile-none {
        display: none !important;
    }

    /* Show mobile browse button */
    .mobile-browse-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        background: white;
        position: relative;
        border: none;
        border-radius: 50px;
        color: var(--text-dark);
        font-weight: 700;
        font-size: 1rem;
        margin: 1rem 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    /* Gradient Border Effect using Pseudo-element */
    .mobile-browse-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50px;
        padding: 2px;
        /* Border thickness */
        background: linear-gradient(135deg, #31adad, #ff2d8d);
        -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: -1;
    }

    .mobile-browse-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(49, 173, 173, 0.3);
    }

    .mobile-browse-btn i {
        font-size: 1.2rem;
        background: linear-gradient(135deg, #31adad, #ff2d8d);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .mobile-browse-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(49, 173, 173, 0.3);
    }

    .mobile-browse-btn i {
        font-size: 1.2rem;
        background: linear-gradient(135deg, #31adad, #ff2d8d);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 991px) {
    .mobile-filter-modal {
        display: none;
    }
}



/* =================== MOBILE RESPONSIVE - WRITE FOR US PAGE =================== */

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-write-section {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-title .write-text {
        font-size: 3rem !important;
    }

    .category-grid {
        gap: 1.5rem;
    }

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .hero-write-section {
        padding: 3rem 0 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }

    .hero-title .write-text {
        font-size: 2.7rem !important;
    }

    .hero-description {
        font-size: 0.92rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .btn-primary-gradient,
    .btn-outline {
        padding: 0.9rem 1.8rem;
        font-size: 0.88rem;
    }

    /* Stats Card */
    .stats-card {
        margin-top: 2rem;
        padding: 1.8rem;
    }

    .stat-item {
        padding: 1.1rem 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .stat-info h3 {
        font-size: 1.5rem;
    }

    /* Sections */
    .section-padding {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    /* Categories */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-card {
        padding: 2rem;
    }

    .topic-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Topics Grid */
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .hero-write-section {
        padding: 2.5rem 0 2rem;
    }

    .hero-write-section::before,
    .hero-write-section::after {
        display: none;
        /* Remove blur effects on mobile */
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.45rem 1rem;
        margin-bottom: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-title .write-text {
        font-size: 2.3rem !important;
    }

    .hero-description {
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .btn-primary-gradient,
    .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 0.95rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Stats Card */
    .stats-card {
        margin-top: 2rem;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .stat-item {
        padding: 1rem;
        gap: 1rem;
        margin-bottom: 0.8rem;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .stat-info h3 {
        font-size: 1.4rem;
    }

    .stat-info p {
        font-size: 0.8rem;
    }

    /* Sections */
    .section-padding {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .offer-description,
    .categories-subtitle,
    .topics-subtitle,
    .guidelines-subtitle,
    .form-subtitle {
        font-size: 0.88rem;
        margin-bottom: 2rem;
    }

    /* Benefit Cards */
    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .benefit-card h3 {
        font-size: 1.05rem;
    }

    .benefit-card p {
        font-size: 0.85rem;
    }

    /* Category Cards */
    .category-card {
        padding: 1.8rem 1.5rem;
    }

    .category-header {
        margin-bottom: 1.5rem;
    }

    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .category-card h3 {
        font-size: 1.1rem;
    }

    .topic-item {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }

    .topic-item-content small {
        font-size: 0.72rem;
    }

    /* Content Category Cards */
    .content-category-card {
        padding: 1.8rem 1.5rem;
        flex-direction: row;
        gap: 1.2rem;
    }

    .content-cat-icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }

    .content-category-card h3 {
        font-size: 1.05rem;
    }

    .content-category-card p {
        font-size: 0.83rem;
    }

    /* Topics Grid */
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .topic-tag {
        padding: 0.9rem 1.1rem;
        font-size: 0.88rem;
    }

    /* Guidelines */
    .guideline-card {
        padding: 0.5rem 1.5rem !important;
        text-align: center;
    }

    .tips-section.tips-v2 {
        padding: 1rem 0 !important;
    }

    .guideline-icon {
        width: 65px;
        height: 65px;
        font-size: 1.9rem;
        margin-bottom: 1rem !important;
        margin: auto;
    }

    .guideline-card h3 {
        font-size: 1.05rem;
    }

    .guideline-card p {
        font-size: 0.83rem;
    }

    /* Form */
    .submission-form {
        padding: 2rem 1.5rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-label {
        font-size: 0.88rem;
        margin-bottom: 0.5rem;
    }

    .form-control-custom {
        padding: 0.85rem 1.1rem;
        font-size: 0.88rem;
    }

    textarea.form-control-custom {
        min-height: 100px;
    }

    .submit-btn {
        padding: 1rem;
        font-size: 0.92rem;
    }

    /* CTA */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 1.9rem;
        margin-bottom: 0.8rem;
    }

    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .btn-white {
        padding: 0.95rem 2rem;
        font-size: 0.9rem;
    }
}

/* Mobile Portrait (376px - 575px) */
@media (max-width: 575px) {
    .hero-write-section {
        padding: 2rem 0 1.5rem;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 0.4rem 0.9rem;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .hero-badge i {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-title .write-text {
        font-size: 2rem !important;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1.3rem;
    }

    .btn-primary-gradient,
    .btn-outline {
        padding: 0.9rem 1.3rem;
        font-size: 0.88rem;
    }

    /* Stats Card - Stack vertically */
    .stats-card {
        padding: 1.3rem;
    }

    .stat-item {
        padding: 0.9rem;
        gap: 0.2rem !important;
        margin-bottom: 0.7rem;
        /* flex-direction: row; */
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .stat-info h3 {
        font-size: 1.3rem;
    }

    .stat-info p {
        font-size: 0.78rem;
    }

    /* Sections */
    .section-padding {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }

    .offer-description,
    .categories-subtitle,
    .topics-subtitle,
    .guidelines-subtitle,
    .form-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    /* Benefit Cards */
    .benefit-card {
        padding: 1.8rem 1.3rem;
    }

    .benefit-icon {
        width: 65px;
        height: 65px;
        font-size: 1.9rem;
        margin-bottom: 1rem;
    }

    .benefit-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.7rem;
    }

    .benefit-card p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Category Cards */
    .category-card {
        padding: 1.5rem 1.2rem;
    }

    .category-header {
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }

    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .category-card h3 {
        font-size: 1.05rem;
    }

    .topic-item {
        padding: 0.65rem 0.8rem;
        font-size: 0.83rem;
        gap: 0.6rem;
    }

    .topic-item-content small {
        font-size: 0.7rem;
        margin-top: 0.2rem;
    }

    .view-link {
        font-size: 0.83rem;
        margin-top: 1.2rem;
    }

    /* Content Category Cards */
    .content-category-card {
        padding: 0.5rem 1.2rem !important;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .content-cat-icon {
        width: 65px;
        height: 65px;
        font-size: 1.9rem;
        margin: 0 auto;
    }


    .content-category-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .content-category-card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Topic Tags */
    .topic-tag {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
        gap: 0.7rem;
    }

    /* Guidelines */
    .guideline-card {
        padding: 1.8rem 1.3rem;
        text-align: center;
    }


    .guideline-icon {
        width: 65px;
        height: 65px;
        font-size: 1.9rem;
        margin-bottom: 1rem !important;
        margin: auto;
    }

    .guideline-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.7rem;
    }

    .guideline-card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Form */
    .submission-form {
        padding: 1.8rem 1.3rem;
    }

    .form-group {
        margin-bottom: 1.3rem;
    }

    .form-label {
        font-size: 0.86rem;
    }

    .form-control-custom {
        padding: 0.8rem 1rem;
        font-size: 0.86rem;
    }

    textarea.form-control-custom {
        min-height: 90px;
    }

    .submit-btn {
        padding: 0.95rem;
        font-size: 0.9rem;
    }

    /* CTA */
    .cta-section {
        padding: 2.5rem 0;
    }

    .cta-title {
        font-size: 1.7rem;
        margin-bottom: 0.7rem;
        line-height: 1.3;
    }

    .cta-description {
        font-size: 0.9rem;
        margin-bottom: 1.3rem;
        padding: 0 1rem;
    }

    .btn-white {
        padding: 0.9rem 1.8rem;
        font-size: 0.88rem;
    }
}

/* Small Mobile (320px - 375px) */
@media (max-width: 375px) {
    .hero-write-section {
        padding: 1.8rem 0 1.3rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.8rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-title .write-text {
        font-size: 1.8rem !important;
    }

    .hero-description {
        font-size: 0.82rem;
    }

    .btn-primary-gradient,
    .btn-outline {
        padding: 0.85rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Stats Card */
    .stats-card {
        padding: 1.2rem;
    }

    .stat-item {
        padding: 0.8rem;
    }

    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .stat-info h3 {
        font-size: 1.2rem;
    }

    .stat-info p {
        font-size: 0.75rem;
    }

    /* Sections */
    .section-title {
        font-size: 1.5rem;
    }

    .benefit-icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }

    .content-cat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .guideline-icon {
        width: 65px;
        height: 65px;
        font-size: 1.9rem;
        margin-bottom: 1rem !important;
        margin: auto;
    }

    .form-control-custom {
        padding: 0.75rem 0.95rem;
        font-size: 0.84rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 0.88rem;
    }
}

/* Landscape Orientation Fix */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-write-section {
        padding: 2rem 0;
    }

    .stats-card {
        margin-top: 1rem;
    }

    .stat-item {
        padding: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .section-padding {
        padding: 2rem 0;
    }
}

/* Touch-Friendly Improvements */
@media (max-width: 767px) {

    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        /* padding-top: 38px !important; */
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    /* Larger touch targets */
    .btn-primary-gradient,
    .btn-outline,
    .submit-btn,
    .btn-white {
        min-height: 48px;
    }

    .accordion-header-custom {
        min-height: 52px;
        -webkit-tap-highlight-color: transparent;
    }

    .topic-tag,
    .view-link {
        -webkit-tap-highlight-color: transparent;
    }

    /* Better form inputs */
    .form-control-custom {
        min-height: 44px;
    }

    textarea.form-control-custom {
        min-height: 100px;
    }

    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    select,
    textarea {
        font-size: 16px !important;
        /* Prevents iOS zoom */
    }
}

/* Container Padding Adjustments */
@media (max-width: 767px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}

/* =================== BUTTON TEXT CENTER ALIGNMENT FIX =================== */

.btn-primary-gradient,
.btn-outline,
.submit-btn,
.btn-white {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Mobile specific fix */
@media (max-width: 767px) {
    .hero-buttons a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .btn-primary-gradient i,
    .btn-white i {
        margin-left: 0.5rem;
        flex-shrink: 0;
    }
}

/* =================== TABLET RESPONSIVE - COMPLETE =================== */

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {

    /* Topbar */
    .top-bar {
        font-size: 0.8rem;
        padding: 0.45rem 0;
    }

    .top-bar-links {
        gap: 1.2rem;
    }

    .top-bar-links a {
        font-size: 0.8rem;
    }

    /* Navbar */
    .main-navbar {
        padding: 0.7rem 0;
    }

    .navbar-brand-custom {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 0.9rem;
    }

    .nav-link-custom {
        font-size: 0.85rem;
        padding: 0.45rem 0.7rem;
    }

    .write-btn {
        padding: 0.55rem 1.3rem;
        font-size: 0.85rem;
    }

    .dropdown-menu-custom {
        min-width: 220px;
        padding: 1.2rem;
    }

    /* Hero Section */
    .hero-wrapper {
        flex-direction: column;
        gap: 1.2rem;
    }

    .hero-main {
        height: 450px;
    }

    .hero-slide {
        height: 450px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-grid {
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }

    .hero-cta-card {
        height: 220px;
        padding: 2rem 1.5rem;
    }

    .hero-cta-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }

    .hero-cta-title {
        font-size: 1.25rem;
    }

    /* Daily News */
    .news-title {
        font-size: 1.7rem;
    }

    .news-image-wrapper {
        min-height: 500px;
    }

    .news-content {
        padding: 2rem;
    }

    /* Sections */
    .section-padding {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Grids */
    .articles-grid,
    .categories-grid,
    .who-grid-v2,
    .cta-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .tips-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    /* Cards */
    .article-card {
        border-radius: 14px;
    }

    .article-image-wrapper {
        height: 190px;
    }

    .category-icon {
        width: 85px;
        height: 85px;
        font-size: 2.5rem;
    }

    /* About Section */
    .about-section.about-v3 {
        padding: 3.5rem 0;
        border-radius: 40px;
    }

    .about-title-v3 {
        font-size: 2.6rem;
    }

    .about-text-v3 {
        font-size: 1rem;
    }

    .about-stats-v3 {
        gap: 2.5rem;
    }

    .about-media-v3 {
        height: 460px;
    }

    /* Who Cards */
    .who-card-v2 {
        min-height: 400px;
        padding: 2rem 1.8rem;
    }

    .who-icon-box {
        width: 58px;
        height: 58px;
    }

    .who-title-v2 {
        font-size: 1.35rem;
    }

    /* Office Setup */
    .setup-container {
        grid-template-columns: 1fr 340px;
        gap: 2rem;
    }

    /* Reviews Section */
    .rating-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rating-categories-section,
    .example-rating-section {
        padding: 2rem;
    }

    /* Comparison */
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Quiz */
    .quiz-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Deals Hero */
    .deals-hero-frame {
        min-height: 450px;
    }

    .deals-hero-content {
        padding: 45px 35px;
    }

    .deals-hero-title {
        font-size: 2.8rem;
    }

    /* Footer */
    .footer-v2 {
        padding: 3rem 0 1.2rem;
    }

    .footer-bottom-v2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {

    /* Topbar */
    .top-bar {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }

    .top-bar-links {
        gap: 1rem;
        justify-content: center;
    }

    .top-bar-links a {
        font-size: 0.75rem;
    }

    /* Show Hamburger, Hide Desktop Menu */
    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        display: none !important;
    }

    .write-btn {
        display: none;
    }

    /* Navbar */
    .main-navbar {
        padding: 0.6rem 0;
    }

    .navbar-brand-custom {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero-main {
        height: 400px;
    }

    .hero-slide {
        height: 400px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-btn {
        padding: 0.9rem 2.2rem;
        font-size: 1rem;
    }

    .hero-cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .hero-cta-card {
        height: 200px;
        padding: 2rem 1.5rem;
    }

    .hero-cta-icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
    }

    .hero-cta-title {
        font-size: 1.2rem;
    }

    /* Daily News */
    .news-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .news-title {
        font-size: 1.6rem;
    }

    .news-image-wrapper {
        min-height: 400px;
    }

    .news-content {
        padding: 1.8rem;
    }

    /* Sections */
    .section-padding {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title-v2 {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Grids */
    .articles-grid,
    .categories-grid,
    .who-grid-v2,
    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .tips-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    /* Cards */
    .article-image-wrapper {
        height: 180px;
    }

    .article-content {
        padding: 1.3rem;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }

    .category-icon {
        width: 80px;
        height: 80px;
        font-size: 2.3rem;
    }

    .category-name {
        font-size: 1.3rem;
    }

    /* About Section */
    .about-section.about-v3 {
        padding: 3rem 0;
        border-radius: 35px;
    }

    .about-title-v3 {
        font-size: 2.3rem;
    }

    .about-text-v3 {
        font-size: 0.98rem;
    }

    .about-stats-v3 {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .about-media-v3 {
        height: 420px;
    }

    .about-mission-v3 {
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 18px 22px;
    }

    /* Tips Section */
    .tip-card-v2 {
        height: 420px !important;
    }

    /* Who Cards */
    .who-card-v2 {
        min-height: 380px;
        padding: 1.8rem 1.6rem;
    }

    .who-icon-box {
        width: 56px;
        height: 56px;
    }

    .who-icon-box i {
        font-size: 1.45rem;
    }

    .who-title-v2 {
        font-size: 1.3rem;
    }

    .who-desc-v2 {
        font-size: 0.95rem;
    }

    /* Office Setup */
    .setup-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .setup-side {
        position: relative;
        top: auto;
    }

    .setup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reviews Section */
    .reviews-section {
        padding: 3rem 0;
        border-radius: 35px;
    }

    .reviews-title {
        font-size: 2rem;
    }

    .rating-categories-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .example-rating-card {
        padding: 1.5rem;
    }

    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    /* Comparison */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .comparison-card {
        padding: 2rem;
    }

    /* Quiz */
    .quiz-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quiz-card {
        height: auto;
    }

    /* Deals Section */
    .deals-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .deals-hero-frame {
        min-height: 500px;
    }

    .deals-hero-content {
        padding: 40px 30px;
    }

    .deals-hero-title {
        font-size: 2.5rem;
    }

    /* Chair Box */
    .hero-chair-box {
        max-width: 380px;
        height: 300px;
    }

    .expert-badge {
        bottom: -25px;
        right: -25px;
        padding: 0.9rem 1.1rem;
    }

    .expert-badge i {
        font-size: 1.8rem;
    }

    .expert-badge-text strong {
        font-size: 1.1rem;
    }

    /* Footer */
    .footer-v2 {
        padding: 2.5rem 0 1rem;
    }

    .footer-brand-head-v2 {
        flex-direction: row;
    }

    .footer-chips-v2 {
        gap: 0.7rem;
    }

    .footer-bottom-v2 {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Tablet Small (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {

    /* Topbar - Center aligned */
    .top-bar-links {
        justify-content: center;
        gap: 0.8rem;
    }

    /* Navbar */
    .navbar-brand-custom {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero-main {
        height: 380px;
    }

    .hero-slide {
        height: 380px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Grids - Keep 2 columns for better use of space */
    .articles-grid,
    .categories-grid,
    .who-grid-v2,
    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tips-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About Section */
    .about-title-v3 {
        font-size: 2.1rem;
    }

    .about-media-v3 {
        height: 380px;
    }

    /* Setup Grid */
    .setup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Quiz Cards */
    .quiz-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Comparison */
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* =================== CONTAINER ADJUSTMENTS FOR TABLETS =================== */

@media (max-width: 1199px) {
    .container-xxl {
        /* max-width: 100%; */
        /* padding-left: 2rem;
        padding-right: 2rem; */
    }

}

@media (max-width: 991px) {
    .container-xxl {
        /* padding-left: 1.5rem;
        padding-right: 1.5rem; */
    }

    /* .d-tab-none {
        display: none !important;
    } */
}

@media (max-width: 767px) {
    .container-xxl {
        /* padding-left: 1rem;
        padding-right: 1rem; */
    }
}

/* =================== TOPBAR FIXED FOR ALL TABLETS =================== */

@media (max-width: 1199px) {

    /* Topbar stays fixed */
    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10001;
    }

    /* Navbar adjusts */
    .main-navbar {
        position: sticky;
        /* top: 30px; */
        margin-top: 36px;
        z-index: 10000;
    }

    /* Body padding */
    body {
        padding-top: 36px;
    }
}

/* =================== LANDSCAPE ORIENTATION FIX =================== */

@media (max-width: 991px) and (orientation: landscape) {
    /* .d-tab-none {
        display: none !important;
    } */

    .hero-main,
    .hero-slide {
        height: 350px;
    }

    .hero-cta-card {
        height: 180px;
        padding: 1.5rem 1.2rem;
    }

    .about-media-v3 {
        height: 350px;
    }

    .tip-card-v2 {
        height: 400px !important;
    }
}


/* =================== HAMBURGER MENU FOR TABLETS & MOBILE =================== */

/* Show hamburger on tablets and mobile (below 1200px) */
@media (max-width: 1199px) {

    /* .d-tab-none {
        display: none !important;
    } */

    /* Show Hamburger Button */
    .hamburger-menu {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
        z-index: 10002;
        background: none;
        border: none;
    }

    .hamburger-menu span {
        width: 28px;
        height: 3px;
        background: linear-gradient(135deg, #31adad, #ff2d8d);
        margin: 4px 0;
        transition: all 0.3s ease;
        border-radius: 3px;
    }

    /* Hamburger Animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    /* Hide Desktop Menu */
    .nav-menu {
        display: none !important;
    }

    .write-btn {
        display: none !important;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-navbar {
    margin-top: 0 !important;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Container */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: white;
    z-index: 10000;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    padding-top: 80px;
}

.mobile-nav-menu.active {
    right: 0;
}

/* Close Button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10001;
}

.mobile-menu-close:hover {
    background: #f0f0f0;
    transform: rotate(90deg);
}

/* Mobile Nav Items */
.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    background: linear-gradient(135deg, rgba(49, 173, 173, 0.1), rgba(255, 45, 141, 0.1));
    color: var(--primary-pink);
    padding-left: 2rem;
}

.mobile-nav-link i.fa-chevron-down {
    transition: transform 0.3s;
    font-size: 0.85rem;
}

.mobile-nav-item.open .mobile-nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Mobile Dropdown */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    background: #f8f9fa;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.open {
    max-height: 600px;
}

.mobile-dropdown-item {
    display: block;
    padding: 0.9rem 2.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.mobile-dropdown-item:hover {
    background: white;
    color: var(--primary-pink);
    border-left-color: var(--primary-pink);
    padding-left: 3rem;
}

/* Mobile Write Button */
.mobile-write-btn {
    margin: 1.5rem;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #31adad, #ff2d8d);
    color: white;
    padding: 1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 1rem;
}

.mobile-write-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 45, 141, 0.4);
    color: white;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

.d-tab-block {
    display: none !important;
}

/* Tablet Specific Adjustments */
@media (min-width: 769px) and (max-width: 1199px) {

    .deals-hero-right {
        padding: 75px 25px !important;
        max-width: 370px !important;
    }

    .d-tab-none {
        display: none !important;
    }

    .d-tab-block {
        display: block !important;
    }

    .read-time {
        font-size: 0.75rem;
    }

    .arrow-btn {
        width: 45px;
        height: 45px;
    }

    .mobile-nav-menu {
        width: 380px;
        padding-top: 90px;
    }

    .mobile-nav-link {
        padding: 1.2rem 2rem;
        font-size: 1.05rem;
    }

    .mobile-dropdown-item {
        padding: 1rem 3rem;
        font-size: 0.95rem;
    }

    .mobile-write-btn {
        margin: 2rem;
        padding: 1.1rem;
        font-size: 1.05rem;
    }

    .hero-chair-boxx {
        width: 100% !important;
        max-width: 390px !important;
        height: 255px !important;
        padding: 0 !important;
    }

    .hero-chair-boxx img {
        width: 100% !important;
    }

    .expert-badge-textx strong {
        font-size: 1.2rem;
    }

    .expert-badge-textx small {
        font-size: 0.8rem;
    }

    .expert-badgex i {
        font-size: 2rem;
    }

    .expert-badgex {
        bottom: -40px;
        right: 100px;
    }

}

/* Mobile Specific (below 768px) */
@media (max-width: 767px) {
    .mobile-nav-menu {
        width: 280px;
    }

    .hamburger-menu span {
        width: 25px;
        height: 2.5px;
    }

    .d-mobile-block {
        display: block !important;
    }
}

/* =================== CTA GRID RESPONSIVE MANAGEMENT =================== */

@media (max-width: 575px) {
    /* .d-mobile-none {
        display: none !important;
    } */

    .cta-grid.d-none-desktop {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

}

@media (min-width: 1200px) {
    .d-none-desktop {
        display: none !important;
    }
}



/* ================================================================================
   SMALL MOBILE FIX - 360px Width Devices
   Samsung Galaxy S8+, S9, S10e, Pixel 4a, etc.
   File: small-mobile-fix.css
   ================================================================================ */

/* =================== 360px WIDTH DEVICES =================== */

@media (max-width: 400px) {

    /* =================== GENERAL FIXES =================== */

    body {
        overflow-x: hidden !important;
    }

    .stat-item-v3 {
        min-width: 120px !important;
    }

    .container,
    .container-xxl {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }


    /* =================== HERO SECTION FIX =================== */

    .hero-section,
    .hero-write-section,
    .deals-hero-section {
        padding: 1rem 0 !important;
        min-height: auto !important;
    }

    /* Hero Image/Banner */
    .hero-main,
    .hero-slide {
        height: 280px !important;
        min-height: 280px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .hero-content {
        padding: 1.2rem !important;
    }

    /* Hero Title */
    .hero-title {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.8rem !important;
    }

    /* Hero Subtitle/Description */
    .hero-subtitle,
    .hero-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }

    /* Hero Button */
    .hero-btn,
    .btn-start-comparing,
    .btn-primary-gradient {
        padding: 12px 24px !important;
        font-size: 14px !important;
        border-radius: 25px !important;
        min-height: 44px !important;
    }

    /* Hide extra elements */
    .trust-badges,
    .hero-badge,
    .hero-features,
    .people-compared,
    .hero-illustration,
    .btn-view-examples {
        display: none !important;
    }

    /* =================== CTA CARDS GRID =================== */

    .hero-cta-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0.5rem 0 !important;
        margin-top: 0.5rem !important;
    }

    .hero-cta-card {
        height: auto !important;
        min-height: 100px !important;
        max-height: 120px !important;
        padding: 0.8rem !important;
        border-radius: 14px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-cta-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
        margin-bottom: 0.4rem !important;
    }

    .hero-cta-title {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    .hero-cta-desc {
        display: none !important;
    }

    /* =================== SECTION PADDING =================== */

    .section-padding,
    .latest-articles-v2,
    .category-section,
    .quiz-section,
    .deals-section,
    .reviews-section,
    .comparison-section,
    .testimonials-section {
        padding: 1.5rem 0 !important;
    }

    /* =================== SECTION TITLES =================== */

    .section-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.3 !important;
    }

    .section-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
    }

    .section-header {
        margin-bottom: 1rem !important;
    }

    /* =================== PRODUCT GRID =================== */

    .product-grid {
        /* grid-template-columns: repeat(2, 1fr) !important; */
        gap: 10px !important;
        margin-bottom: 1.5rem !important;
    }

    .product-card {
        border-radius: 12px !important;
    }

    .product-image {
        height: 140px !important;
    }

    .product-image.desk-image {
        height: 120px !important;
    }

    .product-info {
        padding: 10px !important;
    }

    .product-category {
        font-size: 9px !important;
        margin-bottom: 4px !important;
    }

    .product-name {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
        -webkit-line-clamp: 2 !important;
    }

    .product-rating-comparison {
        margin-bottom: 6px !important;
    }

    .product-rating-comparison .stars {
        font-size: 11px !important;
    }

    .product-rating-comparison .count {
        font-size: 10px !important;
    }

    .product-price {
        margin-bottom: 8px !important;
    }

    .price-current {
        font-size: 16px !important;
    }

    .price-original {
        font-size: 11px !important;
    }

    .btn-add-cart {
        padding: 8px 10px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
    }

    .btn-add-cart i {
        font-size: 11px !important;
    }

    /* Badges */
    .product-badge,
    .badge-best-seller {
        padding: 4px 8px !important;
        font-size: 9px !important;
        top: 8px !important;
        left: 8px !important;
    }

    .badge-discount {
        padding: 3px 7px !important;
        font-size: 10px !important;
        top: 32px !important;
        left: 8px !important;
    }

    .btn-wishlist {
        width: 30px !important;
        height: 30px !important;
        top: 8px !important;
        right: 8px !important;
    }

    .btn-wishlist i {
        font-size: 14px !important;
    }

    .btn-view-amazon {
        padding: 6px 14px !important;
        font-size: 10px !important;
        bottom: 10px !important;
    }

    /* =================== QUIZ SECTION =================== */

    .quiz-section-header {
        margin-bottom: 1rem !important;
    }

    .quiz-section-title {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }

    .quiz-section-sub {
        font-size: 0.85rem !important;
    }

    .quiz-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .quiz-card {
        border-radius: 14px !important;
    }

    .quiz-card-img {
        height: 150px !important;
    }

    .quiz-card-title {
        font-size: 1rem !important;
    }

    .quiz-card-desc {
        font-size: 0.85rem !important;
    }

    .quiz-card-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }

    .quiz-cta-banner {
        padding: 1.2rem !important;
        margin-top: 1rem !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    .quiz-cta-title {
        font-size: 1.1rem !important;
    }

    .quiz-cta-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* =================== DEALS SECTION =================== */

    .deals-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .deals-title {
        font-size: 1.4rem !important;
    }

    .deals-subtitle {
        font-size: 0.85rem !important;
    }

    .deal-item {
        padding: 1rem !important;
    }

    .deal-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
    }

    .deal-content h3 {
        font-size: 1rem !important;
    }

    .deal-content p {
        font-size: 0.85rem !important;
    }

    .deals-cta-box {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }

    .deals-cta-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }

    /* =================== REVIEWS SECTION =================== */

    .reviews-title {
        font-size: 1.4rem !important;
    }

    .rating-main-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .rating-categories-section,
    .example-rating-section {
        padding: 1.2rem !important;
    }

    .methodology-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .methodology-card {
        padding: 1rem !important;
    }

    /* =================== COMPARISON SECTION =================== */

    .comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .comparison-card {
        padding: 1.2rem !important;
    }

    .comparison-stats {
        flex-direction: row !important;
        gap: 0.5rem !important;
        flex-wrap: wrap !important;
    }

    .comparison-stat-number {
        font-size: 1.8rem !important;
    }

    /* =================== TESTIMONIALS =================== */

    .testimonials-title {
        font-size: 1.4rem !important;
    }

    .stat-card {
        padding: 1rem !important;
    }

    .stat-number {
        font-size: 1.8rem !important;
    }

    .testimonial-card {
        padding: 1.2rem !important;
    }

    /* =================== SIDEBAR / FILTERS =================== */

    .sidebar {
        display: none !important;
    }

    .content-wrapper {
        flex-direction: column !important;
    }

    .products-section {
        width: 100% !important;
    }

    /* =================== CATEGORY PILLS =================== */

    .category-pills {
        padding: 12px !important;
        margin: 1rem 0 !important;
    }

    .pills-scroll {
        gap: 8px !important;
    }

    .pill {
        padding: 8px 14px !important;
        font-size: 12px !important;
        border-radius: 20px !important;
    }

    /* =================== VIEW ALL BUTTON =================== */

    .view-all-btn {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        margin-top: 0.5rem !important;
    }

    /* =================== FOOTER =================== */

    .footer,
    .footer-v2 {
        padding: 2rem 0 1rem !important;
        margin-top: 2rem !important;
    }

    .footer-title {
        font-size: 1rem !important;
    }

    .footer-links a {
        font-size: 0.85rem !important;
    }

    /* =================== CTA SECTION =================== */

    .cta-section {
        padding: 2rem 0 !important;
    }

    .cta-title {
        font-size: 1.4rem !important;
    }

    .cta-subtitle {
        font-size: 0.9rem !important;
    }

    .btn-write-review {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }

    /* =================== ARTICLES GRID =================== */

    .articles-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .article-card {
        border-radius: 12px !important;
    }

    .article-image-wrapper {
        height: 120px !important;
    }

    .article-content {
        padding: 10px !important;
    }

    .article-title {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
    }

    /* =================== ABOUT SECTION =================== */

    .about-section.about-v3 {
        padding: 1.5rem 0 !important;
    }

    .about-title-v3 {
        font-size: 1.5rem !important;
    }

    .about-text-v3 {
        font-size: 0.9rem !important;
    }

    .about-media-v3 {
        height: 420px !important;
    }

    .about-stats-v3 {
        gap: 0.5rem !important;
    }

    .stat-icon-v3 {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }

    .stat-number-v3 {
        font-size: 1.2rem !important;
    }

    .stat-label-v3 {
        font-size: 0.75rem !important;
    }

    /* =================== TIPS SECTION =================== */

    .tips-grid-v2 {
        grid-template-columns: 1fr !important;
    }

    .tip-card-v2 {
        height: 350px !important;
    }

    /* =================== WHO SECTION =================== */

    .who-grid-v2 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .who-card-v2 {
        min-height: auto !important;
        padding: 1.2rem !important;
    }

    /* =================== CTA GRID =================== */

    .cta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .cta-card {
        padding: 1rem !important;
    }

    .cta-card-title {
        font-size: 0.9rem !important;
    }
}

/* =================== EXTRA SMALL - 320px =================== */

@media (max-width: 340px) {

    body {
        overflow-x: hidden !important;
    }

    .hero-title {
        font-size: 1.4rem !important;
    }

    .hero-cta-card {
        min-height: 90px !important;
        padding: 0.6rem !important;
    }

    .hero-cta-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }

    .hero-cta-title {
        font-size: 0.75rem !important;
    }

    .product-image {
        height: 120px !important;
    }

    .product-name {
        font-size: 11px !important;
    }

    .price-current {
        font-size: 14px !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }
}


/* ── 17. GALAXY Z FOLD & NARROW SCREENS (344px) ────────────────── */
@media (max-width: 360px) {
    .hero-cta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .hero-cta-card {
        padding: 0.8rem 0.5rem !important;
        min-height: 90px !important;
        max-height: 110px !important;
    }

    .hero-cta-title {
        font-size: 0.75rem !important;
    }

    .who-grid-v2,
    .categories-grid,
    .articles-grid {
        grid-template-columns: 1fr !important;
    }

    .top-bar-links {
        gap: 0.5rem !important;
        font-size: 0.7rem !important;
    }

    .navbar-brand-custom {
        font-size: 0.95rem !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    .footer-chips-v2 {
        gap: 0.5rem !important;
    }

    .footer-chip-v2 {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
}

/* ── 18. NEST HUB (1024×600) SPECIFIC ─────────────────────────── */
@media (width: 1024px) and (max-height: 600px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .hero-section {
        padding-top: 1rem !important;
    }
}

/* ── 19. iPAD PRO (1024px landscape) ──────────────────────────── */
@media (min-width: 1024px) and (max-width: 1366px) {

    .container,
    .container-xxl {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .articles-grid,
    .categories-grid,
    .cta-grid,
    .who-grid-v2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .tips-grid-v2 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ── 20. iPhone XR (414px) ─────────────────────────────────────── */
@media (max-width: 430px) {
    body {
        overflow-x: hidden !important;
    }

    .hero-wrapper,
    .hero-main,
    .hero-slide {
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    .articles-grid,
    .categories-grid,
    .cta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .section-title {
        font-size: 1.5rem !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    /* Fix categories grid (seen in Nest Hub screenshot) */
    .category-card {
        padding: 1.5rem 1rem !important;
    }

    .category-name {
        font-size: 1.1rem !important;
    }

    .category-count {
        font-size: 0.9rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .d-none-desktop {
        display: none !important;
    }

    .cta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 360px) {
    .expert-badge {
        right: -72px !important;
    }
}

@media (max-width: 375px) and (min-width: 361px) {
    .expert-badge {
        right: -65px !important;
    }
}

@media (max-width: 390px) and (min-width: 376px) {
    .expert-badge {
        right: -60px !important;
    }
}

@media (max-width: 768px) and (min-width: 600px) {
    .expert-badge {
        right: 8px !important;
    }
}


@media (max-width: 820px) and (min-width: 768px) {
    .expert-badge {
        right: 8px !important;
    }
}


@media (max-width: 912px) and (min-width: 820px) {
    .expert-badge {
        right: 8px !important;
    }
}

@media (max-width: 540px) and (min-width: 540px) {
    .cta-hide {
        display: none !important;
    }

    .cta-button br,
    .cta-text br {
        display: none !important;
    }


}


/* ================================================
   SAMSUNG GALAXY S8+ FIX — 360px
   Sirf is screen ke liye, baaki screens safe
   ================================================ */

@media (max-width: 375px) {

    /* Who section ka container */
    .who-section,
    .who-section .container-xxl {
        overflow-x: hidden !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* CTA Grid */
    .cta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* CTA Cards */
    .cta-card {
        min-width: 0 !important;
        /* KEY FIX */
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.8rem 0.5rem !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: 12px !important;
    }

    /* Text inside cards */
    .cta-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.2 !important;
    }

    .cta-text {
        font-size: 0.72rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
    }

    /* Button */
    .cta-button {
        width: 100% !important;
        min-height: 38px !important;
        font-size: 0.75rem !important;
        padding: 0.5rem 0.3rem !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }

    /* CTA Card — Button Same Position Fix */
    .cta-card {
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .cta-title {
        flex-shrink: 0 !important;
    }

    .cta-text {
        flex-grow: 1 !important;
        /* text area badhega */
        min-height: 40px !important;
        /* minimum height fixed */
        margin-bottom: 0.5rem !important;
    }

    .cta-button {
        margin-top: auto !important;
        flex-shrink: 0 !important;
        /* button shrink nahi hoga */
        width: 100% !important;
        min-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .cta-button br,
    .cta-text br {
        display: none !important;
    }
}

/* ================================================
   FINAL FIX — Y-SCROLL + TITLE CUT + BADGE OVERFLOW
   Mobile (max 767px) + S8+ (360px)
   ================================================ */

/* ── FIX 1: Expert Badge — absolute se relative karo mobile par ── */
@media (max-width: 767px) {

    /* Hero section overflow visible — badge clip na ho */
    .hero-sectionx {
        overflow: visible !important;
    }

    /* Badge ko hero image ke andar rakho — bahar mat jao */
    .hero-image-wrapperx {
        overflow: visible !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Expert badge — absolute position hatao, normal flow mein rakho */
    .expert-badgex {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin-top: 1rem !important;
        display: inline-flex !important;
        align-self: flex-end !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
        border-radius: 15px !important;
    }

    /* Hero col — flex so badge flows naturally */
    .hero-sectionx .col-lg-6:last-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* ── FIX 2: Body — sirf X hidden, Y auto ── */
@media (max-width: 767px) {
    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        max-width: 100vw !important;
    }
}

/* ── FIX 3: "Office Chair" / hero title cut fix ── */
@media (max-width: 767px) {

    /* Main navbar margin fix */
    .main-navbar {
        margin-top: 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
    }

    .hero-title {
        overflow: visible !important;
        clip-path: none !important;
        -webkit-clip-path: none !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Articles section margin reset */
    .articles-section {
        margin-top: 0 !important;
        overflow: visible !important;
    }
}

/* ── FIX 4: S8+ (360px) specific ── */
@media (max-width: 450px) {

    .hero-sectionx {
        padding: 4.5rem 0 1rem !important;
        overflow: visible !important;
    }

    .hero-image-wrapperx {
        flex-direction: column !important;
        align-items: center !important;
    }

    .expert-badgex {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin-top: 0.8rem !important;
        width: fit-content !important;
    }

    .expert-badgex i {
        font-size: 1.5rem !important;
    }

    .expert-badge-textx small {
        font-size: 0.7rem !important;
    }

    .expert-badge-textx strong {
        font-size: 0.9rem !important;
    }

    /* Chair box height fix */
    .hero-chair-boxx {
        height: 200px !important;
        max-width: 100% !important;
        padding: 0rem !important;
    }

    .hero-chair-boxx img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .expert-badgex {
        padding: 0.7rem 0.9rem;
        bottom: 30px !important;
        right: 65px !important;
    }
}


@media (max-width: 768px) and (min-width: 768px) {
    .d-tab-none {
        display: none !important;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
