
:root {
  --primary: #003366;
  --primary-light: #0055A4;
  --accent: #FFA500;
  --accent-dark: #FF8C00;
  --bg-light: #F5F5F5;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --gray: #E0E0E0;
}

@font-face {
  font-family: 'Roboto';
  src: local('Roboto Bold'), local('Roboto-Bold');
  font-weight: 700;
}

@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans Regular'), local('OpenSans-Regular');
  font-weight: 400;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

.header {
  position: relative;
  min-height: 600px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: 3rem;
}

.header::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, transparent 33%, var(--bg-light) 33%, var(--bg-light) 66%, transparent 66%);
  background-size: 30px 100%;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 51, 102, 0.9);
  color: var(--text-light);
  padding: 1rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.navbar.scrolled {
  background-color: rgba(0, 34, 68, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

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

.header-content {
  max-width: 800px;
  margin-top: 4rem;
}

.header-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease;
}

.header-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s forwards;
}

.notice-banner {
  background-color: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 600px;
  border: 1px solid rgba(255,255,255,0.2);
  animation: fadeIn 1s ease 0.4s forwards;
}

.button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--text-light);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,165,0,0.3);
  animation: fadeInUp 1s ease 0.6s forwards;
}

.button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,165,0,0.4);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
  position: relative;
}

.section-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.code-block {
  background-color: #282c34;
  color: #abb2bf;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.code-block pre {
  margin: 0;
}

.code-block code {
  display: block;
  white-space: pre;
}

.footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header-title {
    font-size: 2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
}

