body {
    font-family: Arial, sans-serif;
}
*
.title-svg {
    width: 80vw;
    height: auto;
    display: block;
    margin: auto;
  }

  .logo-svg {
    width: 50vw;      /* 80% of viewport width */
    height: auto;    /* maintain aspect ratio */
    display: block;
    margin: 0 auto;  /* center horizontally */

  }

  .center-table {
    margin-left: auto;
    margin-right: auto;

  }

  .registered.en {
    font-family:  "Times New Roman", Georgia, serif;
    text-align: right;
    font-weight: 400;
    font-size: 16;
    margin: 10;
    color: #671406;
  }

  .registered.ar {
    font-family: "Scheherazade New",  "Amiri",  serif;
    font-weight: 400;
    font-size: 16;
    direction: rtl;
    unicode-bidi: isolate;
    margin: 10;
    color: #671406;
  }

  .dedication-wrapper {
    text-align: center;
    margin: 40 auto;
  }
  

  /* Arabic text */
  .dedication.ar {
    font-family: "Amiri", "Scheherazade New", serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3.6vw, 3rem);
    line-height: 1.25;
    margin: 0 0 0.5rem;
    direction: rtl;
    unicode-bidi: isolate;
    color: #671406;
  }
  
  /* English text */
  .dedication.en {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 20;
    color: #671406;
  }
  
  .predecessors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 80px;
  }

  .predecessor-card {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background-color: #fafafa;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .predecessor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .predecessor-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .predecessor-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .predecessor-dates {
    font-size: 0.9rem;
    color: #555;
  }

  @media (max-width: 500px) {
    .predecessor-card {
      padding: 5px;
    }
    .predecessor-name {
      font-size: 1rem;
    }
    .predecessor-dates {
      font-size: 0.8rem;
    }
  }

  .tree {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    letter-spacing: 0.04em;
    text-align: center;
    margin: 40 auto;
    color: #671406;
  }

  .responsive-img {
           max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
            /* Optional: Add a border so you can see the image boundaries */
            border: 2px solid brown; 
}

  .contact {
      text-align: center;
      a {
        color: #671406;
      }
      a:hover {
        transition: color 0.3s ease;
        color: green;
      }
      a:link, a:visited, a:hover, a:active {
        text-decoration: none;
      }
  } 