* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'open sans', sans-serif;
}

body {
    height: 100vh;
    background-color: #000;
    /* background-image: url(https://media.istockphoto.com/id/1270760632/photo/honister-pass-in-lake-district-cumbria-uk.jpg?s=612x612&w=0&k=20&c=G0_penqUEzFwfdaTUlBiRO_-loL7HkcqXtCIiCaebAI=); */
    background-image: url(/public/images/bldg.jpg);
    background-size: cover;
    background-position: center;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

a:hover {
    color: orange;
}

/* HEADER */
header {
    position: relative;
    padding: 0 2rem;
}

.navbar {
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .toggle_btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action_btn {
    background-color: orange;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
}

.action_btn:hover {
    scale: 1.05;
    color: #fff;
}

.action_btn:active {
    scale: 0.95;
}

/* DROPDOWN MENU */
.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    height: 0;
    width: 300px;
    /* background: rgba(255, 255, 255, 0.1); */
    background-color: #03346b;
    /* backdrop-filter: blur(15px); */
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: 240px;
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* HERO */
section#hero {
    /* height: calc(100vh - 60px); */
    height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px #000000;
}

#hero p {
    text-shadow: 2px 2px 4px #000000;
}

/* RESPONSIVE DESIGN */
@media(max-width: 992px) {

    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }
}

@media(max-width: 576px) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
}


/* FOR SEARCH */
.centered-div {
    width: 80%;
    background-color: beige;
    padding: 20px;
    /* Or any specific width */
    margin-left: auto;
    margin-right: auto;
}

h3 {
    color: green;
    text-align: center;
}

.centered-div img {
    display: block;
    /* Important for margin: auto to work */
    width: 40%;
    /* Or a specific width */
    margin: 0 auto;
    /* Centers horizontally */
}

.left-element {
  float: left;
}

.right-element {
  float: right;
}


/* FOR FORM */
/* Container to center and hold the form */
.form-container {
    width: 100%;
    /* max-width: 500px; */
}

/* Container to center and hold the form */
.form-container {
    width: 100%;
    /* max-width: 500px; */
}

/* Card-like styling for the form */
.form-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}

.form-title {
    font-size: 2em;
    /* font-size: 2.5em; */
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 1em;
    color: #777;
    margin-bottom: 30px;
}

/* Input field styling using floating labels */
.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    color: #555;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Style for the floating labels */
.form-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #999;
    font-size: 1em;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group textarea+label {
    top: 15px;
    transform: translateY(0);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: #007bff;
    background-color: #ffffff;
    padding: 0 5px;
}

/* Submit button styling */
.submit-btn {
    width: 100%;
    background-color: #03346b;
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.submit-btn:active {
    background-color: #004494;
    transform: translateY(0);
}

.left-element {
    float: left;
}

.right-element {
    float: right;
}

footer {
    padding: 25px;
    text-align: center;
    color: white;
}