/* WordPress Development Page Specific Styles */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Ensure all elements stay within viewport */
.container {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Extra protection for images */
img {
    max-width: 100%;
    height: auto;
}

/* WordPress Hero Section */
.wordpress-hero {
    background: linear-gradient(135deg, #21759b 0%, #0073aa 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.min-vh-70 {
    min-height: 70vh;
}

/* Hero Background Animation */
.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.wordpress-hero .container {
    position: relative;
    z-index: 2;
}

/* Impact Cards */
.impact-card {
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.impact-icon {
    transition: transform 0.3s ease;
}

.impact-card:hover .impact-icon {
    transform: scale(1.1) rotate(5deg);
}

/* WordPress Service Cards */
.wordpress-service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.wordpress-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.wordpress-service-card .service-icon {
    transition: transform 0.3s ease;
}

.wordpress-service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* WordPress Process */
.wordpress-process {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 25px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #21759b, #0073aa);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(33, 117, 155, 0.3);
}

.step-line {
    width: 3px;
    background: linear-gradient(to bottom, #21759b, #0073aa);
    flex: 1;
    margin-top: 10px;
    border-radius: 2px;
}

.process-step:last-child .step-line {
    display: none;
}

.step-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    transition: transform 0.3s ease;
}

.step-content:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    text-align: left;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: "•";
    color: #21759b;
    position: absolute;
    left: 0;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Results Section */
.result-card {
    padding: 20px;
}

.result-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ffc107;
    line-height: 1;
    margin-bottom: 10px;
}

.result-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Pricing Cards */
.pricing-card {
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #21759b;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(33, 117, 155, 0.25);
}

/* Custom Colors */
.text-purple {
    color: #6f42c1 !important;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

/* WordPress Brand Colors */
.wordpress-primary {
    color: #21759b !important;
}

.wordpress-secondary {
    color: #0073aa !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .wordpress-hero h1 {
        font-size: 2.5rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-indicator {
        margin-right: 0;
        margin-bottom: 15px;
        flex-direction: row;
    }
    
    .step-line {
        width: 100%;
        height: 3px;
        margin-top: 0;
        margin-left: 10px;
    }
    
    .step-content {
        text-align: center;
    }
    
    .result-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .wordpress-process {
        padding: 0 15px;
    }
    
    .feature-list li {
        font-size: 0.8rem;
    }
}