* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 70px;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #e0e0e0;
    background-color: #121212;
    min-height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(32, 32, 32, 0.95);
    backdrop-filter: blur(8px);
}

.site-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px 1px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 2px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

main {
    padding-top: 60px;
    min-height: calc(100vh - 60px);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#section2 {
    background-color: #212121;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 80px 0;
}

#section3 {
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
}

#section4 {
    background-color: #121212;
    min-height: 15vh;
    height: auto;
}

.contact-form {
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}

.contact-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
    color: #e0e0e0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 14px;
    background-color: #1a1a1a;
    color: #e0e0e0;
    transition: border-color 0.3s;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #666;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #5ea4dd;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

footer {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    color: #fff;
}

.footer-bottom {
    font-size: 14px;
}

.footer-bottom a {
    color: #5ea4dd;
    text-decoration: none;
    transition: opacity 0.3s;
}

.frame-header {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.frame-header h2 {
    font-size: 20px;
    color: #e0e0e0;
}

.frame-container {
    padding: 15px;
    background: linear-gradient(145deg, #1a1a1a, #212121);
    border-radius: 12px;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px #333,
        inset 0 0 20px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    max-width: 600px;
    width: 90%;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 400%;
}

.slider-section {
    width: 25%;
    flex-shrink: 0;
}

.slider-section img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev {
    left: 8px;
}

.next {
    right: 8px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #444;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background: #5ea4dd;
}

.info-text {
    margin-top: 20px;
    text-align: left;
    color: #999;
}

.typing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.typing-text {
    font-size: 2.5rem;
    font-weight: 500;
    color: #e0e0e0;
    border-right: 3px solid #5ea4dd;
    padding-right: 5px;
    animation: blink-caret 0.75s step-end infinite;
}

.action-button {
    background-color: #5ea4dd;
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
    margin: auto;
    text-align: center;
}   

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #5ea4dd }
}

@media (max-width: 768px) {
    .contact-form h2 {
        font-size: 20px;
    }
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.popup-content {
    background-color: #1a1a1a;
    margin: 15% auto;
    padding: 25px;
    border: 1px solid #333;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-popup {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s ease;
}

.close-popup:hover {
    color: #ffffff;
}
