/* General Reset & Layout */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f7f7f7;
  overflow-x: hidden;
  touch-action: manipulation;
}

/* Prevent Zoom */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Sidebar */
.sidebar {
  height: 100%;
  width: 250px;
  position: fixed;
  top: 0;
  left: -250px;
  background-color: #333;
  overflow-x: hidden;
  transition: 0.4s;
  padding-top: 60px;
  z-index: 1000;
}

.sidebar a {
  padding: 10px 20px;
  text-decoration: none;
  font-size: 18px;
  color: #f1f1f1;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  background-color: #575757;
}

/* Toggle Button */
#sidebarToggle {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 30px;
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 1001;
  border-radius: 4px;
}

/* Zig-Zag Layout */
.section {
  display: flex;
  align-items: center;
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  gap: 20px;
}
.section:nth-child(even) {
  flex-direction: row-reverse;
  background: #fff;
}
.section:nth-child(odd) {
  background: #f0f0f0;
}
.image {
  flex: 1;
}
.image img {
  width: 100%;
  border-radius: 12px;
}
.text {
  flex: 1;
}

.school-header {
  background-color: #1e293b;
  padding: 20px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Insert school name using pseudo-element */
.school-header::before {
  content: "🏫 Rmhss melattur";
  font-size: 3rem;
  font-weight: bold;
  color: white;
  letter-spacing: 1px;
  font-family: monospace;
}


.school-video {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}




/* Responsive Fixes */
@media (max-width: 768px) {
  .section {
    flex-direction: column !important;
  }
}



.tribute-card {
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  color: #e0e1dd;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 174, 255, 0.3);
  max-width: 800px;
  margin: 2rem auto;
  font-family: 'Noto Serif Malayalam', serif;
  line-height: 1.7;
  border-left: 6px solid #00b4d8;
}

.tribute-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #90e0ef;
  text-shadow: 1px 1px 3px #023e8a;
}

.tribute-card em {
  color: #ffd166;
  font-style: italic;
}

.tribute-card strong {
  color: #f8f9fa;
}

@media (max-width: 600px) {
  .tribute-card {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .tribute-card h2 {
    font-size: 1.5rem;
  }
}



.school-header {
  animation: slideIn 1s ease-in-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}


.street-view-section {
  padding: 2rem;
  background-color: #f4f4f4;
  border-radius: 16px;
  margin: 2rem 0;
  text-align: center;
}

.street-view-section h2 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.street-view-section p {
  color: #555;
  margin-bottom: 20px;
}



