@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Quicksand:wght@300..700&display=swap');
:root {
    --primary: #000080;
    --light-primary: #0000805a;
    --secondary: #008080;
}

body {
    font-family: "Quicksand", serif;
}

.dancing{
    font-family: "Dancing Script", serif;
}

.container {
    width: 86%;
    margin: auto;
}

.bg-primary {
    background-color: var(--primary);
}

.bg-light-primary {
    background-color: var(--light-primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

.primary {
    color: var(--primary);
}

.secondary {
    color: var(--secondary);
}

.primary-btn {
    background-color: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.primary-btn:hover {
    border: 1px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
}

.border-btn {
    border: 1px solid var(--primary);
    border-radius: 30px;
    transition: 0.3s;
    padding: 10px 20px;
    color: var(--primary);
}

.border-btn:hover {
    border: 1px solid var(--primary);
    background-color: var(--primary);
    color: #fff;
}

.underline-grow {
    position: relative;
    padding-bottom: 5px;
}

.underline-grow::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.underline-grow:hover::after {
    width: 100%;
}

.active {
    color: var(--primary);
    font-weight: 600;
}

nav ul li a:hover {
    color: var(--primary);
}

.navbar-sticky {
    position: sticky;
    top: 0;
    animation: slideDown 0.5s ease forwards;
    background-color: white;
    color: black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.navbar-before {
    position: absolute;
    top: 56px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.hero {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)),
                      url('../images/bg.jpg');
    height: 80vh;
    background-size: cover;
    background-position: center;
}

.image-container {
    position: relative;
    display: inline-block;
    width: fit-content;
    height: 75%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: white;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.1);
    opacity: 0.3;
}

.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    color: rgb(0, 0, 0);
    padding: 5px 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.image-container:hover .hover-text {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.card {
    height: 370px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.dis {
    background-color: rgba(235, 35, 35, 0.7);
    position: absolute;
    color: white;
    border-radius: 50%;
    padding: 8px 17px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: rotate(-10deg) scale(1);
    top: 17px;
    transition: transform 0.5s ease, background-color 0.5s ease;
    right: 25px;
}

.image-container:hover .dis {
    transform: rotate(-20deg) scale(1.1);
    background-color: rgba(255, 0, 0, 1);
}
/*
.description * {
    all: unset;
    display: block;
} */


#dropdownForm {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#dropdownForm.show {
    max-height: 4000px;
}
