

/* About Header Styling */
.aboutheader {
    text-align: center;
    margin-bottom: 20px;
    font-family: "Trebuchet MS", sans-serif;
}

/* Team Section */
.aboutteam-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust layout based on available space */
    gap: 20px; /* Space between cards */
    margin-top: 20px;
    font-family: "Trebuchet MS", sans-serif;
    padding-left: 100px;
    padding-right: 100px;
}

/* Team Card Styling */
.aboutteam-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.aboutteam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.aboutteam-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid #ddd;
}

.aboutteam-card h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #444;
}

.aboutteam-card p {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}


.lastdescription {
    font-family: "Trebuchet MS", sans-serif;
    padding: 50px;
    text-align: center;
    font-size: 14px; /* Smaller font size */
    color: #555; /* Grey color */
    margin: 0 auto;
    max-width: 800px; /* Center alignment with width restriction */
  }

  @media (max-width: 600px) {
    .lastdescription {
      padding: 20px; /* Reduced padding for smaller screens */
      font-size: 12px; /* Smaller font size for mobile */
    }
  }
/* Responsive Design */
@media (max-width: 768px) {
    .aboutteam-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust cards to fit smaller screens */
    }

    .aboutteam-card img {
        width: 80px;
        height: 80px;
    }

    .aboutteam-card h2 {
        font-size: 1.2rem;
    }

    .aboutteam-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .aboutteam-section {
        grid-template-columns: 1fr; /* Single-column layout for very small screens */
        gap: 15px;
    }

    .aboutteam-card {
        padding: 15px;
    }

    .aboutteam-card img {
        width: 70px;
        height: 70px;
    }

    .aboutteam-card h2 {
        font-size: 1rem;
    }

    .aboutteam-card p {
        font-size: 0.8rem;
    }
}