/* landing.css */
:root {
  --primary-color: #ffffff;
  --accent-color: #ffffff;
  --background-gradient-start: #1e1e38;
  --background-gradient-end: #34224a;
  --form-background: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
  --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  --text-shadow: 2px 2px 4px #000;
  --grid-gap: 20px;
}
body, html {
  background: linear-gradient(to bottom right, var(--background-gradient-start), var(--background-gradient-end));
  color: var(--primary-color);
  font-family: 'Arial', sans-serif;
  overflow: auto;
}


.bg-hero {
  background-image: url('./images/innovation.png'); /* Ensure this is the correct path */
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-shadow: 2px 2px 4px #000;
  overflow: hidden; /* Prevent scrollbars when the image zooms in */
    animation: backgroundZoom 20s ease-in-out infinite alternate;
}

.text-content {
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Translucent background for readability */
  border-radius: 5px;
  width: 60%;
  margin: auto;
  text-align: center;
  opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.heading {
  font-size: 48px;
  margin-bottom: 30px;
  color: #00BFFF; /* Primary color */
}

.subheading, .description {
  font-size: 24px;
  margin-bottom: 20px;
  color: #7FFFD4; /* Secondary color */
}


.footer {
  text-align: center;
  padding: 20px;
  background-color: var(--background-gradient-end);
  color: var(--primary-color);
  font-size: 0.8em;
}






* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

.grid-item .heading, .grid-item .description {
  color: var(--accent-color); /* Ensure text color contrasts well */
  position: relative;
  z-index: 1;
  /* Add shadow to text for better readability */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.grid-item {
  justify-content: space-between; /* This will place the button at the end */
  align-items: center; 
  /* ... other styles ... */
  padding: 20px; /* Adjust padding as needed */
  display: flex;
  padding-bottom: 40px;
  flex-direction: column;
  justify-content: space-between; /* This will distribute space between child elements */
  align-items: center;
  text-align: center;
  min-height: 200px;
  min-width: 200px;
   /* Adjust min-height as needed to fit content */
  /* ... other styles ... */
}
.grid-item button {
  position: absolute;
  bottom: 20px; /* Adjust as necessary */
 
  
}
#pagols-vision {
  background-image: url('./images/vision.png'); /* Replace with your image path */
}
#composition_grid_item {
  background-image: url('./images/composition.png'); /* Replace with your image path */
}
#monetization_item {
  background-image: url('./images/money.png'); /* Replace with your image path */
}
#collab_item {
  background-image: url('./images/collab.png'); /* Replace with your image path */
}
#thinkers_domination_item {
  background-image: url('./images/thinkers.png'); /* Replace with your image path */
}

#thinkers-leading {
  background-image: url('./images/thinkers.png'); /* Replace with your image path */
}

.grid-item img {
  width: 100%; /* Full width */
  height: auto; /* Maintain aspect ratio */
  max-height: 75%; /* Adjust this as needed */
  z-index: -1; /* Position behind the text */
  border-top-left-radius: 10px; /* Match your grid-item border radius */
  border-top-right-radius: 10px; /* Match your grid-item border radius */
}
.grid-item:hover img {
  transform: scale(1.1);
}

.grid-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  z-index: -1; /* Ensure it's behind the content */
}

.full-width {
  grid-column: span 2; /* Or how many columns you want it to span */
}

/* Additional styles */
.thinkers-dominion, .creative-monetization, .user-empowerment, .future-connectivity, .seamless-integration {
  background-color: #f0f0f0; /* Light grey for contrast */
}

.cta {
  background-color: #00BFFF; /* Bright blue to stand out */
  color: white;
  box-shadow: 0 6px 12px rgba(0, 191, 255, 0.5);
}

.cta button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  margin-top: 20px;
  bottom: 40px;
  background-color: #00BFFF;
  color: white;
  transition: background-color 0.3s;
}

.cta button:hover {
  background-color: #009FDF;
}

/* Hover effects for grid items */
.grid-item:hover {
  transform: scale(1.05);
  transition: transform 0.5s ease-in-out;
}
@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
@keyframes backgroundZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}


.grid-item:hover {
  transform: scale(1.03); /* More subtle scale */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.grid-container {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap onto the next line */
  gap: 20px;
  padding: 50px;
  align-items: stretch; /* Makes items stretch to fill the container */
}
.grid-item {
  position: relative;
  margin-bottom: 20px;
  flex: 1; 
  min-width: calc(33.333% - 20px); /* Adjust the percentage to control the number of items per row, minus the gap */

  height: 25vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
  background-size: cover;
  overflow: hidden;
  border-radius: 10px;
  

  background-image: url('./images/brain.png'); 
}
.grid-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 50px;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust min size to your preference */
  gap: var(--grid-gap);
  padding: var(--grid-gap);
  justify-content: center;
  align-items: start; /* align-items to start to cater for different text lengths */
}

.grid-item {
  background: var(--form-background);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  color: white;
  text-shadow: var(--text-shadow);
  padding: 20px; /* consistent padding */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to top */
  align-items: center; /* Center content horizontally */
  text-align: center; /* Center text */
  overflow: hidden; /* Hide overflow */
  position: relative; /* For positioning before pseudo-element */
  background-image: url('./images/brain.png'); 
  
}
.grid-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3); /* dark overlay for better text readability */
  z-index: 0;
  border-radius: 10px; /* match the border radius of the grid-item */
}
.grid-item * {
  z-index: 1; /* Make sure content is above the pseudo-element */
}
.heading {
  font-size: 1.5em; /* Adjust size as needed */
  color: var(--accent-color);
  margin-bottom: 0.5em;
}

.description {
  font-size: 1em; /* Adjust size as needed */
}

/* Responsive typography */
@media (max-width: 600px) {
  .heading {
    font-size: 1.2em;
  }

  .description {
    font-size: 0.9em;
  }
}
/* Hover effects */
.grid-item:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* Ensure images are sized correctly if used within grid-items */
.grid-item img {
  width: 100%;
  height: auto;
  max-height: 75%;
  z-index: -1;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Additional responsiveness for grid container */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
.button-class { /* Replace with the actual class or ID of your button */
  position: absolute;
  bottom: 20px; /* Increase this value to move the button up */
  
   /* Center the button horizontally */
  /* Other styles for your button */
}
.grid-item::before {
  /* Other styles */
  background: rgba(0, 0, 0, 0); /* Adjust transparency as needed, 0 for no overlay */
}
.cta button {
  transition: background-color 0.3s, transform 0.3s;
}

.cta button:hover {
  background-color: #009FDF;
  transform: translateY(-3px);
}
/* Remove any specific height or width on .grid-item to allow the grid to determine the size */

/* Apply AOS animation */
