@font-face {
  font-family: "Poppins";
  src: url(../fonts/Poppins-VariableFont_wght.otf);
  font-display: swap;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f5f7fa;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #334155;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

.article-content img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(64, 113, 150, 0.15);
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 4px 24px rgba(64, 113, 150, 0.1);
  border-bottom: 4px solid #407196;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-container a {
  display: flex;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-area:hover {
  transform: translateY(-3px);
}

.logo-icon {
  background: linear-gradient(135deg, #407196 0%, #2c5570 100%);
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.8rem;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 20px rgba(64, 113, 150, 0.3);
  transition: all 0.3s;
}

.logo-icon:hover {
  box-shadow: 0 10px 28px rgba(64, 113, 150, 0.4);
}

.logo-text {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: 'Poppins', sans-serif;
  color: #1e293b;
}

.logo-text span {
  font-weight: 400;
  color: #407196;
  border-bottom: 2px solid #407196;
  padding-bottom: 2px;
}

.header-badge {
  background: rgba(64, 113, 150, 0.1);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  color: #407196;
  font-weight: 600;
  border: 2px solid #407196;
}

@media (max-width: 650px) {
  .header-container {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1rem;
  }
  .logo-text {
    font-size: 1.5rem;
  }
}

/* ===== LAYOUT CONTAINER ===== */
.layout-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  gap: 2.5rem;
  position: relative;
}

/* ===== SIDEBARS ===== */
.sidebar {
  flex: 0 0 240px;
  position: sticky;
  top: 6rem;
  align-self: flex-start;
  text-align: center;
}

.sidebar-left {
  margin-right: 0;
}

.sidebar-right {
  margin-left: 0;
}

.side-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
}

.sidebar-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #407196;
  text-transform: uppercase;
  background: rgba(64, 113, 150, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-family: 'Poppins', sans-serif;
  border: 2px solid rgba(64, 113, 150, 0.25);
}

.sidebar img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(64, 113, 150, 0.18);
  transition: all 0.3s ease;
  border: 2px solid rgba(64, 113, 150, 0.15);
}

.sidebar img:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(64, 113, 150, 0.28);
}

/* ===== ARTICLE MAIN ===== */
.article-main {
  flex: 1;
  max-width: 800px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
  padding: 3rem 3.5rem;
  transition: all 0.3s;
  border: 1px solid rgba(64, 113, 150, 0.1);
}

.article-content {
  font-size: 1.1rem;
  color: #334155;
  font-family: 'Poppins', sans-serif;
}

.article-content p {
  margin-bottom: 1.6rem;
  text-align: justify;
  line-height: 1.85;
}

.article-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-left: 6px solid #407196;
  padding-left: 1.2rem;
  color: #1e293b;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
}

@media (max-width: 1000px) {
  .layout-container {
    gap: 1.5rem;
    padding: 0 1.2rem;
  }
  .sidebar {
    flex: 0 0 150px;
  }
  .article-main {
    padding: 2rem;
  }
}

@media (max-width: 780px) {
  .layout-container {
    flex-direction: column;
  }
  .sidebar {
    position: relative;
    top: 0;
    align-self: center;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    order: 1;
  }
  .sidebar-left,
  .sidebar-right {
    margin: 0;
  }
  .article-main {
    order: 2;
    max-width: 100%;
    margin: 0 0 1rem;
  }
  .sidebar img {
    max-width: 160px;
  }
  .article-content h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 550px) {
  .article-main {
    padding: 1.5rem;
  }
  .article-content p {
    font-size: 1rem;
  }
  .sidebar {
    display: none;
  }
}

/* ===== FOOTER - COMPLETELY REDESIGNED ===== */
.footer {
  background: linear-gradient(160deg, #1a2332 0%, #2c3e50 50%, #1a2332 100%);
  color: #e2e8f0;
  font-family: 'Poppins', sans-serif;
  margin-top: 5rem;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #407196 0%, #5a8fb0 50%, #407196 100%);
}

.footer::after {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(64, 113, 150, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 30px); }
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-contact {
  background: linear-gradient(135deg, rgba(64, 113, 150, 0.1) 0%, rgba(64, 113, 150, 0.05) 100%);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid rgba(64, 113, 150, 0.3);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.footer-contact::before {
  content: '📍';
  position: absolute;
  top: -15px;
  left: 30px;
  background: linear-gradient(135deg, #407196 0%, #2c5570 100%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(64, 113, 150, 0.4);
}

.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  margin-top: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #407196;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(64, 113, 150, 0.3);
}

.footer-contact p {
  margin: 0.8rem 0;
  line-height: 1.7;
  font-size: 1rem;
  color: #cbd5e0;
}

.footer-contact a {
  color: #7fb8d9;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}

.footer-contact a:hover {
  color: #407196;
  border-bottom-color: #407196;
  text-shadow: 0 0 8px rgba(64, 113, 150, 0.5);
}

.footer-disclaimer {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #94a3b8;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border-left: 4px solid #407196;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-disclaimer p {
  margin-bottom: 0.6rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(64, 113, 150, 0.1) 0%, rgba(64, 113, 150, 0.05) 100%);
  border-radius: 20px;
  border: 2px solid rgba(64, 113, 150, 0.3);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.footer-links::before {
  content: '🔗';
  position: absolute;
  top: -15px;
  left: 30px;
  background: linear-gradient(135deg, #407196 0%, #2c5570 100%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(64, 113, 150, 0.4);
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  background: rgba(64, 113, 150, 0.08);
  border: 2px solid rgba(64, 113, 150, 0.2);
  display: inline-block;
  text-align: center;
  flex: 1 1 auto;
  min-width: 140px;
}

.footer-links a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #407196 0%, #2c5570 100%);
  border-color: #407196;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(64, 113, 150, 0.4);
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #64748b;
  border-top: 2px solid rgba(64, 113, 150, 0.2);
  position: relative;
}

.copyright::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #407196 0%, #5a8fb0 100%);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .footer-inner {
    padding: 3rem 1.5rem 1.5rem;
    gap: 2rem;
  }
  .footer-contact,
  .footer-links {
    padding: 2rem 1.5rem;
  }
  .footer-contact h4 {
    font-size: 1rem;
  }
  .footer-links a {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
  }
}

@media (max-width: 600px) {
  .footer {
    margin-top: 3rem;
  }
  .footer-inner {
    padding: 2.5rem 1rem 1.5rem;
  }
  .footer-contact,
  .footer-links {
    padding: 1.8rem 1.2rem;
  }
  .footer-links {
    flex-direction: column;
  }
  .footer-links a {
    min-width: 100%;
  }
}

/* ===== ACCENT COLORS & LINKS ===== */
a {
  color: #407196;
  transition: all 0.3s;
}

a:hover {
  color: #2c5570;
}

button,
.logo-area {
  cursor: pointer;
}

.docs {
  word-break: break-word;
}

.docs ul {
  padding-left: 20px;
}

.docs p {
  text-align: start;
}