/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 1.2rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

nav a:hover {
  color: #00bcd4;
}

.menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
  /* background: url("https://images.unsplash.com/photo-1581090464777-f3220bbe1b8b?auto=format&fit=crop&w=1950&q=80") center/cover no-repeat; */
  background-image: url('./images/img5.png');
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-text {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 8px;
  max-width: 90%;
}

.hero h1 {
  font-size: 2.5rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: #00bcd4;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn:hover {
  background: #0097a7;
}

/* ===== Sections ===== */
section {
  padding: 4rem 2rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #111;
}

/* ===== About Section ===== */
.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.font{
    font-size: 50px;
    font-family: emoji;

}

.about-container img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.about-text {
  max-width: 500px;
  text-align: left;
}

.aiimage{
  width: 100%;
  overflow: hidden;
  border-radius: 17px;
  box-shadow: 0 0 7px;
}

/* ===== Grids (Products, Services, Training, Projects) ===== */
.product-grid, .service-grid, .training-grid, .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card, .service-card, .training-card, .project-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover, .service-card:hover, .training-card:hover, .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.product-card img, .project-card img {
  width: 100%;
  border-radius: 8px;
}

/* ===== Contact ===== */
.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input, .contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact button {
  background: #00bcd4;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
}

.contact button:hover {
  background: #0097a7;
}

/* ===== Footer ===== */
.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2rem;
  }

  .about-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 1rem 0;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 0.8rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-text {
    padding: 1.5rem;
  }

  .about-container {
    flex-direction: column;
  }

  .about-text, .about-container img {
    max-width: 100%;
  }

  section {
    padding: 3rem 1rem;
  }

  .product-grid, .service-grid, .training-grid, .project-grid {
    grid-template-columns: 1fr;
  }

  .contact form {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.4rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}
