* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    backdrop-filter: blur(10px);
    z-index: 1003;
    transition: backdrop-filter 0.3s ease;
}

.open .site-header {
    backdrop-filter: none;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px;
}

.header-left,
.header-center,
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-left {
    justify-content: flex-start;
}

.header-left img {
    height: 100px;
}

.header-center {
    justify-content: center;
    text-align: center;
}

.header-center a{
    text-decoration: none;
}

.header-center h1 {
    font-size: 50px;
    font-weight: 600;
    color: #222;
}

.header-right {
    justify-content: flex-end;
}

.toggle-btn {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: #c3e2ee;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1003;
}

.toggle-btn span {
    position: absolute;
    left: 50%;
    width: 28px;
    height: 3px;
    background: #222;
    border-radius: 3px;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.toggle-btn span:nth-child(1) { top: 16px; }
.toggle-btn span:nth-child(2) { top: 24px; width: 22px; }
.toggle-btn span:nth-child(3) { top: 32px; width: 16px; }

#navArea {
    position: relative;
    z-index: 1001;
}

nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #c3e2ee;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    z-index: 1002;
}

.open nav {
    right: 0;
}

nav .inner {
    padding: 100px 30px 30px;
}

nav ul {
    list-style: none;
}

nav li {
    margin: 10px 0;
}

nav a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: #222;
    border-radius: 8px;
    transition: 0.3s;
}

nav a:hover {
    background: rgba(0,0,0,0.05);
    transform: translateX(6px);
}

#mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 1001;
}

.open #mask {
    display: block;
}

.toggle-btn.open span {
    top: 50%;
    width: 28px;
}

.toggle-btn.open span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.toggle-btn.open span:nth-child(2) {
    opacity: 0;
}

.toggle-btn.open span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.form-content{
    margin-top: 150px;
    margin-right: 10%;
    margin-left: 10%;
}

.form-content h2{
    text-align: end;
    margin-bottom: 30px;
    border-bottom: 4px dotted black;
}

.contact-form-container {
    border-radius: 12px;
    overflow: hidden;
}

.contactForm-sentence {
    padding: 30px;
    text-align: center;
}

.contactForm-sentence p {
    font-size: 18px;
    font-weight: 500;
}

form {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #e74c3c;
    background-color: white;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.radio-option.selected {
    border-color: #e74c3c;
    background-color: #f0f3ff;
}

.radio-option label {
    margin: 0;
    cursor: pointer;
    flex: 1;
    font-weight: 500;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: #4FC3F7;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px #4FC3F7;
}

button[type="submit"]:active {
    transform: translateY(0);
}

button[type="submit"]:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

button[type="submit"]:disabled:hover {
    transform: none;
    box-shadow: none;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.modal-content p:first-child {
    font-size: 20px;
    font-weight: 600;
    color: black;
}

#closeModal {
    margin-top: 20px;
    padding: 12px 30px;
    background: #4FC3F7;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

#closeModal:hover {
    transform: scale(1.05);
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .header-left img{
        height: 60px;
    }

    .header-center h1{
        font-size: 15px;
    }

    .site-header {
        height: 80px;
    }

    nav {
        right: auto;
        left: 0;
        top: -100vh;
        width: 100%;
        height: 100vh;
        transition: top 0.5s ease;
    }

    .open nav {
        top: 0;
        right: auto;
    }

    .toggle-btn {
        width: 45px;
        height: 45px;
    }

    nav .inner {
        padding-top: 100px;
    }

    nav ul li {
        transform: translateY(20px);
    }

    nav a:hover {
        transform: translateY(5px);
    }

    .form-content{
        margin-top: 150px;
        margin-right: 5%;
        margin-left: 5%;
    }
}
