/* --- General Page Layouts --- */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.column-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.column-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.column-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Web Design Page: Services & Process --- */
.feature-card-alt {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.feature-card-alt i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 5%;
    width: 90%;
    height: 4px;
    background-color: #e0e0e0;
    z-index: -1;
}
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 22%;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.timeline-step.hidden {
    opacity: 0;
    transform: translateY(30px);
}
.timeline-step.visible {
    opacity: 1;
    transform: translateY(0);
}
.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 4px solid var(--light-color);
}
.step-content {
    margin-top: 20px;
}

/* --- Graphic Design Page: Gallery & Services List --- */
.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}
.masonry-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    break-inside: avoid;
    cursor: pointer;
}
.masonry-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.masonry-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 45, 98, 0.7);
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 8px;
}
.masonry-item:hover .overlay {
    opacity: 1;
}

.lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
}
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: var(--white-color);
    cursor: pointer;
}

.services-list {
    list-style: none;
    margin-top: 20px;
}
.services-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.services-list i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* --- Contact Page: Form & Info --- */
.contact-info-container, .contact-form-container {
    padding: 20px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}
.info-item p {
    font-size: 1.1rem;
    line-height: 1.6;
}
.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.form-group input.error, .form-group select.error, .form-group textarea.error {
    border-color: #e74c3c;
}
.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}
.btn-full {
    width: 100%;
}

/* --- Responsive Adjustments --- */
@media(max-width: 992px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .column-text {
        text-align: center;
    }
    .three-column-grid {
        grid-template-columns: 1fr;
    }
    .process-timeline {
        flex-direction: column;
        align-items: center;
    }
    .process-timeline::before { display: none; }
    .timeline-step { width: 80%; margin-bottom: 30px; }
    .masonry-grid { column-count: 2; }
}

@media(max-width: 576px) {
    .masonry-grid { column-count: 1; }
    .column-text h1 { font-size: 2.2rem; }
}