/* Basic reset for margin, padding, and box-sizing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Center the container on the page */
body {
  height: 100%;
  font-family: "Poppins", sans-serif; /* Apply Poppins font */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container styles */
.container {
  width: 100%;
  max-width: 1280px;
  padding: 20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .container {
    width: 95%; /* Reduce the width to 90% on medium screens */
  }
}

@media (max-width: 480px) {
  .container {
    width: 100%; /* On very small screens, take full width */
  }
}

/* ================ TOP SECTION STYLE ==================== */
/* Style for the top section */
.top-section {
  text-align: center;
}

.top-section .logo {
  width: 350px; /* Adjust the size of the logo */
}

.top-section h1 {
  font-size: 1.5em;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}
.top-section .description {
  font-size: 1em;
  margin-bottom: 30px;
  font-weight: 200;
  color: #414141;
  margin-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}
@media (max-width: 780px) {
  .top-section .description {
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .top-section .logo {
    width: 220px; /* Adjust the size of the logo */
  }
}
/* ================ GRID STYLE ==================== */

/* Grid container layout */
.grid-container {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr; /* Default: 1 item per row */
}

/* Responsive grid adjustments */
@media (min-width: 576px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 items per row */
  }
}

@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
  }
}

@media (min-width: 1200px) {
  .grid-container {
    grid-template-columns: repeat(4, 1fr); /* 4 items per row */
  }
}

/* Style for each grid item */
.grid-item {
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 1.2em;
  border-radius: 8px;
  height: 350px; /* Default height */
}

/* Responsive height adjustments */
@media (max-width: 1200px) {
  .grid-item {
    height: 300px; /* Reduce height for medium screens */
  }
}

@media (max-width: 768px) {
  .grid-item {
    height: 280px; /* Further reduce height for tablets */
  }
}

@media (max-width: 480px) {
  .grid-item {
    height: 250px; /* Reduce height for mobile screens */
  }
}

.freeMessage {
  margin-top: 100px;
}

/* ================ COLLABORATE WITH US STYLE ==================== */

/* Style for the top video container */
.top-video-container {
  width: 100%;
  text-align: center;
  padding: 0;
  position: relative;
  background-color: black;
  margin-top: 50px;
}

.top-video-container video {
  width: 100%;
  height: auto;
  max-height: 480px; /* Limit video height */
  object-fit: cover; /* Ensure the video covers the container */
}
