/* General section styling */
.seo-vs-ppc-comparison {
    background: linear-gradient(145deg, #fff, #f1f1f1);
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica', sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hover effect for the section */
.seo-vs-ppc-comparison:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    background: linear-gradient(145deg, #f1f1f1, #fff);
}

/* Header Styling */
.seo-vs-ppc-comparison h2 {
    font-size: 2.5rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.seo-vs-ppc-comparison h2::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    background: #00ffcc;
    bottom: -10px;
    left: 20%;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.seo-vs-ppc-comparison h2:hover::before {
    transform: scaleX(1);
}

/* Paragraph Styling */
.seo-vs-ppc-comparison p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

/* Table Styling */
.seo-vs-ppc-comparison table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.seo-vs-ppc-comparison th, .seo-vs-ppc-comparison td {
    padding: 15px 20px;
    text-align: center;
    font-size: 1rem;
    color: #333;
    border: 1px solid #00ffcc;
    transition: all 0.3s ease;
}

.seo-vs-ppc-comparison th {
    background-color: #000;
    color: #fff;
    font-weight: bold;
}

/* Row hover effect */
.seo-vs-ppc-comparison tr:hover {
    background-color: #2575fc;
    color: #fff;
    transform: translateX(5px);
}

.seo-vs-ppc-comparison tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Add a gradient border to the table */
.seo-vs-ppc-comparison table {
    background: linear-gradient(145deg, #00ffcc, #000);
    border-radius: 12px;
    border: 3px solid transparent;
    padding: 20px;
}

/* Hover effect on the table */
.seo-vs-ppc-comparison table:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Animation for fade-in */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Animation for table row fade-up */
@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design: Table stacking on small screens */
@media (max-width: 768px) {
    .seo-vs-ppc-comparison table,
    .seo-vs-ppc-comparison th,
    .seo-vs-ppc-comparison td {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* Border and shadow for individual table cells */
.seo-vs-ppc-comparison th,
.seo-vs-ppc-comparison td {
    border: 2px solid #ddd;
    border-radius: 8px;
}

/* Add a floating effect on hover for rows */
.seo-vs-ppc-comparison tr:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Add dynamic interaction for the strong elements */
.seo-vs-ppc-comparison strong {
    font-weight: bold;
    color: #000;
    transition: all 0.3s ease-in-out;
}

.seo-vs-ppc-comparison strong:hover {
    color: #00ffcc;
    text-shadow: 0 0 15px rgba(38, 132, 255, 0.5);
}

