body {
  font-family: Arial, sans-serif;
  background-color: #f4f6f8;
  margin: 0;
  padding: 0;
}

header {
  background-color: #2a4365; /* Deep blue */
  color: white;
  padding: 20px;
  text-align: center;
}

.math {
  color: #ffffff;
}

nav {
  display: flex;
  justify-content: center;
  background-color: #1a202c; /* Darker navy */
}

nav a {
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  display: inline-block;
}

nav a:hover {
  background-color: #2c5282; /* Hover blue */
}

.content {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 15px;
}

.section {
  background-color: #edf2f7; /* Light gray */
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 15px 0;
}

.section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

footer {
  background-color: #2a4365;
  color: white;
  text-align: center;
  padding: 10px;
  position: fixed;
  width: 100%;
  bottom: 0;
}

.testlar {
  text-align: center;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: column-reverse;
}

.log {
  font-family: 'Segoe UI', sans-serif;
  font-size: 24px;
  color: #2d3748;
  margin-bottom: 10px;
}

.link {
  display: inline-block;
  background-color: #38a169; /* Green */
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: background-color 0.3s;
  list-style: none;
  border: none;
}

.link:hover {
  background-color: #2f855a;
}

.head {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.data, .picture {
  flex: 1;
  box-sizing: border-box;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.picture img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.formula-section {
  padding: 30px;
  background-color: #f7fafc;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.section-title {
  font-family: 'Segoe UI', sans-serif;
  font-size: 26px;
  color: #2d3748;
  margin-bottom: 10px;
  text-align: center;
}

.section-desc {
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #4a5568;
  text-align: center;
  margin-bottom: 20px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-items: center;
}

.image-grid iframe {
  border-radius: 10px;
}

.aloqa {
  text-align: center;
  padding: 30px;
  font-family: Arial, sans-serif;
}

.contitle {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #2d3748;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  justify-items: center;
  align-items: center;
}

.contact-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  width: 180px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-size: 15px;
  transition: transform 0.3s;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.contact-item .title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 4px;
  color: #2d3748;
}

.contact-item p {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #4a5568;
  font-size: 14px;
}

.text {
  font-family: 'Arial', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #2d3748;
  text-align: justify;
}

.result {
  padding: 20px;
  text-align: center;
}

.result h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2d3748;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
}

.result-grid img {
  width: 100%;
  max-width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
a{
  color:white
}
