/* ========================================
   WEB DESIGN PAGE ALIGNMENT FIXES
   Comprehensive alignment and layout corrections
   ======================================== */

/* ==========================
   GLOBAL ALIGNMENT RESET
   ========================== */

.web-design-hero,
.services-section,
.benefits-section,
.process-section,
.faq-section,
.pricing-section,
.cta-section {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* Container alignment */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================
   HERO SECTION ALIGNMENT
   ========================== */

.web-design-hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 0 80px 0;
    text-align: center;
    position: relative;
}

.web-design-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.web-design-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 800;
}

.web-design-hero .hero-subtitle {
    display: block;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.web-design-hero .hero-description {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    margin: 0 auto 2rem;
    max-width: 700px;
    text-align: center;
}

/* Conversion badges alignment */
.conversion-elements {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 2rem auto !important;
    max-width: 800px;
}

.conversion-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    white-space: nowrap;
}

/* Hero actions alignment */
.web-design-hero .hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    flex-wrap: wrap;
}

.btn-web-design,
.hero-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Stats grid alignment */
.web-design-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 3rem auto 0;
    max-width: 700px;
    text-align: center;
}

.web-design-stat {
    text-align: center;
    padding: 1rem;
}

.web-design-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.web-design-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ==========================
   SERVICES SECTION ALIGNMENT
   ========================== */

.services-section {
    padding: 100px 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.section-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: #6b7280;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* Services grid alignment */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.web-design-service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.web-design-service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2c86f9, #1e6ee8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.web-design-service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.web-design-service-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
    line-height: 1.5;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c86f9;
    font-weight: 700;
}

/* ==========================
   BENEFITS SECTION ALIGNMENT
   ========================== */

.benefits-section {
    padding: 100px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.web-design-benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
}

.web-design-benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(44, 134, 249, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c86f9;
    font-size: 1.25rem;
}

.web-design-benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.web-design-benefit-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* ==========================
   PROCESS SECTION ALIGNMENT
   ========================== */

.process-section {
    padding: 100px 0;
    background: #f9fafb;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.web-design-process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.web-design-process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c86f9, #1e6ee8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.web-design-process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.web-design-process-step p {
    color: #6b7280;
    line-height: 1.6;
}

/* ==========================
   FAQ SECTION ALIGNMENT
   ========================== */

.faq-section {
    padding: 100px 0 !important;
    background: white !important;
}

.faq-section .section-header {
    margin-bottom: 4rem !important;
    text-align: center !important;
}

.faq-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
    color: #1f2937 !important;
    text-align: center !important;
}

.faq-section .section-header p {
    font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
    color: #6b7280 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.faq-item {
    margin-bottom: 1.25rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.faq-question {
    width: 100% !important;
    text-align: left !important;
    padding: 1.5rem !important;
    background: #f9fafb !important;
    border: none !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: background 0.3s ease !important;
}

.faq-question:hover {
    background: #f3f4f6 !important;
}

.faq-answer {
    padding: 0 1.5rem !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    background: white !important;
}

.faq-answer > div {
    padding: 1.5rem 0 !important;
}

.faq-answer p {
    color: #4b5563 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* ==========================
   PRICING SECTION ALIGNMENT
   ========================== */

.pricing-section {
    padding: 100px 0 !important;
    background: #f9fafb !important;
}

.pricing-section .section-header {
    margin-bottom: 4rem !important;
    text-align: center !important;
}

.pricing-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
    color: #1f2937 !important;
}

/* Pricing grid */
.pricing-section > div > div:last-child {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Individual pricing cards */
.pricing-section > div > div:last-child > div {
    background: white !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    position: relative !important;
    border: 2px solid #e5e7eb !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
}

/* ==========================
   CTA SECTION ALIGNMENT
   ========================== */

.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================
   RESPONSIVE ADJUSTMENTS
   ========================== */

@media (max-width: 768px) {
    /* Mobile padding adjustments */
    .web-design-hero {
        padding: 100px 0 60px 0;
        min-height: auto;
    }

    .services-section,
    .benefits-section,
    .process-section,
    .faq-section,
    .pricing-section {
        padding: 60px 0 !important;
    }

    /* Grid adjustments */
    .services-grid,
    .benefits-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .web-design-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Hero actions mobile */
    .hero-actions {
        flex-direction: column;
        gap: 1rem !important;
        width: 100%;
    }

    .btn-web-design,
    .hero-phone {
        width: 100%;
        justify-content: center;
    }

    /* Conversion badges mobile */
    .conversion-elements {
        gap: 0.75rem !important;
    }

    .conversion-badge {
        font-size: 0.8rem !important;
        padding: 0.6rem 1rem !important;
    }

    /* Section headers mobile */
    .section-header {
        margin-bottom: 2rem;
    }

    /* Service cards mobile */
    .web-design-service-card {
        padding: 2rem;
    }

    /* Process steps mobile */
    .web-design-process-step {
        padding: 1.5rem;
    }

    /* FAQ mobile */
    .faq-question {
        padding: 1.25rem !important;
        font-size: 1rem !important;
    }

    /* Pricing cards mobile */
    .pricing-section > div > div:last-child {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .container {
        padding: 0 15px;
    }

    .web-design-hero .hero-title {
        font-size: 2rem;
    }

    .web-design-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .web-design-hero .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .web-design-stats {
        grid-template-columns: 1fr;
    }

    .web-design-stat-number {
        font-size: 2rem;
    }
}

/* ==========================
   UTILITY CLASSES
   ========================== */

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.w-full {
    width: 100% !important;
}

.max-w-full {
    max-width: 100% !important;
}

/* ==========================
   ANIMATION CLASSES
   ========================== */

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

/* Fix any overflow issues */
body {
    overflow-x: hidden;
}

main {
    overflow-x: hidden;
}

section {
    overflow-x: hidden;
}

/* Ensure all containers respect viewport width */
* {
    max-width: 100vw;
}

/* Fix any absolute positioned elements */
.floating-shape,
.hero-background-elements {
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}