/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    opacity: 0.1;
}

.hero-bg-shapes .shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    color: var(--primary);
}

.hero-bg-shapes .shape-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -150px;
    color: var(--secondary);
}

.hero-title {
    color: var(--heading-color);
    line-height: 1.2;
}

.hero-title .text-accent {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 0.2em;
}

.hero-subtitle {
    color: var(--text-color);
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--link-hover-color);
    border-color: var(--link-hover-color);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    color: var(--secondary);
    border-color: var(--secondary);
    font-weight: 600;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

/* Features Section */
.features-section {
    background-color: #ffffff;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 1rem;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

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

.feature-icon {
    color: var(--primary);
}

.feature-card h4 {
    color: var(--heading-color);
    font-weight: 600;
}


/* Pricing Section */
/* Updated Pricing Section CSS */
.pricing-section {
    background-color: #f8f9fa;
}

.pricing-card {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 600px; /* Ensure minimum height */
}

.pricing-card.free {
    border-color: #d0d0d0;
}

.pricing-card.premium {
    border-color: var(--primary);
}

/* Remove the scale transform on desktop to ensure equal sizes */
@media (min-width: 992px) {
    .pricing-card.premium {
        transform: none;
    }
}

.pricing-card.premium .premium-badge {
    position: absolute;
    top: -1rem;
    right: 2rem;
    z-index: 1;
}

.pricing-header {
    flex-shrink: 0;
}

.pricing-header h3 {
    color: var(--heading-color);
    min-height: 2.5rem; /* Ensure consistent header height */
}

.pricing-header .price {
    color: var(--primary);
    min-height: 3rem; /* Ensure consistent price height */
}

.pricing-features {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.pricing-features li {
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features .bi {
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.pricing-footer {
    flex-shrink: 0;
    padding-top: 1rem;
}

.btn-outline-primary {
  color: var(--primary) !important;
  border: 1px solid var(--primary) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff !important;
}

/* Hover effects */
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pricing-card.premium:hover {
    border-color: var(--link-hover-color);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .pricing-card {
        min-height: auto;
    }
    
    .pricing-card.premium {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card:last-child {
        margin-bottom: 0;
    }
    
    .pricing-header h3 {
        min-height: auto;
    }
    
    .pricing-header .price {
        min-height: auto;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-bg-shapes .shape-1 {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -100px;
    }
    
    .hero-bg-shapes .shape-2 {
        width: 300px;
        height: 300px;
        bottom: -100px;
        left: -100px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-bg-shapes .shape-1 {
    animation: float 6s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
}











.site-stat {
    background-color: #f6f7f95e;
    padding-top: 50px;
    padding-bottom: 50px;
}

.stat-box {
    padding: 35px 20px 20px 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.stat-box i {
    font-size: 40px;
    width: 80px; /* Equal width */
    height: 80px; /* Equal height */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%; /* Ensures perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto; /* Centers the circle */
}

.bg-blue {
    background-color: #2490eb;
}

.bg-green {
    background-color: #197274;
}

.bg-yellow {
    background-color: #f49d02;
}

.bg-danger {
    background-color: #dc3545;
}

/* Blog Posts Section */
.post-list {
    background-color: #fafafa;
}

.section-label {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--heading-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.blog-post {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.blog-post:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

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

.blog-post:hover .read-more-link {
    color: var(--primary);
}

.blog-post:hover .read-more-link i {
    transform: translateX(5px);
}

.post-image-wrapper {
    height: 220px;
    background-color: #f0f0f0;
}

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

.date-badge {
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.post-content {
    background-color: #ffffff;
}

.blog-post-title {
    color: var(--heading-color);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-excerpt {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.read-more-link i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: var(--link-hover-color);
    text-decoration: none;
}

/* Responsive adjustments for blog posts */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    
    .blog-post-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 767px) {
    .post-image-wrapper {
        height: 200px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .post-content {
        padding: 1.5rem !important;
    }
}