/**
 * USE BORDER BOX
 */
*,
*:before,
*:after {
    box-sizing: border-box;
}
/**
  * PAGE LAYOUT
  */
html {
  scroll-behavior: smooth;
}
body {
    background-attachment: fixed;
    background-color: #F8F8F8;
    background-image:
      linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 10px 10px;
    color: #333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding-top: 15px;
    text-shadow: 0 1px hsla(0, 0%, 100%, .5);
    text-rendering: optimizelegibility;
    min-height: 100vh;
    opacity: 1 !important;
    overflow-x: hidden;
    transition: all 0.3s ease;
}
body.dark-mode {
    background-color: #121212;
    background-image:
      linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    color: #e0e0e0;
    text-shadow: 0 1px rgba(0, 0, 0, 0.5);
}
body.loaded {
  animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.container {
    margin: 0 auto;
    max-width: 750px;
    padding: 20px;
    position: relative;
}
/**
 * ELEMENTS
 */
/* links */
a {
    color: #0078B4;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
body.dark-mode a {
    color: #4da6ff;
}
a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #005580;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
body.dark-mode a::after {
  background: #1a73e8;
}
a:hover::after {
  width: 100%;
}
a:hover,
a:focus,
a:active {
    color: #005580;
}
body.dark-mode a:hover,
body.dark-mode a:focus,
body.dark-mode a:active {
    color: #1a73e8;
}
a:focus {
    outline: thin dotted #333;
}
body.dark-mode a:focus {
    outline: thin dotted #e0e0e0;
}
/**
 * JUMBOTRON
 */
.jumbotron {
    margin: 60px 0;
    text-align: center;
}
.jumbotron h1 {
    color: inherit;
    font-family: inherit;
    font-size: 72px;
    font-weight: bold;
    line-height: 1;
    margin: 10px 0;
    cursor: default;
    text-rendering: optimizelegibility;
    animation: slideInDown 0.8s ease-out;
}
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}
.jumbotron .lead {
    font-size: 21px;
    font-weight: 200;
    line-height: 30px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/**
 * FAQ Styles
 */
.faq-section {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #B7D1A0;
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 20px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
  position: relative;
  overflow: hidden;
}
body.dark-mode .faq-section {
  background-color: rgba(30, 30, 30, 0.8);
  border-color: #4a5d3a;
}
.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(183, 209, 160, 0.1), transparent);
  transition: left 0.5s;
}
body.dark-mode .faq-section::before {
  background: linear-gradient(90deg, transparent, rgba(74, 93, 58, 0.2), transparent);
}
.faq-section:hover::before {
  left: 100%;
}
.faq-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(70, 136, 71, 0.2);
}
body.dark-mode .faq-section:hover {
  box-shadow: 0 4px 12px rgba(70, 136, 71, 0.4);
}
.faq-section:nth-child(2) { animation-delay: 0.1s; }
.faq-section:nth-child(3) { animation-delay: 0.2s; }
.faq-section:nth-child(4) { animation-delay: 0.3s; }
.faq-section:nth-child(5) { animation-delay: 0.4s; }
.faq-section:nth-child(6) { animation-delay: 0.5s; }
.faq-section:nth-child(7) { animation-delay: 0.6s; }
.faq-section:nth-child(8) { animation-delay: 0.7s; }
.faq-section h2 {
  color: #468847;
  font-size: 24px;
  margin-bottom: 10px;
  position: relative;
}
body.dark-mode .faq-section h2 {
  color: #7cb342;
}
.faq-section h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #468847;
  transition: width 0.3s ease;
}
body.dark-mode .faq-section h2::after {
  background: #7cb342;
}
.faq-section:hover h2::after {
  width: 50px;
}
.faq-section p {
  color: #333;
  line-height: 1.5;
}
body.dark-mode .faq-section p {
  color: #e0e0e0;
}
.faq-section a {
  color: #468847;
  font-weight: bold;
}
body.dark-mode .faq-section a {
  color: #7cb342;
}
.faq-section a:hover {
  color: #005580;
}
body.dark-mode .faq-section a:hover {
  color: #4a8f28;
}
/**
 * MEDIA QUERIES
 */
@media only screen and (max-width: 600px) {
    body {
        padding: 10px 0 0 0;
    }
    .jumbotron {
        margin: 20px 0 30px;
    }
    .jumbotron .lead {
        font-size: 18px;
    }
    .container {
        padding: 10px;
    }
    .faq-section {
        padding: 15px;
    }
    .faq-section h2 {
        font-size: 20px;
    }
}
footer {
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #167196;
  font-weight: 600;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
body.dark-mode footer {
  color: #7cb342;
}
footer:hover {
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  footer {
    padding: 10px;
  }
}
/* Theme toggle button */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: #468847;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
body.dark-mode .theme-toggle {
  background: #7cb342;
}
.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.theme-toggle i {
  transition: transform 0.3s ease;
}
@media (max-width: 600px) {
  .theme-toggle {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}
