html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Amiri', serif;
    box-sizing: border-box;
    color: #1D1616;
    background: url('r1.jpg') no-repeat center center fixed;
    background-size: cover;
  }
  
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    html, body {
      font-size: 14px;
    }
  
    /* Additional adjustments for specific elements */
    h1 {
      font-size: 1.8rem;
    }
  
    p {
      font-size: 0.9rem;
    }
  
    .contact-info {
      font-size: 0.9rem;
    }
  
    .whatsapp-btn, .phone-btn {
      padding: 8px px;
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 480px) {
    html, body {
      font-size: 12px;
    }
  
    h1 {
      font-size: 1.5rem;
    }
  
    p {
      font-size: 0.85rem;
    }
  
    .contact-info {
      margin-top: 15px;
    }
  
    .whatsapp-btn, .phone-btn {
      padding: 6px 12px;
      font-size: 0.85rem;
    }
  }
  
  
  /* Box sizing reset for all elements */
  *,
  *::before,
  *::after {
    box-sizing: inherit;
  }
  .header-flag {
    background-color: #8E1616;
    text-align: center;
    padding: 2px;
    position: fixed;
    width: 100%;
    border-bottom: 2px solid #D84040;
  }
  
  .header-flag h1 {
    font-size: 18px;
    color: #EEEEEE;
    margin: 0;
  }
  /*  */
  header {
    display: flex;
    margin-top: 30px;
    justify-content: space-between;
    align-items: center;
    background-color: #EEEEEE;
    padding: 10px 20px;
    color: #1D1616;
  }
  
  .logo {
    height: 95px;
    padding-left: 10px;
  }
  
  /* Hide the open button on large screens */
  .openbtn {
    display: none;
  }
  
  /* Large screen navigation */
  /* Main Navigation Styles */
  .main-nav {
    background-color: #EEEEEE;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: background-color 0.3s;
  }
  
  .main-nav:hover {
    background-color: #D84040;
  }
  
  .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
  }
  
  .main-nav ul li {
    position: relative;
    border-bottom: 3px #8E1616 solid;
    border-radius: 25px;
    transition: transform 0.3s, border-color 0.3s;
  }
  
  .main-nav ul li:hover {
    transform: translateY(-5px);
    border-color: #D84040;
  }
  
  .main-nav ul li a {
    text-decoration: none;
    color: #1D1616;
    font-size: large;
    padding: 10px 20px;
    display: block;
    border-radius: 25px;
    transition: color 0.3s, background-color 0.3s;
  }
  
  .main-nav ul li a:hover {
    color: #EEEEEE;
    background-color: #8E1616;
  }
  
  /* Dropdown Styles */
  .dropdown-content {
    margin-top: 5px;
    display: none;
    position: absolute;
    border-radius: 10px;
    background-color: #ffffff;
    min-width: 160px;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .dropdown-content a {
    padding: 10px 20px;
    display: block;
    color: #B8001F;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .dropdown-content a:hover {
    background-color: #ffeded;
    color: #6e0000;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .main-nav ul {
      flex-direction: column;
      gap: 10px;
    }
  }
  
  
  /*  */
  
  /* Collapsible Sidepanel for Small Screens */
  .sidepanel {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #ffcfcfa5;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  
  .sidepanel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #000000;
    display: block;
    transition: 0.3s;
  }
  
  .sidepanel a:hover {
    color: #ffee00;
  }
  
  .sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  /* Media Queries for Small Screens */
  @media screen and (max-width: 768px) {
    .main-nav {
        display: none;
    }
  
    .openbtn {
        display: block;
        background-color: #7d0000;
        color: rgb(254, 254, 254);
        border: none;
        padding: 10px 15px;
        cursor: pointer;
    }
  
    .openbtn:hover {
        background-color: #444;
    }
  }
  
  /*  */
  
  article {
    background: rgba(232, 64, 64, 0.621);
    border-radius: 12px;
    min-width: 100%;
    font-weight: normal;
    color: #1D1616;
    height: auto;
    height: 76vh;
    
    padding: 25px; 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 8px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    
  }
  .crav{
    margin-top: 30px;
    height: 60px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    border-top-left-radius: 70%;
    border-bottom-left-radius: 5%;
  
    border-bottom-right-radius: 5%px;
    border-bottom:3px #000 solid;
  }
  
  article:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  }
  
  h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    text-align: center;
    color: #1D1616;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  p {
    margin: 10px 0;
    text-align: justify;
    line-height: 1.7;
  }
  
  .contact-info {
    margin-top: 20px;
    text-align: center;
    
  }
  
  /* Button Styles */
  .whatsapp-btn, .phone-btn {
    margin-top: 25px;
    background-color: #8E1616;
    color: #EEEEEE;
    border: none;
    border-radius: 25px;
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
    width: 150px;
    display: inline-block;
  }
  
  .phone-btn {
    background-color: #D84040;
    color: #EEEEEE;
  }
  
  
  .whatsapp-btn:hover, .phone-btn:hover {
    background-color: #D84040;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .phone-btn {
    background-color: #D84040;
  }
  
  .phone-btn:hover {
    background-color: #0056b3;
  }
  
  /* Responsive Design */
  @media (max-width: 600px) {
    article {
      padding: 20px;
    }
  
    h1 {
      font-size: 1.6rem;
    }
  
    p {
      font-size: 0.95rem;
    }
  
    .whatsapp-btn, .phone-btn {
      font-size: 0.9rem;
      padding: 10px 20px;
    }
  }
  
  .card {
    width: 98%;
    background: rgba(255, 156, 156, 0.621) ;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card-img-container {
    border-radius: 10px;
    padding: 5px;
    border: 4px #6e0000 solid;
    position: relative;
  }
  
  .card-img {
    width: 100%;
    height: auto;
    border-bottom: 5px solid #ffffff;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .card-title {
    font-size: 1.5rem;
    margin: 0;
    color: #000000;
    font-weight: bold;
    text-align: center;
  }
  
  .card-text {
    font-size: 1rem;
    color: #0c0c0c;
    margin: 10px 0;
    line-height: 1.5;
    text-align: justify;
  }
  
  .card-button {
    background-color: #ff7307;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 150px;
  }
  
  .card-button:hover {
    background-color: #0056b3;
  }
  
  @media (max-width: 600px) {
    .card {
        margin: 10px;
    }
  
    .card-title {
        font-size: 1.3rem;
    }
  
    .card-text {
        font-size: 0.9rem;
    }
  
    .card-button {
        font-size: 0.9rem;
        width: 100%;
    }
  }
  
  
  
  .floating-bar {
    position: fixed;
    bottom: 70px;
    width: 100%;
    pointer-events: none;
  }
  
  .floating-button {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
  }
  
  .floating-button img {
    width: 32px;
    height: 32px;
  }
  
  .floating-button.whatsapp {
    left: 20px;
    background-color: #25d366;
  }
  
  .floating-button.call-us {
    right: 20px;
    background-color: #007bff;
  }
  
  .floating-button:hover {
    transform: scale(1.1);
  }
  
  
  .card-container1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    justify-content: center;
  }
  .card1 {
    
    border: 1px solid #ffffff;
    background-color: rgba(255, 156, 156, 0.621) ;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 1, 1, 0.881);
    margin: 0;
    padding: 15px;
    border-top: 10px #000 solid;
    border-bottom: 7px #7d0000 solid;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .card-title11 {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    padding: 15px;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
  }
  
  .sticky {
    transform: translateY(-100%);
  }
  
  
  .card-title1 {
    font-size: 1.5em;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 3px solid #000000;
  }
  
  .card-image {
    width: 100%;
    height: 25vh;
  
    border-radius: 50%;
    object-fit: cover;
    margin: 15px 0;
    border: 4px solid #007bff;
    transition: transform 0.3s;
  }
  
  .card-text1 {
    border-bottom: 2px solid #000000;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 15px 0;
  }
  
  .card-footer1 {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
  }
  
  .visit-button {
    border: 1px solid #4CAF50;
    background-color: white;
    color: #4CAF50;
    border-radius: 5px;
    width: 100%;
    padding: 8px 12px;
    cursor: pointer;
    flex: 1;
    margin: 0 5px;
  }
  
  
  .visit-button:hover {
    background-color: #4CAF50;
    color: white;
  }
  
  /* Responsive Styles */
  @media (max-width: 900px) {
    .card-container1 {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .card-container1 {
        grid-template-columns: 1fr;
    }
  }
  .text-card {
    margin-bottom: 20px;
  }
  
  .card-title {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .post-card {
    background: rgba(255, 156, 156, 0.621);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
  }
  
  .post-title {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
  }
  
  .card-text {
    font-size: 1em;
    margin-bottom: 10px;
  }
  
  .call-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  .call-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .post-card {
        padding: 10px;
    }
  
    .card-title {
        font-size: 1.5em;
    }
  
    .post-title {
        font-size: 1.2em;
    }
  }
  
  /*  */
  
  
  .card-title {
    font-size: 2em;
    color: #007bff;
    margin: 20px 0;
    text-align: center;
  }
  
  .gallery {
    background: rgba(255, 156, 156, 0.621);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .gallery-image {
    width: calc(25% - 10px);
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  .gallery-image:hover {
    transform: scale(1.05);
  }
  
  /* Modal styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
  #caption {
    margin: 15px;
    color: white;
    text-align: center;
  }
  
  /* Media query for different screen sizes */
  @media (max-width: 1200px) {
    .gallery-image {
        width: calc(33.33% - 10px);
    }
  }
  
  @media (max-width: 800px) {
    .gallery-image {
        width: calc(50% - 10px);
    }
  }
  
  .decor-section {
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    direction:rtl;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .decor-image, .decor-info {
    flex: 1;
  }
  
  .large-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  
  h2 {
    color: #007bff;
    margin: 10px 0;
    font-size: 1.8em;
  }
  
  p {
    font-size: 1.1em;
    color: #333;
  }
  
  .decor-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    color:#000;
    list-style-type: none;
    padding: 0;
    margin: 15px 0;
  }
  
  .decor-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .decor-section {
        flex-direction: column;
    }
  
    .decor-image {
        order: 1;
    }
  
    .decor-info {
        order: 2;
    }
  }
  /*  */
  .text-card {
    background-color: #c75b7981;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 5px auto;
    border: 2px #218838 solid;
    text-align: center;
  }  
  
  .cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    margin-top: 20px;
  }
  
  .cardstit {
    background-color: #f3f3f38b;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
  }
  
  .cardstit:hover {
    transform: scale(1.05);
  }
  
  .card-icon {
    font-size: 3em;
    color: #C75B7A;
    margin-bottom: 15px;
  }
  
  .card-title {
    font-size: 1.5em;
    color: #444;
    margin-bottom: 10px;
    border-bottom: 3px #555 solid;
  }
  
  .card-value {
    font-size: 2.2em;
    text-align: center;
    font-weight: bold;
    color: #C75B7A;
  }
  
  /* Responsive Breakpoints */
  @media (max-width: 900px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
  
    h1 {
        font-size: 1.5em;
    }
  }
  
  /*  */
  
  /* Arabic Style Footer */
  .footer {
    background: linear-gradient(135deg, #8E1616, #D84040);
    color: #EEEEEE;
    padding: 60px 20px;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    position: relative;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .footer-item {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
    text-align: right;
    position: relative;
    overflow: hidden;
  }
  
  .footer-item:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
  }
  
  .footer-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #EEEEEE;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    border-bottom: 2px solid #D84040;
    padding-bottom: 10px;
  }
  
  .footer-item p, .footer-item a, .footer-item ul li a {
    color: #EEEEEE;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    transition: color 0.3s ease;
  }
  
  .footer-item ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-item ul li {
    margin-bottom: 10px;
  }
  
  .footer-item ul li a {
    position: relative;
    padding: 2px;
  }
  
  .footer-item ul li a:hover {
    color: #D84040;
    text-decoration: underline;
  }
  
  .footer-item iframe {
    width: 100%;
    border: 0;
    border-radius: 8px;
    margin-top: 10px;
    transition: transform 0.3s ease;
  }
  
  .footer-item iframe:hover {
    transform: scale(1.02);
  }
  
  .social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
  }
  
  .social-icons li a {
    display: inline-block;
    font-size: 22px;
    color: #ffffff;
    background-color: #ff9800;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .social-icons li a:hover {
    background-color: #ffffff;
    color: #ff9800;
    transform: scale(1.2);
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #444444;
    padding-top: 20px;
    font-size: 15px;
    color: #bbbbbb;
    position: relative;
  }
  
  .footer-bottom p {
    margin: 0;
  }
  
  .footer-bottom:hover {
    color: #ff9800;
    transition: color 0.3s ease;
  }
  
  @media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
  
    .footer-item {
        margin-bottom: 40px;
        padding: 0 10px;
        text-align: center;
    }
  
    .social-icons {
        justify-content: center;
    }
  
    .footer-bottom p {
        font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .footer-item h3 {
        font-size: 20px;
    }
  
    .footer-item p, .footer-item a {
        font-size: 14px;
    }
  
    .social-icons li a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
  
    .footer-bottom p {
        font-size: 13px;
    }
  }
  