     /* --- FOOTER SUBSCRIPTION SECTION STYLING --- */
   /* Make the main footer a container with no padding */
.site-footer {
  background-color: #f9fafb; /* Or your footer background color */
  padding: 0;
}


  /* --- NEW: The Full-Width Gray Background Section --- */
.subscription-section {
  width: 100%;
  background-color: #e5e7eb; /* The full-width gray background */
  
  /* Padding is applied here to create space within the gray area */
  padding: 20px 20px; 
}

/* This container holds the centered subscription content */
.footer-container {
  max-width: 600px;
  margin: 0 auto;
  /* Add significant padding here to create space */
  padding: 60px 20px; 
  text-align: center;
}

/* --- The New Full-Width Copyright Section --- */

.footer-copyright {
  width: 100%; /* Ensure it spans the full width */
  
  /* The full-width separator line */
  /*border-top: 1px solid #e5e7eb; */
   border-top: 1px solid #000000; 
  
  /* Padding: More on top, less on bottom to be close to the edge */
  padding: 20px 20px 15px 20px; /* top | horizontal | bottom */
  
  text-align: center;
}

.footer-copyright p {
  /*color: #6b7280; */
  color: #000000; 
  /* Muted text color for a professional look */
  font-size: 0.9em;
  margin: 0;
}
    .footer-title {
      font-size: 28px;
      font-weight: 700;
      color: #343a40; /* Dark heading color from your site */
      margin-top: 0;
      margin-bottom: 10px;
    }

    .footer-subtitle {
      font-size: 16px;
      color: #6c757d; /* Softer text color */
      margin-bottom: 30px;
    }
    
    .subscribe-form-inner {
      display: flex;
      justify-content: center;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      border-radius: 8px;
    }
    
    .subscribe-form input[type="email"] {
      flex-grow: 1;
      border: 1px solid #ced4da;
      padding: 15px;
      font-size: 16px;
      font-family: 'Tajawal', sans-serif;
      border-radius: 0 8px 8px 0; /* Rounded corners on the right */
      border-left: none;
      text-align: right;
    }
    
    .subscribe-form input[type="email"]:focus {
      outline: none;
      border-color: #d82d7a;
      box-shadow: 0 0 0 2px rgba(216, 45, 122, 0.2);
    }

    .subscribe-form button[type="submit"] {
      border: none;
      background-color: #d82d7a; /* Magenta from your button */
      color: white;
      padding: 15px 30px;
      font-size: 16px;
      font-weight: 700;
      font-family: 'Tajawal', sans-serif;
      cursor: pointer;
      border-radius: 8px 0 0 8px; /* Rounded corners on the left */
      transition: background-color 0.2s ease-in-out;
    }

    .subscribe-form button[type="submit"]:hover {
      background-color: #c2216a;
    }
    
    .subscribe-form button[type="submit"]:disabled {
      background-color: #e87aaa;
      cursor: wait;
    }

           /* --- POPUP MODAL STYLING --- */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .modal-overlay.visible {
      opacity: 1;
      visibility: visible;
    }

    .modal-content {
      background: #fff;
      padding: 2rem 2.5rem;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      text-align: center;
      max-width: 400px;
      width: 90%;
      position: relative;
      transform: scale(0.9);
      transition: transform 0.3s ease;
    }
    
    .modal-overlay.visible .modal-content {
      transform: scale(1);
    }
    
    .modal-close {
      position: absolute;
      top: 10px;
      left: 15px; /* On the left for RTL layout */
      background: none;
      border: none;
      font-size: 2rem;
      color: #aaa;
      cursor: pointer;
      line-height: 1;
    }
    .modal-icon {
     display: flex;
    justify-content: center; /* center horizontally */
     }
    .modal-icon .icon { display: none; }
    .modal-icon svg { width: 60px; height: 60px; }

    /* Success State */
    .modal-content.success .icon-success { display: block; }
    .modal-content.success .icon-success circle { stroke: #28a745; }
    .modal-content.success .icon-success path { stroke: #28a745; }

    /* Error State */
    .modal-content.error .icon-error { display: block; }
    .modal-content.error .icon-error circle { stroke: #dc3545; }
    .modal-content.error .icon-error path { stroke: #dc3545; }
    
    .modal-title { font-size: 1.5rem; margin-top: 1rem; margin-bottom: 0.5rem; color: #333; }
    .modal-message { font-size: 1rem; color: #666; margin-bottom: 0; }
