/* Contact Section Styling */

html, body {
    height: 100%; 
    margin: 0;
    padding: 0;
    background-color: orange;
}

.transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 2;
    pointer-events: none;
}

.transition-row {
    flex: 1;
    display: flex;
}

.transition-row.row-1 .block {
    transform-origin: top;
}

.transition-row.row-2 .block {
    transform-origin: bottom;
}

.block {
    flex: 1;
    background-color: #111;
    transform: scaleY(1);
    will-change: transform;
    visibility: visible;
}


/* Animation for fade-in and slight move up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); 
    }
    to {
        opacity: 1;
        transform: translateY(0); 
    }
}

.contact-title,
.contact-info {
    animation: fadeInUp 1.5s ease-out; 
    opacity: 0;
    animation-fill-mode: forwards;
}

.contact-section {
    background-color: orange;
    padding: 50px;
    text-align: center;
    min-height: 81.6vh; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    box-sizing: border-box; 
}

.contact-title h2 {
    font-size: 36px;
    color: #333; 
    font-weight: bold;
}

.contact-title h2 span {
    color: #333; 
}

.contact-title p {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Info Section */
.contact-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
    max-width: 300px;
    margin: 20px;
}

.contact-item img {
    width: 50px;
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 16px;
    color: #333;
}

.contact-item a {
    color: #287BFF;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}
