
/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    }
    
    /* Home Section */
    .home-section {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    }
    
    @media (min-width: 640px) {
    .home-section { height: 500px; }
    }
    @media (min-width: 768px) {
    .home-section { height: 700px; }
    }
    @media (min-width: 1024px) {
    .home-section { height: 600px; }
    }
    @media (min-width: 1280px) {
    .home-section { height: 700px; }
    }
    
    .home-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    }
    
    .home-image {
    width: 1200px;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    
    
    
    /* Section Styling */
    .section-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .section-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 1rem;
    text-align: center;
    }
    
/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  /* Each card */
  .grid-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes button to bottom */
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    min-height: 400px; /* ensures equal height for alignment */
  }
  
  /* Hide extra content */
  .text-content {
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .text-content.expanded {
    max-height: 1000px;
  }

  /* Icon wrapper */
.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px; /* space between icon and title */
  }
  
  .icon-wrapper img {
    max-width: 60px; /* control size */
    height: auto;
  }
  
  
  /* Button wrapper for alignment */
  .btn-wrapper {
    margin-top: auto; /* push button to bottom */
    text-align: center;
  }
  
  /* Buttons */
  .toggle-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    background: #2563eb;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
  }
  
  .toggle-btn:hover {
    background: #1e40af;
  }
    
    @media (min-width: 768px) {
    .grid-container {
      grid-template-columns: repeat(4, 1fr);
    }
    }
    
    .grid-item {
    background: #BFDBFE;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .grid-item.gray {
    background: #E5E7EB;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    }