/*
Theme Name: Saleslead
Theme URI: https://saleslead.com.bd
Author: Saleslead
Author URI: https://saleslead.com.bd
Description: Retail Intelligence & Distribution Management Solution - A modern WordPress theme for Sales Force Automation businesses.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saleslead
Tags: business, corporate, one-column, custom-menu, featured-images, full-width-template, theme-options
*/

/* ========================================
   CSS Variables
======================================== */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #E6F0FF;
    --secondary: #FF6B35;
    --accent: #00D4AA;
    --dark: #0A1628;
    --dark-secondary: #1A2A42;
    --light: #F8FAFC;
    --gray: #64748B;
    --gray-light: #E2E8F0;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D4AA 100%);
    --gradient-hero: linear-gradient(135deg, #0A1628 0%, #1A2A42 50%, #0A1628 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 40px rgba(0,102,255,0.3);
}

/* ========================================
   Reset & Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* ========================================
   Container
======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header Styles
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Navigation Styles
======================================== */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link,
.nav ul li a {
    padding: 10px 18px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav ul li a:hover,
.nav-link.active,
.nav ul li.current-menu-item a {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link.dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link.dropdown::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

/* WordPress Menu Support */
.nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav ul li {
    position: relative;
}

/* Dropdown Menu */
.nav ul li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav ul li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav ul li ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    border-radius: 0;
}

.nav ul li ul.sub-menu li a:hover {
    background: var(--primary-light);
}

/* ========================================
   Button Styles
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark-secondary);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ========================================
   Mobile Menu
======================================== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav ul li a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
}

.mobile-nav ul li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0,102,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0,212,170,0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,107,53,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Page Hero
======================================== */
.page-hero {
    background: var(--gradient-hero);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0,102,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0,212,170,0.15) 0%, transparent 50%);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    position: relative;
    z-index: 2;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--white);
}

/* ========================================
   Services Carousel
======================================== */
.services-carousel {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

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

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-light);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    padding: 16px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.service-card:hover .service-icon img {
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

/* ========================================
   Section Header
======================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 20px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
}

/* ========================================
   Demo Section
======================================== */
.demo-section {
    padding: 120px 0;
    background: var(--light);
    position: relative;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 200px;
    background: url('assets/images/bg-top-what-about.png') no-repeat;
    background-size: contain;
    opacity: 0.5;
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
    background: var(--dark);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.demo-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.demo-text p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* ========================================
   Features Section
======================================== */
.features-section {
    padding: 120px 0;
    background: var(--white);
}

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

.feature-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-content h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   Stats Section
======================================== */
.stats-section {
    padding: 100px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0,102,255,0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 50%, rgba(0,212,170,0.2) 0%, transparent 40%);
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-card {
    color: var(--white);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ========================================
   Benefits Section
======================================== */
.benefits-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

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

.benefit-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: var(--primary-light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* ========================================
   Partners Section
======================================== */
.partners-section {
    padding: 100px 0;
    background: var(--white);
}

.partners-slider {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 20px 0;
    margin: -20px 0;
}

.partners-track {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-card {
    flex-shrink: 0;
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    min-width: 228px;
    width: 60%;
    max-width: 380px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    border: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 6px 12px rgba(0, 0, 0, 0.1);
}

.partner-logo-wrapper {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    overflow: visible;
}

.partner-card:hover .partner-logo-wrapper {
    transform: scale(1.05);
    background: rgba(0, 102, 255, 0.15);
}

.partner-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.partner-company-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

.partner-service {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

.partner-description {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    margin-top: 4px;
}

/* ========================================
   Tech Stack Section
======================================== */
.tech-section {
    padding: 100px 0;
    background: var(--light);
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    min-width: 120px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.tech-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.tech-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
}

/* ========================================
   About Section
======================================== */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse > * {
    direction: ltr;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Case Studies Section
======================================== */
.case-studies-section {
    padding: 100px 0;
    background: var(--light);
}

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

.case-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.case-content {
    padding: 24px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.case-content h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.case-content p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin: 20px 0 30px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* WordPress Widget Support in Footer */
.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-widget ul li a:hover {
    color: var(--primary);
}

/* ========================================
   Responsive Styles
======================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid,
    .benefits-grid,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-grid.reverse {
        direction: ltr;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .benefits-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-card {
        min-width: 300px;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* ========================================
   Animations on scroll
======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Services Page Styles
======================================== */
.services-section {
    padding: 100px 0;
    background: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    transition: all 0.4s ease;
    cursor: pointer;
}

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

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    padding: 16px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    background: var(--gradient-primary);
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.product-card:hover .product-icon img {
    filter: brightness(0) invert(1);
}

.product-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.service-category {
    padding: 80px 0;
    background: var(--white);
}

.service-category:nth-child(even) {
    background: var(--light);
}

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

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

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

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    padding: 14px;
    background: var(--primary-light);
    border-radius: 16px;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.category-card p {
    font-size: 0.85rem;
    color: var(--gray);
}

.cta-section {
    padding: 100px 0;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0,102,255,0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 50%, rgba(0,212,170,0.2) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-contact {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    margin-top: 20px;
}

/* ========================================
   Case Studies / Blog Styles
======================================== */
.blog-section {
    padding: 100px 0;
    background: var(--light);
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-main {
    /* Main blog content area - takes 2/3 of the grid */
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

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

.blog-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--gray);
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.blog-content h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

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

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

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
    color: var(--dark);
}

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

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

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

.category-list a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.category-count {
    background: var(--gray-light);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.category-list a:hover .category-count {
    background: var(--primary);
    color: var(--white);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 6px 14px;
    background: var(--light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* Pagination */
.pagination {
    margin: 40px 0;
    text-align: center;
}

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

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination .current {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.pagination .prev,
.pagination .next {
    gap: 8px;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.no-posts p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* ========================================
   WordPress Specific Styles
======================================== */
.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2em;
    margin-bottom: 1em;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin: 0 auto 1.5em;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 0.5em;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* WordPress Block Editor Support */
.wp-block-button__link {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   Post Banner Header Styles
======================================== */
.post-banner-header {
    position: relative;
    overflow: hidden;
}

.post-banner-header h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Tag Cloud Hover Effects */
.tag-cloud a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Category List Hover Effects in Sidebar */
.sidebar .category-list a:hover {
    color: var(--primary);
}

.sidebar .category-list a:hover span:last-child {
    background: var(--primary);
    color: var(--white);
}

/* Responsive Styles for Post Banner */
@media (max-width: 768px) {
    .post-banner-header .container > div {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .post-banner-header h1 {
        font-size: 2rem !important;
    }
    
    .page-content .container > div {
        grid-template-columns: 1fr !important;
    }
    
    .sidebar {
        position: static !important;
        margin-top: 40px;
    }
    
    /* Case Study Card Responsive */
    .case-study-banner > div {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .case-study-banner h2 {
        font-size: 1.5rem !important;
    }
    
    .case-study-banner > div > div:last-child {
        text-align: center !important;
    }
}

/* ========================================
   Contact Form Styles
======================================== */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1) !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray);
    opacity: 0.6;
}

.contact-message {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-success {
    background: #D4EDDA !important;
    color: #155724 !important;
    border-color: #C3E6CB !important;
}

.contact-error {
    background: #F8D7DA !important;
    color: #721C24 !important;
    border-color: #F5C6CB !important;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-form button[type="submit"]:active {
    transform: translateY(0);
}

/* ========================================
   Social Share Buttons
======================================== */
.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-facebook:hover {
    background: #166FE5 !important;
}

.share-twitter:hover {
    background: #1A91DA !important;
}

.share-linkedin:hover {
    background: #006599 !important;
}

.share-whatsapp:hover {
    background: #20BA5A !important;
}

.share-copy:hover {
    background: var(--primary-dark) !important;
}

@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column !important;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px !important;
    }
    
    .about-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Partner Cards Responsive */
    .partner-card {
        min-width: 280px;
        width: 85%;
        max-width: 100%;
        padding: 24px 20px;
        gap: 10px;
    }
    
    .partner-logo-wrapper {
        width: 70px;
        height: 70px;
        padding: 14px;
    }
    
    .partner-company-name {
        font-size: 0.9rem;
    }
    
    .partner-service {
        font-size: 0.85rem;
    }
    
    .partner-description {
        font-size: 0.8rem;
    }
}
