.contact-main {
    display: flex;
    padding-top: 80px; /* Height of navbar */
    height: calc(100vh - 80px); /* Full viewport height minus navbar */
    overflow: hidden;
}

.contact-content {
    flex: 0 0 45%;
    max-width: 600px;
    padding: 3rem 2rem 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    z-index: 2;
    position: relative;
}

.contact-image-full {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.contact-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-item {
    margin-bottom: 1.8rem;
    position: relative;
    padding-left: 2rem;
}

.contact-line {
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 12px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.contact-info h2 {
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 0.8rem;
    text-align: left;
    font-size: 2.2rem;
}

.contact-info h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.contact-info p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .contact-main {
        flex-direction: column;
        height: auto;
    }
    
    .contact-content {
        flex: none;
        max-width: 100%;
        padding: 2rem;
        order: 2;
    }
    
    .contact-image-full {
        flex: none;
        height: 40vh;
        order: 1;
    }
    
    .contact-item {
        padding-left: 0;
        text-align: center;
    }
    
    .contact-line {
        display: none;
    }
    
    .contact-info h2 {
        text-align: center;
    }
    
    .contact-info h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .contact-content {
        padding: 1.5rem;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
    }
}