/* ============================================
   AI Quick Hiring - Complete Style Sheet
   Version: 1.0
   ============================================ */

/* ============================================
   Global Variables & Reset
   ============================================ */
:root {
    /* Professional Color Palette */
    --primary: #c31927;
    --primary-light: #fe0000;
    --primary-dark: #1E3F61;
    --secondary: #000000;
    --accent: #E67E22;
    --accent-light: #F39C12;
    --success: #27AE60;
    --info: #3498DB;
    --warning: #E67E22;
    --danger: #E74C3C;
    --dark: #2C3E50;
    --light: #F8F9FA;
    --gray: #6C7A89;
    --gray-light: #ECF0F1;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #c31927 0%, #fe0000 100%);
    --gradient-accent: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);
    --gradient-dark: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    --gradient-light: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    --gradient-success: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
    --gradient-warning: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
    --gradient-danger: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    
    /* Shadows */
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-card: 0 20px 40px rgba(0, 0, 0, 0.05);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-xxl: 30px;
    
    /* Font Family */
    --font-primary: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    overflow-x: hidden;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 800;
}

.display-6 {
    font-size: 2rem;
    font-weight: 700;
}

.text-accent {
    color: var(--accent-light);
}

.text-primary {
    color: var(--primary) !important;
}

.text-muted {
    color: var(--gray) !important;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background: white;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    padding: 12px 0;
}

.navbar.scrolled {
    background: white;
    box-shadow: var(--box-shadow-hover);
    padding: 8px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.navbar-brand i {
    color: var(--accent);
    margin-right: 8px;
    font-size: 1.6rem;
}

.navbar-brand:hover {
    color: var(--primary-dark);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--secondary);
    padding: 8px 16px !important;
    position: relative;
}

.nav-link i {
    margin-right: 6px;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: #e90d12;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* ============================================
   Dropdown Menu
   ============================================ */
.dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--box-shadow-hover);
    padding: 8px 0;
    margin-top: 10px;
    min-width: 200px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--gray-light);
    color: var(--primary);
}

.dropdown-item i {
    width: 24px;
    margin-right: 8px;
    color: var(--primary-light);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 92, 143, 0.3);
    background: var(--primary-dark);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    border: none;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
    background: var(--accent);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 92, 143, 0.3);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1rem;
}

.btn-sm {
    padding: 6px 18px;
    font-size: 0.85rem;
}

/* ============================================
   Cards
   ============================================ */
.card {
    border: none;
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
    box-shadow: var(--box-shadow);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.job-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--gray-light);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-light);
}

.featured-card {
    position: relative;
    border: 1px solid var(--gray-light);
}

.featured-card:hover {
    border-color: var(--primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-repeat: repeat;
    opacity: 0.5;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   Search Section
   ============================================ */
.search-card {
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.search-card:hover {
    box-shadow: var(--box-shadow-hover);
}

.popular-tags .badge {
    transition: all 0.3s ease;
    cursor: pointer;
}

.popular-tags .badge:hover {
    background: var(--primary) !important;
    color: white !important;
}

/* ============================================
   Trending Card
   ============================================ */
.trending-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.trending-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary);
}

.trending-rank {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.trending-content {
    flex: 1;
}

.trending-stats {
    display: flex;
    gap: 15px;
}

.trending-stats .stat {
    text-align: center;
}

.trending-stats .stat i {
    display: block;
    font-size: 0.9rem;
}

.skill-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-light);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--secondary);
    margin-right: 8px;
    margin-bottom: 5px;
}

/* ============================================
   Badges
   ============================================ */
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.card-badge .badge {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.featured-badge {
    background: var(--gradient-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.remote-badge {
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.match-score {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.match-high {
    background: var(--success);
    color: white;
}

.match-medium {
    background: var(--accent);
    color: white;
}

.match-low {
    background: var(--danger);
    color: white;
}

/* ============================================
   Category Card
   ============================================ */
.category-card {
    background: white;
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    padding: 30px 20px;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary);
}

.category-icon {
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

/* ============================================
   Step Card
   ============================================ */
.step-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    text-align: center;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-icon {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 2.5rem;
}

/* ============================================
   Testimonial Card
   ============================================ */
.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 30px;
    text-align: center;
    margin: 20px;
    box-shadow: var(--box-shadow);
}

.quote-icon {
    color: var(--primary);
    opacity: 0.3;
    font-size: 2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* ============================================
   Industrial Visits
   ============================================ */
.visit-feature {
    padding: 15px;
    background: var(--gray-light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.visit-feature:hover {
    background: white;
    box-shadow: var(--box-shadow);
}

.industrial-slider {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.visit-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.visit-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xxl);
    color: white;
    padding: 50px;
    text-align: center;
}

.cta-content {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xxl);
    padding: 50px;
    color: white;
}

.cta-content .btn-primary {
    background: white;
    color: var(--primary);
    border: none;
}

.cta-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-content .btn-outline-primary {
    border: 2px solid white;
    color: white;
}

.cta-content .btn-outline-primary:hover {
    background: white;
    color: var(--primary);
}

/* ============================================
   Pricing Page Styles
   ============================================ */
.pricing-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0 60px;
    margin-top: -70px;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.pricing-card.featured {
    transform: scale(1.02);
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(42, 92, 143, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

/* Plan Icon */
.plan-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.starter-card .plan-icon { color: var(--success); }
.pro-card .plan-icon { color: var(--accent-light); }
.premium-card .plan-icon { color: var(--danger); }

/* Plan Details */
.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.price-wrapper {
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.price {
    font-size: 3rem;
    font-weight: 800;
}

.period {
    font-size: 1rem;
    color: var(--gray);
}

.plan-tagline {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Card Body & Footer */
.card-body {
    padding: 20px;
    flex: 1;
}

.features-list {
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.feature-item i {
    width: 20px;
    font-size: 0.9rem;
}

.best-for {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--dark);
}

.card-footer {
    padding: 20px;
    background: white;
    border-top: 1px solid var(--gray-light);
}

/* Pricing Plan Buttons */
.btn-starter {
    background: var(--gradient-success);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pro {
    background: var(--gradient-warning);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-premium {
    background: var(--gradient-danger);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-starter:hover,
.btn-pro:hover,
.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Comparison Table */
.comparison-table {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
}

.comparison-table th {
    background: var(--gray-light);
    padding: 15px;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px 15px;
    vertical-align: middle;
}

.comparison-table .highlight {
    background: rgba(42, 92, 143, 0.05);
}

/* FAQ Cards */
.faq-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--box-shadow);
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.faq-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Billing Toggle */
.billing-toggle .btn-group {
    background: white;
    padding: 4px;
    border-radius: 50px;
    box-shadow: var(--box-shadow);
}

.billing-toggle .btn-outline-primary {
    border-radius: 50px;
    padding: 10px 25px;
    border: none;
    color: var(--gray);
}

.billing-toggle .btn-outline-primary.active,
.billing-toggle .btn-check:checked + .btn-outline-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(42, 92, 143, 0.3);
}

/* ============================================
   Blog Styles
   ============================================ */
.blog-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover) !important;
}

.blog-image-placeholder {
    background: var(--gradient-light);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-meta .badge {
    font-weight: 500;
}

.card-img-top {
    transition: transform 0.3s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Blog Single Page */
.blog-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    color: white;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(102,126,234,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.blog-hero .category-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.blog-hero-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    font-size: 0.9rem;
}

.breadcrumb-wrapper {
    background: white;
    border-bottom: 1px solid var(--gray-light);
    padding: 15px 0;
}

.breadcrumb {
    margin: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.blog-main {
    padding: 60px 0;
    background: var(--light);
}

.blog-content-wrapper {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--box-shadow-card);
    overflow: hidden;
}

.featured-image {
    position: relative;
    overflow: hidden;
    max-height: 500px;
}

.featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

.blog-content {
    padding: 40px;
}

.blog-content h1, .blog-content h2, .blog-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--dark);
}

.blog-content h2 {
    font-size: 1.8rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-light);
}

.blog-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 30px 0;
    box-shadow: var(--box-shadow-hover);
}

.blog-content img.align-left {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    max-width: 50%;
}

.blog-content img.align-right {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
    max-width: 50%;
}

.blog-content blockquote {
    background: var(--gradient-light);
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: var(--radius-md);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark);
}

.table-of-contents {
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 30px 0;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.tag {
    background: var(--gray-light);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Share Buttons */
.share-buttons {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    text-align: center;
}

.share-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.share-facebook { background: #1877f2; color: white; }
.share-twitter { background: #1da1f2; color: white; }
.share-linkedin { background: #0077b5; color: white; }
.share-whatsapp { background: #25d366; color: white; }

/* Author Box */
.author-box {
    background: var(--gradient-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin: 40px 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.author-avatar-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
}

.related-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--box-shadow);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.related-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 20px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.newsletter-widget {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.newsletter-widget input {
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    width: 100%;
    margin-bottom: 10px;
}

.popular-post-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.popular-post-item:last-child {
    border-bottom: none;
}

.popular-post-item:hover {
    transform: translateX(5px);
}

.popular-post-item a {
    color: var(--dark);
    text-decoration: none;
}

.popular-post-item a:hover {
    color: var(--primary);
}

/* Follow Us Widget */
.follow-us-widget {
    text-align: center;
}

.follow-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.follow-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.5rem;
}

.follow-icon:hover {
    transform: translateY(-5px);
}

.follow-facebook { background: #1877f2; color: white; }
.follow-twitter { background: #1da1f2; color: white; }
.follow-linkedin { background: #0077b5; color: white; }
.follow-whatsapp { background: #25d366; color: white; }

/* ============================================
   Progress & Loading
   ============================================ */
.progress {
    height: 8px;
    border-radius: 10px;
    background: var(--gray-light);
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 1s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(42, 92, 143, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Reading Progress Bar */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gray-light);
    z-index: 1001;
}

.progress-bar-reading {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.2s ease;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--box-shadow-hover);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
    background: var(--primary-dark);
}

/* ============================================
   Chatbot
   ============================================ */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(42, 92, 143, 0.3);
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--box-shadow-hover);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-header {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: var(--light);
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
}

.message.bot .message-content {
    background: white;
    color: var(--dark);
    border: 1px solid var(--gray-light);
}

.message.user .message-content {
    background: var(--gradient-primary);
    color: white;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid var(--gray-light);
    background: white;
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 25px;
    outline: none;
}

.chatbot-input button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-size: 0.9rem;
    animation: slideDown 0.5s ease;
}

.alert-success {
    background: linear-gradient(135deg, #D5F5E3, #ABEBC6);
    color: #186A3B;
}

.alert-danger {
    background: linear-gradient(135deg, #FADBD8, #F5B7B1);
    color: #943126;
}

.alert-info {
    background: linear-gradient(135deg, #D4E6F1, #AED6F1);
    color: #1B4F72;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease forwards;
}

.animate-zoomIn {
    animation: zoomIn 0.6s ease forwards;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--gray-light);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        border: none;
        background: transparent;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .trending-card {
        flex-direction: column;
        text-align: center;
    }
    
    .trending-rank {
        margin: 0 auto 15px;
    }
    
    .trending-stats {
        justify-content: center;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    /* Pricing Responsive */
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content p {
        font-size: 1rem;
    }
    
    .share-buttons-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .follow-icons {
        flex-wrap: wrap;
    }
    
    .cta-card,
    .cta-content {
        padding: 30px 20px;
    }
    
    .chatbot-window {
        width: 300px;
        height: 450px;
        right: 20px;
        bottom: 80px;
    }
    
    .blog-content img.align-left,
    .blog-content img.align-right {
        float: none;
        display: block;
        margin: 20px auto;
        max-width: 100%;
    }
    
    /* Pricing Responsive */
    .pricing-hero {
        padding: 60px 0 40px;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table td,
    .comparison-table th {
        padding: 8px 10px;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .step-card {
        margin: 20px 0;
    }
    
    .testimonial-card {
        margin: 10px;
        padding: 20px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.rounded-4 {
    border-radius: var(--radius-xl);
}

.rounded-5 {
    border-radius: var(--radius-xxl);
}

.shadow-sm {
    box-shadow: var(--box-shadow);
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: var(--box-shadow-hover);
}

.cursor-pointer {
    cursor: pointer;
}

.transition-all {
    transition: all 0.3s ease;
}

.btn-success-gradient {
    background: linear-gradient(135deg, #e90a0f 0%, #3775a1 100%);
    color: white;
    border: none;
    padding: 8px 0px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success-gradient:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    background: linear-gradient(135deg, #229954 0%, #e90a0f 100%);
}



        /* Additional mobile navigation fixes */
        .navbar-toggler {
            border: none;
            padding: 0.25rem 0.75rem;
            font-size: 1.25rem;
            line-height: 1;
            background-color: transparent;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .navbar-toggler:focus {
            box-shadow: none;
            outline: none;
        }

        .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(42, 92, 143, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
            width: 1.5em;
            height: 1.5em;
            display: inline-block;
        }

        .navbar-toggler-icon i {
            display: none;
        }

        @media (max-width: 992px) {
            .navbar-collapse {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                padding: 20px;
                border-radius: 0 0 20px 20px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
                max-height: calc(100vh - 70px);
                overflow-y: auto;
                z-index: 1000;
            }
            
            .navbar-collapse.show {
                display: block !important;
            }
            
            .navbar-nav {
                margin-top: 0;
                padding-top: 0;
                border-top: none;
            }
            
            .nav-item {
                margin: 5px 0;
            }
            
            .nav-link {
                padding: 10px 15px !important;
                border-radius: 8px;
            }
            
            .nav-link:hover,
            .nav-link.active {
                background: #ECF0F1;
            }
            
            .nav-link::after {
                display: none;
            }
            
            .dropdown-menu {
                position: static !important;
                transform: none !important;
                box-shadow: none;
                padding-left: 20px;
                margin-top: 0;
                background: transparent;
                width: 100%;
                border: none;
            }
            
            .dropdown-menu.show {
                display: block;
            }
            
            .dropdown-item {
                padding: 8px 15px;
                border-radius: 8px;
            }
            
            .dropdown-item:hover {
                background: #ECF0F1;
            }
            
            .btn-primary {
                width: 100%;
                text-align: center;
                margin-top: 10px;
            }
            
            main {
                margin-top: 70px !important;
            }
        }

        @media (max-width: 576px) {
            .navbar-brand {
                font-size: 1.2rem;
            }
            
            .navbar-brand i {
                font-size: 1.3rem;
            }
            
            .navbar-toggler {
                padding: 0.2rem 0.5rem;
            }
            
            .navbar-toggler-icon {
                width: 1.2em;
                height: 1.2em;
            }
        }
