/* Same CSS used on both index pages for consistency */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  background-color: #f4f4f4;
}

#myVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  text-align: center;
  padding: 80px 20px;
  position: relative;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.top-buttons {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 10px;
  width: 100%;
  padding: 0 20px;
}

.top-buttons a {
  padding: 10px 20px;
  border: none;
  background-color: #28a745;
  color: #fff;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.top-buttons a:hover {
  background-color: #218838;
}

header h1 {
  font-size: 3em;
  margin: 5px 0;
}

header p {
  font-size: 1.2em;
  margin-top: 5px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery img {
  width: calc(30% - 20px);
  height: auto;
  max-height: 200px;
  object-fit: cover;
  margin: 10px;
  border-radius: 10%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

footer {
  text-align: center;
  padding: 20px;
  background: #333;
  color: #fff;
  margin-top: 40px;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ddd;
}

.video-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 2;
}

.video-control:hover {
  background: rgba(0, 0, 0, 0.9);
}

.overlay-phone {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.overlay-phone .phone-content {
  background: #fff;
  color: #000;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.overlay-phone .phone-content button {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  background-color: #28a745;
  color: #fff;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

.overlay-phone .phone-content button:hover {
  background-color: #218838;
}

@media (max-width: 768px) {
  .gallery img {
    width: calc(45% - 20px);
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2.5em;
  }

  header p {
    font-size: 1em;
  }

  .gallery img {
    width: calc(90% - 20px);
  }
}