.about {
  /* margin-top: 2%; */
  text-align: center;
  line-height: 2;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}
.about h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}
.about p {
  font-size: 1.2rem;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  font-weight: 300;
}
.about2 {
  margin-top: 40px;
  text-align: left;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px;
  display: flex;
  width: 90%;
  max-width: 1200px;
  gap: 5%;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.about2 img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.about2 img:hover {
  transform: scale(1.05);
}
.about2 div {
  flex: 1;
}
.about2 h3 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
}
.about2 p {
  color: #666;
  margin-bottom: 15px;
}
.about3 {
  margin-top: 40px;
  text-align: center;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1200px;
}
.about3 div {
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}
.about3 div:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.about3 div img {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.about3 h4 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: bold;
}
.about3 p {
  color: #666;
  font-size: 1rem;
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  margin: 10% auto;
  padding: 30px;
  border: none;
  width: 90%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-60px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.about4 {
  margin-top: 40px;
  text-align: center;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 1200px;
}
.about4 h4 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.about4 > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  margin-bottom: 30px;
}
.about4 > div > div {
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}
.about4 > div > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.about4 h5 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: bold;
}
.about4 p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}
.close {
  color: #aaa;
  float: right;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}

.close:hover,
.close:focus {
  color: #333;
  transform: scale(1.2);
  text-decoration: none;
}

.modal-content h3 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
  font-size: 1.8rem;
  font-weight: bold;
}

.modal-content form {
  display: flex;
  flex-direction: column;
}

.modal-content label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
  font-size: 1rem;
}

.modal-content input[type="text"],
.modal-content input[type="password"] {
  padding: 12px;
  margin-bottom: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="password"]:focus {
  border-color: #667eea;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
  outline: none;
}

.modal-content input[type="submit"] {
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.modal-content input[type="submit"]:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
}
footer {
  margin-top: 100px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #ecf0f1;
  padding: 50px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
}

footer > div {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

footer > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer img {
  height: 70px;
  margin-bottom: 20px;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

footer h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #3498db;
  font-weight: bold;
}

footer p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #bdc3c7;
}

footer h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #e74c3c;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

footer ul li a:hover {
  color: #3498db;
  transform: translateX(8px);
}

footer > div:last-child a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer > div:last-child a:hover {
  color: #e74c3c;
  text-decoration: underline;
}

/* Copyright notice */
footer + p {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  color: #bdc3c7;
  text-align: center;
  padding: 20px;
  margin: 0;
  font-size: 0.95rem;
  border-top: 2px solid #667eea;
}

/* Responsive design for footer */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
  }

  footer > div {
    max-width: 100%;
  }

  footer > div:first-child {
    align-items: center;
  }
}
.login a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.3s;
  font-weight: bold;
}
.login a:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
}
.logout a {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  border-radius: 8px;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.3s;
  font-weight: bold;
}
.logout a:hover {
  background: linear-gradient(135deg, #d9534f 0%, #a93226 100%);
  transform: translateY(-2px);
}

/* General responsive design */
@media (max-width: 768px) {
  .about {
    padding: 40px 15px;
  }
  .about h1 {
    font-size: 2.5rem;
  }
  .about2 {
    flex-direction: column;
    width: 95%;
    padding: 30px 15px;
  }
  .about3 {
    grid-template-columns: 1fr;
    width: 95%;
    padding: 30px 15px;
  }
  .about4 {
    padding: 40px 15px;
  }
  .about4 h4 {
    font-size: 2rem;
  }
  .about4 > div {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
