/* Global Body Styling */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(180deg, #ffffff, #f9f9ff, #e6f7ff, #fff0f5);
  color: #222;
  overflow-x: hidden;
}

/* Headings */
h1, h2, h3 {
  font-weight: 700;
  text-align: center;
  color: #00aaff;
  text-shadow: 0 0 12px rgba(0, 200, 255, 0.6);
}

/* Navbar */
.navbar {
  background: linear-gradient(90deg, #00aaff, #ff66cc);
  padding: 15px;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
}

.navbar a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #ffff99;
}

/* Special Div Styling */
.special-div {
  background: linear-gradient(135deg, #ffffff, #fdfdfd, #f0faff, #fff0f5);
  color: #222;
  padding: 60px;
  margin: 40px auto;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Wave background effect */
.special-div::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    135deg,
    rgba(0, 200, 255, 0.12) 0px,
    rgba(255, 100, 200, 0.12) 120px,
    rgba(0, 200, 255, 0.12) 240px
  );
  animation: waveMove 10s linear infinite;
  z-index: 0;
}

@keyframes waveMove {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(60px) translateY(40px); }
  100% { transform: translateX(0) translateY(0); }
}

.special-div h2 {
  font-size: 2.4rem;
  margin-bottom: 25px;
  text-align: center;
  color: #00aaff;
  text-shadow: 0 0 12px rgba(0, 200, 255, 0.7);
  position: relative;
  z-index: 1;
}

.special-div img {
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  margin: 25px 0;
  box-shadow: 0 0 20px rgba(255, 100, 200, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}

.special-div p {
  font-size: 1.2rem;
  line-height: 1.9;
  text-align: justify;
  color: #333;
  position: relative;
  z-index: 1;
}

/* Hover Effects */
.special-div:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.6);
}

.special-div:hover img {
  transform: scale(1.07);
  box-shadow: 0 0 30px rgba(255, 100, 200, 0.7);
}

/* Section Styling */
.section {
  background: linear-gradient(135deg, #ffffff, #fdfdfd, #f0faff, #fff0f5);
  color: #222;
  padding: 50px;
  margin: 40px auto;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  text-align: center;
  color: #00aaff;
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.7);
  position: relative;
  z-index: 1;
}

.section img {
  max-width: 60%;
  height: auto;
  border-radius: 12px;
  margin: 25px 0;
  box-shadow: 0 0 20px rgba(255, 100, 200, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}

.section p {
  font-size: 1.15rem;
  line-height: 1.9;
  text-align: justify;
  color: #333;
  position: relative;
  z-index: 1;
}

/* Hover Effects */
.section:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.6);
}

.section:hover img {
  transform: scale(1.07);
  box-shadow: 0 0 30px rgba(255, 100, 200, 0.7);
}

/* Scroll-based Animation (structure) */
.special-div, .section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.special-div.visible, .section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Super Form Styling ===== */
.super {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb, #a6c1ee) !important;
  background-size: 300% 300% !important;
  animation: superBg 15s ease infinite !important;
  padding: 10px !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25) !important;
  transition: all 0.6s ease !important;
  text-align: center !important;
  margin-bottom: 20px !important;
  width: 50% !important;
  margin: 0 auto !important;   /* centers the form */
}

/* Background Animation */
@keyframes superBg {
  0% { background-position: 0% 50% !important; }
  50% { background-position: 100% 50% !important; }
  100% { background-position: 0% 50% !important; }
}

/* Hover Effect */
.super:hover {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb, #ffdde1, #ee9ca7) !important;
  background-size: 400% 400% !important;
  box-shadow: 0 0 30px rgba(255,255,255,0.6), 0 0 50px rgba(255,105,180,0.5) !important;
  transform: scale(1.03) !important;
}

/* Headings inside Super */
.super h1 {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 10px rgba(0,0,0,0.4) !important;
  transition: color 0.5s ease, text-shadow 0.5s ease !important;
}

.super h1:hover {
  color: #ff6f61 !important;
  text-shadow: 0 0 20px #fff, 0 0 30px #ff6f61 !important;
}

.s{
  background:linear-gradient(#f00c32, #0cf023, #0c2ef0) !important;
  color: white !important;
}

.btn-special:hover {
    background: linear-gradient(135deg, #2ecc71, #3498db);
    transform: translateY(-2px) scale(1.03);
    border: 2px black solid;
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.btn-special {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: whitesmoke !important;
    text-decoration: none;
    font-family: 'Segoe UI', sans-serif;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* Base UL Styling */
.section ul {
    list-style: none !important;
    margin: 20px auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364) !important;
    border-radius: 12px !important;
    padding: 25px !important;
}

/* LI Styling */
.section ul li {
    flex: 0 0 48% !important;   /* two-column layout */
    margin: 10px 0 !important;
    padding: 20px !important;
    background: #ffffff !important;
    border: 2px solid #3498db !important;
    border-radius: 10px !important;
    font-family: 'Segoe UI', sans-serif !important;
    font-size: 1.1rem !important;
    color: #2c3e50 !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.2) !important;
}

/* Hover Effect */
.section ul li:hover {
    background: linear-gradient(135deg, #ff416c, #ff4b2b) !important;
    color: #fff !important;
    border-color: #e74c3c !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 18px rgba(255, 75, 43, 0.7) !important;
}

/* Responsive Media Query */
@media (max-width: 1100px) {
    .section ul {
        flex-direction: column !important;
    }
    .section ul li {
        flex: 0 0 100% !important;   /* single-column layout */
        margin: 12px 0 !important;
    }
}


/* Media Query: less than 1100px screen */
@media screen and (max-width: 1100px) {
  body {
    font-size: 0.95rem;
  }

  h1, h2 {
    font-size: 1.6rem;
  }

  .navbar {
    padding: 10px;
  }

  .navbar a {
    margin: 0 8px;
    font-size: 0.9rem;
  }

  .special-div, .section {
    padding: 25px;
    margin: 20px auto;
  }

  .special-div h2, .section h2 {
    font-size: 1.6rem;
  }

  .special-div img {
    min-width: 80% !important;
    width: 90% !important;
  }

  .section img{
    min-width: 95% !important;
    max-width:95% !important;
  }

  .special-div p, .section p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .super{
    width: 80% !important;
    margin-top: 20px !important;
    
    h1{
      font-size: 20px !important;
    }
  }
}
