body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a; 
    color: #f4f4f9;
    scroll-behavior: smooth; 
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.98); 
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); 
}

#global-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

#global-nav li a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    letter-spacing: 0.5px;
}

#global-nav li a:hover {
    background-color: #0099ff; 
    color: #fff;
}

#hero-image {
    position: relative;
    width: 100%;
    height: calc(100vh - 55px);
    overflow: hidden;
    margin-top: 55px;
}

.main-visual {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-image h1 {
    color: #fff;
    font-size: 4em;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 153, 255, 0.8), 0 0 20px rgba(0, 153, 255, 0.5);
    z-index: 20;
    margin: 0; 
}

#content {
    padding: 30px 5% 60px;
    max-width: 1000px;
    margin: 0 auto;
}

#slider-area {
    width: 100%;
    overflow: hidden;
    margin-bottom: 80px; 
    height: 350px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); 
    border-radius: 8px;
    position: relative; 
    border: 1px solid #333; 
}

#slider-container {
    display: flex;
    width: 400%; 
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.slider-item {
    width: 25%;
    flex-shrink: 0;
    position: relative;
}

.slider-item img {
    width: 100%;
    height: 350px;
    object-fit: cover; 
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8); 
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7); 
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    font-size: 2em;
    cursor: pointer;
    z-index: 20;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.slide-btn:hover {
    background: #0099ff; 
    color: #fff;
    border-color: #0099ff;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

#form-section {
    background-color: #2a2a2a;
    padding: 60px 5%;
    text-align: center;
    color: #fff;
}

#form-section h2 {
    color: #ffc107;
    margin-bottom: 30px;
    font-size: 2em;
}

#contact-form {
    max-width: 600px;
    margin: 20px auto;
    background: #333; 
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ccc;
}

input[type="text"], 
input[type="email"], 
textarea {
    width: 100%;
    padding: 10px;
    background-color: #444; 
    color: #fff; 
    border: 1px solid #555;
    border-radius: 4px;
    box-sizing: border-box;
}

.required {
    color: #ff4d4d;
    font-size: 0.8em;
}

#error-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
}
.hidden { display: none; }

.form-buttons button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s;
}

#check-btn {
    background-color: #ffc107; 
    color: #333;
}

#submit-btn {
    background-color: #0099ff;
    color: white;
}

#submit-btn:disabled {
    background-color: #adb5bd; 
    cursor: not-allowed;
    opacity: 0.6;
}

.sub-content-section {
    margin-top: 55px;
    background-color: #1a1a1a;
    padding: 40px 5% 80px;
    min-height: 80vh;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    color: #fff;
}

.sub-page-title {
    color: #0099ff;
    text-align: center;
    margin-bottom: 40px;
    font-size: 3em;
    padding-bottom: 10px;
    border-bottom: 3px solid #0099ff;
}

.intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 15px;
    background-color: #2a2a2a;
    border-left: 5px solid #ffc107;
}

.info-block {
    margin-bottom: 40px;
}

.block-title {
    color: #ffc107;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-top: 30px;
    font-size: 2em;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.role-item {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.role-name {
    color: #0099ff;
    margin-top: 0;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    border: 1px solid #444;
    padding: 12px;
    text-align: left;
}

.data-table th {
    background-color: #333;
    color: #fff;
    font-weight: bold;
}

.data-table tr:nth-child(even) {
    background-color: #2a2a2a;
}

.data-table tr:hover {
    background-color: #383838;
}

.detail-list, .step-list {
    list-style: none;
    padding: 0;
}

.detail-list li, .step-list li {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #2a2a2a;
    border-left: 4px solid #0099ff;
    border-radius: 4px;
}

.detail-list li strong {
    color: #ffc107;
    display: block;
    margin-bottom: 5px;
}

#page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #00b300;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2em;
    display: none; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 999;
}

#page-top:hover {
    background-color: #008000;
}