/* 1. The Outer Wrapper: Handles the Centering */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content Vertically */
    align-items: center;     /* Centers content Horizontally */
    
    /* Forces the container to take up most of the screen height, 
       allowing the vertical centering to actually work. */
    min-height: 85vh; 
    
    padding: 20px;
    
}

/* 2. The Inner Card: Handles the Styling */
.contact-card {
    text-align: center;
    background: rgba(248, 255, 253, 0.5);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Adds a soft "pop" */
    max-width: 600px;
    width: 100%;
}

/* 3. Typography Styling */
.contact-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-text {
    font-family: 'Georgia', serif; /* Slightly more formal font for the message */
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.highlight-email {
    display: block; /* Forces the span to act like a block (new line) */
    width: 100%;    /* Ensures it spans the full width of the container */
    margin-top: 10px; /* Adds a little space between the text and the email */
    
    font-weight: bold;
    color: #333;
    font-size: .9rem;
    text-align: center; /* Now this will actually work because it's a block */
    word-break: break-all; /* Prevents long emails from breaking the layout on tiny screens */
}

.contact-subtext {
    font-family: sans-serif;
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 2.5rem;
    font-style: italic;
}

/* 4. The Purple Button */
.btn-email-purple {
    display: inline-block;
    background-color: #6f00ff;/* Deep Purple */
    color: #ffffff;            /* White Text */
    
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;     /* Removes the underline from link */
    border-radius: 50px;       /* Makes it pill-shaped */
    
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(106, 13, 173, 0.3);
}

/* Button Hover Effect */
.btn-email-purple:hover {
    background-color: #520a8a; /* Darker Purple on hover */
    transform: translateY(-2px); /* Slight lift effect */
    color: #ffffff;
}