:root {
  --primary-color: #0066cc;
  --secondary-color: #40e0d0;
  --text-color: #333;
  --light-gray: #f0f0f0;
  --white: #ffffff;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: var(--light-gray);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: auto;
  margin-right: 1rem;
}

.logo-text h1 {
  font-size: 1.2rem;
  margin: 0;
  color: #0c2340; /* Dark blue color from the logo */
}

.logo-text h2 {
  font-size: 0.9rem;
  margin: 0;
  color: #00b140; /* Green color from the logo */
  font-weight: 300;
  font-family: "Quicksand", sans-serif;
  letter-spacing: 2px;
  transform: translateY(-2px);
  text-transform: uppercase;
  opacity: 0.8;
}

nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

main {
  min-height: calc(100vh - 200px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 0; /* Changed from 4rem to 2rem */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  color: #888;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.hero-content h2 {
  font-size: 2rem;
  color: #ff8c00;
  margin-top: 0;
  font-weight: 400;
}

.hero-image-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin-top: 2rem;
}

.hero-image-background {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: 1;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.main-content {
  text-align: center;
  margin-top: 2rem;
}

.main-content h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.main-content h3 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-top: 0;
}

footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.copyright {
  display: flex;
  align-items: center;
}

.footer-content svg {
  width: 24px;
  height: 24px;
  margin-right: 0.4rem;
  margin-bottom: 1.3rem;
}

.footer-content p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-content a {
  color: var(--white);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.footer-content a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-content {
    justify-content: center;
  }
}

.contact-info {
  margin-bottom: 1rem;
}

.contact {
  padding: 2rem 0;
}

.contact h1 {
  font-size: 3rem;
  color: #888;
  font-weight: 300;
  margin-bottom: 1rem;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  max-width: 800px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group:nth-child(1) {
  margin-right: 0.5rem;
}

.form-group:nth-child(2) {
  margin-left: 0.5rem;
}

.form-group:nth-child(3),
.form-group:nth-child(4) {
  grid-column: span 2;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.submit-btn {
  grid-column: 2;
  justify-self: end;
  background-color: #ffd700;
  color: #003366; /* Changed to a dark blue color */
  border: none;
  padding: 0.5rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold; /* Added to make the text more prominent */
}

.submit-btn:hover {
  background-color: #ffcc00;
  color: #002244; /* Slightly darker blue on hover for contrast */
}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group:nth-child(1),
  .form-group:nth-child(2),
  .form-group:nth-child(3),
  .form-group:nth-child(4) {
    grid-column: span 1;
    margin-left: 0;
    margin-right: 0;
  }

  .submit-btn {
    grid-column: 1;
    justify-self: start;
  }
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: right;
    align-items: flex-start;
  }

  .contact-info {
    margin-bottom: 0;
    margin-right: 1rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0; /* Changed from 2rem to 1rem for mobile */
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .circle-button {
    margin: 0 1rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-content > div {
    margin-bottom: 1rem;
  }

  .main-content h2 {
    font-size: 1.2rem;
  }

  .main-content h3 {
    font-size: 1rem;
  }

  .hero-image-container {
    width: 200px;
    height: 200px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }
}

.about {
  padding: 4rem 0;
}

.about h1 {
  font-size: 3rem;
  color: #888;
  font-weight: 300;
  margin-bottom: 2rem;
  text-align: center;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-image {
  flex: 1;
  max-width: 50%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-image {
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

.apps {
  padding: 2rem 0;
}

.app-list {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.app-item {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.app-icon {
  width: 96px;
  height: 96px;
  margin-right: 1.5rem;
  flex-shrink: 0;
  border-radius: 20px; /* This will create rounded corners */
  object-fit: cover; /* This ensures the image fills the space without distortion */
}

.app-info {
  flex-grow: 1;
}

.app-item h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0 0 0.5rem 0;
}

.app-item p {
  font-size: 1rem;
  color: var(--text-color);
  margin: 0;
}

@media (max-width: 768px) {
  .app-item {
    flex-direction: column;
    text-align: center;
  }

  .app-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

.app-info a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.app-info a:hover {
  color: var(--secondary-color);
}

.app-info a.watch-only {
  cursor: pointer;
}
