body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  
  header {
      background: linear-gradient(135deg, #0056b3, #007bff);
      color: #fff;
      padding: 1em 0;
  }
  
  header nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
      text-align: center;
  }
  
  header nav ul li {
      display: inline;
      margin: 0 1em;
  }
  
  header nav ul li a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      padding: 0.5em 1em;
      border-radius: 5px;
      transition: background-color 0.3s ease;
  }
  
  header nav ul li a:hover {
      background-color: rgba(255, 255, 255, 0.1);
  }
  
  header h1 {
      text-align: center;
      color: #0056b3;
  }
  
  .hero {
      display: flex;
      justify-content: center; /* Changed to center */
      align-items: center;
      padding: 3em 2em;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      margin: 2em;
  }
  
   .hero-image img {
     max-width: 550px;
     height: auto;
     border-radius: 10px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     margin-right: 2em; /* Add margin between image and form */
   }
  
  @media (max-width: 768px) {
   .hero-image img {
     max-width: 100%; /* Ensure image scales down on mobile */
     height: auto;
     margin-right: 0; /* Remove right margin on mobile */
     margin-bottom: 1em; /* Add bottom margin to separate image and form */
   }
  
  .hero-form {
    background-color: #f4f4f4; /* Light grey form background */
    padding: 1.5em; /* Reduced padding for mobile */
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08); /* Slightly stronger shadow */
    width: 550px; /* Match image width */
    /* display: flex;  Enable flex layout */
    flex-direction: row; /* Arrange items horizontally */
    align-items: center; /* Vertically align items in the center */
  }
}
 
 .hero-form h2 {
      text-align: center;
      margin-bottom: 1em;
  }
  
  .hero-form input {
        display: block;
        margin-bottom: 1.2em;
        padding: 1em;
        border-radius: 6px;
        border: 1px solid #ccc;
        width: calc(100% - 2em); /* Adjust width to account for padding and border */
        box-sizing: border-box;
        font-size: 1em;
        color: #555;
    }
  
  .hero-form input:focus {
      outline: none;
      border-color: #007bff; /* Highlight color on focus */
      box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Add a subtle shadow on focus */
  }
  
  .hero-form button {
      background-color: #007bff;
      color: #fff;
      border: none;
      padding: 1em 2em;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1.1em;
      transition: background-color 0.3s ease;
  }
  
  .hero-form button:hover {
      background-color: #0056b3; /* Darker shade on hover */
  }
  footer {
      text-align: center;
      padding: 1.5em 0;
      background-color: #ddd;
      color: #555;
      font-size: 0.9em;
      position: relative;
  }
  
  /* Steps Section Styles */
  .steps-section {
      background-color: #f9f9f9;
      padding: 2em 0;
      text-align: center;
  }
  
  .steps-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2em;
  }
  
  .steps-section h2 {
      color: #0056b3;
      margin-bottom: 0.5em;
  }
  
  .steps-section p {
      color: #777;
      line-height: 1.7;
      margin-bottom: 2em;
  }
  
  .steps-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2em;
  }
  
  .step {
      background-color: #fff;
      padding: 2em;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease;
  }
  
  .step:hover {
      transform: translateY(-5px);
      box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
  }
  
  .step img {
      max-width: 50px;
      margin-bottom: 1em;
  }
  
  .step h3 {
      color: #007bff;
      margin-bottom: 0.5em;
  }
  
  .step p {
      color: #555;
  }
  
  /* Info Section Styles */
  .info-section {
      background-color: #fff;
      padding: 2em 0;
      text-align: left;
  }
  
  .info-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2em;
  }
  
  .info-section h2 {
      color: #0056b3;
      margin-bottom: 1em;
  }
  
  .info-section p {
      color: #666;
      line-height: 1.8;
      margin-bottom: 1.5em;
  }
  
  .info-section h3, .info-section h4 {
      color: #007bff;
      margin-top: 1em;
      margin-bottom: 0.5em;
  }
  
  .locations-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive grid */
      gap: 1em;
      padding: 20px;
  }
  
  .location-box {
      border: 1px solid #ccc;
      padding: 15px;
      border-radius: 5px;
      background-color: #f9f9f9;
      text-align: center;
  }
  
  .info-section ul {
      list-style-type: disc;
      padding-left: 1.5em;
      color: #555;
  }
  
  .info-section li {
      margin-bottom: 0.5em;
  }
  
  /* Licences Section Styles */
  .licences-section {
      text-align: center;
      padding: 2em 0;
  }
  
  .licences-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2em;
  }
  
  .licences-section h2 {
      color: #0056b3;
      margin-bottom: 1em;
  }
  
  .licences-section img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Steps Section Styles */
  .steps-section {
      background-color: #f9f9f9;
      padding: 4em 0;
      text-align: center;
  }
  
  .steps-container {
      max-width: 1200px;
  }
  
  .guides-section {
      text-align: center;
      margin: 0 auto;
      padding: 0 2em;
  }
  
  .steps-section h2 {
      color: #0056b3;
      margin-bottom: 0.5em;
  }
  
  .steps-section p {
      color: #777;
      line-height: 1.7;
      margin-bottom: 2em;
  }
  
  .steps-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2em;
  }
  
  .step {
      background-color: #fff;
      padding: 2em;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .step:hover {
      transform: translateY(-5px);
      box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
  }
  
  .step img {
      max-width: 50px;
      margin-bottom: 1em;
  }
  
  .step h3 {
      color: #007bff;
      margin-bottom: 0.5em;
  }
  
  .step p {
      color: #555;
  }
  
  /* Steps Section Styles */
  .steps-section {
      background-color: #f9f9f9;
      padding: 4em 0;
      text-align: center;
  }
  
  .steps-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2em;
  }
  
  .steps-section h2 {
      color: #0056b3;
      margin-bottom: 0.5em;
  }
  
  .steps-section p {
      color: #777;
      line-height: 1.7;
      margin-bottom: 2em;
  }
  
  .steps-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2em;
  }
  
  .step {
      background-color: #fff;
      padding: 2em;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease;
  }
  
  .step:hover {
      transform: translateY(-5px);
      box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
  }
  
  .step img {
      max-width: 50px;
      margin-bottom: 1em;
  }
  
  .step h3 {
      color: #007bff;
      margin-bottom: 0.5em;
  }
  
  .step p {
      color: #555;
  }
  
  .steps-section {
      background-color: #f9f9f9;
      padding: 4em 0;
      text-align: center;
  }
  
  .steps-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2em;
  }
  
  .steps-section h2 {
      color: #0056b3;
      margin-bottom: 0.5em;
  }
  
  .steps-section p {
      color: #777;
      line-height: 1.7;
      margin-bottom: 2em;
  }
  
  .steps-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2em;
  }
  
  .step {
      background-color: #fff;
      padding: 2em;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease;
  }
  
  .step:hover {
      transform: translateY(-5px);
      box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
  }
  
  .step img {
      max-width: 50px;
      margin-bottom: 1em;
  }
  
  .step h3 {
      color: #007bff;
      margin-bottom: 0.5em;
  }
  
  .step p {
      color: #555;
  }
  
  
  /* Features Section Styles */
  .features-section {
      padding: 2em 0;
      background-color: #f4f4f4;
  }
  
  .features-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2em;
  }
  
  .features-row {
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      align-items: stretch;
      flex-wrap: wrap;
      gap: 20px;
  }
  
  .feature-item {
      background-color: #fff;
      border-radius: 10px;
      padding: 20px;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease-in-out;
      flex: 1;
      min-width: 300px;
  }
  
  .feature-item:hover {
      transform: translateY(-5px);
  }
  
  .feature-item img {
      max-width: 80px;
      height: auto;
      margin-bottom: 15px;
  }
  
  .feature-item h3 {
      color: #0056b3;
      margin-bottom: 10px;
  }
  
  .feature-item p {
      color: #555;
  }
  
  /* Guides Section Styles */
  .guides-section {
      padding: 2em 0;
      background-color: #f9f9f9;
  }
  
  .guides-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2em;
  }
  
  .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2em;
  }
  
  .dashboard-panel {
      background-color: #fff;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease-in-out;
  }
  
  .dashboard-panel:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  }
  
  .dashboard-panel h3 {
      color: #0056b3;
      margin-bottom: 10px;
  }
  
  .dashboard-panel p {
      color: #555;
  }
  /* Article Page Styles */
  body.article-page {
      padding: 2em;
      margin: 1em auto;
      max-width: 800px;
      line-height: 1.6;
      color: #333;
  }
  
  .article-content {
      background-color: #fff;
      padding: 1.5em;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .article-content h2, .article-content h3 {
      color: #0056b3;
      margin-top: 1.5em;
      margin-bottom: 0.5em;
  }
  
  .article-content p {
      margin-bottom: 1em;
  }
  
  .article-content ul {
      margin-bottom: 1em;
  }
  
  .article-content li {
      margin-bottom: 0.5em;
      list-style-type: disc;
      margin-left: 1.5em;
  }
  
  /* Full width header and footer on article pages */
  body.article-page header,
  body.article-page footer {
      width: 100%;
      max-width: none; /* Set max-width to none to allow full width */
      padding-left: 0;
      padding-right: 0;
      margin-left: 0;
      margin-right: 0;
      padding-top: 0; /* Remove padding */
      padding-bottom: 0; /* Remove padding */
      box-sizing: border-box; /* Ensure padding is included in width */
  }
  body.article-page header,
  body.article-page footer {
      box-sizing: border-box; /* Ensure padding is included in width */
  }
  
  @media (max-width: 768px) {
      .locations-grid {
          grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); /* Make locations full width on mobile */
      }
      .feature-item {
          min-width: 100%; /* Make feature items full width on mobile */
      }
      .dashboard-grid {
          grid-template-columns: 1fr; /* Stack dashboard panels on mobile */
      }
  }
  @media (max-width: 768px) {
    .steps-container,
    .info-container,
    .licences-container,
    .guides-container,
    .features-container,
    .guides-container {
      max-width: 100%;
      padding-left: 1em;
      padding-right: 1em;
    }
  }
  @media (max-width: 768px) {
    .hero {
      flex-direction: column;
    }
    .hero-image img {
      max-width: 100%;
      margin-right: 0; /* Remove right margin on mobile */
      margin-bottom: 1em; /* Add bottom margin to separate image and form */
    }
    .hero-form {
      width: auto; /* Make form full width on mobile and adjust width automatically */
      max-width: 100%; /* Ensure form does not exceed container width */
    }
  }
  @media (max-width: 768px) { /* Added closing brace here */
    body.article-page header,
    body.article-page footer {
      padding-left: 1em;
      padding-right: 1em;
    }
  }
  
  .responsive-image {
    max-width: 100%;
    height: auto;
  }

  /* Mobile Styles */
@media (max-width: 768px) {
    .desktop-image {
      display: none;
    }
    .mobile-images {
      display: block !important; /* Override inline style if necessary */
    }
    .mobile-images img {
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
  }
