/* Website Design Page Specific Styles */

.design-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/design-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

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

.design-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.design-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.design-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.design-card ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.design-card ul li {
    margin-bottom: 0.5rem;
}

.process-steps {
    margin-top: 4rem;
}

.process-title {
    text-align: center;
    margin-bottom: 3rem;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3rem;
}

.process-flow:before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 0;
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-content {
    flex-grow: 1;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-connector {
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: -50px;
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

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

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-info {
    padding: 1.5rem;
    background-color: #fff;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}


/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    background: var(--primary-color);
    color: white;
    font-size: 32px;
    padding: 30px;
    text-align: center;
}

.service-content {
    padding: 25px;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

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

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.step-content {
    flex-grow: 1;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    z-index: 2;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.step-content p {
    line-height: 1.6;
    color: var(--text-dark);
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

.step-connector {
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: -30px;
    width: 3px;
    background-color: var(--primary-color);
    opacity: 0.5;
    z-index: 1;
}

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

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .design-philosophy-container {
        flex-direction: row;
        align-items: center;
    }
    
    .philosophy-image {
        flex: 1;
    }
    
    .philosophy-content {
        flex: 1.5;
    }
    
    .process-step[data-aos="fade-right"] .step-content {
        transform: translateX(10px);
    }
    
    .process-step[data-aos="fade-left"] .step-content {
        transform: translateX(-10px);
    }
    
    .process-step:hover .step-content {
        transform: translateY(-5px) !important;
    }
}