/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #fff;
  } */

  .hero {
    height: 700px;
    color: rgb(255, 253, 250);
    margin-top: 50px; /* To ensure hero isn’t hidden behind fixed nav */
    background: radial-gradient(circle, #f4f4f4, #ffffff);
    
  }
  
  .hero img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  /* Hero content animations */
  .hero-content {
    animation: fadeInDown 1s ease-out forwards;
    text-align: center;
    position: relative;
    top: 250px;
    color: rgb(0, 0, 0);
    border: 6px  groove rgb(0, 0, 0);
    border-top-style: groove;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-style: groove;
    margin-left: 300px;
    margin-right: 300px;
    background-color: rgba(178, 178, 178, 0.5);
  
  
  }
  .hero-content h1 {
    font-size: 30px;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
  .hero-content p{
    font-size: 30px;
    font-weight: bolder;
    text-align: center;
    position: relative;
    z-index: 10;
  
  }
  .hero-content:hover{
    scale: 1.3;
    transition-duration: 1.5s;
    animation: ease-in-out;
  }
  















  .profile-section {
    max-width: 100%;
    background: #fff;
    margin: 0px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    overflow: hidden;
  }
  /* Header with Gradient Background */
  .profile-header {
    color: #fff;
  }
  .hero2 img{
    width: 1309px;
    height: 100%;
    margin-left: -50px;
    margin-bottom: -16px;
  }
  .profile-header h2 {
    margin: 0;
    font-size: 32px;
  }

  /* Layout Container */
  .profile-container {
    display: flex;
    flex-wrap: wrap;
  }
  /* Image Section */
  .profile-image {
    flex: 0 0 250px;
    background: #eee;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
  .profile-image img {
    width: 280px;
    height: 350px;
    border-radius: 10%;
    object-fit: cover;
    border: 8px groove #000000;
  }
  /* Details Section */
  .profile-details {
    flex: 1;
    padding: 20px;
    color: #333;
  }
  .profile-details h3 {
    margin-top: 20px;
    font-size: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
  }
  .profile-details ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
  }
  .profile-details li {
    margin-bottom: 6px;
    line-height: 1.5;
  }
  /* Contact Section */
  .profile-contact {
    background: #f9f9f9;
    padding: 15px 20px;
    border-top: 1px solid #eee;
  }
  .profile-contact h3 {
    margin: 0 0 10px;
    font-size: 20px;
  }
  .profile-contact p {
    margin: 5px 0;
    font-size: 16px;
  }
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .profile-container {
      flex-direction: column;
    }
    .profile-image {
      border-right: none;
      border-bottom: 1px solid #ddd;
    }
  }


  .banner {
    display: flex;
    text-align: center;
    justify-content: center;
    padding: 10px;
    margin-top: 130px;
    margin-left: 425px;
    width: 30%;
  }
  .banner .line {
    flex-grow: 1;
    height: 2px;
    background-color: black;
    margin-top: 22px;
  }
  .banner .text {
    font-size: 24px;
    font-weight: bold;
    color: rgb(53, 53, 53);
    margin: 0 20px;
    text-transform: uppercase;
    background-color: rgb(126, 126, 126,0.2);
    border-radius: 20px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .intro {
    font-size: 19px;
    color: rgb(3, 3, 3);
    margin-left: 50px;
    margin-top: 10px;
    width: 90%;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Arial', sans-serif;
    text-align: justify;

  }




  .card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
    background-color: #f7f7f7;
    padding: 10px;
  }
  .card img {
    width: 100%;
    height: 250px;
    border-radius: 8px;
  }
  .card:hover {
    transform: scale(1.06);
    transition: transform 0.3s ease;
  }
  .card-title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    text-decoration: none;
    color: black;
  }
  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    text-decoration: none;
  }
  
  a{
    text-decoration: none;
  }
  .white{
    color: white;
  }

    /* Keep existing styles above, then add these responsive overrides */

/* Force 2-column layout on desktops/laptops */


/* Cards adapt to container width */

/* Phone screens (≤ 600px) → 1 column full-width */
@media (max-width: 1000px) {

  .card {
    max-width: 100%;
    height:fit-content;
  }
  .card img {
    height: auto;
    width:100%;
  }
  .banner {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    margin-top: 10px;
  }
  .intro{
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }
}

/* Make the banner center nicely on mobile */
