
:root {
  --primary-color: #1E3A8A;
  --accent-color-1: #8B5CF6;
  --accent-color-2: #EC4899;
  --background-color: #F3F4F6;
  --highlight-color: #F59E0B;
  --text-color: #4B5563;
  --white: #FFFFFF;
}

@font-face {
  font-family: 'Montserrat';
  src: url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
}

@font-face {
  font-family: 'Roboto';
  src: url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
}

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

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

.header-notice {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
  color: var(--white);
  text-align: center;
  padding: 12px;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(30, 58, 138, 0.95);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.navbar:hover {
  background-color: rgba(30, 58, 138, 1);
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.menu {
  display: flex;
  gap: 25px;
}

.menu-item {
  position: relative;
  color: var(--white);
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--highlight-color);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.menu-item:hover::after {
  width: 100%;
}

.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
  color: var(--white);
  text-align: center;
  padding: 0 10%;
  margin-top: 60px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: var(--highlight-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 5%;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--highlight-color), var(--accent-color-2));
  margin: 15px auto;
  border-radius: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

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

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.card-content {
  padding: 25px;
}

.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.card p {
  color: var(--text-color);
  margin-bottom: 20px;
}

article {
  background-color: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  margin-bottom: 60px;
}

article h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
}

article h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--highlight-color), var(--accent-color-1));
  margin-top: 15px;
  border-radius: 2px;
}

article h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: var(--accent-color-1);
  margin: 30px 0 20px;
}

article p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
}

pre {
  background-color: #282c34;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  overflow-x: auto;
}

code {
  font-family: 'Roboto Mono', monospace;
  color: #abb2bf;
  font-size: 0.9rem;
}

.code-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 0.8rem;
}

.copy-btn {
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background-color: rgba(255,255,255,0.2);
}

.parallax {
  height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 60px 0;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.parallax-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.parallax h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.parallax p {
  font-size: 1.2rem;
}

.footer {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
  color: var(--white);
  padding: 60px 5% 30px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: left;
}

.footer-column h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--highlight-color);
  margin-top: 10px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: var(--white);
  padding-left: 5px;
}

.copyright {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .menu {
    gap: 15px;
  }
  
  article {
    padding: 30px 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .menu {
    display: none;
  }
  
  .hero {
    height: auto;
    padding: 100px 20px;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-column h3::after {
    margin: 10px auto;
  }
}

/* Animations */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.p-20 {
  padding: 20px;
}

.rounded-lg {
  border-radius: 15px;
}

.shadow-lg {
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color-1);
}

