/* Website 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;
}

/* Website Hero Section */
.website-hero {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    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: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

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

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

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

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

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

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

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

.service-feature-card:hover .service-icon {
    transform: scale(1.1);
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 4px;
    background: linear-gradient(to bottom, #007bff, #6f42c1);
    border-radius: 2px;
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #6f42c1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 30px;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.step-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    transition: transform 0.3s ease;
}

.step-content:hover {
    transform: translateX(10px);
}

/* Technology Section */
.tech-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.tech-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 80px;
}

.tech-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.tech-badge i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.tech-badge span {
    font-size: 0.9rem;
    font-weight: 500;
}

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

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

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

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

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

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

.portfolio-overlay {
    background: rgba(0, 123, 255, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

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

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 123, 255, 0.25);
}

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

.text-indigo {
    color: #6610f2 !important;
}

.text-pink {
    color: #e83e8c !important;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        margin-right: 20px;
    }
    
    .website-hero h1 {
        font-size: 2.5rem;
    }
    
    .tech-badge {
        min-width: 70px;
        padding: 10px;
    }
    
    .tech-badge i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
}