/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
  background-color: #333;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: relative;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  width: 20%;
  display: flex;
  justify-content: center;
}

.logo img {
  width: 23%;
  border: 3px solid white;
  border-radius: 50px;
  margin-right: 65px;
}

/* Mobile Menu Toggle */
#menu-toggle {
  display: none;
}

.open-menu,
.close-menu {
  position: absolute;
  color: white;
  cursor: pointer;
  font-size: 1.5rem;
  display: none;
  z-index: 101;
}

.open-menu {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.close-menu {
  top: 20px;
  right: 20px;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  margin-right: 22px;
}

.nav-links li a:hover {
  text-decoration: underline;
  color: green;
}

/* Mobile Navbar */
@media (max-width: 710px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    background-color: black;
    transition: all 0.3s ease-in-out;
    z-index: 100;
  }
  .nav-links {
    background-color: black;
    z-index: 100;
    position: fixed;
  }
  

  .nav-links li {
    margin-top: 40px;
  }

  .nav-links li a {
    padding: 15px;
  }

  #menu-toggle:checked ~ .open-menu {
    display: none;
  }

  #menu-toggle:checked ~ .close-menu {
    display: block;
  }

  #menu-toggle:checked ~ .nav-links {
    right: 0;
  }

  .open-menu {
    display: block;
  }
}

/* Background Image */
.background img {
  height: 50%;
  width: 100%;
}

/* Platforms Section */
.platforms-section {
  text-align: center;
  padding: 40px 20px;
}

.platforms-section h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}

.platforms-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.platform-box {
  border: 2px solid black;
  padding: 20px;
  border-radius: 10px;
  width: 200px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.platform-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Services Section */
.services {
  font-family: 'Times New Roman', Times, serif;
  font-size: 30px;
  font-weight: bold;
  margin: 25px 0;
  text-align: center;
}

/* Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card {
  background: #fff;
  flex: 1 1 calc(33.333% - 20px);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 32px;
  color: green;
  margin-bottom: 15px;
}

.card-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: #111;
}

.card-text {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

/* Card Responsiveness */
@media (max-width: 992px) {
  .card {
    flex: 1 1 48%;
  }
}

@media (max-width: 600px) {
  .card {
    flex: 1 1 100%;
  }
}

/* About Us Section */
.about-us {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.section-title span {
  color: black;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.text-box {
  flex: 1 1 50%;
  background-color: #111;
  padding: 30px;
  border-radius: 10px;
}

.text-box h3,
.text-box p {
  color: #ccc;
}

.text-box h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.text-box p {
  font-size: large;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* About Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .image-box,
  .text-box {
    flex: 1 1 100%;
  }
}

/* Contact Form */
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  box-shadow: 0 0 20px 0 #999;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 300px;
  background-color: #fff;
  box-shadow: 0 0 20px 0 #999;
  padding: 26px 30px;
  margin: 55px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  padding: 10px;
  background-color: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background-color: #1b5e20;
}

h1 {
  margin-bottom: 25px;
  font-size: 32px;
  color: #000;
}

/* Footer */
footer {
  background-color: #2e2e2e;
  color: white;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 20px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: #fff;
}

.footer-section a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin: 8px 0;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: green;
  text-decoration: underline;
}

.social-icons a {
  margin-right: 10px;
  color: white;
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: green;
}

.footer-bottom {
  background-color: green;
  color: #2e2e2e;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}
