/* ===========================
   FONT
=========================== */
@font-face {
    font-family: 'General Sans';
    src: url('font/GeneralSans-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'General Sans';
    src: url('font/GeneralSans-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
}

/* ===========================
   CSS VARIABLES & THEMES
=========================== */
:root {
    --hover-color: #8a8a8a;
    --click-color: #A3C9F1;
    --bg-main: #ffffff;
    --text-main: #333;
    --navbar-bg: #ffffff;
    --navbar-text: #333;
    --line-color: #111;
}

body.dark {
    --bg-main: #000000;
    --text-main: #ffffff;
    --navbar-bg: #000000;
    --navbar-text: #ffffff;
    --line-color: #fff;
}

/* ===========================
   BASE
=========================== */
body {
    overflow-x: hidden;
    font-family: 'General Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* ===========================
   HEADER
=========================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: var(--navbar-bg);
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 9999;
}

.logo-img { height: 65px; width: auto; }

/* ===========================
   MAIN NAV
=========================== */
.main-nav { display: flex; align-items: center; }

.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    font-size: 20px;
}

.main-menu li { margin-right: 30px; }

.nav-item {
    text-decoration: none;
    color: var(--navbar-text);
    padding: 5px 0;
    display: block;
    transition: color 0.2s;
}

.main-item:hover { color: var(--hover-color); }
.main-item.active,
.main-item.clicked { color: var(--click-color); }
body.dark .main-item.active,
body.dark .main-item.clicked { color: var(--click-color); }

/* ===========================
   NAV ACTIONS
=========================== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

/* ===========================
   THEME TOGGLE
=========================== */
.theme-toggle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    outline: 1px solid var(--navbar-text);
    background-color: #000;
    transition: background-color 0.3s ease;
}

body.dark .theme-toggle { background-color: #fff; }

/* ===========================
   HAMBURGER
=========================== */
.hamburger-menu {
    cursor: pointer;
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px;
    transition: transform 0.3s;
}

.bar {
    width: 100%;
    height: 1.5px;
    background-color: var(--navbar-text);
    border: none;
    box-shadow: none;
    transition: all 0.3s;
}

.hamburger-menu.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 8px); }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -8px); }

/* ===========================
   DROPDOWN
=========================== */
.dropdown-menu {
    list-style: none;
    padding: 10px 20px;
    margin: 0;
    position: absolute;
    top: 70px;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    min-width: 150px;
    text-align: right;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.dropdown-menu.visible { display: block; opacity: 1; transform: translateY(0); }
.dropdown-menu li { padding: 8px 85px; }
.dropdown-menu a { color: var(--navbar-text); }
.sub-item { font-size: 16px; padding: 0; }
.sub-item:hover { color: var(--hover-color); }
.sub-item.active,
.sub-item.clicked { color: var(--click-color); }

/* ===========================
   CONTACT PAGE
=========================== */
.contact-section { padding: 40px 60px; }
.contact-wrap { max-width: 1300px; }

.contact-title {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 32px;
    display: inline-block;
}

.contact-desc {
    margin: 0 0 20px;
    font-size: 21px;
    line-height: 1.7;
}

.contact-social-text {
    font-size: 18px;
    opacity: 0.7;
    margin-bottom: 16px;
    color: #bababa;
}

.contact-social {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 40px;
}

.contact-social a {
    padding: 10px 22px;
    background-color: #e5e5e5;
    border-radius: 999px;
    font-size: 18px;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background-color: #A3C9F1;
    transform: translateY(-2px);
}

.form-field {
    width: 100%;
    margin: 40px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-color);
}

.editable-text {
    min-height: 28px;
    font-size: 18px;
    outline: none;
    cursor: text;
}

.editable-text:empty::before,
.editable-long:empty::before {
    content: attr(data-placeholder);
    color: #bababa;
}

.check-infor { font-size: 18px; margin-bottom: 20px; }

.checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 720px;
    margin: 0 0 40px;
}

.checkbox-group label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 18px;
}

.more-infor { width: 100%; margin: 60px 0; }
.more-desc { font-size: 18px; line-height: 1.6; margin-bottom: 24px; }

.editable-long {
    min-height: 32px;
    font-size: 18px;
    line-height: 1.6;
    outline: none;
    cursor: text;
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 6px;
    white-space: pre-wrap;
    word-break: break-word;
}

.editable-long:empty::before { content: "Your message..."; color: #bababa; }

.submit-button {
    display: block;
    margin: 0 auto 60px;
    padding: 12px 30px;
    background-color: #e5e5e5;
    color: #000;
    width: 200px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover { background-color: #A3C9F1; }

/* ===========================
   FOOTER
=========================== */
.main-footer {
    width: 100%;
    height: 250px;
    background-color: #A3C9F1;
    margin-top: 100px;
    position: relative;
}
 
.logo-footer { display: flex; justify-content: left; align-items: center; padding: 40px 60px; }
.footer { display: flex; justify-content: space-between; padding: 60px 60px 0; }
 
.back-to-top {
    position: absolute;
    top: 40px;
    right: 60px;
    background: none;
    font-size: 18px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.2s ease;
}
 
.back-to-top:hover { transform: scale(1.05); }
 
.footer a {
    color: #000;
    text-decoration: none;
}
 
.footer a:hover {
    text-decoration: underline;
}
 
.footer-highlight {
    font-size: 24px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}
 