
html * {
    font-family: 'Poppins', sans-serif;

}

html {
  box-sizing: border-box;
}
html, body{
    height: 100%;
}
main {
    height: auto;
    min-height: 100%;
}

#contact_content {
    margin-top: 12rem;
    margin-bottom: 12rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.featurette-divider {
    margin: 5rem 8rem !important; 
}
.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.featurette-heading {
    font-weight: bold;
    margin: 0;
    font-size: 2rem; /* You can adjust the font size as needed */
}

.contact-section {
    width: 100%;
    max-width: 60em;
    background: #f7f7f7;
    padding: 3em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #eaeaea;
}

.contact-details div {
    text-align: center;
}

.contact-details h2 {
    margin: 0.5em 0;
    color: #313131;
    font-size: 1.75rem;
    font-weight: 600;
}

.contact-info {
    font-size: 1rem;
    color: #555;
    display: block;
    transition: color 0.3s;
    text-decoration: none;
}

.contact-info:hover,
.contact-info:focus {
    color: #aa9034;
    text-decoration: underline;
}

.icon {
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 0.5em;
    color: #aa9034;
    transition: color 0.3s;
}

.icon:hover {
    color: #aa9034;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    margin: auto;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-details {
        grid-template-columns: 1fr;
    }


    
    .featurette-heading {
        font-size: 1.5rem; /* Adjust the font size as needed to fit on one line */
        white-space: nowrap; /* Prevents the text from wrapping */
        overflow: hidden; /* Keeps the text from overflowing the container */
        text-overflow: ellipsis; /* Adds an ellipsis if the text overflows */
    }

    .contact-header {
        width: 100%; /* Ensure the header is full width */
        padding-left: 0; /* Remove padding that might shift the text */
        padding-right: 0; /* Remove padding that might shift the text */
    }
}
