/* Global Responsive Styles for IntellaPlex */

:root {
  --primary-color: #007bff;
  --secondary-color: #001830;
  --light-bg: #ececf0;
  --text-dark: #333;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

/* Navbar Responsiveness */
.navbar {
  padding: 0.5rem 1rem !important;
}

.navbar-brand img {
  max-height: 65px;
  width: auto;
}

/* Grid to Flex/Stack conversion for mobile */
.responsive-grid {
  display: grid;
  gap: 1rem;
}

@media (max-width: 768px) {
  .responsive-grid {
    grid-template-columns: 1fr !important;
    padding: 1rem !important;
  }

  .display-1, .display-4, h1 {
    font-size: 2.5rem !important;
  }

  p {
    font-size: 1.1rem !important;
  }

  .nav-custom-grid {
      grid-template-columns: 1fr !important;
      text-align: center;
  }
  
  .nav-custom-grid div {
      justify-self: center !important;
      margin-bottom: 0.5rem;
  }

  section, .div_section {
    padding: 2rem 1rem !important;
  }
  
  .ta1 {
      width: 100% !important;
  }
  
  .text1 {
      width: 100% !important;
      margin-bottom: 1rem;
  }
  
  table, tr, td {
      display: block !important;
      width: 100% !important;
  }
}

/* Utility Classes */
.img-fluid-custom {
  max-width: 100%;
  height: auto;
}

.advantage-card {
  transition: transform 0.3s;
}

.advantage-card:hover {
  transform: translateY(-5px);
}
