/* 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 {
  background-color: #0056b3;
  padding: 20px 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.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: 80px;
}

/* 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: #1e1d19;
  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: #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;
}

.schedule-btn:hover {
  background-color: #004494;
  color: #fff;
}

/* Call Button */
.call-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;
}

.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;
  }

  .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;
  }

  .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 */
  }
}



/*Calendar*/
.main {
  padding: 40px 20px;
  text-align: center;
  display: block;
  background-color: #E1EEF8;
}

.schedule {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.schedule-container {
  display: flex;
  flex-direction: column; /* Stacks items vertically by default */
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.advisor-info, .calendar {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 350px; /* Ensures elements do not stretch too wide */
  box-sizing: border-box;
  margin-bottom: 20px;
  text-align: left;
}

.advisor-info img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.advisor-info h2, .advisor-info h3 {
  margin: 10px 0;
  text-align: center;
}

.advisor-info p {
  font-size: 0.9rem;
  margin: 10px 0;
}

.cookie-settings {
  font-size: 0.8rem;
  color: #007BFF;
  text-decoration: none;
  display: block;
  margin-top: 10px;
  text-align: center;
}

.calendar h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  text-align: center;
}

.month-selector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 10px;
}

.prev-month, .next-month {
  padding: 5px 10px;
  background-color: #e1e1e1;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
}

.days span {
  padding: 10px;
  background-color: #f1f1f1;
  border-radius: 5px;
  cursor: pointer;
}

.days span:hover {
  background-color: #e0e0e0;
}

.days .selected {
  background-color: #007BFF;
  color: #fff;
  border-radius: 50%;
}

.days .selected:hover {
  background-color: #0056b3;
}

.timezone-container {
  margin-top: 20px;
  position: relative;
  width: 100%;
}

.selected-timezone {
  text-align: left;
  cursor: pointer;
  padding: 8px;
  background-color: #f1f1f1;
  border-radius: 5px;
}

.selected-timezone p {
  font-size: 0.9rem;
  margin: 0;
  display: inline-block;
  width: 100%;
}

.selected-timezone:hover {
  background-color: #e0e0e0;
}

.timezone-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10;
  padding: 10px;
}

.timezone-dropdown input[type="text"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.time-format-toggle {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.time-format-toggle label {
  font-size: 0.9rem;
}

.timezone-list {
  max-height: 150px;
  overflow-y: scroll;
}

.timezone-list div {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  cursor: pointer;
}

.timezone-list div:last-child {
  border-bottom: none;
}

/* Media Query for larger screens */
@media (min-width: 768px) {
  .schedule-container {
      flex-direction: row; /* Side-by-side layout for larger screens */
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px; /* Space between advisor info and calendar */
  }

  .advisor-info, .calendar {
      width: 45%; /* Reduces width to fit side-by-side */
      max-width: 400px; /* Limits max width on larger screens */
  }

  .advisor-info img {
      width: 80%; /* Adjusts image width */
      height: auto;
      margin: 0 auto; /* Centers the image */
  }
}

@media (min-width: 1024px) {
  .schedule {
      font-size: 2.5rem; /* Larger font size for heading */
  }

  .advisor-info, .calendar {
      width: 40%; /* Further reduces width for a more compact layout */
      padding: 30px; /* Increased padding for larger screens */
  }

  .timezone-container {
      width: 90%; /* Adjusts timezone container width for larger screens */
  }
}

/*Calendar*/  

/* area served*/
.areas-served-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  box-sizing: border-box;
}

.shamsi {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.shamsi:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: #0066cc;
}

p.ex1 {
  font-size: 16px;
  margin-bottom: 30px;
  text-align: center;
}

.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 2px 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: column; /* Stacks items vertically by default */
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-section,
.info-section,
.signup-section {
  flex: 1 1 100%; /* Full width on smaller screens */
  max-width: 300px; /* Max width for larger screens */
  margin-bottom: 20px; /* Space between items */
  text-align: center; /* Center-align for smaller screens */
}

.logo-section img {
  width: 150px;
  margin-bottom: 20px;
}

.logo-section p {
  margin: 10px 0;
  font-size: 16px;
}

.logo-section a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.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;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  background-color: #007bff;
  color: white;
}

.info-section h4,
.signup-section h4 {
  color: #0056b3;
  text-decoration: underline;
  margin-bottom: 20px;
}

.info-section ul {
  list-style: none;
  padding: 0;
  text-align: center; /* Center-align list items on smaller screens */
}

.info-section ul li {
  margin: 15px 0;
}

.info-section ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: color 0.3s ease;
}

.info-section ul li a:hover {
  color: #0056b3;
}

.signup-section form {
  margin-top: 15px;
  text-align: center; /* Center-align form elements */
}

.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;
}

.marketing {
  margin-top: 20px;
  font-size: 12px;
}

.activecamp {
  font-size: 16px;
  margin-top: 3px;
}

.activecamp a {
  color: #007bff;
  text-decoration: none;
}

/* Media Query for larger screens */
@media (min-width: 768px) {
  .footer-row {
      flex-direction: row; /* Side-by-side layout for larger screens */
      justify-content: space-between;
      align-items: flex-start;
  }

  .logo-section,
  .info-section,
  .signup-section {
      flex: 1 1 30%; /* Equal width for each section */
      max-width: 300px;
      text-align: left; /* Align text to the left for larger screens */
  }

  .info-section ul {
      text-align: left; /* Align list items to the left */
  }

  .signup-section form {
      text-align: left; /* Align form elements to the left */
  }
}

@media (min-width: 1024px) {
  .footer-section {
      padding: 60px 40px; /* Increased padding for large screens */
  }

  .footer-row {
      max-width: 1400px; /* Larger container for big screens */
  }

  .logo-section,
  .info-section,
  .signup-section {
      max-width: 400px; /* Larger max width for sections */
  }
}


/* sign-up*/
/*footer*/
footer {
  text-align: center;
  padding-bottom: 20px;
  padding-top: 0;
  font-size: 14px;
  color: #333;
  width: 100%;
  background-color: #f9f9f9; /* Light gray background for the overall footer */
}

.footer-container {
  background-color: #d7eaf3; /* Light blue background for the copyright section */
  padding: 15px 20px;
  margin: 0 auto;
  width: 100%; /* Full width to fit the background size */
  box-sizing: border-box;
}

.powered-by {
  margin: 0;
  font-size: 14px;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.powered-by a {
  color: #007bff;
  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;
}

.divider {
  width: 1px;
  height: 14px;
  background-color: #333;
  margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
      width: 100%; /* Full width on smaller screens */
  }

  .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 */
  }
}

@media (max-width: 480px) {
  .powered-by {
      font-size: 12px; /* Smaller font size for very small screens */
  }

  .footer-links a {
      font-size: 12px; /* Adjust link font size for small screens */
  }
}

/*footer*/