* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  color: #222;
  overflow-x: hidden;
}



/* HEADER */
header {
  text-align: center;
  padding: 50px 20px;
  background: url("background.jpg") center/cover no-repeat;
  color: white;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
  animation: float 4s ease-in-out infinite alternate;
}
@keyframes float {
  from { transform: translateY(0px); }
  to { transform: translateY(-10px); }
}
.main-title {
  font-size: 3em;
  letter-spacing: 2px;
  animation: glow 2s infinite alternate;
}
.main-title span {
  display: block;
  color: #ffeb3b;
  font-weight: bold;
  font-size: 1.5em;
}
@keyframes glow {
  from { text-shadow: 0 0 10px #ff00c8, 0 0 20px #00c3ff; }
  to { text-shadow: 0 0 20px #00ffe5, 0 0 40px #ff3db2; }
}

/* NAV */
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 20px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s;
}
nav ul li a:hover {
  color: #ffeb3b;
  text-shadow: 0 0 10px #fff;
}

/* SECTIONS */
.section {
  padding: 100px 20px;
  text-align: center;
  background: rgba(255,255,255,0.85);
  margin: 40px auto;
  border-radius: 20px;
  width: 85%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: transform 0.5s, background 0.5s;
}
.section:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

/* SURVEY SUMMARY */
.survey-summary {
  margin-top: 30px;
  animation: fadeInUp 1.5s ease;
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}
.summary-table {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.summary-table th, .summary-table td {
  padding: 15px;
  border: 1px solid #ccc;
}
.summary-table th {
  background-color: #3f51b5;
  color: white;
}
.note {
  font-size: 14px;
  margin-top: 10px;
}
.excel-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #42a5f5, #5c6bc0);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;

}

/* Survey Photos & Videos Section */
.media-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  margin-top: 30px;
}

/* PHOTO GALLERY */
.photo-gallery h3,
.video-gallery-section h3 {
  text-align: center;
  color: #1a237e;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 900px;
}

.photos-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photos-grid img:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

/* VIDEO GALLERY */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1000px;
}

.videos-grid video {
  width: 100%;
  height: 180px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.videos-grid video:hover {
  transform: scale(1.05);
}

@media (max-width: 800px) {
  .photos-grid img {
    height: 140px;
  }
  .videos-grid video {
    height: 160px;
  }
}


.chart-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.chart-container canvas {
  width: 300px !important;
  height: 300px !important;
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.excel-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}


/* Awareness Session Section */
.awareness-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.awareness-box {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  border-radius: 20px;
  padding: 30px;
  width: 400px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  transition: 0.4s ease;
  text-align: left;
}

.awareness-box:hover {
  transform: translateY(-10px) rotateY(6deg);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

.awareness-box h3 {
  text-align: center;
  color: #1a237e;
  margin-bottom: 15px;
}

.awareness-box ul {
  list-style-type: "✅ ";
  padding-left: 20px;
  line-height: 1.8;
  color: #333;
}

.download-btn {
  display: inline-block;
  margin-top: 15px;
  background: #1a237e;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.download-btn:hover {
  background: #3949ab;
  box-shadow: 0 0 15px rgba(0, 0, 255, 0.4);
}

.video-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.video-gallery video {
  width: 180px;
  height: 120px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s;
}

.video-gallery video:hover {
  transform: scale(1.05);
}

.note {
  text-align: center;
  margin-top: 10px;
  font-style: italic;
  color: #333;
}


/* CYBERCRIME AWARENESS SECTION */
#cybercrime {
  background: linear-gradient(135deg, #e8f0ff, #f3f7ff);
  border-radius: 25px;
  padding: 60px 20px;
  box-shadow: 0 0 25px rgba(0, 0, 100, 0.2);
  margin-top: 50px;
  text-align: center;
}

/* Flowchart */
.flowchart {
  margin-top: 30px;
}

.flowchart h3 {
  color: #1a237e;
  font-size: 1.6em;
  margin-bottom: 25px;
}

.flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.flow-box {
  width: 90%;
  max-width: 500px;
  background: white;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.flow-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0,255,255,0.6);
}

.flow-box.danger {
  background: #ffe5e5;
  border-left: 6px solid #ff0000;
}

.flow-box.safe {
  background: #eaffea;
  border-left: 6px solid #00b300;
}

.flow-box .icon {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.arrow {
  font-size: 1.8em;
  color: #1a237e;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Diagram */
.diagram {
  margin-top: 60px;
}

.diagram img {
  width: 90%;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease;
}

.diagram img:hover {
  transform: scale(1.05);
}

/* Videos */
.cyber-videos {
  margin-top: 60px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.video-grid video {
  width: 100%;
  height: 220px;
  border-radius: 15px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.video-grid video:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .flow-box {
    width: 95%;
  }
  .video-grid video {
    height: 180px;
  }
}



/* 3D VILLAGE (SAMPLE) */



/* OUR SOLUTION - SAFENETBOX */
#solution {
  background: linear-gradient(135deg, #f0f7ff, #d9e8ff);
  padding: 60px 20px;
  border-radius: 25px;
  box-shadow: 0 0 25px rgba(0, 50, 150, 0.2);
  margin-top: 50px;
  text-align: center;
}

.solution-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin-top: 40px;
}

.solution-text {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
  animation: floatText 3s ease-in-out infinite alternate;
}

.solution-text h3 {
  color: #1a237e;
  margin-bottom: 20px;
}

.solution-text ul {
  list-style: none;
  padding-left: 0;
}

.solution-text ul li {
  margin-bottom: 15px;
  font-size: 1.1em;
  padding-left: 30px;
  position: relative;
  color: #333;
}

.solution-text ul li::before {
  content: "•";
  color: #1a237e;
  position: absolute;
  left: 0;
  font-size: 1.5em;
}

/* Sample Images */
.solution-images {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
  animation: floatImages 3s ease-in-out infinite alternate-reverse;
}

.solution-images h3 {
  color: #1a237e;
  margin-bottom: 20px;
}

.images-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.images-grid img {
  width: 90%;
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.3);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.images-grid img:hover {
  transform: scale(1.05) rotateY(3deg);
  box-shadow: 0 0 25px rgba(0,255,255,0.5);
}

/* Float animations */
@keyframes floatText {
  from { transform: translateY(0px); }
  to { transform: translateY(-10px); }
}

@keyframes floatImages {
  from { transform: translateY(0px); }
  to { transform: translateY(10px); }
}

@media (max-width: 900px) {
  .solution-layout {
    flex-direction: column;
    align-items: center;
  }

  .solution-text, .solution-images {
    flex: 1 1 100%;
  }
}



/* TEAM */
.caption {
  margin-top: 20px;
  font-style: italic;
  color: #1a237e;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.member {
  background: rgba(255,255,255,0.9);
  padding: 20px;
  border-radius: 20px;
  width: 180px;
  transition: 0.4s;
}

.member:hover {
  transform: translateY(-10px) rotateY(10deg);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.member img {
  width: 100%;
  height: 180px;
  border-radius: 15px;
  object-fit: cover;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #1a237e;
  color: white;
  font-size: 14px;
}