/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
}

.hide{display:none!important;}

/* Header Styles */
header {
    background-color: #28a745;
    color: #ffffff;
    padding: 10px 0px 20px 0px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

header .header-content div.logo h1{
    padding: 0rem 3rem;
}

header img.canada-flag {
    height: 50px;
    width: auto;
}

/* 基础样式 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: white;
    font-weight: bold;
    font-size: 16px;
  text-decoration: none;
}

.nav-links a.selected{
    color:#f91d27;
    text-decoration: underline;
}

/* 汉堡菜单样式（默认隐藏） */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: white;
  transition: all 0.3s ease;
}

/* 移动端适配 */
@media (max-width: 768px) {
  /* 隐藏常规菜单 */
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    position: absolute;
    top: 0px;
    left: 0;
    gap: 1rem;
    background: #28a745;
    padding: 0rem;
    text-align: center;
  }

  /* 显示汉堡按钮 */
  .hamburger {
    display: block;
  }

  /* 激活状态下的菜单 */
  .nav-links.active {
    display: flex;
  }

  /* 汉堡动画 */
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Main Content Styles */
main {
    padding: 20px;
}

h2 {
    text-align: center;
    color: #28a745;
    margin-bottom: 20px;
    font-size: 24px;
}

section {
    margin-bottom: 50px;
}

/* Form Styles */
form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-weight: bold;
    color: #333333;
}

form input,
form select,
form button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 5px;
}

form button {
    background-color: #28a745;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #155724;
}

/* Button Click Animation */
@keyframes button-click {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

form button:active,
button:active {
    animation: button-click 0.3s ease;
}

/* WhatsApp Link Styles */
.whatsapp-link {
    color: #28a745;
    font-weight: bold;
    text-decoration: none;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

/* Application Process Styles */
.hidden {
    display: none;
}

#application-section ol {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 600px;
}

#application-section li {
    margin-bottom: 20px;
}

#application-section li h3 {
    color: #28a745;
}

#application-section p {
    margin: 10px 0;
}

#application-section input[type="file"] {
    margin-bottom: 10px;
}

/* Job Opportunities Styles */
#job-opportunities ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 600px;
}

#job-opportunities ul li {
    background-color: #f4f4f4;
    margin-bottom: 10px;
    padding: 10px 20px;
    border-left: 5px solid #28a745;
    font-weight: bold;
    color: #333333;
    border-radius: 5px;
}

/* Footer Styles */
footer {
    background-color: #28a745;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer .footer-content a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

footer .footer-content a:hover {
    text-decoration: underline;
}

footer .footer-content {
    max-width: 800px;
    margin: 0 auto;
}
