/* First font URL */
/* @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap'); */

/* Second font URL */ 
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
    /* First font */
    /* font-family: 'DM Sans', sans-serif; */

    /* Second font */
    font-family: "Lato", sans-serif;
    font-weight: 400;
    
    /* Third font */
        /* font-family: serif;
        font-weight: 400; */


}
/* BUTTON STYLES */
.btn-pending-action {
    color: #a68102 !important;
    border: 1px solid #a68102 !important;
    background-color: transparent !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
}
.btn-pending-action:hover{
    background-color: #fdf6e3 !important;
    color: #856404 !important;
    text-decoration: none;
    border-color: #856404 !important;
}

.btn-outline-secondary:hover,
.btn.outline-secondary:focus {
    background-color: #a1acab;
    color: #fff;
    text-decoration: none;
}

a.btn-custom {
    background-color: #2d7a73;
    font-weight: 500;
    color: white !important;
    transition: background-color 0.3s ease; /* smooth fade */
}

/* change color on hover */
a.btn-custom:hover {
    background-color: #24665f !important; /* slightly darker green */
    color: white !important; /* keep text white */
    text-decoration: none; /* remove underline on hover */
}

/* HOME PAGE CSS  */
.hero {
    height: auto;
    min-height: 600px;
    background-size: cover;
    background-position: center center;

    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    text-align: center;

    margin-top: 0;
    padding-top: 0;
}


.hero-text {
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.45);
}

/* Media queries */
@media (min-width: 768px) {
    .hero {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .hero {
        height: 500px;
    }
}


.green-bar {
    width: 100%;
    background-color: #e8efed;
    text-align: center;
    padding: 12px 0; /* reduced padding */
    color: black;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 30px; /* remove forced margin */
}


.button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* space between buttons */
    justify-content: center; /* center buttons */
}

.image-btn {
    position: relative;
    width: 200px;            /* adjust size */
    aspect-ratio: 1 / 1;     /* square shape */
    background-size: cover;
    background-position: center;
    border-radius: 10px;      /* optional rounded corners */
    overflow: hidden;
    text-decoration: none;    /* remove underline */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 30px;
    
}

.image-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-text {
    position: absolute;
    color: black !important;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    pointer-events: none;
}

/* CREATES FIXED VERTICLE SPACE  */
.spacer {
    height: 50px; 
}

/* FAQ ACCORDION */

.accordion-body {
    font-size: 1rem; 
    text-align: left;
    background-color: #f7f9f8;
    color: black;
}

/* Optional: keep header background consistent */
.accordion-button {
    font-size: 1rem; 
    font-weight: 500;  
    background-color: #e8efed;
    color: #2d7a73; 
}

.accordion-button:not(.collapsed) {
    color: #2d7a73; 
    background-color: #e8efed; 
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

/* To fix gap between nav bar and hero image of HomepageS*/
.navbar {
    border-bottom: none !important;
}

/* Error message styles */
.custom-alert {
    background-color: lightcoral !important; 
    color: black !important;           
    border: 1px solid lightpink !important;
    border-radius: 12px;
    font-weight: 500;
}
/* Removes the circle/box and makes the X daintier */
.btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") !important;
    opacity: 0.6;
    background-size: 12px; /* Adjust this to make the X smaller or larger */
}

.btn-close:hover {
    opacity: 1;
    background-color: transparent !important;
}

.btn-close:focus {
    box-shadow: none !important;
}
