/*
* ----------------------------------------------------------------------------------------
* Custom CSS
* Custom error and success message styles
* ----------------------------------------------------------------------------------------
*/

/* Playfair Display Font */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/Playfair_Display/static/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/Playfair_Display/static/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/Playfair_Display/static/PlayfairDisplay-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Apply Playfair Display to all titles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.custom-error {
    background-color: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    font-family: var(--font-secondary, "Cabin", sans-serif);
}

.custom-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #86efac;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    font-family: var(--font-secondary, "Cabin", sans-serif);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-error,
    .custom-success {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/*
* ----------------------------------------------------------------------------------------
* Custom Popup Styles
* Error and Success popups that appear at the top of the page
* ----------------------------------------------------------------------------------------
*/

.custom-error-popup,
.custom-success-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-secondary, "Cabin", sans-serif);
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.custom-error-popup.show,
.custom-success-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.custom-error-popup {
    background-color: rgba(220, 38, 38, 0.95);
    border-bottom: 2px solid rgba(220, 38, 38, 1);
    color: #ffffff;
}

.custom-success-popup {
    background-color: rgba(34, 197, 94, 0.95);
    border-bottom: 2px solid rgba(34, 197, 94, 1);
    color: #ffffff;
}

.custom-error-popup .popup-content,
.custom-success-popup .popup-content {
    flex: 1;
    padding-right: 16px;
}

.custom-error-popup .popup-close,
.custom-success-popup .popup-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease-in-out;
    opacity: 0.8;
    min-width: 32px;
    min-height: 32px;
}

.custom-error-popup .popup-close:hover,
.custom-success-popup .popup-close:hover {
    opacity: 1;
}

.custom-error-popup .popup-close:focus,
.custom-success-popup .popup-close:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Responsive adjustments for popups */
@media (max-width: 768px) {
    .custom-error-popup,
    .custom-success-popup {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .custom-error-popup .popup-content,
    .custom-success-popup .popup-content {
        padding-right: 12px;
    }
}


.grecaptcha-badge { visibility: hidden; } 
.grecaptcha-badge { visibility: hidden; } 
.grecaptcha-badge { visibility: hidden; }

/*
* ----------------------------------------------------------------------------------------
* Footer Styles
* ----------------------------------------------------------------------------------------
*/

.website-footer {
    background-color: #2C3E50;
    color: #ffffff;
    padding: 60px 0 20px;
    /* margin-top: 80px; */
}

.footer-content {
    margin-bottom: 40px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 15px;
    text-decoration: none;
}

.footer-logo {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-slogan {
    color: #E0E0E0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #5C6BC0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-social-link,
.footer-email-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E0E0E0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-social-link i,
.footer-email-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.footer-social-link:hover,
.footer-email-link:hover {
    color: #5C6BC0;
}

.footer-social-link:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}

.copyright-text {
    color: #B0B0B0;
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
}

@media (max-width: 992px) {
    .website-footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        margin-bottom: 30px;
    }
    
    .footer-slogan {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .website-footer {
        padding: 40px 0 20px;
        /* margin-top: 60px; */
    }
    
    .footer-heading {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-links a,
    .footer-social-link,
    .footer-email-link {
        font-size: 0.9rem;
    }
    
    .footer-slogan {
        font-size: 0.9rem;
    }
}