/* Ensure the body is scrollable #39159e */
body {
    background: linear-gradient(to bottom, #39159e, #8c52ff);
    color: white;
    margin: 0;
    min-height: 300vh; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-x: hidden; 
    box-sizing: border-box;
}


*, *::before, *::after {
    box-sizing: inherit; 
}

#background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1; 
    background: transparent;
    pointer-events: none; 
}


/* Top Bar Styling */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
    max-width: 100vw; /* Ensure the top bar does not overflow */
    overflow: hidden;
}

/* Left Header (Logo and Masthead Title) */
.left-header {
    display: flex;
    align-items: center;
    max-width: 50%;
}


.header {
    position: fixed; /* Keeps it at the top */
    top: 0;
    left: 0;
    width: 100%;
    height: 70px; /* Adjust height as needed */
    background-color: white; /* White bar */
    opacity: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px; /* Add padding for spacing */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    z-index: 1000; /* Ensures it stays above other content */
}



/* Masthead Title Styling (small and left of logo) */

.masthead a {
    text-decoration: none; /* Remove underline from the anchor tag */
}

.masthead h1{
    font-family: "Chivo", serif;
    font-size: 1.75rem; /* Smaller font size for masthead */
    color: #39159e;
    text-decoration: none;
    font-weight:600;
    margin-left: 0px; /* Space between logo and title */
}


.contact-us-link {
    display: inline-block;
    line-height: 2rem; /* Align text properly with icons */
    transition: color 0.3s ease;
}

.contact-us-link:hover {
    color: #310f82; /* Darker shade for hover effect */
}





.social-icons img {
    height: 30px; /* Adjust size as needed */
    filter: invert(80%) sepia(101%) saturate(1505%) hue-rotate(229deg) brightness(86%) contrast(99%);
    transition: transform 0.3s ease;
}

/* Social Media Icons Styling */
.social-icons {
    display: flex;
    gap: 25px;
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


.social-icons img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.hero-section {
    height: 100vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    width: 100%;
    text-align: center;
    position: relative;
}

/* Title styling */
.chivo-text {
    font-family: "Chivo", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: italic;
    font-size: 10rem;
    background: linear-gradient(to right, #ffffff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(191, 191, 191, 0.3);
    animation: fadeInBottom 1s ease-in-out;
    margin: 0;
}

/* Scroll-triggered text (hidden initially) */
.fade-in-text {
    font-family: "Chivo", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: italic;
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 1s ease-in-out, transform 2s ease-in-out;
    font-size: 1.75rem;
    text-align: center;
    margin-top: 10px; 
}

.fade-in-linktoform {
    font-family: "Chivo", serif;
    font-size: 1.5rem;
    text-align: center;
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    margin-top: 50px; 
}

.fade-in-linktoform a {
    text-decoration: none; 
    color: white; 
    text-shadow: 5px 5px 15px rgba(0, 0, 0, 1.0);
    transition: color 0.3s ease;

}

.fade-in-linktoform a:hover {
    color: white; 
    text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7); 
}

.about-section {
    display: flex;
    padding: 40px;
    gap: 20px;
    margin-top: 30vh;
    font-family: "Chivo", serif;
    align-items: flex-start;
    opacity: 0; /* Start as invisible */
    transform: translateY(50px); /* Start slightly lower */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.left-column {
    flex: 1; /* Makes the left column take up half the width */
    font-size: 5rem;
    font-weight: bold;
    text-transform: uppercase;
    align-items: flex-start;
    text-align: left; /* Optional: centers the text in the left column */
    padding: 0 30px; /* Add padding to the left and right sides to push content inward */
    text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5); 
    line-height: 1;

}

.right-column {
    flex: 1; /* Makes the right column take up half the width */
    font-size: 1.5rem;
    text-align: center; /* Optional: centers the text in the right column */
    padding: 0 30px; /* Add padding to the left and right sides to push content inward */
    line-height: 1.8;
}

.about-section.show {
    opacity: 1;
    transform: translateY(0); /* Move to its natural position */
}



@keyframes fadeInBottom {
    from { 
        opacity: 0;
        transform: translateY(20px); 
    }
    to { 
        opacity: 1;
        transform: translateY(0); 
    }
}


.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --------------- CONTACT PAGE ----------------------------- */

.contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    gap: 50px;
}

.left-column {
    flex: 1;
    font-family: "Chivo", sans-serif;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.left-column p {
    font-size: 1.2rem;
    font-weight: normal;
    text-transform: none;
}

.right-column {
    flex: 1;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form textarea {
    height: 200px; /* Make the message box taller */
    resize: vertical; /* Allow vertical resizing */
}

#contact-form button {
    background-color: #39159e;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
}

#contact-form button:hover {
    background-color: #2a0e7b;
}

.hidden {
    display: none;
}

/* Hidden by default */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Popup content */
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Close button */
.close-btn {
    padding: 10px 15px;
    border: none;
    background: #39159e;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
}

