/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Common Styles */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.center {
    text-align: center;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background-color: #6B8F8C;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #333;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 24px;
    position: relative;
}

.nav-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.nav-toggle span:nth-child(1) {
    top: 0px;
}

.nav-toggle span:nth-child(2), .nav-toggle span:nth-child(3) {
    top: 10px;
}

.nav-toggle span:nth-child(4) {
    top: 20px;
}

.nav-toggle.active span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.nav-toggle.active span:nth-child(2) {
    transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-toggle.active span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #6B8F8C;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Page Title */
.page-title-section {
    background-color: #f9f9f9;
    padding: 120px 0 60px;
    margin-bottom: 40px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.page-description {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* Contact Form */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Form styles */
.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.required-badge {
    display: inline-block;
    background-color: #6B8F8C;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 400;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.form-control::placeholder {
    color: #aaa;
    font-size: 14px;
    font-style: italic;
}

.form-control:focus {
    border-color: #6B8F8C;
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 143, 140, 0.2);
}

.form-control.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.error-message.visible {
    display: block;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-note {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    display: inline-block;
    background-color: #6B8F8C;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #5a7c79;
}

.recaptcha-terms {
    font-size: 12px;
    color: #999;
    margin-top: 20px;
    text-align: center;
}

.recaptcha-terms a {
    color: #6B8F8C;
    text-decoration: underline;
}

/* Modal/Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 6px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.modal-message {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.modal-btn {
    display: inline-block;
    background-color: #6B8F8C;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background-color: #5a7c79;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: #333;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    opacity: 0.7;
}

/* Media Queries */
@media (max-width: 992px) {
    .page-title-section {
        padding: 100px 0 50px;
    }
    
    .page-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .page-title-section {
        padding: 90px 0 40px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .modal-content {
        margin: 30% auto;
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .btn-submit {
        width: 100%;
    }
}