* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(#e6f7ff, #ffffff);
  color: #034f84;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #87ceeb;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 45px;
}

nav a {
  margin-left: 15px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.center {
  flex: 1;
  text-align: center;
  padding: 2rem;
}

h1 {
  font-size: 2.5rem;
}

.tagline {
  margin: 1rem 0;
  font-size: 1.2rem;
}

.big-button {
  background: #4da6ff;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.2s;
}

.big-button:hover {
  transform: scale(1.1) rotate(-2deg);
}

.quirk {
  margin-top: 2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.socials a {
  font-size: 2rem;
  margin: 0 10px;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #f0f8ff;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
}
/* ===== INNER PAGES LAYOUT ===== */
.page-container {
  max-width: 900px;
  margin: 2rem auto;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
}

.page-container h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #0277bd;
}

.page-container p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ===== SUBTLE QUIRK ===== */
.page-container::after {
  content: "✨";
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  top: 20px;
  right: 30px;
}

/* ===== MOBILE FRIENDLY ===== */
@media (max-width: 768px) {
  .page-container {
    margin: 1rem;
    padding: 1.5rem;
  }
}

/* ===== FORMS ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

input,
textarea {
  padding: 0.9rem;
  border-radius: 10px;
  border: 2px solid #b3e5fc;
  font-size: 1rem;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #4da6ff;
  background-color: #f0f9ff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

form button {
  align-self: center;
  background: #4da6ff;
  color: white;
  padding: 0.8rem 2.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

form button:hover {
  background: #0288d1;
  transform: scale(1.05);
}

/* ===== DARK MODE ===== */
body.dark {
  background: linear-gradient(#0a192f, #020c1b);
  color: #e0f2ff;
}

body.dark header {
  background: #0b3c5d;
}

body.dark footer {
  background: #021526;
}

body.dark .page-container {
  background: #061a2d;
  color: #e0f2ff;
}

body.dark nav a {
  color: #e0f2ff;
}

body.dark input,
body.dark textarea {
  background: #0b253a;
  color: #ffffff;
  border-color: #1e88e5;
}

body.dark input::placeholder,
body.dark textarea::placeholder {
  color: #90caf9;
}

body.dark .big-button,
body.dark form button {
  background: #1e88e5;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: white;
  transition: transform 0.3s ease;
}

.theme-toggle:hover {
  transform: rotate(20deg) scale(1.2);
}

/* ===== LOGO ANIMATION ===== */
.logo {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.logo:hover {
  transform: rotate(-3deg) scale(1.08);
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

button:active {
  transform: scale(0.95);
}

/* ===== PAGE LOAD ANIMATION ===== */
body {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}
input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.3);
}
/* ===== FAQ ACCORDION ===== */
.faq-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #0277bd;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.12);
}

.faq-question {
  width: 100%;
  padding: 1.2rem;
  background: #e3f2fd;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  color: #034f84;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #bbdefb;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding-bottom: 1.2rem;
}

/* Active State */
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 1rem;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}

/* Plus Icon Animation */
.icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* ===== DARK MODE FAQ ===== */
body.dark .faq-item {
  background: #061a2d;
}

body.dark .faq-question {
  background: #0b253a;
  color: #e0f2ff;
}

body.dark .faq-question:hover {
  background: #123a5c;
}

body.dark .faq-section h2 {
  color: #90caf9;
}

/* Mobile Spacing */
@media (max-width: 768px) {
  .faq-section {
    padding: 1rem;
  }
}
/* ===== FOOTER ===== */
.site-footer {
  background: #e3f2fd;
  margin-top: 4rem;
  padding-top: 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-brand p {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

.footer-logo {
  height: 40px;
}

.site-footer h4 {
  margin-bottom: 1rem;
  color: #0277bd;
}

.footer-links a {
  display: block;
  margin-bottom: 0.6rem;
  color: #034f84;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  color: #0288d1;
  transform: translateX(4px);
}

.footer-social .social-icons a {
  font-size: 1.6rem;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.footer-social .social-icons a:hover {
  transform: scale(1.3) rotate(-5deg);
}

.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.6rem;
  border-radius: 20px;
  border: 2px solid #b3e5fc;
}

.footer-newsletter button {
  border-radius: 20px;
  padding: 0.6rem 1.2rem;
}

/* Bottom Bar */
.footer-bottom {
  margin-top: 2.5rem;
  padding: 1rem;
  text-align: center;
  background: #bbdefb;
  font-size: 0.9rem;
}

/* ===== DARK MODE FOOTER ===== */
body.dark .site-footer {
  background: #021526;
}

body.dark .footer-bottom {
  background: #010e1c;
}

body.dark .footer-links a,
body.dark .footer-brand p {
  color: #e0f2ff;
}

body.dark .site-footer h4 {
  color: #90caf9;
}

body.dark .footer-newsletter input {
  background: #0b253a;
  color: white;
  border-color: #1e88e5;
}
/* Random Counter Styling */
.footer-counter {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #034f84;
  transition: color 0.3s ease;
}

body.dark .footer-counter {
  color: #90caf9;
}
/* Site Description */
.site-intro {
  max-width: 800px;
  margin: 3rem auto 2rem;
  padding: 0 1rem;
  text-align: center;
}

.site-intro .site-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #034f84;
}

body.dark .site-intro .site-description {
  color: #90caf9;
}
.contact-email {
  text-align: center;
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
  color: #034f84;
}

body.dark .contact-email {
  color: #90caf9;
}

.contact-email a {
  text-decoration: none;
  font-weight: bold;
  color: inherit;
  transition: color 0.3s;
}

.contact-email a:hover {
  color: #ff9800;
}

/* Random Button Styling */
.random-button-section {
  text-align: center;
  margin: 2rem 0 4rem;
}

.random-button {
  background: #03a9f4; /* Sky blue */
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.random-button:hover {
  background: #0288d1; /* Slightly darker blue */
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.random-button::after {
  content: "✨";
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 2rem;
  opacity: 0;
  transform: rotate(45deg) scale(0);
  transition: all 0.4s ease;
}

.random-button:hover::after {
  opacity: 1;
  transform: rotate(0deg) scale(1.5);
}

.random-button:active {
  transform: scale(0.95);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Counter below button */
.counter {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #034f84;
}

body.dark .random-button {
  background: #90caf9;
  color: #034f84;
}

body.dark .random-button:hover {
  background: #64b5f6;
}

body.dark .counter {
  color: #90caf9;
}
.ad-container {
  margin: 40px auto;
  text-align: center;
  max-width: 100%;
}
form {
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, select, textarea, button {
  padding: 12px;
  font-size: 16px;
}

button {
  background: #4a47ff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

button:hover {
  opacity: 0.9;
}


