/* ============================================
   WebSupports Services - Main Stylesheet
   Modern, Clean, Professional Design
   Multi-Page Template with Submenus
   ============================================ */

/* --- CSS Variables for consistent theming --- */
:root {
    /* Primary brand colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;

    /* Accent color for highlights */
    --accent: #f59e0b;
    --accent-dark: #d97706;

    /* Neutral colors */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;

    /* Gradient combinations */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Font & transitions */
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Offset for topbar + navbar */
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }


/* ============================================
   TOP BAR (above navbar) - Fixed position
   Slides up smoothly when user scrolls down
   ============================================ */
.top-bar {
    background: var(--dark);
    padding: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    /* No border - prevents gap between topbar and navbar */
    border: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;              /* Fixed height for precise alignment */
    display: flex;
    align-items: center;
    z-index: 1050;
    transition: transform 0.3s ease;
}

/* Hidden state: slide up off screen */
.top-bar.hidden {
    transform: translateY(-100%);
}

/* Transparent version for homepage */
.top-bar-transparent {
    background: rgba(0,0,0,0.3);
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left span i {
    color: var(--accent);
    font-size: 12px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.top-bar-social {
    display: flex;
    gap: 10px;
}

.top-bar-social a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: var(--transition);
}

.top-bar-social a:hover {
    color: var(--accent);
}

.top-bar-auth {
    display: flex;
    gap: 5px;
}

.top-auth-link {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-auth-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--accent) !important;
}


/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    padding: 12px 0;
    transition: all 0.3s ease;
    background: transparent;
    z-index: 1040;
    /* Exactly flush with topbar bottom (matches .top-bar height: 40px) */
    top: 40px !important;
}

/* Scrolled state: solid background, but still below topbar */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

/* When topbar is hidden (on scroll), navbar slides to very top */
.navbar.nav-at-top {
    top: 0 !important;
}

/* Brand/Logo */
.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar.scrolled .navbar-brand { color: var(--dark) !important; }

.brand-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
}

.text-accent { color: var(--accent); }

/* Nav links */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 14px !important;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .navbar-nav .nav-link { color: var(--dark) !important; }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--accent) !important; }

/* Underline animation - ONLY for non-dropdown menu items */
.navbar-nav > .nav-item:not(.dropdown) > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 1px;
}

.navbar-nav > .nav-item:not(.dropdown) > .nav-link:hover::after,
.navbar-nav > .nav-item:not(.dropdown) > .nav-link.active::after { width: 60%; }

/* --- Dropdown arrow: Remove Bootstrap default caret --- */
/* Hide the default Bootstrap triangle caret */
.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/* Add custom arrow icon on right side of dropdown menu items */
.navbar-nav > .nav-item.dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Right-side chevron arrow for dropdown parent items */
.navbar-nav > .nav-item.dropdown > .nav-link .dropdown-arrow {
    font-size: 10px;
    transition: var(--transition);
    opacity: 0.7;
}

/* Rotate arrow when dropdown is open */
.navbar-nav > .nav-item.dropdown.show > .nav-link .dropdown-arrow,
.navbar-nav > .nav-item.dropdown:hover > .nav-link .dropdown-arrow {
    transform: rotate(90deg);
    opacity: 1;
    color: var(--accent);
}


/* ============================================
   DROPDOWN SUBMENU STYLES
   ============================================ */
.navbar .dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    min-width: 240px;
    margin-top: 0;
    border-top: 3px solid var(--primary);
    /* Smooth animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: block !important; /* Always block, controlled by opacity */
}

/* Desktop: Show dropdown on CLICK (toggle via JS .open class) */
@media (min-width: 992px) {
    /* Click-based: JS adds .open class to toggle dropdown */
    .navbar .dropdown.open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Mobile: Click toggle handles show/hide */
@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        display: none !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--primary);
        padding-left: 10px;
        background: rgba(37, 99, 235, 0.02);
    }
    
    /* Show dropdown when .open (JS click) or .show (Bootstrap) */
    .navbar .dropdown-menu.show,
    .navbar .dropdown.open > .dropdown-menu {
        display: block !important;
    }
}

.navbar .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    padding: 10px 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
}

.navbar .dropdown-item:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary);
    padding-left: 25px;
}

/* Active dropdown item - highlights current page in submenu */
.navbar .dropdown-item.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-weight: 600;
}

.navbar .dropdown-divider {
    border-color: var(--light);
    margin: 5px 15px;
}

/* ============================================
   3-LEVEL NESTED SUBMENU (dropdown-submenu)
   e.g. Services → Website Designing → Static Web Designing
   ============================================ */

/* Container for sub-dropdown items */
.dropdown-submenu {
    position: relative;
}

/* The sub-submenu arrow icon (→) */
.dropdown-submenu > .dropdown-item .submenu-arrow {
    margin-left: auto;
    font-size: 10px;
    opacity: 0.5;
    transition: var(--transition);
}

/* The nested dropdown-menu (3rd level) */
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -12px;
    margin-left: 0;
    border-top: 3px solid var(--accent);
    min-width: 220px;
}

/* Desktop: Show nested dropdown on CLICK (JS adds .open class) */
@media (min-width: 992px) {
    .dropdown-submenu.open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Highlight parent when sub-dropdown is open */
    .dropdown-submenu.open > .dropdown-item {
        background: rgba(37, 99, 235, 0.06);
        color: var(--primary);
    }

    /* Show arrow when open */
    .dropdown-submenu.open > .dropdown-item .submenu-arrow {
        opacity: 1;
    }

    /* If submenu overflows right edge, show on left instead */
    .dropdown-submenu .dropdown-menu.dropdown-menu-end {
        left: auto;
        right: 100%;
    }
}

/* Mobile: Nested submenus stack vertically */
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static !important;
        display: none !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: 1px solid var(--light);
        border-left: 3px solid var(--accent);
        margin: 0;
        padding-left: 15px;
        background: rgba(37, 99, 235, 0.02);
    }

    /* Show sub-dropdown when .show or .open (JS click toggle) */
    .dropdown-submenu > .dropdown-menu.show,
    .dropdown-submenu.open > .dropdown-menu {
        display: block !important;
    }

    /* Toggle arrow indicator for mobile */
    .dropdown-submenu > .dropdown-item .submenu-arrow {
        transform: rotate(90deg);
    }

    .dropdown-submenu.open > .dropdown-item .submenu-arrow,
    .dropdown-submenu.show > .dropdown-item .submenu-arrow {
        transform: rotate(-90deg);
    }
}


/* ============================================
   NAV RIGHT BUTTONS (Free Listing + Sign In)
   ============================================ */
.nav-right-btns {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

/* Free Listing Button - Accent/Orange */
.btn-free-listing {
    background: var(--accent);
    color: var(--dark) !important;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-free-listing:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

/* CTA / Sign In Button */
.btn-cta {
    background: var(--gradient-primary);
    color: var(--white) !important;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Mobile toggler */
.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.5);
    padding: 5px 8px;
}

.navbar.scrolled .navbar-toggler { border-color: var(--primary); }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2837,99,235,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading .subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.section-heading h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-heading p {
    font-size: 16px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-heading .heading-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 15px auto 0;
}


/* ============================================
   PAGE BANNER (Inner pages)
   ============================================ */
.page-banner {
    background: var(--gradient-hero);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Smaller banner for auth pages */
.page-banner-sm {
    padding: 140px 0 60px;
}

/* Decorative shapes */
.page-banner::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border: 80px solid rgba(255,255,255,0.03);
    border-radius: 50%;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    border: 60px solid rgba(255,255,255,0.03);
    border-radius: 50%;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-content h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.page-banner-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

/* Breadcrumb inside banner */
.page-banner .breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.page-banner .breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
}

.page-banner .breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}


/* ============================================
   HERO SLIDER (Homepage)
   ============================================ */
/* Slider is pushed below the fixed header (topbar 40px + navbar ~64px) */
.hero-slider-section {
    position: relative;
    margin-top: 104px;
}

.hero-slide {
    /* Fill remaining viewport height after header offset */
    min-height: calc(100vh - 104px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 20px;
}

/* Inner row fills the slide height (replaces Bootstrap min-vh-100) */
.hero-slide-row {
    min-height: calc(100vh - 104px);
}

/* Dark overlay for image-based slides — ensures text readability */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

/* Slide content text */
.hero-slide-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 550px;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--accent);
    color: var(--dark) !important;
    border: none;
    padding: 14px 36px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 36px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Hero visual elements on right side */
.hero-slide-visual {
    position: relative;
    z-index: 2;
}

/* Code block visual (slide 1) */
.hero-code-block {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.15);
}

.code-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.hero-code-block pre {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.hero-code-block .ct { color: #60a5fa; }
.hero-code-block .ca { color: #fbbf24; }
.hero-code-block .cv { color: #34d399; }

/* Tech icons grid (slide 2) */
.hero-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hero-icon-item {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 25px 15px;
    text-align: center;
    transition: var(--transition);
}

.hero-icon-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.hero-icon-item i {
    font-size: 36px;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.hero-icon-item span {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
}

/* Stats preview cards (slide 3) */
.hero-stats-preview {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-preview-item {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.stat-preview-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(10px);
}

.stat-preview-item i {
    font-size: 24px;
    color: var(--accent);
    width: 50px;
    height: 50px;
    background: rgba(245,158,11,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-preview-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1;
}

.stat-preview-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* Hero slider navigation arrows */
.hero-nav {
    color: var(--white) !important;
    background: rgba(255,255,255,0.15);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: var(--transition);
}

.hero-nav::after {
    font-size: 18px !important;
    font-weight: 700;
}

.hero-nav:hover {
    background: var(--accent);
    color: var(--dark) !important;
}

/* Hero pagination dots */
.hero-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 35px;
    border-radius: 7px;
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-image-wrapper { position: relative; }

.about-image-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge h3 {
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.about-experience-badge p {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
}

.about-content .about-subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 34px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

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

.about-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
    font-weight: 500;
}

.about-features li i {
    width: 28px;
    height: 28px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}


/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent);
    margin: 0 auto 15px;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: var(--accent);
    color: var(--dark);
    transform: rotateY(180deg);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}


/* ============================================
   WHY CHOOSE US / CARDS
   ============================================ */
.why-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.why-card-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: var(--primary);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-card:hover .why-card-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.why-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}


/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card-header {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card-header.bg-1 { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.service-card-header.bg-2 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.service-card-header.bg-3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.service-card-header.bg-4 { background: linear-gradient(135deg, #10b981, #34d399); }

.service-card-header i {
    font-size: 60px;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-card-header i { transform: scale(1.2); }

.service-card-header::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border: 30px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

.service-card-body { padding: 25px; }

.service-card-body h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card-body p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.service-card-body .service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-card-body .service-link:hover {
    color: var(--accent);
    gap: 12px;
}

/* Service detail page - Large icon box */
.service-detail-visual {
    display: flex;
    justify-content: center;
}

.service-detail-icon-box {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-detail-icon-box i {
    font-size: 100px;
    color: var(--white);
    opacity: 0.9;
}

.service-detail-icon-box::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 40px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -60px;
    right: -60px;
}

/* Service feature checkmarks */
.service-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.service-feature-item i {
    color: var(--primary);
    font-size: 16px;
}


/* ============================================
   CATEGORY CARDS
   ============================================ */
.category-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.category-icon {
    width: 65px;
    height: 65px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin: 0 auto 15px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(10deg) scale(1.1);
}

.category-card h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.category-card .listing-count {
    font-size: 13px;
    color: var(--gray-light);
    display: block;
    margin-bottom: 10px;
}

.category-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    opacity: 0;
}

.category-card:hover .category-link {
    opacity: 1;
}

.category-link:hover {
    color: var(--accent);
    gap: 10px;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    margin: 10px;
}

.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-quote-icon {
    font-size: 40px;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
    min-height: 90px;
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 14px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--light);
    padding-top: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.testimonial-author-info p {
    font-size: 13px;
    color: var(--gray-light);
    margin: 0;
}

/* Swiper pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--gray-light);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}


/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients-section {
    padding: 80px 0;
    background: var(--light);
}

.client-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 10px 20px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.client-logo-wrapper:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* ============================================
   NEWSLETTER / CTA
   ============================================ */
.newsletter-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border: 50px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.newsletter-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 16px;
}


/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact info cards */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin: 0 auto 15px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.contact-info-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 5px;
}

.contact-info-card span {
    font-size: 13px;
    color: var(--gray-light);
}

/* Contact form wrapper */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Submit button shared style */
.btn-submit-form {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    width: 100%;
}

.btn-submit-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    color: var(--white);
}

/* Office hours card */
.office-hours-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}

.office-hours-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.office-hours-card h4 i {
    color: var(--primary);
    margin-right: 8px;
}

.office-hours-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-hours-card li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
    font-size: 14px;
    color: var(--gray);
}

.office-hours-card li:last-child { border-bottom: none; }


/* ============================================
   AUTH PAGES (Sign In / Sign Up)
   ============================================ */
.auth-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin: 0 auto 15px;
}

.auth-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.auth-header p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.auth-form .form-control {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.auth-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: var(--accent);
}

.btn-auth-submit {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: var(--transition);
}

.btn-auth-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    color: var(--white);
}

/* Social login divider */
.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--light);
}

.auth-divider span {
    background: var(--white);
    padding: 0 15px;
    font-size: 13px;
    color: var(--gray-light);
    position: relative;
}

/* Social login buttons */
.auth-social-btns {
    display: flex;
    gap: 10px;
}

.btn-social {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-google {
    background: #fff;
    color: #db4437;
    border: 1px solid #db4437;
}

.btn-google:hover {
    background: #db4437;
    color: var(--white);
}

.btn-facebook {
    background: #fff;
    color: #4267B2;
    border: 1px solid #4267B2;
}

.btn-facebook:hover {
    background: #4267B2;
    color: var(--white);
}

/* Switch link (Sign In <-> Sign Up) */
.auth-switch {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--gray);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    color: var(--accent);
}


/* ============================================
   FREE LISTING PAGE
   ============================================ */

/* Benefit cards */
.listing-benefit-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

.listing-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin: 0 auto 15px;
}

.listing-benefit-card:hover .benefit-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.listing-benefit-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.listing-benefit-card p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

/* Listing form wrapper */
.listing-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.listing-form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.listing-form-header h3 i {
    color: var(--primary);
}

.listing-form-header p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 30px;
}

/* Form sections with divider */
.form-section {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--light);
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.form-section-title i {
    color: var(--primary);
    margin-right: 8px;
}

.listing-form .form-control,
.listing-form .form-select {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-size: 14px;
    padding: 10px 15px;
}

.listing-form .form-control:focus,
.listing-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.listing-form .form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 5px;
}


/* ============================================
   LISTING CARDS — Category page listings grid
   ============================================ */
.listing-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* Listing card header — logo or icon */
.listing-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 25px;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* needed for badge positioning */
}

/* "Free" / "Guest" type badge on listing cards */
.listing-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.listing-type-badge.guest {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.listing-logo {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

.listing-icon-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* Listing card body */
.listing-card-body {
    padding: 20px;
    flex: 1;
}

.listing-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.listing-location {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 10px;
}

.listing-location i {
    color: var(--primary);
    margin-right: 5px;
}

.listing-desc {
    font-size: 13px;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.listing-contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.listing-contact-info span {
    font-size: 12px;
    color: var(--gray);
}

.listing-contact-info i {
    width: 16px;
    color: var(--primary);
    margin-right: 5px;
}

/* Listing card footer */
.listing-card-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-view-listing {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-listing:hover {
    color: var(--accent, #1e40af);
}

.btn-view-listing i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-view-listing:hover i {
    transform: translateX(3px);
}

.btn-visit-website {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(59,130,246,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-visit-website:hover {
    background: var(--primary);
    color: #fff;
}


/* ============================================
   LISTING DETAIL — Single listing page
   ============================================ */
.listing-detail-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
}

.listing-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Views & Likes stats bar */
.listing-stats-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.listing-stat {
    font-size: 13px;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.listing-stat i { font-size: 12px; }

/* Like button */
.listing-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
}
.listing-like-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}
.listing-like-btn.liked {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}
.listing-like-btn.liked i {
    color: #ef4444;
}

.listing-detail-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 5px;
}

.listing-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.listing-category-badge {
    display: inline-block;
    background: rgba(59,130,246,0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 5px;
}

.listing-detail-section {
    margin-bottom: 25px;
}

.listing-detail-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.listing-detail-section h4 i {
    color: var(--primary);
    margin-right: 8px;
}

/* Rich text description from CKEditor — clean display */
.listing-description p {
    margin-bottom: 12px;
    line-height: 1.8;
}
.listing-description p:last-child {
    margin-bottom: 0;
}
.listing-description strong {
    color: var(--dark);
}
.listing-description ul, .listing-description ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

/* Google Map embed wrapper */
.listing-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--light);
}

.listing-map-wrapper iframe {
    display: block;
}

/* "Open in Google Maps" link below the map */
.listing-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.listing-map-link:hover {
    color: var(--accent);
}

/* Sidebar cards */
.listing-sidebar-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
}

.listing-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.listing-contact-row:last-child {
    border-bottom: none;
}

.listing-contact-row > i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 16px;
    margin-top: 3px;
}

.listing-contact-row small {
    display: block;
    color: var(--gray-light);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.listing-contact-row a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.listing-contact-row a:hover {
    color: var(--primary);
}

/* Pagination styling */
.pagination .page-link {
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--dark);
    padding: 8px 14px;
    font-size: 14px;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}


/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    background: var(--dark);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-info p i { color: var(--accent); width: 18px; }

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--accent);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-newsletter-text {
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 10px 15px;
    font-size: 14px;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.footer-newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }

.footer-newsletter-form .btn-accent {
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 10px 18px;
    transition: var(--transition);
}

.footer-newsletter-form .btn-accent:hover { background: var(--accent-dark); }

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 60px;
    font-size: 14px;
}

.footer-bottom p { margin: 0; }

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover { color: var(--accent); }


/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }


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

/* Tablet */
@media (max-width: 992px) {
    .hero-title { font-size: 38px; }
    .section-heading h2 { font-size: 32px; }
    .stat-number { font-size: 36px; }
    .page-banner-content h1 { font-size: 34px; }

    /* Hide topbar on smaller screens */
    .top-bar { display: none; }
    .navbar { top: 0 !important; }

    /* Slider offset: only navbar height (no topbar on mobile) */
    .hero-slider-section { margin-top: 64px; }
    .hero-slide, .hero-slide-row { min-height: calc(100vh - 64px); }

    /* Mobile menu background */
    .navbar-collapse {
        background: var(--white);
        border-radius: var(--radius-md);
        padding: 15px;
        margin-top: 10px;
        box-shadow: var(--shadow-md);
    }

    .navbar-collapse .nav-link { color: var(--dark) !important; }

    /* Mobile: yellow underline goes full width left-to-right */
    .navbar-nav > .nav-item:not(.dropdown) > .nav-link::after {
        left: 0;
        transform: none;
    }
    .navbar-nav > .nav-item:not(.dropdown) > .nav-link:hover::after,
    .navbar-nav > .nav-item:not(.dropdown) > .nav-link.active::after {
        width: 100%;
    }

    /* Dropdown styling on mobile (handled by Bootstrap click) */
    .navbar .dropdown-menu {
        box-shadow: none;
        border-top: none;
        border-left: 2px solid var(--primary);
        padding-left: 15px;
        margin-top: 0;
        background: var(--light);
        border-radius: 0;
    }

    /* On mobile: nav-link takes full width so arrow can go to right */
    .navbar-nav > .nav-item.dropdown > .nav-link {
        display: flex;
        width: 100%;
    }

    /* Push arrow to far-right on mobile */
    .navbar-nav > .nav-item.dropdown > .nav-link .dropdown-arrow {
        margin-left: auto;
        transform: rotate(90deg);
    }

    /* When dropdown is open on mobile, arrow points up */
    .navbar-nav > .nav-item.dropdown.show > .nav-link .dropdown-arrow,
    .navbar-nav > .nav-item.dropdown.open > .nav-link .dropdown-arrow {
        transform: rotate(-90deg);
    }

    /* Stack nav buttons */
    .nav-right-btns {
        flex-direction: column;
        gap: 8px;
        margin: 10px 0 0 0;
    }

    .nav-right-btns .btn {
        width: 100%;
        text-align: center;
    }

    .about-experience-badge { bottom: 10px; right: 10px; }
}

/* Mobile */
@media (max-width: 576px) {
    .hero-title { font-size: 30px; }
    .hero-description { font-size: 15px; }
    .hero-buttons { flex-direction: column; }
    .section-heading h2 { font-size: 26px; }
    .about-content h2 { font-size: 26px; }
    .newsletter-content h2 { font-size: 26px; }
    .stat-number { font-size: 28px; }
    .page-banner-content h1 { font-size: 28px; }
    .testimonial-card { padding: 25px; }
    .auth-form-wrapper { padding: 25px; }
    .listing-form-wrapper { padding: 25px; }
    .contact-form-wrapper { padding: 25px; }
    .submission-form-wrapper { padding: 25px; }
    .submission-info-box { height: 300px; }
    .blog-detail-footer { flex-direction: column; align-items: flex-start; }
    .blog-featured-body { padding: 25px; }
    .blog-featured-body h2 { font-size: 20px; }
    .blog-detail-title { font-size: 24px; }
    .blog-detail-hero-gradient { height: 250px; }
    .blog-detail-meta-bar { flex-direction: column; gap: 8px; }
    .blog-author-box { flex-direction: column; text-align: center; }
    .blog-author-social { justify-content: center; }
    .blog-highlight-box { flex-direction: column; text-align: center; }
    .blog-highlight-icon { margin: 0 auto; }

    .footer-bottom { text-align: center; }
    .footer-bottom .text-md-end { text-align: center !important; margin-top: 10px; }
}


/* ============================================
   BLOG STYLES
   ============================================ */

/* --- Blog Card --- */
.blog-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Featured blog card - larger display */
.blog-featured .blog-card-body {
    padding: 30px;
}

.blog-featured .blog-title a {
    font-size: 24px;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
}

/* Category badge on blog image */
.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.blog-card-body {
    padding: 25px;
}

/* Blog post meta info (date, author) */
.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-meta span {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta span i {
    color: var(--primary);
    font-size: 12px;
}

/* Blog post title */
.blog-title a {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--primary);
}

/* Blog post excerpt text */
.blog-excerpt {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Read more link */
.blog-read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--accent);
    gap: 10px;
}

/* --- Blog Sidebar --- */
.blog-sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

/* Sidebar section title */
.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title i {
    color: var(--primary);
    font-size: 16px;
}

/* Sidebar category list */
.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category-list li {
    margin-bottom: 8px;
}

.sidebar-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 10px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: var(--light);
    transition: var(--transition);
}

.sidebar-category-list li a:hover {
    background: var(--primary);
    color: #fff;
}

.sidebar-category-list li a:hover .category-count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Category post count badge */
.category-count {
    background: var(--white);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

/* Sidebar recent posts list */
.sidebar-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-recent-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light);
}

.sidebar-recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-recent-posts li a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: center;
}

/* Recent post icon circle */
.recent-post-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
}

.sidebar-recent-posts li a:hover .recent-post-icon {
    background: var(--primary);
    color: #fff;
}

.recent-post-info h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.4;
    transition: var(--transition);
}

.sidebar-recent-posts li a:hover .recent-post-info h6 {
    color: var(--primary);
}

.recent-post-info span {
    font-size: 12px;
    color: var(--gray);
}

/* Sidebar CTA widget highlight */
.sidebar-cta {
    background: var(--light);
    border: 2px dashed var(--primary);
}

/* --- Blog Detail Page --- */
.blog-detail-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
}

/* Blog blockquote styling */
.blog-blockquote {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 25px 30px;
    border-radius: 0 12px 12px 0;
    margin: 25px 0;
    position: relative;
}

.blog-blockquote i {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.5;
}

.blog-blockquote p {
    font-size: 17px;
    font-style: italic;
    color: var(--dark);
    font-weight: 500;
    margin: 0;
    line-height: 1.7;
}

/* Blog detail checklist */
.blog-detail-list {
    list-style: none;
    padding: 0;
}

.blog-detail-list li {
    padding: 8px 0;
    font-size: 16px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-detail-list li i {
    color: var(--primary);
    font-size: 16px;
}

/* Blog detail footer - tags & share */
.blog-detail-footer {
    border-top: 2px solid var(--light);
    padding-top: 25px;
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--gray);
}

/* Tag pill styling */
.blog-tag {
    background: var(--light);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.blog-tag:hover {
    background: var(--primary);
    color: #fff;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}

/* Social share icon button */
.blog-share-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.blog-share-icon:hover {
    background: var(--primary);
    color: #fff;
}

/* ============================================
   SUBMISSION FORM STYLES
   ============================================ */
.submission-form-wrapper {
    background: var(--white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Form section title - used in submission forms */
.form-section-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.form-section-title i {
    color: var(--primary);
    margin-right: 8px;
}

/* Submission info box - visual card on left side of info sections */
.submission-info-box {
    height: 400px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.submission-info-box i {
    font-size: 80px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.submission-info-box h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.submission-info-box p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin: 0;
}


/* ============================================
   BLOG FEATURED CARD (Full-width)
   ============================================ */

/* Featured post card - full width with image + content side by side */
.blog-featured-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.blog-featured-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* Featured image container */
.blog-featured-image {
    position: relative;
    height: 100%;
    min-height: 350px;
}

/* Gradient placeholder for featured image */
.blog-featured-gradient {
    height: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-featured-gradient i {
    font-size: 100px;
    color: rgba(255,255,255,0.2);
}

/* Featured post text content */
.blog-featured-body {
    padding: 40px;
}

/* "Featured Post" label */
.blog-featured-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.blog-featured-label i {
    margin-right: 4px;
}

.blog-featured-body h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.blog-featured-body h2 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.blog-featured-body h2 a:hover {
    color: var(--primary);
}

.blog-featured-body p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Read more button style */
.blog-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.blog-read-more-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateX(3px);
}

/* Blog card gradient placeholder for non-featured posts */
.blog-card-gradient {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.blog-card-gradient i {
    font-size: 50px;
    color: rgba(255,255,255,0.25);
    transition: var(--transition);
}

.blog-card:hover .blog-card-gradient i {
    transform: scale(1.1);
    color: rgba(255,255,255,0.4);
}

/* Sidebar tags cloud */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Individual tag pill in sidebar */
.sidebar-tag {
    background: var(--light);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-tag:hover {
    background: var(--primary);
    color: #fff;
}


/* ============================================
   BLOG DETAIL PAGE - Enhanced
   ============================================ */

/* Hero image container in blog detail */
.blog-detail-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0;
}

/* Gradient placeholder for detail hero */
.blog-detail-hero-gradient {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.blog-detail-hero-gradient i {
    font-size: 120px;
    color: rgba(255,255,255,0.15);
}

/* Meta information bar below hero image */
.blog-detail-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin: 20px 0;
    border-bottom: 2px solid var(--light);
    flex-wrap: wrap;
    gap: 10px;
}

.blog-detail-meta-left,
.blog-detail-meta-right {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-detail-meta-bar span {
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-meta-bar span i {
    color: var(--primary);
    font-size: 13px;
}

/* Main title of the blog post */
.blog-detail-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 30px;
}

/* Intro paragraph - slightly larger than normal text */
.blog-detail-intro {
    font-size: 18px !important;
    line-height: 1.9;
    color: var(--dark) !important;
    font-weight: 500;
    margin-bottom: 25px !important;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--light);
}

.blog-detail-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 35px 0 15px;
}

.blog-detail-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 18px;
}

.blog-detail-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.blog-detail-content a:hover {
    text-decoration: underline;
}

/* Highlight / tip box inside blog content */
.blog-highlight-box {
    background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(124,58,237,0.05));
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 30px 0;
}

.blog-highlight-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.blog-highlight-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.blog-highlight-content p {
    margin: 0;
    font-size: 15px;
}

/* Author box at end of blog post */
.blog-author-box {
    background: var(--light);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 35px 0 30px;
}

/* Author avatar circle with initial */
.blog-author-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-author-avatar span {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.blog-author-info h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.blog-author-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Author social media links */
.blog-author-social {
    display: flex;
    gap: 8px;
}

.blog-author-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.blog-author-social a:hover {
    background: var(--primary);
    color: #fff;
}

/* Previous / Next post navigation */
.blog-post-navigation {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--light);
}

/* Navigation link card for prev/next */
.blog-nav-link {
    display: block;
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.blog-nav-link:hover {
    background: var(--primary);
}

/* Label text (Previous Post / Next Post) */
.blog-nav-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.blog-nav-link:hover .blog-nav-label {
    color: rgba(255,255,255,0.7);
}

/* Post title in navigation */
.blog-nav-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

.blog-nav-link:hover .blog-nav-title {
    color: #fff;
}

/* Align next post text to right */
.blog-nav-next {
    text-align: right;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ============================================
   USER PROFILE / DASHBOARD STYLES
   ============================================ */

/* Sidebar */
.profile-sidebar {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

/* User card at top of sidebar */
.profile-user-card {
    text-align: center;
    padding: 30px 20px 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.profile-user-card h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
}

.profile-user-card p {
    font-size: 13px;
    opacity: 0.85;
    margin: 0;
}

.profile-user-card small {
    font-size: 12px;
    opacity: 0.7;
}

/* Sidebar navigation */
.profile-nav {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.profile-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.profile-nav li a:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
}

.profile-nav li a.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.profile-nav li a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

.profile-nav li a .badge {
    margin-left: auto;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Main content section */
.profile-section {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 30px;
}

.profile-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light);
}

.profile-section-title i {
    color: var(--primary);
    margin-right: 8px;
}

/* Dashboard stat cards */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.profile-stat-card {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.profile-stat-card.stat-pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.profile-stat-card.stat-approved {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.profile-stat-card.stat-rejected {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.profile-stat-card .stat-number {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.profile-stat-card .stat-label {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
}

.profile-stat-card .stat-bg-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    opacity: 0.15;
}

/* Quick actions */
.profile-quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.quick-action-btn.secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.quick-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    color: var(--white);
}

.quick-action-btn.secondary:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
}

/* Listings list items */
.profile-listings-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-listing-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 16px;
    background: var(--light);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.profile-listing-item:hover {
    background: rgba(37, 99, 235, 0.04);
}

.listing-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
}

.listing-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-item-info {
    flex: 1;
    min-width: 0;
}

.listing-item-info h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-item-info h6 a {
    color: var(--dark);
    text-decoration: none;
}

.listing-item-info h6 a:hover {
    color: var(--primary);
}

.listing-item-info small {
    font-size: 12px;
    color: var(--gray);
}

.listing-item-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Empty state */
.profile-empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--gray);
}

.profile-empty-state i {
    font-size: 48px;
    color: rgba(37, 99, 235, 0.2);
    margin-bottom: 15px;
}

.profile-empty-state h5 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.profile-empty-state p {
    margin-bottom: 20px;
}

/* Form styles inside profile */
.profile-section .form-control {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
}

.profile-section .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.profile-section .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

/* Responsive: Profile stats 2 columns on tablet, 1 on mobile */
@media (max-width: 991px) {
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .profile-section {
        padding: 20px;
    }
    .profile-quick-actions {
        flex-direction: column;
    }
    .profile-form-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Profile dashboard section wrapper */
.profile-dashboard-section {
    padding: 60px 0 100px;
}

/* Section header — title + action button in one line */
.profile-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light);
}

.profile-section-header .profile-section-title {
    margin: 0;
    padding: 0;
    border: none;
}

/* Action button used in section headers */
.btn-profile-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-profile-action:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-profile-action.secondary {
    background: transparent;
    color: var(--gray);
    border: 1px solid rgba(0,0,0,0.12);
}

.btn-profile-action.secondary:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.04);
    box-shadow: none;
}

/* View all link */
.profile-view-all {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.profile-view-all:hover {
    color: var(--accent);
}

/* Profile alerts */
.profile-alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.profile-alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Member info section in sidebar */
.profile-member-info {
    padding: 12px 20px 8px;
    border-top: 1px solid var(--light);
}

.member-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray);
    padding: 5px 0;
}

.member-info-item i {
    width: 14px;
    text-align: center;
    font-size: 11px;
    color: var(--primary);
    opacity: 0.6;
}

/* Nav badge — listing count */
.profile-nav-badge {
    margin-left: auto;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* Nav divider */
.profile-nav-divider {
    height: 1px;
    background: var(--light);
    margin: 4px 16px;
}

/* Logout link — red */
.profile-nav-danger {
    color: #ef4444 !important;
}

.profile-nav-danger:hover {
    background: rgba(239, 68, 68, 0.05) !important;
    color: #dc2626 !important;
}

/* Account info grid */
.profile-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.profile-info-item {
    display: flex;
    flex-direction: column;
    padding: 14px 0;
    border-bottom: 1px solid var(--light);
}

.profile-info-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.info-label {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 4px;
}

.info-label i {
    width: 16px;
    text-align: center;
    margin-right: 4px;
    color: var(--primary);
    opacity: 0.6;
}

.info-value {
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
}

/* Avatar edit section */
.profile-avatar-edit {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light);
}

.avatar-preview {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light);
    flex-shrink: 0;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.avatar-upload-info small {
    font-size: 12px;
    color: var(--gray);
}

/* Profile form grid — 2 columns */
.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* Profile form group */
.profile-form-group {
    margin-bottom: 16px;
}

.profile-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.profile-form-group label i {
    width: 16px;
    text-align: center;
    margin-right: 4px;
    color: var(--primary);
    opacity: 0.7;
}

.form-hint {
    font-size: 11px;
    color: var(--gray);
    margin-top: 4px;
    display: block;
}

/* Password info box */
.profile-password-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.profile-password-info i {
    color: #3b82f6;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.profile-password-info p {
    margin: 0;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

/* Listing date text */
.listing-item-date {
    color: var(--gray);
    opacity: 0.7;
}

/* Filter pills for listing status */
.profile-filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.filter-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--light);
    color: var(--gray);
    border: 1px solid transparent;
    user-select: none;
}

.filter-pill:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary);
}

.filter-pill.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== Add Listing Form sections inside profile ===== */
.profile-form-section {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--light);
}

.profile-form-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
}

.profile-form-section-title i {
    color: var(--primary);
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

/* Responsive info grid */
@media (max-width: 575px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .profile-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .profile-avatar-edit {
        flex-direction: column;
        text-align: center;
    }
    .profile-filter-pills {
        gap: 6px;
    }
}


/* ============================================================
   PRICING / PLANS PAGE STYLES
   ============================================================ */
.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    border: 2px solid #eee;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
/* Popular plan highlight */
.pricing-popular {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(59,130,246,0.12);
}
/* Current plan highlight */
.pricing-current {
    border-color: #22c55e;
    background: #f0fdf4;
}
/* Badge ribbon */
.pricing-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.3px;
}
.pricing-badge-current {
    background: #22c55e;
}
/* Header / price block */
.pricing-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 20px;
}
.pricing-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.price-currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
}
.price-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}
.price-period {
    font-size: 14px;
    color: var(--gray);
}
/* Limits bar */
.pricing-limits {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.limit-item {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 12px;
    color: var(--gray);
}
.limit-item strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}
/* Feature list */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}
.pricing-features li {
    padding: 6px 0;
    font-size: 13px;
    color: #555;
    border-bottom: 1px dashed #f0f0f0;
}
.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-features li i {
    color: #22c55e;
    width: 18px;
    margin-right: 6px;
    font-size: 12px;
}
/* Action button */
.pricing-action {
    text-align: center;
    margin-top: auto;
}
.btn-pricing {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-pricing:hover {
    background: var(--primary);
    color: #fff;
}
.btn-pricing-popular {
    background: var(--primary);
    color: #fff;
}
.btn-pricing-popular:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}
.btn-pricing-current {
    border-color: #22c55e;
    color: #22c55e;
    cursor: default;
}
.btn-pricing-free {
    border-color: #ccc;
    color: #999;
    cursor: default;
}

/* Responsive pricing */
@media (max-width: 991px) {
    .price-amount { font-size: 32px; }
    .pricing-card { padding: 24px 20px; }
}


/* ============================================================
   SUBSCRIBE PAGE STYLES
   ============================================================ */
.subscribe-plan-card, .subscribe-payment-card, .subscribe-success-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #eee;
    height: 100%;
}
.subscribe-plan-card h4, .subscribe-payment-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}
.subscribe-price {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 20px;
}
.subscribe-price span {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
}
.subscribe-price small {
    font-size: 14px;
    color: var(--gray);
}
.subscribe-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.subscribe-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px dashed #f0f0f0;
}
.subscribe-features li:last-child { border-bottom: none; }
.subscribe-features li i {
    width: 22px;
    color: var(--primary);
    margin-right: 6px;
}
/* UPI info box */
.upi-info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
}
/* Step labels (numbered circles) */
.upi-step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}
.upi-step-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
/* QR Code wrapper */
.upi-qr-wrapper {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    border: 2px dashed #dee2e6;
    margin-bottom: 14px;
}
.upi-qr-img {
    width: 220px;
    height: 220px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.upi-qr-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}
/* UPI ID display with copy */
.upi-id-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
}
.upi-id-display span {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    flex: 1;
    word-break: break-all;
    letter-spacing: 0.3px;
}
.upi-copy-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.upi-copy-btn:hover { background: var(--primary-dark); }
/* Mobile pay button (UPI deep link) */
.upi-pay-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.upi-pay-btn:hover {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
.upi-pay-btn i {
    margin-right: 6px;
}
/* Success card */
.subscribe-success-card {
    text-align: center;
    padding: 50px 30px;
}
.subscribe-success-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.subscribe-success-card p {
    color: var(--gray);
    font-size: 15px;
    max-width: 400px;
    margin: 0 auto;
}


/* ============================================================
   PRODUCTS SECTION STYLES (on listing detail page)
   ============================================================ */
.listing-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}
.product-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.product-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f8f9fa;
}
.product-card-img-placeholder {
    width: 100%;
    height: 180px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 36px;
}
.product-card-body {
    padding: 14px 16px;
}
.product-card-body h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}
.product-card-body p {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

/* Current/sale price — bold green */
.product-card-price .price-current {
    font-size: 18px;
    font-weight: 700;
    color: #16a34a;
}

/* Original price — crossed out, muted */
.product-card-price .price-original {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    text-decoration: line-through;
}

/* Discount badge — small green tag */
.product-card-price .price-discount {
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Clickable product card — hover effects */
a.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.product-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* "Visit Link" label on product card */
.product-card-url {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}
a.product-card-link:hover .product-card-url {
    text-decoration: underline;
}

/* Plan info box on profile */
.plan-info-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 14px;
    padding: 20px 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.plan-info-card i {
    font-size: 32px;
    opacity: 0.9;
}
.plan-info-content { flex: 1; }
.plan-info-content h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #fff;
}
.plan-info-content p {
    font-size: 13px;
    margin: 0;
    opacity: 0.85;
    color: #fff;
}
.plan-info-card .btn-plan-upgrade {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.plan-info-card .btn-plan-upgrade:hover {
    background: rgba(255,255,255,0.35);
    color: #fff;
}

/* Plan usage bars */
.plan-usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}
.usage-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px 16px;
}
.usage-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}
.usage-item-label { color: var(--gray); font-weight: 500; }
.usage-item-count { color: var(--dark); font-weight: 700; }
.usage-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}
.usage-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--primary);
    transition: width 0.5s ease;
}
.usage-bar-fill.usage-warning { background: #f59e0b; }
.usage-bar-fill.usage-danger { background: #ef4444; }

/* Limit reached message */
.limit-reached-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 14px;
    border: 2px dashed #e9ecef;
}
.limit-reached-card i {
    font-size: 48px;
    color: #f59e0b;
    margin-bottom: 15px;
}
.limit-reached-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.limit-reached-card p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

/* Profile products list */
.profile-products-group {
    margin-bottom: 20px;
}
.profile-products-group-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}
.profile-products-group-title i {
    color: var(--primary);
    margin-right: 6px;
}
.profile-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
    border-radius: 6px;
}
.profile-product-item:hover {
    background: #fafbfc;
}
.profile-product-item:last-child { border-bottom: none; }
.profile-product-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    background: #f8f9fa;
}
.profile-product-img-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 18px;
}
.profile-product-info { flex: 1; }
.profile-product-info h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 2px;
}
.profile-product-info small {
    font-size: 12px;
    color: var(--gray);
}
.profile-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Current/sale price — bold green */
.profile-product-price .price-current {
    font-size: 16px;
    font-weight: 700;
    color: #16a34a;
}

/* Original price — crossed out, muted */
.profile-product-price .price-original {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
    text-decoration: line-through;
}

/* Discount badge — small green tag */
.profile-product-price .price-discount {
    font-size: 11px;
    font-weight: 600;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    padding: 2px 7px;
    border-radius: 4px;
}

/* ---- Product Action Buttons (Edit / Delete) ---- */
.profile-product-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    flex-shrink: 0;
}

/* Each action icon button — clean circle */
.product-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Edit button — soft blue */
.product-action-btn.edit {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
}
.product-action-btn.edit:hover {
    color: #fff;
    background: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Delete button — soft red */
.product-action-btn.delete {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}
.product-action-btn.delete:hover {
    color: #fff;
    background: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* On small screens: stack price + actions below product info */
@media (max-width: 576px) {
    .profile-product-item {
        flex-wrap: wrap;
    }
    .profile-product-price {
        width: 100%;
        margin-top: 4px;
        padding-left: 62px; /* align with text after image */
    }
    .profile-product-actions {
        margin-left: auto;
    }
}


/* ============================================================
   BLOG LISTING PAGE — Sidebar, Pagination, Widgets
   ============================================================ */

/* --- Sidebar Widgets --- */
.blog-sidebar-widget {
    background: var(--white);
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.blog-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-sidebar-title i {
    color: var(--primary);
    font-size: 14px;
}

/* --- Category List --- */
.blog-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-category-list li {
    margin-bottom: 4px;
}

.blog-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.blog-category-list li a:hover,
.blog-category-list li a.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

.blog-cat-count {
    background: var(--light);
    color: var(--gray);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    min-width: 28px;
    text-align: center;
}

.blog-category-list li a.active .blog-cat-count {
    background: var(--primary);
    color: #fff;
}

/* --- Recent Posts Widget --- */
.blog-recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--light);
    transition: all 0.2s ease;
}

.blog-recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-recent-item:hover strong {
    color: var(--primary);
}

.blog-recent-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.blog-recent-img-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 18px;
}

.blog-recent-info {
    flex: 1;
    min-width: 0;
}

.blog-recent-info strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    transition: color 0.2s;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-recent-info small {
    display: block;
    margin-top: 4px;
    color: var(--gray);
    font-size: 12px;
}

.blog-recent-info small i {
    margin-right: 4px;
}

/* --- Blog Pagination --- */
.blog-pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--white);
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.blog-pg-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.blog-pg-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* --- Blog listing responsive --- */
@media (max-width: 991px) {
    .blog-sidebar-widget {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .blog-pg-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 10px;
    }
}


/* ============================================================
   BLOG COMMENTS SECTION
   ============================================================ */

/* Comment section wrapper */
.blog-comments-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

/* Comments header */
.comments-header {
    margin-bottom: 25px;
}
.comments-header h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.comments-header h4 i {
    color: var(--primary);
    margin-right: 8px;
}

/* Comment alerts (success / error messages) */
.comment-alert {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.comment-alert i { font-size: 16px; }
.comment-alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
}
.comment-alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Comments list */
.comments-list {
    margin-bottom: 35px;
}

/* Single comment item */
.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: box-shadow 0.2s ease;
}
.comment-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Comment avatar (letter circle) */
.comment-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

/* Comment body */
.comment-body {
    flex: 1;
}

/* Comment meta (name + date) */
.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.comment-author {
    font-size: 15px;
    color: var(--dark);
}
.comment-date {
    font-size: 12px;
    color: var(--gray);
}
.comment-date i { margin-right: 3px; }

/* Comment text */
.comment-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* No comments state */
.no-comments {
    text-align: center;
    padding: 40px 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 30px;
}
.no-comments i {
    font-size: 40px;
    color: #d1d5db;
    margin-bottom: 10px;
}
.no-comments p {
    color: var(--gray);
    font-size: 15px;
    margin: 0;
}

/* Comment form wrapper */
.comment-form-wrapper {
    background: #f9fafb;
    border-radius: 14px;
    padding: 30px;
    border: 1px solid #e5e7eb;
}

/* Comment form title */
.comment-form-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 20px;
}
.comment-form-title i {
    color: var(--primary);
    margin-right: 8px;
}

/* Comment form inputs */
.comment-form .form-control {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}
.comment-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.comment-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Comment submit button */
.btn-comment-submit {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* Comment section responsive */
@media (max-width: 576px) {
    .comment-item {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    .comment-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }
    .comment-form-wrapper {
        padding: 20px;
    }
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}


/* ============================================
   SEARCH OVERLAY BAR (header search toggle)
   Full-width search bar slides down on click
   ============================================ */

/* Search toggle button in navbar */
.btn-nav-search {
    background: none; border: none; color: var(--dark); font-size: 17px;
    padding: 8px 12px; cursor: pointer; border-radius: 8px;
    transition: all 0.3s; display: flex; align-items: center;
}
.btn-nav-search:hover { background: rgba(37,99,235,0.08); color: var(--primary); }
.navbar.scrolled .btn-nav-search { color: var(--dark); }
/* On transparent homepage navbar, icon should be white */
.navbar:not(.scrolled) .btn-nav-search { color: #fff; }
.navbar:not(.scrolled) .btn-nav-search:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Search overlay bar */
.search-overlay {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 10000; background: #fff;
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}
.search-overlay.active { transform: translateY(0); }
.search-overlay-form { padding: 18px 0; }
.search-overlay-inner {
    display: flex; align-items: center; gap: 12px;
    background: #f8fafc; border: 2px solid #e2e8f0;
    border-radius: 14px; padding: 6px 8px 6px 18px;
    transition: border-color 0.3s;
}
.search-overlay-inner:focus-within { border-color: var(--primary); }
.search-overlay-icon { color: #94a3b8; font-size: 18px; flex-shrink: 0; }
.search-overlay-input {
    flex: 1; border: none; outline: none; background: transparent;
    font-size: 16px; color: var(--dark); padding: 10px 5px;
    font-family: var(--font-main);
}
.search-overlay-input::placeholder { color: #94a3b8; }
.search-overlay-btn {
    background: var(--primary); color: #fff; border: none;
    padding: 10px 24px; border-radius: 10px; font-size: 14px;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
    white-space: nowrap;
}
.search-overlay-btn:hover { background: var(--primary-dark); }
.search-overlay-close {
    background: none; border: none; color: #94a3b8; font-size: 20px;
    cursor: pointer; padding: 8px; border-radius: 8px; transition: all 0.3s;
    flex-shrink: 0;
}
.search-overlay-close:hover { color: #ef4444; background: rgba(239,68,68,0.08); }

@media (max-width: 768px) {
    .search-overlay-btn { padding: 10px 16px; font-size: 13px; }
    .search-overlay-input { font-size: 14px; }
}


/* ============================================
   FLOATING WHATSAPP BUTTON
   Fixed bottom-left with pulse animation
   ============================================ */
#whatsappFloat:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}
/* Pulse animation to draw attention */
#whatsappFloat::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}


/* ============================================
   SEO TOOLS PAGE STYLES
   Tab navigation, tool cards, results tables
   ============================================ */

/* Tab navigation buttons */
.seo-tab-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 20px; border-radius: 10px; font-size: 13px; font-weight: 600;
    text-decoration: none; color: var(--gray); background: var(--white);
    border: 1px solid rgba(0,0,0,0.08); transition: all 0.3s;
}
.seo-tab-btn:hover, .seo-tab-btn.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
/* Tool card container */
.seo-tool-card {
    background: var(--white); border-radius: 16px; padding: 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
/* Tool header with icon */
.seo-tool-header {
    display: flex; align-items: center; gap: 18px;
    padding-bottom: 20px; margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-left: 15px;
}
.seo-tool-icon {
    width: 55px; height: 55px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.seo-tool-header h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 0 0 4px; }
.seo-tool-header p { font-size: 13px; color: var(--gray); margin: 0; }
/* Input row */
.seo-tool-input-row {
    display: flex; gap: 12px; margin-bottom: 15px;
}
.seo-tool-input {
    flex: 1; padding: 14px 18px; border: 2px solid #e2e8f0; border-radius: 12px;
    font-size: 15px; outline: none; transition: border-color 0.3s;
}
.seo-tool-input:focus { border-color: var(--primary); }
.seo-tool-btn {
    padding: 14px 28px; border: none; border-radius: 12px; color: #fff;
    font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.seo-tool-btn:hover { opacity: 0.9; transform: translateY(-1px); }
/* Loading spinner */
.seo-tool-loader {
    display: flex; align-items: center; gap: 12px; padding: 20px 0;
    font-size: 14px; color: var(--gray);
}
.seo-spinner {
    width: 22px; height: 22px; border: 3px solid #e2e8f0;
    border-top-color: var(--primary); border-radius: 50%;
    animation: seoSpin 0.7s linear infinite;
}
@keyframes seoSpin { to { transform: rotate(360deg); } }
/* Result area */
.seo-tool-result { margin-top: 10px; }
/* Result table styles */
.seo-res-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.seo-res-table th {
    text-align: left; padding: 10px 14px; background: #f8fafc; color: var(--dark);
    font-weight: 600; border-bottom: 2px solid #e2e8f0;
}
.seo-res-table td {
    padding: 10px 14px; border-bottom: 1px solid #f1f5f9; color: var(--gray);
    word-break: break-all;
}
.seo-res-table tr:hover td { background: #fafbff; }
/* Status badges */
.seo-badge-pass { display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:6px; font-size:11px; font-weight:600; background:rgba(34,197,94,0.1); color:#16a34a; }
.seo-badge-fail { display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:6px; font-size:11px; font-weight:600; background:rgba(239,68,68,0.1); color:#dc2626; }
.seo-badge-warn { display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:6px; font-size:11px; font-weight:600; background:rgba(245,158,11,0.1); color:#d97706; }
/* Score circle (for speed) */
.seo-score-circle {
    width: 120px; height: 120px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 800; margin: 0 auto 10px;
    border: 6px solid; position: relative;
}
/* Metric cards row */
.seo-metrics-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 15px; }
.seo-metric-card {
    flex: 1; min-width: 130px; background: #f8fafc; border-radius: 10px;
    padding: 14px; text-align: center; border: 1px solid #f1f5f9;
}
.seo-metric-card .label { font-size: 11px; color: var(--gray); margin-bottom: 4px; }
.seo-metric-card .value { font-size: 16px; font-weight: 700; color: var(--dark); }
/* Progress bar for speed */
.seo-prog-bar { height: 8px; background: #e2e8f0; border-radius: 6px; overflow: hidden; margin-top: 6px; }
.seo-prog-fill { height: 100%; border-radius: 6px; transition: width 0.8s ease; }
/* Raw code block */
.seo-code-block {
    background: #0f172a; color: #94a3b8; padding: 20px; border-radius: 12px;
    font-family: 'Fira Code', monospace; font-size: 12px; line-height: 1.7;
    max-height: 400px; overflow-y: auto; white-space: pre-wrap; word-break: break-all;
}
/* Form grid for robots.txt / meta tags generators */
.seo-form-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
}
.seo-form-group label {
    display: block; font-size: 13px; font-weight: 600; color: var(--dark);
    margin-bottom: 6px;
}
.seo-form-group textarea.seo-tool-input { resize: vertical; }
@media (max-width: 768px) { .seo-form-grid { grid-template-columns: 1fr; } }
/* Action buttons (Copy / Download) */
.seo-action-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 20px; border: none; border-radius: 10px; color: #fff;
    font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.seo-action-btn:hover { opacity: 0.85; transform: translateY(-1px); }
/* Responsive */
@media (max-width: 768px) {
    .seo-tool-input-row { flex-direction: column; }
    .seo-tool-btn { justify-content: center; }
    .seo-tool-header { flex-direction: column; text-align: center; padding-left: 0; border-left: none !important; border-top: 4px solid; padding-top: 15px; }
}
