/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body */
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
  }
  
  /* Top Header */
  /* Top Header */
  .top-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .top-header .left, 
  .top-header .right {
    background-color: #48b83d; /* Lime color */
    width: 10%; /* Adjust width if necessary */
    height: 50px; /* Adjust height to match your design */
  }
  
  .top-header .center {
    background-color: #005cb9; /* Blue color */
    width: 80%; /* Center takes the remaining space */
    height: 50px; /* Adjust height to match your design */
  }
  .top-header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
  }
  
  /* Header */
  header {
    background-color: white;
    color: #333;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
  }
  
  .logo img {
    height: 50px;
  }
  
  /* Navigation Menu */
  .nav-menu {
    display: flex;
    align-items: center;
  }
  
  .nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
  }
  
  .nav-menu ul li {
    margin: 0 1rem;
    position: relative;
  }
  
  .nav-menu ul li a {
    text-decoration: none;
    color: #2a2a29;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .nav-menu ul li a:hover {
    color: #086eda;
  }
  
  /* Services Dropdown */
  .services-dropdown {
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .services-dropdown .services-link {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: auto;
  }
  
  .services-dropdown .dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    padding: 0;
    margin-left: 5px; /* Ensure no gap between text and icon */
    display: flex;
    align-items: center;
  }
  
  .services-dropdown .dropdown-toggle i {
    font-size: 16px;
    transition: transform 0.3s ease;
  }
  
  .dropdown-toggle.active i {
    transform: rotate(180deg);
  }
  
  /* Dropdown Content */
  .services-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    padding: 1rem;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    width: max-content;
  }
  
  .services-dropdown.active .dropdown-content {
    display: flex;
  }
  
  /* Dropdown Columns */
  .dropdown-columns {
    display: flex;
    justify-content: space-between;
  }
  
  .dropdown-column {
    padding: 1rem;
    text-align: left;
  }
  
  .dropdown-column h3 {
    color: #1e1d19;
    margin-bottom: 0.5rem;
    font-weight: bold;
    border-bottom: 2px solid #086eda;
    padding-bottom: 0.5rem;
  }
  
  .dropdown-column a {
    color: #1e1d19;
    padding: 0.5rem 0;
    display: block;
    text-decoration: none;
  }
  
  .dropdown-column a:hover {
    color: #086eda;
  }
  
  /* Divider between Accounting and Tax Services */
  .dropdown-divider {
    width: 1px;
    background-color: #ddd;
    margin: 0 20px;
    display: block;
  }
  
  /* Header Buttons */
  .header-buttons {
    display: flex;
    align-items: center;
  }
  
  /* Schedule Button */
  .schedule-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-right: 10px;
  }
  
  .schedule-btn:hover {
    background-color: #004494;
    color: #fff;
  }
  
  /* Call Button 
  .call-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .call-btn:hover {
    background-color: #005fa3;
  }
  */
  /* Menu Toggle Button for Mobile */
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  /* Close Button for Mobile Menu */
  .close-nav {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 10px;
  }
  
  /* Mobile Logo in Menu */
  .mobile-logo {
    display: none;
    margin-bottom: 20px;
  }
  
  .mobile-logo img {
    height: 50px;
    width: auto;
  }
  
  /* Mobile Navigation Menu */
  @media (max-width: 768px) {
    header {
      flex-direction: row;
      align-items: center;
      padding: 15px 20px;
    }

    .top-header .left, 
    .top-header .right {
      background-color: #48b83d; /* Lime color */
      width: 100%; /* Adjust width if necessary */
      height: 10px; /* Adjust height to match your design */
    }
    .top-header .center {
      background-color: #005cb9; /* Blue color */
      width: 100%; /* Center takes the remaining space */
      height: 20px; /* Adjust height to match your design */
    }
    .top-header {
      flex-direction: column;
      width: 100%;
    }
  
    .logo img {
      height: 50px;
    }
  
    .nav-menu {
      position: fixed;
      top: 0;
      left: -100%;
      height: 100%;
      width: 250px;
      background-color: #fff;
      box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
      align-items: center;  /* Center align all nav items */
      padding: 20px;
      transition: left 0.3s ease;
      z-index: 1001;
      overflow-y: auto; /* Enables vertical scrolling */
    }
  
    .nav-menu.show {
      left: 0;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .close-nav {
      display: block;
    }
  
    .schedule-btn {
      background-color: #0077be;
      color: #fff;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      transition: background-color 0.3s ease;
      margin-right: 10px;
      margin-bottom: 15px;
    }
  
    .mobile-logo {
      display: block;
    }
  
    .header-buttons {
      display: none;
    }
  
    .services-dropdown {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
  
    .services-link {
      display: flex;
      justify-content: center;
      align-items: center;
      width: auto;
      cursor: pointer;
    }
  
    .dropdown-toggle {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 16px;
      color: #333;
      padding: 0;
      margin-left: 5px; /* Ensure no gap between text and icon */
      display: flex;
      align-items: center;
    }
  
    .dropdown-toggle i {
      font-size: 16px;
      transition: transform 0.3s ease;
    }
  
    .dropdown-toggle.active i {
      transform: rotate(180deg);
    }
  
    .services-dropdown .dropdown-content {
      position: static;
      transform: none;
      box-shadow: none;
      padding: 0;
      display: none;
      flex-direction: column; /* Vertical for mobile */
      width: 100%;
    }
  
    .services-dropdown.active .dropdown-content {
      display: block;
    }
  
    .dropdown-column {
      padding: 10px 0;
      width: 100%;
    }
  
    .dropdown-divider {
      display: none;
    }
  
    .nav-menu ul {
      flex-direction: column;
      width: 100%;
      align-items: center;  /* Center align all nav items */
    }
  
    .nav-menu ul li {
      margin: 10px 0;
      text-align: center; /* Center align nav bar text only */
    }
  
    /* Ensure correct order of items */
    .nav-menu ul li:nth-child(1) {
      order: 1; /* Home */
    }
  
    .nav-menu ul li:nth-child(2) {
      order: 2; /* About */
    }
  
    .nav-menu ul li:nth-child(3) {
      order: 3; /* Services */
    }
  
    .nav-menu ul li:nth-child(4) {
      order: 4; /* Blog */
    }
  
    .nav-menu ul li:nth-child(5) {
      order: 5; /* Contact */
    }
  }
  
  /* Hero Section */
  .hero {
    background-color: #f4f4f4;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #2980b9;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .highlight {
    color: #0056b3;
  }
  
  /* Responsive Styles */
  @media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
  }
  
  @media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
  }
  
  @media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
  
    .hero-content {
        padding: 2rem;
    }
  }
  
  @media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
  
    .hero-content {
        padding: 1rem;
    }
  }
  
  
  /*form*/
  
  .contact-section {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding: 40px;
      background-color: #fff;
      max-width: 1200px;
      margin: 40px auto;
      gap: 40px;
  }
  
  .form-container,
  .info-container {
      background-color: #fff;
      padding: 20px;
      border: 1px solid #ddd;
      border-radius: 5px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      flex: 1;
     
  }
  
  .form-container h2,
  .info-container h2 {
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 10px;
  }
  
  .form-container p,
  .info-container p {
      margin-bottom: 20px;
      color: #555;
  }
  
  form input,
  form textarea {
      width: calc(100% - 20px);
      padding: 10px;
      margin-bottom: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      font-family: Arial, sans-serif;
      
  }
  
  form textarea {
      height: 80px;
  }
  
  form button {
      width: 100px;
      padding: 10px;
      background-color: #007BFF;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
      transition: transform 0.3s ease;
      
      /* ADDED STYLES TO CENTER THE BUTTON */
      display: block;  /* Makes the button a block-level element */
      margin: 0 auto;  /* Centers the block-level element horizontally */
  }
  
  form button:hover {
      background-color: #0056b3;
      transform: scale(1.05);
  }
  
  .map-placeholder {
      width: 100%;
      height: 300px;
      border: none;
      border-radius: 5px;
      overflow: hidden;
  }
  
  .toast {
      visibility: hidden;
      min-width: 250px;
      margin-left: -125px;
      background-color: #333;
      color: #fff;
      text-align: center;
      border-radius: 2px;
      padding: 16px;
      position: fixed;
      z-index: 1;
      left: 50%;
      bottom: 30px;
      font-size: 17px;
  }
  
  .toast.show {
      visibility: visible;
      -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
      animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  @-webkit-keyframes fadein {
      from {bottom: 0; opacity: 0;}
      to {bottom: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
      from {bottom: 0; opacity: 0;}
      to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
      from {bottom: 30px; opacity: 1;}
      to {bottom: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
      from {bottom: 30px; opacity: 1;}
      to {bottom: 0; opacity: 0;}
  }
  
  @media (max-width: 768px) {
      .contact-section {
          flex-direction: column;
          align-items: center;
      }
  
      .form-container, .info-container {
          width: 90%;
      }
  }
  @media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        align-items: center;
    }
  
    .form-container, .info-container {
        width: 100%; /* Full width for smaller screens */
        max-width: 600px; /* Optional maximum width */
    }
  }
  
  @media (max-width: 480px) {
    .form-container, .info-container {
        padding: 10px; /* Reduced padding for very small screens */
    }
  
    form input,
    form textarea {
        width: calc(100% - 10px); /* Adjusted width for small screen */
        padding: 8px; /* Smaller padding for inputs */
    }
  
    form button {
        width: 100%; /* Full width for the button */
        padding: 12px; /* Increased padding for touch comfort */
    }
  }
  
  
    /* area served*/
  .areas-served-section {
      max-width:1500px;
      margin: 0 auto;
      padding: 60px 20px;
      background-color: #005cb9;
      box-sizing:border-box;
    }
    
    .shamsi {
      font-size: 32px;
      font-weight: bold;
      margin-bottom: 20px;
      text-align: center;
      position: relative;
      color: #ffffff;
    }
    
    .shamsi:after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 2px;
      background-color: #ffffff;
    }
    
    p.ex1 {
      font-size: 16px;
      margin-bottom: 30px;
      text-align: center;
      color: #ffffff;
    }
    
    .map-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-gap: 30px;
      box-sizing: border-box;
    }
    
    .map-container {
      background-color: white;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      box-sizing: border-box;
    }
    
    .map-container h3 {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 10px;
    }
    
    .map-placeholder {
      width: 100%;
      height: 200px;
      border-radius: 4px;
      overflow: hidden;
    }
    
    .map-placeholder iframe {
      width: 100%;
      height: 100%;
    }
    
    .view-map {
      display: block;
      text-align: right;
      color: #0066cc;
      text-decoration: none;
      margin-top: 10px;
    }
    
    /* Responsive Design */
    @media (max-width: 1024px) {
      .map-grid {
          grid-template-columns: repeat(2, 1fr); /* Adjust to two columns for tablets */
      }
    }
    
    @media (max-width: 768px) {
      .map-grid {
          grid-template-columns: repeat(2, 1fr); /* Keep two columns for smaller screens */
      }
    
      .shamsi {
          font-size: 28px; /* Adjust heading size for smaller screens */
      }
    
      p.ex1 {
          font-size: 15px; /* Adjust paragraph font size */
      }
    }
    
    @media (max-width: 480px) {
      .map-grid {
          grid-template-columns: 1fr; /* Single column layout for mobile devices */
      }
    
      .shamsi {
          font-size: 24px; /* Further adjust heading size for mobile */
      }
    
      p.ex1 {
          font-size: 14px; /* Further adjust paragraph font size */
      }
    
      .map-container {
          padding: 15px; /* Reduce padding for smaller screens */
      }
    
      .view-map {
          font-size: 14px; /* Adjust link font size for readability */
      }
    }
    
    /* area served*/
    /* sign-up*/
    .footer-section {
      background-color: #ffffff;
      padding: 40px 20px;
      text-align: left;
      font-family: Arial, sans-serif;
      box-sizing: border-box;
    }
    
    .footer-row {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .logo-section img {
      width: 375px; /* Increase the size of the logo */
      height: auto;
      margin-right: 180px;
    }
    
    .info-section {
      text-align: left;
      flex: 1;
    }
    
    .info-section h4 a {
      color: #0056b3;
      text-decoration: none;
      font-size: 1.5rem;
      transition: color 0.3s ease;
    }
    
    .info-section h4 a:hover {
      color: #003f7f;
    }
    
    .info-section p {
      margin: 10px 0;
      font-size: 16px;
    }
    
    .social-icons {
      margin-top: 20px;
    }
    
    .social-icon {
      display: inline-block;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 2px solid #007bff;
      color: #007bff;
      text-align: center;
      line-height: 36px;
      margin-right: 10px;
      margin-bottom: 10px;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .social-icon:hover {
      background-color: #007bff;
      color: white;
    }
    
    .signup-section {
      flex: 1;
    }
    
    .signup-section h4 {
      color: #0056b3;
      text-decoration: underline;
      margin-bottom: 20px;
    }
    
    .signup-section input[type="text"],
    .signup-section input[type="email"] {
      width: 100%;
      padding: 10px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 16px;
    }
    
    .signup-section button {
      padding: 10px 20px;
      background-color: #0056b3;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    
    .signup-section button:hover {
      background-color: #003f7f;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
      .footer-row {
          flex-direction: column;
          align-items: center;
      }
    
      .logo-section {
          margin-bottom: 20px;
      }

      .logo-section img {
        width: 250px; /* Increase the size of the logo */
        height: auto;
        margin-right: 50px;
      }
    
      .info-section {
          text-align: center;
      }
    
      .signup-section {
          text-align: center;
      }
    }
    
    
/* sign-up*/
  
/*footer*/
  footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: #f9f9f9; /* Default background color for overall footer */
    padding-bottom: 20px;
    padding-top: 0;
    font-size: 14px;
    color: #333;
  }
  
  .footer-container {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
  }
  
  .footer-left, 
  .footer-right {
    background-color: #48b83d; /* Lime color for the sides */
    width: 10%; /* Adjust as necessary */
    height: 60px; /* Adjust height as necessary */
  }
  
  .footer-center {
    background-color: #005cb9; /* Blue color for the center */
    width: 80%; /* Center takes the remaining space */
    height: 60px; /* Adjust height as necessary */
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: center; /* Centers the content vertically */
  }
  
  .powered-by {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
  }
  
  .powered-by a {
    color: #48b83d;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex; /* To align the image and text */
    align-items: center;
    margin-left: 5px; /* Space between text and link */
  }
  
  .footer-logo {
    width: 150px; /* Adjust the width for desktop */
    height: auto;
    margin-right: 5px; /* Space between the logo and the text */
    padding-left: 15px;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
    padding: 10px 0;
  }
  
  .footer-links a {
    color: #007bff;
    text-decoration: none;
    padding: 0 10px;
    font-size: 14px;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        width: 100%; /* Full width on smaller screens */
    }
  
    .footer-center {
        width: 100%;
    }
  
    .footer-left, 
    .footer-right {
        width: 100%;
        height: 10px; /* Adjust height for mobile */
    }
  
    .powered-by {
        flex-direction: column; /* Stack logo and text vertically */
        text-align: center; /* Center-align text */
    }
  
    .footer-logo {
        width: 130px; /* Smaller width for mobile screens */
    }
  
    .footer-links {
        flex-direction: column; /* Stack links vertically */
        align-items: center;
    }
  
    .footer-links a {
        padding: 5px 0;
    }
  
    .divider {
        display: none; /* Hide dividers on small screens */
    }
  }
  /*footer*/
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  