/* --- Reset & Base Styles --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: linear-gradient(120deg, #f0f7fa 0%, #e9eff5 100%);
  color: #393e5b;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.6;
  transition: background 0.8s ease;
}

/* --- Navigation Bar --- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #2188e3 0%, #6bdfc8 100%);
  box-shadow: 0 4px 24px rgba(22, 121, 195, 0.25);
  border-bottom: 2.5px solid #19bdcf;
  animation: slideDown 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 13px 0;
}

nav ul li a {
  color: #fff7d6;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 9px 23px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 6px rgba(0, 183, 255, 0.13);
  transition: background 0.3s, color 0.25s, box-shadow 0.3s, font-size 0.25s;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  background: linear-gradient(90deg, #ffe387 0%, #22e2b2 100%);
  color: #1766a8;
  box-shadow: 0 4px 24px rgba(255, 227, 135, 0.5);
  font-size: 1.15rem;
}


/* --- Header Section --- */
header {
  background: linear-gradient(105deg, #0d55a1 0%, #00e2ba 100%);
  color: #fff;
  text-align: center;
  padding: 52px 20px 28px 20px;
  box-shadow: 0 6px 24px rgba(24, 193, 190, 0.14);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  animation: fadeInHeader 1.2s ease forwards;
  letter-spacing: 0.6px;
}

header h1 {
  font-size: 3.1rem;
  margin: 0;
  font-weight: 900;
  letter-spacing: 4px;
  text-shadow: 0 3px 28px rgba(25, 208, 190, 0.21);
  animation: growIn 1.5s ease forwards;
}

header p {
  font-size: 1.36rem;
  margin-top: 16px;
  font-weight: 400;
  letter-spacing: 1.7px;
  color: #e0fdff;
}

.encourage {
  font-size: 1.21rem;
  margin-top: 30px;
  font-weight: 500;
  color: #fff4bc;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 11px;
  padding: 17px 20px;
  display: inline-block;
  box-shadow: 0 3px 14px rgba(255, 227, 135, 0.21);
  border: 2px dashed #ffe387;
  animation: fadeInEncourage 1.8s ease forwards;
  line-height: 1.4;
}

/* --- Main Content --- */
main {
  max-width: 960px;
  margin: 40px auto 25px auto;
  padding: 0 16px;
  min-height: 600px;
}

/* --- Section Styling --- */
section {
  background: #fff;
  border-radius: 17px;
  padding: 28px 22px 14px 34px;
  margin-bottom: 40px;
  box-shadow:
    0 6px 22px rgba(23, 141, 202, 0.07),
    0 2px 6px rgba(50, 218, 196, 0.19);
  border-left: 8px solid #21e6c1;
  transition: box-shadow 0.26s ease, transform 0.24s ease, border-left-width 0.2s ease;
  animation: fadeInSection 1.07s ease forwards;
  position: relative;
}

section:nth-of-type(2) {
  border-left-color: #43b6fa;
}

section:nth-of-type(3) {
  border-left-color: #ffd04e;
}

section:nth-of-type(4) {
  border-left-color: #b988ff;
}

section:nth-of-type(5) {
  border-left-color: #ff68a5;
}

section:nth-of-type(6) {
  border-left-color: #69e457;
}

section:nth-of-type(7) {
  border-left-color: #ffab57;
}

section:nth-of-type(8) {
  border-left-color: #5ae2ff;
}

section:hover {
  box-shadow:
    0 12px 28px rgba(20, 175, 187, 0.16),
    0 2px 12px rgba(255, 227, 135, 0.19);
  transform: scale(1.013);
  border-left-width: 13px;
}

/* Section Headings with emoji icons */
h2 {
  color: #0d7fd7;
  font-weight: 700;
  font-size: 1.34rem;
  margin: 0 0 19px 0;
  padding-bottom: 6px;
  border-bottom: 2.5px solid #e0e8ef;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.7px;
}

section:nth-of-type(1) h2::before {
  content: "🌐";
}

section:nth-of-type(2) h2::before {
  content: "🛣️";
}

section:nth-of-type(3) h2::before {
  content: "🔗";
}

section:nth-of-type(4) h2::before {
  content: "💡";
}

section:nth-of-type(5) h2::before {
  content: "🔒";
}

section:nth-of-type(6) h2::before {
  content: "🤖";
}

section:nth-of-type(7) h2::before {
  content: "📶";
}

section:nth-of-type(8) h2::before {
  content: "🛠️";
}

/* Lists styling */
ul {
  padding-left: 22px;
  margin-top: 0;
}

li {
  margin-bottom: 9px;
  font-size: 1.08rem;
  color: #393e5b;
  transition: color 0.2s ease;
}

li strong {
  color: #10b9b4;
  font-weight: 600;
  font-size: 1.11em;
  transition: color 0.2s ease;
}

li a {
  color: #0d8ca1;
  text-decoration: none;
  border-bottom: 1.5px dotted #13b7c7;
  font-weight: 500;
  border-radius: 4px;
  padding: 1px 4px;
  transition: color 0.2s ease, border-bottom 0.2s ease, background 0.2s ease;
}

li a:hover {
  color: #fff;
  background: linear-gradient(90deg, #15b3b7 10%, #ffe387 100%);
  border-bottom: 2.2px solid #168b95;
  box-shadow: 0 2px 12px rgba(255, 227, 135, 0.31);
}

/* --- Footer --- */
footer {
  background: linear-gradient(to right, #0f2027, #2c5364);
  padding: 50px 20px 30px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  text-align: center;
  color: #f0f9ff;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.footer-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  animation: glowIn 1.2s ease-in-out;
}

@keyframes glowIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.svg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  line-height: 1;
}


.svg-button svg {
  width: 13px;
  height: 13px;
  fill: white;
  flex-shrink: 0;
}


.svg-button:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
}


/* Platform-specific colors */
.facebook { background-color: #1877f2; }
.twitter { background-color: #1da1f2; }
.whatsapp { background-color: #25d366; }
.linkedin { background-color: #0a66c2; }

/* --- Animations --- */
@keyframes fadeInHeader {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes growIn {
  0% { transform: scale(0.8); }
  100% { transform: scale(1); }
}

@keyframes fadeInSection {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInEncourage {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInFooter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  0% { transform: translateY(-70px); }
  100% { transform: translateY(0); }
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
  main {
    padding: 20px 16px 15px 16px;
  }
}

@media (max-width: 700px) {
  nav ul {
    gap: 12px;
  }

  header h1 {
    font-size: 2.4rem;
  }

  section {
    padding: 15px 15px 10px 20px;
  }

  h2 {
    font-size: 1.1rem;
  }

  li {
    font-size: 1rem;
  }

  .encourage {
    font-size: 1rem;
    padding: 12px 14px;
  }

  footer {
    font-size: 1rem;
  }
}
.section-heading {
  font-size: 2.6rem;
  font-weight: 900;
  color: #0d7fd7;
  background: linear-gradient(135deg, #e0f7ff 0%, #c8ffe0 100%);
  padding: 20px 30px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(33, 136, 227, 0.25);
  letter-spacing: 1.5px;
  margin-bottom: 35px;
  animation: glowUp 1.5s ease-in-out forwards;
  border-left: 10px solid #22e2b2;
  border-right: 10px solid #22e2b2;
}

/* Optional Animation */
@keyframes glowUp {
  0% {
    transform: scale(0.96);
    opacity: 0.1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.site-motivation {
  background: linear-gradient(90deg, #e0f7fa, #e0ffe5);
  border-left: 6px solid #21e6c1;
  border-right: 6px solid #21e6c1;
  padding: 28px 30px;
  margin: 40px auto;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 150, 136, 0.1);
  color: #144d53;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 900px;
  text-align: center;
  font-weight: 500;
  animation: fadeSlideIn 1.4s ease-in-out;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
