/*
Theme Name: UltraFlex Theme
Theme URI: https://test.naturalitem.com
Author: Shamim
Author URI: https://naturalitem.com
Description: A Professional Lightweight Multipurpose WordPress Theme
Version: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ultraflex-theme
Tested up to: 6.5
Requires PHP: 7.4
*/


/* ========== Global Reset ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #f7f7f7;
    color: #222;
}

/* ========== Containers ========== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ========== Main Content ========== */
.site-content {
    padding: 40px 0;
}

.post {
    background: #fff;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.post h2 {
    margin-bottom: 10px;
}

.post h2 a {
    color: #222;
    text-decoration: none;
}

.post h2 a:hover {
    color: #0073aa;
}

.entry-content {
    color: #333;
    font-size: 16px;
}

/* ========== Navigation Menu ========== */
.site-nav {
    margin-top: 15px;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-menu li a {
    text-decoration: none;
    color: #222;
    font-weight: bold;
}

.main-menu li a:hover {
    color: #0073aa;
}
/* ========== 404 Page ========== */
.error-404 {
    text-align: center;
    padding: 80px 0;
}

.error-title {
    font-size: 80px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 20px;
}

.error-message {
    font-size: 20px;
    color: #555;
    margin-bottom: 30px;
}

.error-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: 0.3s;
}

.error-btn:hover {
    background: #005c87;
}
/* ========== Page Template ========== */
.page-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #111;
}

.page-body {
    font-size: 18px;
    color: #333;
    line-height: 1.7;
}
/* ===== Layout: Two Columns ===== */
.two-columns {
    display: flex;
    gap: 30px;
}

/* Content Area */
.content-area {
    width: 70%;
}

/* Sidebar */
.sidebar {
    width: 30%;
}
/* ===== Sidebar Widgets Design ===== */

.widget {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #111;
    border-left: 4px solid #0073aa;
    padding-left: 10px;
}

.widget ul {
    list-style: none;
    padding-left: 0;
}

.widget ul li {
    margin-bottom: 10px;
}

.widget ul li a {
    text-decoration: none;
    color: #333;
}

.widget ul li a:hover {
    color: #0073aa;
}
/* ===== Responsive: Hide Sidebar on Mobile ===== */
@media (max-width: 768px) {

    /* দুই কলাম ভেঙে এক কলাম হবে */
    .two-columns {
        display: block;
    }

    /* Content full width */
    .content-area {
        width: 100%;
    }

    /* Sidebar hide */
    .sidebar {
        display: none;
    }

    /* Single post padding adjust */
    .single-post,
    .page-content {
        padding: 20px;
    }

    /* Text size adjust */
    .single-title,
    .page-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .single-meta {
        font-size: 14px;
    }
}
/* ===== Mobile Reading Optimization ===== */
@media (max-width: 768px) {

    /* Overall container spacing */
    .site-content {
        padding: 15px;
    }

    /* Single post + Page body readability */
    .single-content,
    .page-body,
    .content-area {
        font-size: 17px;
        line-height: 1.75;
    }

    /* Paragraph spacing */
    .single-content p,
    .page-body p {
        margin-bottom: 18px;
    }

    /* Images fully responsive */
    .single-thumb img,
    .page-content img,
    .entry-content img {
        width: 100%;
        height: auto;
        border-radius: 6px;
    }

    /* Headings resize for mobile */
    h1, .single-title, .page-title {
        font-size: 26px;
        line-height: 1.3;
    }
    h2 { font-size: 22px; }
    h3 { font-size: 20px; }

}
/* ===== Single Post Navigation ===== */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 25px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.post-navigation a {
    font-size: 18px;
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

.post-navigation a:hover {
    color: #005c87;
    text-decoration: underline;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}
@media (max-width: 768px) {
    .post-navigation {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
/* ===== Pagination Design ===== */
.site-pagination {
    margin: 40px 0;
    text-align: center;
}

.site-pagination ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 10px;
}

.site-pagination li a,
.site-pagination li span {
    display: block;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #0073aa;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.site-pagination li a:hover {
    background: #0073aa;
    color: #fff;
}

.site-pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}
/* Featured Categories Section */
.featured-categories {
    margin: 60px 0;
    text-align: center;
}

.featured-categories h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #222;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cat-box {
    background: #f8f8f8;
    padding: 40px 20px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    cursor: pointer;
}

.cat-box:hover {
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}
.cat-box:hover .cat-icon {
    transform: scale(1.15);
    transition: 0.25s ease;
}

/* Step–24: Category Icons */
.cat-icon {
    font-size: 38px;
    color: #0073aa;
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cat-box {
        padding: 25px;
        font-size: 18px;
    }

    /* Step–24.4: Mobile Icon Size */
    .cat-icon {
        font-size: 32px;
    }
}

/* ============================
   HEADER LAYOUT (Phase–1)
============================ */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #ececec;
    padding: 12px 0;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-menu li a {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.main-menu li a:hover {
    color: #0073aa;
}

/* Step–51: Sticky Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ===============================
   Mobile Menu Animation (Step-17+18 Final)
================================== */

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: none;
    z-index: 8;
}

/* Mobile button base style */
.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #111;
}

@media (max-width: 768px) {

    /* show hamburger on mobile */
    .menu-toggle {
        display: block;
    }

   /* Slide menu from RIGHT (Final) */
.main-menu {
    position: fixed;
    top: 0;
    right: -260px; /* hidden by default */
    width: 260px;
    height: 100%;
    background: #ffffff;
    padding: 80px 20px 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.15);
    transition: right 0.35s ease-in-out;
    z-index: 999;
    display: block !important;
    flex-direction: column;
    gap: 18px;
}

/* Show menu when open */
.main-menu.menu-open {
    right: 0;
}


    .main-menu li {
        margin-bottom: 12px;
    }

    .main-menu a {
        font-size: 18px;
        font-weight: 600;
        color: #111;
        text-decoration: none;
    }
     /* STEP–20 Typography Polish */
    .main-menu a {
        font-size: 17px;
        font-weight: 600;
        line-height: 1.4;
        padding: 10px 0;
        display: block;
    }
/* Step–21: Active Menu Highlight */
.main-menu .current-menu-item > a,
.main-menu .current_page_item > a {
    color: #0073aa !important;
    font-weight: 700;
    background: #f2f9ff;
    border-radius: 6px;
    padding: 8px 12px;
}

    .main-menu li {
        margin-bottom: 10px;
    }

    .main-menu a:hover {
        color: #0073aa;
    }

    .main-menu .current-menu-item > a {
        color: #0073aa;
        font-weight: 700;
    }
}
/* Mobile Close (X) Button – final */
.mobile-close-btn {
    display: none;          /* শুরুতে সব জায়গায় হাইড */
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    z-index: 1000;
}
/* ===============================
   Step–22: Sticky Header + Shadow
================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    transition: box-shadow 0.3s ease;
}

/* Scroll করলে shadow apply হবে */
.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}
/* ================================
   Step–23: HOMEPAGE HERO SECTION
================================== */

.uf-hero {
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    border-bottom: 1px solid #eee;
}

.uf-hero-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
    padding: 0 20px;
}

.uf-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
}

.uf-hero p {
    font-size: 18px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 25px;
}

.uf-hero-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #0073aa;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.uf-hero-btn:hover {
    background: #005c87;
}

/* Mobile */
@media (max-width: 768px) {
    .uf-hero {
        padding: 60px 0;
    }

    .uf-hero h1 {
        font-size: 32px;
    }

    .uf-hero p {
        font-size: 16px;
    }

    .uf-hero-btn {
        font-size: 17px;
        padding: 12px 28px;
    }
}
/* ===== Demo 1: Hero Section ===== */
.demo-hero {
    width: 100%;
    padding: 120px 0;
   background: url(https://test.naturalitem.com/wp-content/uploads/2025/11/4k-Smooth-Blue-Gradient-Wave-4K-Wallpaper-scaled.jpg ) no-repeat center/cover;
    text-align: center;
    color: #fff;
    position: relative;
}

.demo-hero-content {
    max-width: 800px;
    margin: auto;
    padding: 0 20px;
}

.demo-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.demo-hero p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}
/* ==========================
   Step–53 — Hero Text Reveal
========================== */

.uf-hero-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease;
}

.uf-hero-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Step–44.3: Hero Button Premium Polish */
.demo-btn {
    display: inline-block;
    background: #ffffff;
    color: #0b5fa8;
    padding: 15px 34px;
    font-size: 19px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.28s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.demo-btn:hover {
    background: #f0f7ff;
    color: #004f97;
    transform: translateY(-4px);
    box-shadow: 
        0 10px 28px rgba(0, 0, 0, 0.18),
        0 0 12px rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.9);
}
.demo-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25); /* Light dark overlay */
}
.uf-hero-title {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.uf-hero-subtitle {
    opacity: 0.92;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* ===== Demo 1: Features Section ===== */
.demo-features {
    padding: 80px 0;
    text-align: center;
    background: #ffffff;
}

.demo-section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #111;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-box {
    background: #f7f9fc;
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.feature-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 16px;
    color: #444;
}

/* Mobile */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .demo-section-title {
        font-size: 28px;
    }
}
/* ===== Demo 1: 4 Columns Category Grid ===== */
/* Center the Section Title */
.demo-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* ===== Demo 1: 4 Columns Category Grid ===== */

.demo-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Category Box Design */
.demo-category-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.35s ease-in-out;
    transform: translateY(0);
}

/* Zoom Hover Effect */
.demo-category-box:hover {
    transform: scale(1.06) translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Icon */
.demo-cat-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

/* Titles */
.demo-category-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Description */
.demo-category-box p {
    font-size: 14px;
    color: #555;
}

/* Responsive */
@media (max-width: 991px) {
    .demo-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .demo-category-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== Premium Services Zoom Hover Effect ====== */

.uf-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.uf-service-box {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    transform: translateY(0) scale(1);
}

/* Hover Animation */
.uf-service-box:hover {
    transform: scale(1.07) translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* Icon Animation */
.uf-service-box .uf-service-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.35s ease;
}

.uf-service-box:hover .uf-service-icon {
    transform: scale(1.25);
}

/* Responsive */
@media (max-width: 992px) {
    .uf-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Center align all section titles */
.uf-section-title {
    text-align: center !important;
    width: 100%;
    display: block;
    margin: 0 auto 40px auto;
}

/* Mobile */
@media (max-width: 768px) {
    .uf-services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Demo 1 UltraFlex Premium Pricing (Compact Perfect Version) ===== */
/* Premium Pricing Section */
.uf-pricing-premium {
    padding: 100px 0;
    background: #f8faff;
    text-align: center;
}

.premium-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
}

.premium-subtitle {
    font-size: 15px;
    color: #666;
    max-width: 520px;
    margin: 0 auto 45px;
}

/* Grid */
.premium-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Pricing Card */
.pricing-card {
    background: #ffffff;
    padding: 38px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transition: 0.25s ease;
    cursor: pointer;
}

/* Saved Working Hover Effect */
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 50px rgba(0,0,0,0.12);
}

/* Featured Card */
.pricing-card.featured {
    background: linear-gradient(135deg, #eef2ff, #e3eaff);
    border: 2px solid #4f46e5;
}

.badge {
    background: #4f46e5;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

/* Price */
.pricing-price {
    margin: 15px 0 25px;
}

.currency {
    font-size: 40px;
    font-weight: 800;
    color: #4f46e5;
}

.per {
    font-size: 20px;
    color: #333;
}

/* Feature list */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.pricing-features li {
    margin: 8px 0;
    color: #555;
    font-size: 15px;
}

/* Buttons */
.pricing-btn {
    display: inline-block;
    padding: 12px 26px;
    background: #f1f1ff;
    border-radius: 10px;
    font-weight: 600;
    color: #333;
    transition: 0.25s ease;
}

.pricing-btn:hover {
    background: #e0e0ff;
}

.pricing-btn.active {
    background: #4f46e5;
    color: #fff;
}

/* Responsive */
@media(max-width: 900px) {
    .premium-pricing-grid {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   ULTRAFLEX PREMIUM 3D DEPTH SHADOW
   For Pricing Cards
================================ */

.uf-pricing-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.35s ease;
    
    /* Soft floating 3D shadow */
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.06),
        0 15px 35px rgba(0, 0, 0, 0.04),
        0 25px 50px rgba(0, 0, 0, 0.03);
}

/* Hover 3D Lift Effect */
.uf-pricing-box:hover {
    transform: translateY(-10px);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.10),
        0 25px 45px rgba(0, 0, 0, 0.09),
        0 35px 60px rgba(0, 0, 0, 0.06);
}

/* ============================
   ULTRAFLEX SUPER PREMIUM 3D SHADOW
============================ */

.uf-pricing-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.35s ease;
    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.08),
        0 25px 45px rgba(0, 0, 0, 0.06),
        0 40px 70px rgba(0, 0, 0, 0.04);
}

/* Hover: stronger lift */
.uf-pricing-box:hover {
    transform: translateY(-12px);
    box-shadow:
        0 20px 35px rgba(0, 0, 0, 0.12),
        0 40px 70px rgba(0, 0, 0, 0.10),
        0 55px 90px rgba(0, 0, 0, 0.06);
}

/* Featured card — Pro */
.uf-pricing-box.featured {
    border: 2px solid #5b6bff;
    background: #eef1ff;
    box-shadow:
        0 18px 35px rgba(91, 107, 255, 0.20),
        0 45px 70px rgba(91, 107, 255, 0.15),
        0 70px 100px rgba(91, 107, 255, 0.10);
}

.uf-pricing-box.featured:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow:
        0 30px 50px rgba(91, 107, 255, 0.25),
        0 60px 90px rgba(91, 107, 255, 0.20),
        0 90px 130px rgba(91, 107, 255, 0.12);
}

/* ===== Demo 1 - Testimonials Section ===== */
/* ============================
   Testimonials – Zoom Hover Effect
============================ */
.uf-testimonials {
    padding: 90px 0;
    background: #f7f9ff;
}

.uf-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Base card style */
.uf-testimonial-box {
    background: #ffffff;
    padding: 30px 28px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 35, 90, 0.06);
    border: 1px solid rgba(120, 135, 200, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Text styles (যদি আগে না থাকে) */
.uf-testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 18px;
}

.uf-testimonial-author {
    font-weight: 600;
    font-size: 15px;
    color: #2f3fb8;
}

/* Zoom hover / tap effect */
.uf-testimonial-box:hover,
.uf-testimonial-box:focus-visible,
.uf-testimonial-box:active {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 26px 60px rgba(15, 35, 90, 0.16);
    border-color: rgba(86, 111, 255, 0.35);
}

/* ছোট স্ক্রিনে গ্রিড ব্রেক */
@media (max-width: 992px) {
    .uf-testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .uf-testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .uf-testimonial-box {
        padding: 24px 20px;
    }
}

/* ================================
   Step–29: Global Section Spacing
================================= */

/* Reduce padding for smaller screens */
@media (max-width: 768px) {
    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* Smooth Section Fade-in Animation */
.uf-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.7s ease-in-out;
}

.uf-animate.uf-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Step–29: Typography Polish */
h2, .demo-section-title, .uf-section-title {
    letter-spacing: -0.5px;
}

p {
    line-height: 1.75;
}
/* ==========================
   Step–30: Responsive Typography
   ========================== */

/* Tablet Optimization (max-width: 992px) */
@media (max-width: 992px) {
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    p  { font-size: 16px; line-height: 1.7; }
}

/* Mobile Optimization (max-width: 768px) */
@media (max-width: 768px) {
    h1 { font-size: 34px; }
    h2 { font-size: 26px; }
    h3 { font-size: 20px; }
    p  { font-size: 15px; line-height: 1.7; }

    .hero h1 { font-size: 36px; }
    .hero p  { font-size: 17px; }
}

/* Extra Small Screens (max-width: 480px) */
@media (max-width: 480px) {
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    p  { font-size: 14px; line-height: 1.6; }

    .hero h1 { font-size: 30px; }
    .hero p  { font-size: 16px; }
}
/* ==========================
   Step–31: Global Shadow & Depth System
   ========================== */

/* Soft Shadow for All Boxes */
.feature-box,
.uf-service-box,
.uf-pricing-box,
.uf-testimonial-box {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
}

/* Hover Elevation */
.feature-box:hover,
.uf-service-box:hover,
.uf-pricing-box:hover,
.uf-testimonial-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* Section Background Depth */
section {
    background: #f9fbff;
}

/* Testimonial Cards Special Polish */
.uf-testimonial-box {
    border-left: 4px solid #0078c9;
}

/* Pricing Center Card Highlight */
.uf-pricing-box.featured {
    transform: scale(1.04);
    border: 2px solid #0078c9;
}
/* ==========================
   Step–32: Premium Button Polish + Ripple Click Effect
   ========================== */

.uf-btn,
a.button,
button,
input[type="submit"] {
    position: relative;
    overflow: hidden;
    display: inline-block;
    background: #0078c9;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}

/* Hover */
.uf-btn:hover,
a.button:hover,
button:hover,
input[type="submit"]:hover {
    background: #005da0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 120, 200, 0.3);
}

/* Ripple Effect */
.uf-btn::after,
a.button::after,
button::after,
input[type="submit"]::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

/* Active Ripple Animation */
.uf-btn:active::after,
a.button:active::after,
button:active::after,
input[type="submit"]:active::after {
    width: 200px;
    height: 200px;
    transform: scale(1);
    opacity: 1;
    transition: all 0.4s ease-out;
    top: var(--y);
    left: var(--x);
}
/* ===============================
   Step–33: Pricing Card Hover Glow
================================== */

.uf-pricing-box {
    transition: 0.35s ease;
    border: 2px solid transparent;
}

.uf-pricing-box:hover {
    transform: translateY(-10px);
    border-color: #0087d9; /* Glow Border */
    box-shadow: 0 10px 30px rgba(0, 123, 200, 0.25);
}

/* Center Pro Card – Always Highlight */
.uf-pricing-box.featured {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 123, 200, 0.28);
}

/* Featured Card Hover Even Stronger */
.uf-pricing-box.featured:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 16px 45px rgba(0, 123, 200, 0.35);
}
/* Mobile Responsive – Category Section */
@media (max-width: 768px) {
    .demo-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .demo-category-grid {
        grid-template-columns: 1fr;
    }
}
/* ======================
   CTA Section Styling
====================== */

.uf-cta-section {
    background: linear-gradient(135deg, #4c6ef5, #6a82fb);
    padding: 60px 0;
    text-align: center;
    color: #fff;
    border-radius: 18px;
    margin-top: 60px;
    margin-bottom: 80px;
    backdrop-filter: blur(4px);
}

.uf-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.uf-cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.uf-cta-text {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
}

.uf-cta-btn {
    display: inline-block;
    background: #ffffff;
    color: #4c6ef5;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.35s ease;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.45),
                0 8px 22px rgba(76, 110, 245, 0.15);
}

.uf-cta-btn:hover {
    background: #f8f9ff;
    color: #3b5bdb;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 255, 255, 0.55),
                0 14px 34px rgba(76, 110, 245, 0.25);
}


/* Mobile */
@media (max-width: 768px) {
    .uf-cta-title {
        font-size: 26px;
    }
    .uf-cta-text {
        font-size: 16px;
    }
    .uf-cta-btn {
        font-size: 16px;
        padding: 12px 26px;
    }
}
/* Soft Glow Hover for CTA Section */
.uf-cta-section {
    transition: 0.4s ease;
    border-radius: 20px; /* যদি rounded না থাকে */
}

.uf-cta-section:hover {
    box-shadow: 0 0 55px rgba(90, 120, 255, 0.35);
    transform: translateY(-4px);
}

/* ======================
   Footer Premium Polish
====================== */

.site-footer {
    background: #0e1a33;
    color: #d9e2ff;
    padding: 50px 0;
    font-size: 16px;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: 0.3s;
}

.site-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-widgets {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-widgets div {
    flex: 1;
}

.site-footer p {
    text-align: center;
    margin-top: 30px;
    opacity: 0.8;
    font-size: 15px;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-widgets {
        flex-direction: column;
        gap: 20px;
    }
}
/* Footer Typography + Columns Polish */
.site-footer {
    background: #0b152b;
    color: #d6e2ff;
    padding: 60px 0 40px;
    font-size: 17px;
    line-height: 1.7;
}

/* Footer Title */
.site-footer .footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Footer Links */
.site-footer a {
    color: #d6e2ff;
    text-decoration: none;
    opacity: 0.85;
    transition: 0.25s ease;
}

.site-footer a:hover {
    opacity: 1;
    color: #ffffff;
    padding-left: 3px;
}

/* Divider – Thin Glow Line (Premium Look) */
.uf-footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #3454ff, transparent);
    margin: 30px 0 20px;
    opacity: 0.6;
}

/* Footer Bottom Text */
.site-footer .footer-bottom {
    text-align: center;
    font-size: 15px;
    opacity: 0.7;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-widgets {
        flex-direction: column;
        gap: 25px;
    }
    .site-footer {
        padding: 40px 0 30px;
    }
}
/* ============================
   Step–43: Global Section Spacing Polish
============================ */

.uf-section-title {
    margin-bottom: 40px !important;
}

section {
    padding-top: 70px;
    padding-bottom: 70px;
}
/* Step–43.2: Micro-Float Hover (Feature, Service, Pricing) */
.feature-box,
.uf-service-box,
.uf-pricing-box,
.uf-testimonial-box {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-box:hover,
.uf-service-box:hover,
.uf-pricing-box:hover,
.uf-testimonial-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}
/* Step–43.2: Button Micro Glow */
.uf-cta-btn,
.uf-pricing-box .button,
.uf-btn {
    transition: all 0.25s ease;
}

.uf-cta-btn:hover,
.uf-pricing-box .button:hover,
.uf-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(52, 84, 255, 0.35);
}
/* Step–43.2: Smooth Fade Scroll-In */
.uf-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.uf-visible {
    opacity: 1;
    transform: translateY(0);
}
.uf-testimonials {
    background: #f7faff;
}
.uf-pricing-box h3 {
    color: #0f172a;
}
.feature-box i {
    color: #475569;
}

/* ===========================
   UltraFlex Premium Footer (Final Combined)
=========================== */

.uf-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 60px 0 30px;
    margin-top: 60px;
    font-family: Arial, sans-serif;
    position: relative;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.25);
}

/* Footer Top Glow Line */
.uf-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #60a5fa, #6366f1);
    opacity: 0.25;
}

/* Reveal Animation */
.uf-footer {
    opacity: 0;
    transform: translateY(30px);
    animation: ufFooterReveal 1s ease-out forwards;
}

@keyframes ufFooterReveal {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Top footer area */
.uf-footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* Columns */
.uf-footer-col h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.uf-footer-col p {
    font-size: 15px;
    line-height: 1.6;
    color: #cccccc;
}

/* Links */
.uf-footer-col ul {
    list-style: none;
    padding: 0;
}

.uf-footer-col ul li {
    margin-bottom: 8px;
}

.uf-footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.uf-footer-col ul li a:hover {
    color: #ffffff;
}

/* Column Hover Lift */
.uf-footer-col {
    transition: transform 0.3s ease;
}

.uf-footer-col:hover {
    transform: translateY(-4px);
}

/* Social Icons Container */
.uf-social {
    display: flex;
    gap: 15px;
    margin-top: 12px;
}

/* Social Icon Wrapper */
.uf-icon {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: visible;
}

/* SVG Icons */
.uf-icon img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: 0.3s ease;
}

/* SVG Hover Zoom */
.uf-icon img:hover {
    transform: scale(1.15);
}

/* Soft Glow Behind Icons (Step 50) */
.uf-icon::after {
    content: "";
    position: absolute;
    width: 46px;
    height: 46px;
    top: -4px;
    left: -4px;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0;
    transition: 0.35s ease;
    z-index: -1;
}

.uf-icon.facebook::after {
    background: rgba(24, 119, 242, 0.45);
}

.uf-icon.twitter::after {
    background: rgba(29, 161, 242, 0.45);
}

.uf-icon.instagram::after {
    background: rgba(217, 70, 239, 0.45);
}

.uf-icon:hover::after {
    opacity: 1;
    transform: scale(1.25);
}

/* Bottom bar */
.uf-footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .uf-footer-top {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }

    .uf-footer-col {
        margin-bottom: 25px;
    }

    .uf-social {
        justify-content: center;
    }

    .uf-footer-bottom {
        font-size: 13px;
        margin-top: 20px;
    }
}
.uf-social {
    margin-top: 0 !important;
    align-items: center;
}
/* Step–52: Hero Smooth Scroll Reveal */
.uf-hero-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.uf-hero-reveal.uf-hero-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================
   Step–52 — UltraFlex Hero Button Animation (FINAL)
============================= */

/* Make demo button animated */
.demo-btn {
    display: inline-block;
    padding: 14px 38px;
    background: #ffffffd9;
    color: #111;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
    transition: all 0.28s ease;
    backdrop-filter: blur(6px);
}

/* Hover animation */
.demo-btn:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 12px 34px rgba(0,0,0,0.30);
    background: #ffffff;
    color: #000;
}

/* Click press animation */
.demo-btn:active {
    transform: scale(0.97);
}
/* ============================
    demo 1 Step–56 — Latest Posts Grid
=========================== */

.uf-latest-posts {
    margin-top: 80px;
}

.uf-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.uf-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.uf-post-box {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.uf-post-box:hover {
    transform: translateY(-6px);
}

.uf-post-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.uf-post-box h3 {
    font-size: 19px;
    padding: 15px;
    color: #111;
}

.uf-post-date {
    font-size: 14px;
    color: #555;
    padding: 0 15px;
}

.uf-readmore {
    display: inline-block;
    padding: 12px 15px;
    font-size: 14px;
    color: #2563eb;
    font-weight: 600;
}
@media (max-width: 900px) {
    .uf-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .uf-post-grid {
        grid-template-columns: 1fr;
    }
}
.uf-post-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}
/* ===========================
   Latest Posts – Zoom Hover
=========================== */

.uf-latest-posts .uf-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card base */
.uf-latest-posts .uf-post-box {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* লিংকটাকে পুরো কার্ড বানাই */
.uf-latest-posts .uf-post-box > a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 18px 20px 20px;
}

/* Image wrapper */
.uf-latest-posts .uf-post-thumb {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
}

/* Image নিজে */
.uf-latest-posts .uf-post-thumb img {
    width: 100%;
    display: block;
    transition: transform 0.45s ease;
}

/* Title / text */
.uf-latest-posts .uf-post-box h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.uf-latest-posts .uf-post-date {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
}

/* Read more */
.uf-latest-posts .uf-readmore {
    display: inline-block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
}

/* Hover effect (desktop / hover devices only) */
@media (hover: hover) and (pointer: fine) {
    .uf-latest-posts .uf-post-box:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
    }

    .uf-latest-posts .uf-post-box:hover .uf-post-thumb img {
        transform: scale(1.08);
    }
}

/* Responsive grid */
@media (max-width: 900px) {
    .uf-latest-posts .uf-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .uf-latest-posts .uf-post-grid {
        grid-template-columns: 1fr;
    }

    /* মোবাইলে খুব বেশি shadow/zoom না, যাতে ঝামেলা না হয় */
    .uf-latest-posts .uf-post-box {
        transform: none !important;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    }
}

/* ===========================
   SaaS Demo 2 – Hero Section
=========================== */

.saas-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #1d4ed8, #6d28d9);
    color: #ffffff;
}

.saas-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Left Content */
.saas-hero-content {
    flex: 1;
    max-width: 540px;
}

.saas-hero-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 700;
}

.saas-hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.9;
}

/* Buttons */
.saas-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.saas-hero-buttons .btn-primary,
.saas-hero-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.saas-hero-buttons .btn-primary {
    background: #ffffff;
    color: #1d4ed8;
}

.saas-hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Right Mockup */
.saas-hero-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
}

.saas-mockup-card {
    width: 100%;
    max-width: 420px;
    background: #0f172a;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.7);
}

.saas-mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.saas-mockup-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4b5563;
}

.saas-mockup-body h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.saas-mockup-body p {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 14px;
}

.saas-mockup-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.saas-mockup-bars .bar {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #a3e635);
    opacity: 0.8;
}
.saas-mockup-bars .bar:nth-child(2) {
    width: 80%;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
}
.saas-mockup-bars .bar:nth-child(3) {
    width: 60%;
    background: linear-gradient(90deg, #f97316, #fb7185);
}

/* Responsive */
@media (max-width: 900px) {
    .saas-hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .saas-hero-content {
        max-width: 100%;
    }

    .saas-hero-buttons {
        justify-content: center;
    }

    .saas-hero-mockup {
        width: 100%;
    }
}
/* ===========================
   Trusted By Section
=========================== */

.trusted-section {
    padding: 50px 0;
    background: #ffffff;
    text-align: center;
}

.trusted-title {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    font-weight: 500;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.logo-box {
    padding: 12px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 14px;
    color: #4b5563;
    font-weight: 600;
    transition: 0.2s;
}

.logo-box:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}
/* =====================================================
   DEMO-2 : Powerful Features (4 Cards + Hover Effect)
   Mobile: 1 col | Tablet: 2 col | Desktop: 4 col
===================================================== */

.demo2-features-section {
    padding: 70px 0;
    text-align: center;
}

/* Mobile First – 1 Column */
.demo2-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 40px;
}

.demo2-feature-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover Zoom Effect */
.demo2-feature-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 24px 60px rgba(0,0,0,0.14);
}

.demo2-feature-card .feature-icon {
    font-size: 42px;
    margin-bottom: 14px;
}

.demo2-feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.demo2-feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Tablet – 2 Columns */
@media (min-width: 600px) and (max-width: 1023px) {
    .demo2-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Desktop – 4 Columns */
@media (min-width: 1024px) {
    .demo2-features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }
}

/* ===========================
   Product Screenshot Section
=========================== */

.screenshot-section {
    padding: 90px 0;
    background: #f9fafb;
    text-align: center;
}

.screenshot-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.screenshot-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.screenshot-box {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.screenshot-box img {
    width: 100%;
    border-radius: 14px;
}
.product-screenshot-box {
    max-width: 1100px;
    margin: 40px auto 60px;
    text-align: center;
}

.product-screenshot-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.10);
    display: block;
}
/* ================================
   PRODUCT SCREENSHOT – FINAL FIX
   Gap Reduce + Mobile Optimization
   Premium Hover Effect
================================ */

/* Wrapper spacing fix */
.product-screenshot-box {
    max-width: 1100px;
    margin: 40px auto 30px; /* gap reduced */
    text-align: center;
}

/* Image style + Hover Effect */
.product-screenshot-box img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 30px 60px rgba(0,0,0,0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover / Touch Zoom Effect */
.product-screenshot-box img:hover {
    transform: scale(1.02);
    box-shadow: 0 35px 70px rgba(0,0,0,0.15);
}

/* Mobile View Optimization */
@media (max-width: 768px) {
    .product-screenshot-box {
        margin: 20px auto 10px; /* mobile gap smaller */
    }

    .product-screenshot-box img:hover {
        transform: scale(1.015); /* light zoom for touch */
    }
}

/* =========================================
   DEMO 2 – Problem Solving Section (Zoom)
=========================================== */

.problem-section {
    padding: 80px 0;
    background: #f8fbff; /* হালকা ব্যাকগ্রাউন্ড */
}

.problem-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Left Illustration */
.problem-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.problem-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 35, 52, 0.18);
    
    /* Zoom effect */
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-origin: center center;
}

.problem-visual img:hover {
    transform: scale(1.06);
    box-shadow: 0 26px 60px rgba(15, 35, 52, 0.28);
}

/* Right Content */
.problem-content {
    flex: 1;
}

.problem-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.problem-text {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li {
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}

/* Responsive: Tablet & Mobile */
@media (max-width: 991px) {
    .problem-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .problem-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .problem-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .problem-section {
        padding: 60px 0;
    }

    .problem-content h2 {
        font-size: 24px;
    }

    .problem-text {
        font-size: 15px;
    }
}

/* ===========================
   Advanced Features Section
=========================== */

/* =====================================================
   DEMO-2 : More Powerful Capabilities (Hover + Responsive)
===================================================== */

.demo2-advanced {
    padding: 70px 0;
    text-align: center;
}

.demo2-advanced .af-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.demo2-advanced .af-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

/* GRID SYSTEM */
.af-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

/* CARD STYLE */
.demo2-af-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* ICON */
.demo2-af-card .af-icon {
    font-size: 42px;
    margin-bottom: 14px;
}

/* HOVER EFFECT */
.demo2-af-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 22px 55px rgba(0,0,0,0.12);
}

/* TEXT */
.demo2-af-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.demo2-af-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Tablet - 2 Columns */
@media (min-width: 600px) and (max-width: 1023px) {
    .af-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

/* Desktop - 3 Columns */
@media (min-width: 1024px) {
    .af-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* ===========================
   SaaS Premium Pricing
=========================== */

.saas-pricing {
    padding: 90px 0;
    background: #0f1123;
    text-align: center;
    color: #fff;
}

.saas-price-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.saas-price-subtitle {
    font-size: 16px;
    color: #bbb;
    margin-bottom: 50px;
}

.saas-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.saas-price-card {
    background: #1b1e33;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    transition: 0.3s ease;
}

.saas-price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 60px rgba(0,0,0,0.45);
}

.saas-price-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.saas-price-amount {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

.saas-price-amount span {
    font-size: 16px;
    color: #999;
}

.saas-price-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    color: #d4d4d4;
}

.saas-price-list li {
    margin-bottom: 10px;
}

/* Buttons */
.saas-price-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    color: #fff;
    background: #2b2f4a;
    text-decoration: none;
    font-weight: 600;
}

.saas-btn-active {
    background: linear-gradient(135deg, #6a5cff, #4ad1ff);
    color: #000;
}

/* Popular Plan Highlight */
.saas-price-popular {
    border: 2px solid #4ad1ff;
    transform: scale(1.06);
    box-shadow: 0 20px 60px rgba(0,183,255,0.35);
}

.saas-badge {
    background: #4ad1ff;
    color: #000;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 900px) {
    .saas-price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .saas-price-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================
   DEMO-2 : SaaS Testimonials (Hover + Grid)
   Section: "Loved by Founders & Product Teams"
========================================== */
/* ===============================
   SaaS Testimonials Section
================================ */

.saas-testimonials {
    padding: 80px 0;
    background: #f8fafc;
}

.saas-test-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.saas-test-subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 620px;
    margin: 0 auto 60px;
}

/* Grid */
.saas-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Card */
.saas-test-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.saas-test-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.10);
}

/* User Info */
.saas-test-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

/* ✅ IMAGE FIX – MOST IMPORTANT PART */
.saas-test-user img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #e5e7eb;
}

/* Name */
.saas-test-user h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.saas-test-user span {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

/* Text */
.saas-test-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* ===============================
   Responsive
================================ */
@media (max-width: 991px) {
    .saas-test-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .saas-test-grid {
        grid-template-columns: 1fr;
    }

    .saas-testimonials {
        padding: 60px 0;
    }
}
/* ===============================
    2 Testimonial Image Zoom Hover
================================ */

.saas-test-user {
    overflow: hidden;
}

.saas-test-user img {
    transition: transform 0.35s ease;
}

.saas-test-card:hover .saas-test-user img {
    transform: scale(1.15);
}

/* CTA Dark Section */
.cta-dark {
    padding: 120px 0;
    background: #0f0f19;
    text-align: center;
    color: #fff;
}

.cta-dark-inner {
    max-width: 650px;
    margin: auto;
}

.cta-dark h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-dark p {
    color: #c9c9d9;
    margin-bottom: 40px;
    font-size: 18px;
}

.cta-dark-btn {
    padding: 16px 40px;
    background: #00e0ff;
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(0, 224, 255, 0.6);
    transition: 0.25s;
}

.cta-dark-btn:hover {
    box-shadow: 0 0 40px rgba(0, 224, 255, 0.9);
    transform: translateY(-4px);
}
/* Demo 2 Highlight Bar */
.demo2-highlight-bar {
    background: linear-gradient(to right, #2d2dff, #00e0ff);
    padding: 18px 0;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
}
/* ===========================
   DEMO–2 FAQ SECTION (FINAL CLEAN VERSION)
=========================== */

.demo2-faq {
    padding: 80px 0;
    background: #f9f9f9;
    margin-bottom: 60px;
}

.faq-inner {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.faq-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.demo2-faq .faq-item {
    background: #ffffff;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* FAQ Button */
.demo2-faq .faq-question {
    display: block;
    width: 100%;
    padding: 18px 20px;
    background: #ffffff;
    color: #111111;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.demo2-faq .faq-question:hover {
    background: #0052cc;
    color: #ffffff;
}

/* FAQ Answer */
.demo2-faq .faq-answer {
    display: none;
    padding: 15px 20px 25px;
    background: #ffffff;
    color: #444444;
    border-top: 1px solid #f0f0f0;
}

/* Active state */
.demo2-faq .faq-item.active .faq-answer {
    display: block;
}
/* Step–12: Demo–2 Section Spacing Polish (SAFE FIX) */

.demo2-cta {
    margin-bottom: 45px; /* CTA এর নিচে balanced space */
}

.demo2-faq {
    margin-bottom: 70px; /* FAQ এর নিচে equal perfect gap */
}

/* ===============================
   Demo 3 – Corporate Hero Style
================================ */

.hero3 {
    background: linear-gradient(135deg, #0a1833, #102040);
    padding: 120px 0;
    color: #fff;
}

.hero3-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
}

.hero3-left {
    flex: 1;
}

.hero3-left h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero3-left p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 500px;
    opacity: 0.9;
}

.hero3-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.btn-primary3 {
    background: #4da3ff;
    padding: 12px 28px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary3:hover {
    background: #1e90ff;
}

.btn-outline3 {
    padding: 12px 28px;
    border-radius: 6px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline3:hover {
    background: #fff;
    color: #0a1833;
}

.hero3-right img {
    width: 420px;
    filter: drop-shadow(0px 10px 40px rgba(0,0,0,0.4));
}

@media (max-width: 900px) {
    .hero3-container {
        flex-direction: column;
        text-align: center;
    }
    .hero3-right img {
        width: 320px;
    }
}
/* =========================================
   ULTRAFLEX TEAM SECTION – FINAL PERFECT VERSION
========================================= */
.uf-team-wrapper {
    padding: 38px 0 52px; /* PERFECT SPACING */
    background: #f5f7ff;
}

.uf-team-section .section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 12px;
}

.uf-team-section .section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #666;
}

/* Grid layout */
.uf-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* Card */
.uf-team-item {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
}

.uf-team-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.15);
}

/* Image frame */
.team-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s ease;
}

.uf-team-item:hover .team-img img {
    transform: scale(1.10);
}

/* Dark gradient overlay */
.uf-team-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 300px;
    width: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 15%,
        rgba(0,0,0,0.55) 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 18px 18px 0 0;
}

.uf-team-item:hover::after {
    opacity: 1;
}

/* Info */
.team-info {
    background: #fff;
    padding: 20px 0 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
}

.team-role {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 14px;
}

/* Social icons */
.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 6px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.25);
    font-size: 12px;
    text-decoration: none;
    color: #333;
    background: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.35s ease;
}

.uf-team-item:hover .team-social a {
    opacity: 1;
    transform: translateY(0);
}

.team-social a:hover {
    color: #fff;
    background: #0056ff;
    border-color: #0056ff;
}

/* Responsive */
@media (max-width: 900px) {
    .uf-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width: 600px) {
    .uf-team-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   Portfolio Section
============================= */
.portfolio-section {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.portfolio-section .section-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-section .section-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    background: #f8f9ff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    transition: 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.portfolio-img img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.portfolio-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 5px;
}

.portfolio-category {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}
/* ===========================
   WORKING PROCESS SECTION
=========================== */

.workflow-section {
    padding: 80px 0;
    background: #f7faff;
}

.workflow-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.workflow-subtitle {
    text-align: center;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 50px;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.workflow-box {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
}

.workflow-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.wf-icon {
    font-size: 42px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.workflow-box:hover .wf-icon {
    transform: scale(1.2) rotate(5deg);
}

.workflow-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.workflow-box p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.wf-step-count {
    position: absolute;
    bottom: 18px;
    right: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #e5e7eb;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .workflow-steps {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ==============================================
   DEMO-3 : Recent Case Studies (Responsive + Hover)
   Mobile: 1 col | Tablet: 2 col | Desktop: 3 col
============================================== */

.uf-case-study-section {
    padding: 70px 0;
    text-align: center;
}

/* Section title নিচে একটু গ্যাপের জন্য চাইলে থাকবে
.uf-case-study-section .section-title {
    margin-bottom: 10px;
}
.uf-case-study-section .section-subtitle {
    color: #555;
    margin-bottom: 35px;
}
*/

/* Mobile First: 1 Column */
.uf-case-study-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 35px;
}

/* Card style */
.case-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 18px 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Image wrapper for zoom */
.case-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 14px;
}

.case-image img {
    width: 100%;
    display: block;
    transition: transform 0.35s ease;
}

/* Hover zoom effect */
.case-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}


/* ============= Tablet: 2 Columns ============= */
@media (min-width: 600px) and (max-width: 1023px) {
    .uf-case-study-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}


/* ============= Desktop: 3 Columns ============ */
@media (min-width: 1024px) {
    .uf-case-study-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .case-card {
        padding: 20px 20px 24px;
    }
}

/* =====================================
   PORTFOLIO SECTION – PREMIUM HOVER EFFECT
===================================== */

.portfolio-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s ease;
    text-align: center;
    padding-bottom: 20px;
    cursor: pointer;
}

/* Image */
.portfolio-img img {
    width: 100%;
    display: block;
    border-radius: 14px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Hover: zoom + lift */
.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.07);
    opacity: 0.90;
}

/* Title Hover Color Change */
.portfolio-item:hover .portfolio-title {
    color: #0056ff;
}

/* Sub-category fade */
.portfolio-category {
    color: #666;
    transition: opacity 0.35s ease;
}

.portfolio-item:hover .portfolio-category {
    opacity: 0.7;
}
/* ======================================
   DEMO 3 – PARTNERS SECTION (FINAL PREMIUM)
   ====================================== */
.demo3-partners {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.demo3-partners .partners-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.demo3-partners .partners-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 50px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

.partners-logos img {
    height: 42px;    /* Perfect equal size */
    opacity: 0.6;
    transition: 0.25s ease-in-out;
    filter: grayscale(100%);
}

.partners-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}
/* ================================
   Demo 3 – Partner Logos Fix
================================ */
.demo3-partners {
    padding: 100px 0; /* ✅ section height */
    background: #fff;
}

.demo3-partners .partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;              /* ✅ spacing between logos */
    flex-wrap: wrap;
    margin-top: 48px;
}

.demo3-partners .partners-logos img {
    height: 72px !important;  /* ✅ MAIN FIX */
    width: auto !important;
    max-width: none !important;

    opacity: 0.9;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.demo3-partners .partners-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.15);
}

/* ============================
   demo 1 Why Choose UltraFlex – Premium Section
   ============================ */

.uf-whychoose {
    padding: 70px 0;
    background: #f7f9fc;
}

.uf-whychoose .section-title {
    font-size: 34px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.uf-whychoose .section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.uf-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.uf-why-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover Zoom Effect */
.uf-why-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.uf-why-card .icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.uf-why-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.uf-why-card p {
    color: #666;
    font-size: 15px;
}



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

/* Tablet (2 columns) */
@media (max-width: 1024px) {
    .uf-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (1 column) */
@media (max-width: 600px) {
    .uf-why-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================
   DEMO 3 – MOBILE RESPONSIVE FIX PACK
   ====================================== */

@media (max-width: 768px) {

    /* Universal padding fix */
    .container {
        width: 90%;
    }

    /* HERO section text center */
    .hero-content {
        text-align: center;
        padding: 20px 0;
    }

    /* Team section fix */
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    /* Recent Work grid fix */
    .recent-work-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    /* Workflow icons responsive */
    .workflow-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    /* Case Studies single column */
    .case-studies-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    /* Partners logo row fix */
    .partners-logos {
        gap: 25px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .partners-logos img {
        height: 32px !important;
        transform: none !important;
    }

    /* Pricing table fix */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    /* Testimonials responsive */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    /* CTA section */
    .cta-box {
        padding: 30px 15px;
        text-align: center;
    }

}
/* ===============================
   DEMO 3 – Recent Work Mobile Fix (FINAL)
   =============================== */
@media (max-width: 768px) {

    /* Grid → Single column */
    .portfolio-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        width: 100% !important;
        overflow: hidden !important;
        padding: 0 10px !important;
    }

    /* Card full width */
    .portfolio-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    /* Image fix */
    .portfolio-card img {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
        display: block !important;
    }

    /* Title control */
    .portfolio-card h3 {
        font-size: 18px !important;
        margin-top: 12px !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }

    /* Subtitle control */
    .portfolio-card p {
        font-size: 14px !important;
        text-align: center !important;
    }
}
/* ================================
   DEMO 3 – Recent Case Studies Mobile Fix
=================================== */
@media (max-width: 768px) {

    /* Wrapper full width & center */
    .uf-studies-wrapper {
        width: 100% !important;
        padding: 0 12px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Grid → 1 column layout */
    .uf-studies-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        width: 100% !important;
    }

    /* Each Case Card full width */
    .uf-study-item.case-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Image responsive */
    .uf-study-item.case-card img {
        width: 100% !important;
        height: auto !important;
        border-radius: 14px !important;
        display: block !important;
    }

    /* Title and subtitle spacing fix */
    .uf-studies-wrapper .section-title {
        font-size: 22px !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }

    .uf-studies-wrapper .section-subtitle {
        font-size: 14px !important;
        text-align: center !important;
        margin-bottom: 25px !important;
        padding: 0 10px !important;
    }
}
/* ======================================
   DEMO 3 – Case Study Mobile Final Polish
====================================== */
@media (max-width: 768px) {

    /* Container (white box) spacing reduce */
    .uf-study-item.case-card {
        padding: 10px !important;
        border-radius: 14px !important;
        background: #ffffff !important;
    }

    /* Image full responsive fix */
    .uf-study-item.case-card img {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
        display: block !important;
    }

    /* Remove extra spacing between items */
    .uf-studies-grid {
        gap: 18px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
/* ===========================
   SECTION: Top Categories We Specialize In
   STYLE: Demo-3 Premium Glass UI
=========================== */

.uf-top-categories {
    padding: 90px 0;
    background: #f7f9ff;
    text-align: center;
}

.uf-top-categories .section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.uf-top-categories .section-subtitle {
    max-width: 520px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 15px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-card {
    background: rgba(255,255,255,0.85);
    padding: 32px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(20,50,120,0.08);
    transition: 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 50px rgba(20,50,120,0.14);
}

.icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

.icon-box img {
    width: 100%;
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.category-card p {
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media(max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}
.uf-top-categories .icon-box {
    font-size: 56px !important;
    margin-bottom: 18px;
    line-height: 1;
}

/* ================================
   demo 3 Premium Hover Effect – Choose Card
================================ */

.choose-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    transition: all 0.35s ease;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

/* Icon Styling */
.choose-card .icon {
    font-size: 42px;
    margin-bottom: 15px;
    transition: transform 0.35s ease;
}

/* Hover effect */
.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: transparent;
    background: linear-gradient(145deg, #f5f9ff, #ffffff);
}

/* Icon hover animation */
.choose-card:hover .icon {
    transform: scale(1.25) rotate(6deg);
}

/* Title hover color */
.choose-card:hover h3 {
    color: #0066ff;
}

/* Text stays readable */
.choose-card:hover p {
    color: #444;
}

/* ============================================
  demo 3 PREMIUM HOVER EFFECT — CATEGORY CARD
============================================= */

.category-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.35s ease;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* Icon box */
.category-card .icon-box img {
    width: 60px;
    height: 60px;
    transition: transform 0.35s ease;
}

/* Hover state */
.category-card:hover {
    transform: translateY(-12px);
    background: linear-gradient(145deg, #f6faff, #ffffff);
    box-shadow: 0 20px 35px rgba(0, 119, 255, 0.15);
    border-color: transparent;
}

/* Icon animation on hover */
.category-card:hover .icon-box img {
    transform: scale(1.22) rotate(8deg);
}

/* Title color change */
.category-card:hover h3 {
    color: #005eff;
}

/* Subtitle text refined */
.category-card:hover p {
    color: #444;
}
/* =============================
  demo 3 ULTRA PREMIUM PRICING — FINAL
============================== */
.uf-pricing-hybrid {
    padding: 80px 0;
    background: #f9f9ff;
    text-align: center;
}

.uf-pricing-hybrid .pricing-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.uf-pricing-hybrid .pricing-subtitle {
    font-size: 17px;
    color: #666;
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    transition: 0.35s ease;
    border: 1px solid #e5e5e5;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: #4f46e5;
    box-shadow: 0 18px 45px rgba(79, 70, 229, 0.18);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
}

.price {
    margin: 18px 0 25px;
    font-size: 18px;
    color: #444;
}

.price span {
    font-size: 42px;
    font-weight: 800;
    color: #4f46e5;
}

.pricing-card ul {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.pricing-card ul li {
    margin: 10px 0;
    font-size: 15px;
    color: #555;
}

/* Button */
.pricing-btn {
    display: inline-block;
    background: #4f46e5;
    color: #fff;
    padding: 12px 28px;
    font-size: 15px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s ease;
}

.pricing-btn:hover {
    background: #3f3acb;
}

/* Most Popular Plan */
.popular {
    border: 2px solid #4f46e5;
    transform: scale(1.02);
}

.popular:hover {
    transform: translateY(-12px) scale(1.05);
}

.popular .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4f46e5;
    color: #fff;
    padding: 6px 18px;
    font-size: 13px;
    border-radius: 50px;
    font-weight: 600;
}

.popular .pricing-btn.active {
    background: #ff6b2c;
}

.popular .pricing-btn.active:hover {
    background: #e85c1f;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
.popular .pricing-btn.active {
    box-shadow: 0 0 20px rgba(255, 107, 44, 0.45);
}

/* =======================================================
   DEMO–3: Why Businesses Choose UltraFlex
   Mobile: 1 col | Tablet: 2 col | Desktop: 4 col
======================================================= */

.why-choose-premium {
    padding: 70px 0;
    text-align: center;
}

.choose-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile First (1 Column) */
    gap: 20px;
    margin-top: 40px;
}

/* Card Design */
.choose-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.choose-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}

.choose-card .icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.choose-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.choose-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}


/* ======================
       TABLET (2 Columns)
       Customizer-friendly breakpoint
====================== */
@media (min-width: 600px) {
    .choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .choose-card {
        padding: 26px 22px;
    }
}


/* ======================
       DESKTOP (4 Columns)
====================== */
@media (min-width: 1024px) {
    .choose-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .choose-card {
        padding: 28px 24px;
    }
}

/* === DEMO-1 SERVICES SECTION NEW STYLE === */
.services-section-demo1 {
    padding: 70px 0;
    text-align: center;
}

.services-grid-demo1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.service-card-demo1 {
    background: #fff;
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-demo1:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 35px rgba(0,0,0,0.12);
}

.service-card-demo1 .icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.service-card-demo1 h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card-demo1 p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 900px) {
    .services-grid-demo1 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .services-grid-demo1 {
        grid-template-columns: 1fr;
    }
}
/* ===============================================
   DEMO1 – PREMIUM SERVICES CSS (FINAL VERSION)
   Desktop: 4 cards in one row
   Tablet: 2 cards per row
   Mobile: 1 column
================================================ */

.uf-services-section {
    text-align: center;
    padding: 60px 20px;
}

.uf-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===== Tablet (2 Columns) ===== */
@media (min-width: 600px) and (max-width: 991px) {
    .uf-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Desktop (4 Columns in 1 row) ===== */
@media (min-width: 992px) {
    .uf-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* =========================================
   DEMO1 – SERVICES DESKTOP FIX (FORCE 4 COL)
   ========================================= */

@media (min-width: 992px) {

    /* যেকোনো Services Grid এর জন্য ৪ কলাম ফোর্স করছি */
    .uf-services-section .uf-services-grid,
    .uf-services-section .services-grid,
    .services-section-demo1 .services-grid-demo1,
    .services-section-demo1 .services-grid,
    .services-section .services-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 25px;
        max-width: 1200px;
        margin: 0 auto;
    }
}
