/* Add the existing styles */
* {
  margin: 0;
  padding: 0;
}
body {
  background-color: rgb(240, 240, 255); /* Light complementary color */
  color: rgb(50, 50, 50); /* Dark text color for readability */
  font-family: Arial, sans-serif; /* Font family for the body text */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}
h2 {
  text-align: center; /* Center the text horizontally */
  margin: 20px 0; /* Optional: Add some vertical margin */
  text-decoration: underline; /* Add an underline to the heading */
}
header {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 10px 0;
  border-style: solid;
  border-color: rgb(105, 7, 129);
  border-radius: 10px;
  width: 100%;
}
.logo img {
  height: 10vh;
}
.logo-written {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.logo-written h1 {
  font-family: "Times New Roman", Times, serif;
  color: rgb(105, 7, 129);
  padding: 5px 10px;
}
.logo-written p {
  font-family: "Times New Roman", Times, serif;
  color: rgb(105, 7, 129);
  font-size: 18px;
  padding: 5px 10px;
  text-decoration: underline;
}
.navbar {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  height: 50px;
}

.navbar-left {
  display: flex;
  align-items: center;
  justify-content: left;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  padding: 5px 10px;
  border: 2px solid white;
  border-radius: 5px;
}

.navlist {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  width: 60%;
  height: 100%;
  overflow: hidden;
  justify-content: left;
  align-items: center;
}

.navlist li {
  border-right: thin solid white;
}

.navlist li a {
  text-decoration: none;
  color: gold;
  padding: 10px 5px;
  text-align: center;
  font-size: 18px;
}

.navlist li:last-child {
  border-right: none;
}

.navlist li a:hover {
  background-color: goldenrod;
  color: white;
}

.navbar-right {
  display: flex;
  align-items: center;
  justify-content: right;
  width: 20%;
  text-align: right;
}

#search {
  border: 3px solid black;
  padding: 5px;
  margin: 5px;
  border-radius: 10px;
}

.btn {
  border: solid skyblue;
  border-radius: 25px;
  padding: 5px;
  margin: 5px;
  cursor: pointer;
}
.bg {
  background: rgb(71, 171, 146);
  background-size: cover;
  background-blend-mode: lighten;
}
.front {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: palegoldenrod;
  height: 80vh;
  overflow: hidden;
}
.welcome {
  color: black;
  font-family: "Times New Roman", Times, serif;
  font-size: 70px;
  text-align: center;
  /* padding: 5px 0; */
  flex-direction: column;
}
.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
}
.picture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 70vh;
  padding: 10px;
  border-radius: 20px;
}
.desc {
  background: rgba(255, 255, 255, 0.7)
    url(./images/Jawahar_Navodaya_Vidyalaya_logo.png);
  background-blend-mode: lighten;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem;
  width: 45%;
  /*margin-left: 1rem;*/
}
.info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.info a {
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  color: white;
  background-color: red;
  padding: 5px 10px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  padding: 10px;
}
.gallery-item {
  flex: 1 1 calc(25% - 20px);
  box-sizing: border-box;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.gallery-item img:hover {
  transform: scale(1.05);
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Add styles for the new pages */
.page-container {
  padding: 20px;
}

.page-container h2 {
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  margin-bottom: 20px;
}

.page-container form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-container form input[type="email"],
.page-container form input[type="password"],
.page-container form input[type="text"] {
  padding: 10px;
  margin: 10px 0;
  width: 80%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.page-container form button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #4caf50;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
}

.page-container form button:hover {
  background-color: #45a049;
}

.page-container {
  max-width: 800px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Subscription options */
.subscription-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.option {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 1 1 250px; /* Flexible width for responsiveness */
  transition: transform 0.3s ease;
}

.option:hover {
  transform: translateY(-5px);
}

.option h3 {
  font-size: 1.4em;
  color: #333;
  margin-bottom: 10px;
}

.option p {
  font-size: 1.2em;
  color: #4caf50;
  margin: 10px 0;
}

.option .previous-price {
  text-decoration: line-through;
  color: #777;
  font-size: 0.9em;
}

.option .discount {
  font-size: 0.8em;
  color: #777;
  margin-bottom: 5px;
}

.option button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.option button:hover {
  background-color: #45a049;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
  .option {
    flex: 1 1 100%;
  }
}
/* Styles for the About page */
.mission,
.values,
.contact {
  margin: 20px 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mission h3,
.values h3,
.contact h3 {
  font-family: "Times New Roman", Times, serif;
  color: #333;
  margin-bottom: 15px;
}

.values ul,
.contact ul {
  list-style-type: disc;
  margin-left: 20px;
}

.values li,
.contact li {
  margin-bottom: 10px;
}

/* Styles for the contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.contact-form label {
  font-family: "Times New Roman", Times, serif;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  max-width: 500px;
}

.contact-form button {
  align-self: flex-start;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #4caf50;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.contact-form button:hover {
  background-color: #45a049;
}

.signin-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  background-image: url("./images/background.jpg"); /* Update with your background image */
  background-size: cover;
  background-position: center;
}
.signin-content {
  background: rgba(255, 255, 255, 0.8);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.signin-content h2 {
  margin-bottom: 20px;
  color: #2c3e50;
}

.signin-content p {
  margin-bottom: 20px;
  color: #34495e;
}

.g-signin2 {
  margin-top: 20px;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4285f4;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.google-btn:hover {
  background-color: #357ae8;
}

.google-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* Profile Modal */
#profile-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Center the profile modal */
.profile-modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* Ensure it is above other content */
}

.profile-modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  background: rgba(184, 240, 240, 0.895);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-family: 'Roboto', sans-serif; /* Attractive font family */
  color: purple;
  font-size: 20px;
  font-weight: bold;
}

.profile-modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.profile-modal-close:hover,
.profile-modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

/* About page disclaimer*/
.disclaimer {
  margin-top: 20px;
  padding: 10px;
  border-top: 1px solid #ccc;
  font-size: 0.9em;
  color: #555;
}
.disclaimer a {
  color: #007bff;
  text-decoration: none;
}
.disclaimer a:hover {
  text-decoration: underline;
}
.section_data {
  background-color: white;
  margin: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 45vh;
  width: 45%;
}
.section_image {
  width: 50%;
}
.section_image img {
  overflow-clip-margin: inherit;
  overflow: auto;
  width: 100%;
  height: 280px;
  border-radius: 20px;
}
.data_info {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #357ae8;
  height: 50vh;
  padding: 20px;
  border-width: 5px;
  border-color: #4caf50;
  border-style: solid;
  margin: 10px 0px;
}
.alt {
  flex-direction: row-reverse;
}
/* Slideshow container */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
  margin: 2px;
  padding: 5px 0px;
  justify-content: center;
  align-items: center;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 20px;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 20px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 9px;
  width: 9px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* features section*/
.features {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
}

.features-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 80%;
  max-width: 1200px;
}

.feature-item {
  text-align: center;
  margin: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.feature-item h3 {
  margin: 10px 0;
}

.feature-item p {
  color: #555;
}

.footer {
  background-color: #333;
  color: white;
  padding: 10px 5%;
  position: relative;
  bottom: 0;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer a {
  color: #ffd700;
  text-decoration: none;
  margin: 0;
}

.footer a:hover {
  text-decoration: underline;
}

/* Cookie consent styles */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  font-size: 14px;
  text-align: center;
  z-index: 1000;
}

.cookie-consent button {
  background: #ffd700;
  border: none;
  color: black;
  padding: 5px 10px;
  cursor: pointer;
  margin-left: 10px;
}

/* Share Button Styling */
#share-button {
  background-color: transparent;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

#share-button:hover {
  background-color: limegreen;
}

.install-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Space between left and right sections */
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px; /* Max width for larger screens */
  width: 80%; /* Cover 80% of the area on large screens */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.install-info {
  flex: 1; /* Allow the install info to take up remaining space */
  padding-right: 20px; /* Space between text and screenshots */
  max-width: 30%;
  align-items: center;
  justify-content: center;
}

.install-icon {
  width: 120px; /* Adjust icon size */
  height: 120px; /* Adjust icon size */
  margin-bottom: 15px;
  border-radius: 10px;
}

.install-text {
  font-size: 18px;
  text-align: left; /* Align text to the left */
  margin-bottom: 15px;
}

.screenshots {
  display: flex;
  flex-direction: column; /* Stack screenshots vertically */
  align-items: flex-start; /* Align screenshots to the left */
}

.screenshot {
  width: 100%; /* Each screenshot takes full width of the container */
  max-width: 200px; /* Max width for screenshots */
  margin-bottom: 10px; /* Margin below each screenshot */
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

#installBtn {
  background-color: #4CAF50; /* Green background */
  color: white; /* White text */
  border: none; /* No border */
  padding: 15px 20px; /* Some padding */
  text-align: center; /* Centered text */
  text-decoration: none; /* No underline */
  display: inline-block; /* Display inline-block */
  font-size: 16px; /* Larger font size */
  margin: 10px 0; /* Margin around the button */
  cursor: pointer; /* Pointer cursor on hover */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
}

#installBtn:hover {
  background-color: #45a049; /* Darker green on hover */
}

/* Teacher Section CSS */

.teacher-section {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  width: 80%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.teacher-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.teacher-info {
  display: flex;
  align-items: center;
}

.teacher-img {
  width: 250px;
  height: 250px;
  border-radius: 100%;
  margin-right: 20px;
}

.teacher-details {
  flex: 1;
}

.teacher-details p {
  margin: 0 0 10px;
  font-size: 16px;
}

.teacher-details ul {
  padding-left: 20px;
  list-style-type: disc;
}

.teacher-details ul li {
  margin-bottom: 10px;
  font-size: 16px;
}
.teacher-install {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
}

#logout-button{
  background-color:rgb(8, 174, 240); /* Medium Blue background */
  color: white; /* White text */
  border: none; /* No border */
  padding: 15px 20px; /* Some padding */
  text-align: center; /* Centered text */
  text-decoration: none; /* No underline */
  display: inline-block; /* Display inline-block */
  font-size: 16px; /* Larger font size */
  margin: 10px 0; /* Margin around the button */
  cursor: pointer; /* Pointer cursor on hover */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
}

#logout-button:hover {
  background-color:blue; /* Darker red on hover */
}

.founder-img {
  width: 250px;
  height: 250px;
  border-radius: 100%;
  margin-right: 20px;
}

.founder-section {
  display: flex;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  width: 80%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
