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


/*hero section*/
.hero-section {
  display: flex;
  flex-wrap: wrap; /* Allows the content to wrap on smaller screens */
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px; /* Adjusted padding for better responsiveness */
  background-color: #E1EEF8;
  box-sizing: border-box; /* Ensures padding and border are included in the total width */
  text-align: center; /* Center-align content for smaller screens */
}

.hero-content {
  width: 100%; /* Full width on smaller screens */
  padding: 20px;
  box-sizing: border-box;
  margin: 0; /* Removed margin for consistency */
}

.hero-title {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 2em; /* Smaller font size for better responsiveness */
  padding: 0 10px;
}

.hero-title span {
  color: #0066cc;
  padding-left: 6px;
}

.hero-description {
  margin-bottom: 20px;
  font-size: 1em; /* Adjusted font size for consistency */
  padding: 0 12px;
}

.hero-button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  transition: transform 0.3s ease;
  margin-top: 10px; /* Added margin-top for consistency */
  margin-left: 14px;
}

.hero-button:hover {
  transform: scale(1.1);
  background-color: black;
}

.hero-image {
  width: 100%; /* Full width on smaller screens */
  box-sizing: border-box;
  margin-top: 20px; /* Added margin for spacing between image and text */
}

.hero-image img {
  max-width: 100%;
  height: auto; /* Ensures image maintains aspect ratio */
}

/* Media Query for larger screens */
@media (min-width: 768px) {
  .hero-section {
      flex-wrap: nowrap; /* Prevent wrapping on larger screens */
      padding: 80px 40px; /* Increased padding for larger screens */
      text-align: left; /* Align text left for better layout */
  }

  .hero-content {
      width: 50%; /* Half width on larger screens */
      margin-left: 20px; /* Margin for spacing between content and image */
  }

  .hero-title {
      font-size: 3em; /* Larger font size for larger screens */
  }

  .hero-description {
      font-size: 1.2em; /* Slightly larger font size */
  }

  .hero-button {
      margin-left: 14px; /* Reset margin for proper alignment */
  }

  .hero-image {
      width: 50%; /* Half width on larger screens */
      margin-top: 0; /* Remove top margin for side-by-side layout */
  }
}

@media (min-width: 1024px) {
  .hero-title {
      font-size: 3.5em; /* Even larger font size for bigger screens */
  }

  .hero-description {
      font-size: 1.4em; /* Larger description font size */
  }

  .hero-content {
      margin-left: 90px; /* Adjusted margin for larger screens */
  }

  .hero-image {
      margin-right: 110px; /* Adjusted margin for larger screens */
  }
}

/*hero section*/

/*2nd section*/
.accounting-services-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #ffffff;
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  width: 100%;
}

.first-part {
  display: flex;
  flex-direction: column; /* Stacks items vertically by default */
  align-items: center;
  justify-content: center;
  text-align: center; /* Centers text for smaller screens */
}

.image-section {
  flex: 1;
  width: 100%; /* Full width on smaller screens */
  margin-bottom: 20px; /* Space between image and text on smaller screens */
}

.image-section img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-left: 0;
}

.text-section {
  flex: 1;
  padding: 20px; /* Consistent padding */
  box-sizing: border-box;
}

.text-section h2 {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  text-decoration: none;
}

.text-section h2 a {
  text-decoration: none;
  color: #000;
}

.text-section p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-discovery {
  display: inline-block;
  padding: 12px 20px;
  font-size: 1em;
  color: white;
  background-color: #007BFF;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.2s ease;
  margin-top: 20px;
}

.btn-discovery:hover {
  transform: scale(1.05);
  background-color: black;
}

/* Media Query for larger screens */
@media (min-width: 768px) {
  .first-part {
      flex-direction: row; /* Side-by-side layout for larger screens */
      align-items: flex-start; /* Align items to the top */
      text-align: left; /* Left align text for larger screens */
  }

  .image-section {
      width: 45%; /* Image section takes less width on larger screens */
      margin-bottom: 0; /* Remove bottom margin for side-by-side layout */
  }

  .text-section {
      width: 45%; /* Text section takes less width on larger screens */
      padding: 20px 40px; /* Adjust padding for better spacing */
      margin-left: 40px; /* Gap between image and text section */
  }
}

@media (min-width: 1024px) {
  .text-section h2 {
      font-size: 2em; /* Larger font size for big screens */
  }

  .text-section p {
      font-size: 1.1em; /* Slightly larger text size */
  }

  .text-section {
      padding: 20px 60px; /* Increase padding for more space on larger screens */
  }
}


/*2nd section*/

/*3rd section*/
.book {
  background-color: #E1EEF8;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.content-book {
  max-width: 800px;
  text-align: center;
}

.heading-book {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.heading-book a {
  text-decoration: none;
  color: #000;
}

.subtext-book {
  font-size: 1em;
  margin-bottom: 20px;
  color: #000;

}

.consultant-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  color: #000;
}

.consultant-list li {
  font-size: 1em;
  margin: 10px 0;
  position: relative;
  padding-left: 40px;
}

.check-icon {
  color: #fff;
  background-color: #007BFF;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.discovery-call-button {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  transition: transform 0.3s ease;
  margin-top: 20px;
}

.discovery-call-button:hover {
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .heading-book {
      font-size: 1.5em;
  }
  .subtext-book,
  .consultant-list li,
  .discovery-call-button {
      font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .heading-book {
      font-size: 1.2em;
  }
  .subtext-book,
  .consultant-list li,
  .discovery-call-button {
      font-size: 0.8em;
  }
  .consultant-list li {
      padding-left: 30px;
  }
  .check-icon {
      width: 20px;
      height: 20px;
      font-size: 14px;
      left: 0;
  }
}

/*3rd section*/

/*4th section*/
.expert {
  background-color: #ffffff;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%; /* Ensures it spans full width of the container */
}

.services-section {
  
  max-width: 800px; /* Adjusted for better fit on wider screens */
  text-align: center;
/* Added slight rounding for aesthetics */
}

.section-heading {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  text-align: center;
  margin-bottom: 20px;
}

.section-heading a {
  text-decoration: none;
  color: #000;
}

.heading-divider {
  width: 60px;
  height: 2px;
  background-color: #007BFF;
  margin: 10px auto;
}

.services-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  margin-top: 20px;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 20px;
  width: 45%; /* Occupies half-width on larger screens */
  text-align: left;
  box-sizing: border-box;
}

.services-list li {
  font-size: 16px;
  margin: 20px 0;
  position: relative;
  padding-left: 40px; /* Space for the icon */
}

.check-icon {
  color: #fff;
  background-color: #007BFF;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(25%);
}

.discovery-call-button {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 30px;
  transition: transform 0.3s ease;
  font-size: 18px;
}

.discovery-call-button:hover {
  transform: scale(1.05);
  background-color: black;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-list {
      width: 100%; /* Full width on medium screens */
      margin-bottom: 20px;
  }

  .services-container {
      flex-direction: column; /* Stack services vertically */
  }

  .section-heading {
      font-size: 26px; /* Adjust font size for better fit */
  }

  .discovery-call-button {
      font-size: 16px; /* Adjust button size */
      padding: 12px 20px; /* Adjust button padding */
  }
}

@media (max-width: 768px) {
  .services-list li {
      font-size: 14px; /* Adjust font size for readability */
      padding-left: 35px; /* Adjust padding for smaller screens */
  }

  .services-section {
      padding: 30px 10px; /* Adjust padding for better fit */
  }

  .section-heading {
      font-size: 24px; /* Further adjust heading size */
  }
}

@media (max-width: 480px) {
  .section-heading {
      font-size: 22px; /* Adjust heading size for mobile */
  }

  .services-list li {
      font-size: 14px; /* Further adjust font size for mobile */
      margin: 15px 0; /* Adjust margin for spacing */
  }

  .check-icon {
      width: 20px;
      height: 20px;
      font-size: 14px;
  }

  .discovery-call-button {
      font-size: 14px;
      padding: 10px 15px; /* Smaller padding for mobile */
  }
}

/*4th section*/
/*5th section*/
.tax-resolution-process {
  text-align: center;
  padding: 40px 20px; /* Added padding to ensure spacing on smaller devices */
  background-color: #E1EEF8; /* Added background color for better visibility */
  box-sizing: border-box; /* Ensure padding is included in the element's total width */
  width: 100%;
  height: auto;
}

.tax-resolution-process h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.heading-link {
  text-decoration: none;
  color: black;
}

.steps-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 20px;
  margin-right: 12px;
}

.step {
  flex: 1 1 45%; /* Allow steps to take up half the width on larger screens */
  max-width: 250px; /* Limit maximum width for better control */
  text-align: center;
  margin: 10px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.subheading-link {
  text-decoration: none;
  color: #007bff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5em;
}

.step p {
  color: black;
  font-size: 1em;
  margin-top: 10px;
}

.discovery-call-button {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1em;
  border-radius: 5px;
  transition: transform 0.3s ease;
  margin-top: 20px; /* Added margin for spacing */
}

.discovery-call-button:hover {
  transform: scale(1.05);
  background-color: black;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .steps-container {
      flex-direction: column;
      align-items: center;
  }

  .step {
      width: 80%; /* Adjusted width for tablet view */
      max-width: none; /* Remove max-width to allow full width */
      margin-bottom: 20px;
  }

  .tax-resolution-process h1 {
      font-size: 2em; /* Adjusted font size for smaller screens */
  }

  .subheading-link {
      font-size: 1.2em; /* Adjusted font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .tax-resolution-process h1 {
      font-size: 1.8em; /* Further reduce font size for mobile view */
  }

  .step {
      width: 100%; /* Full width for mobile view */
      padding: 15px; /* Adjust padding for better spacing */
  }

  .subheading-link {
      font-size: 1em; /* Smaller font size for mobile */
  }

  .discovery-call-button {
      font-size: 0.9em; /* Adjusted font size for mobile */
      padding: 8px 16px; /* Adjusted padding for better touch targets */
  }
}

/*5th section*/
/*6th section*/
.tax-planning3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top:40px;
  background-color: #ffffff;
  background-size: cover;
  box-sizing: border-box;
  
}

.tax-planning-container3 {
  max-width: 1400px;
  width: 100%;
  background-color: #ffffff;
  padding: 40px 40px ;
  border-radius: none;
  text-align: center;
  box-sizing: border-box;
}

.main-text-container {
  text-align: center;
  margin-bottom: 40px;
}

.main-heading {
  font-size: 2em;
  color: #000;
  margin-bottom: 10px;
}

.main-heading a {
  text-decoration: none;
  color: #000;
}

.main-subtext {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
}

.content-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Ensure it wraps on smaller screens */
}

.text-container {
  flex: 1;
  text-align: left;
  padding: 20px;
}

.secondary-heading {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.secondary-heading a {
  text-decoration: none;
  color: #000;
}

.secondary-subtext {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.discovery-call-button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.discovery-call-button:hover {
  transform: scale(1.05);
  background-color: black;
}

@media (max-width: 768px) {
  .content-block {
      flex-direction: column;
      align-items: center;
  }

  .text-container, .image-container {
      flex: 1 1 100%;
  }

  .main-heading {
      font-size: 1.8em;
  }

  .secondary-heading {
      font-size: 20px;
  }

  .main-subtext, .secondary-subtext {
      font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .main-heading {
      font-size: 1.5em;
  }

  .secondary-heading {
      font-size: 18px;
  }

  .main-subtext, .secondary-subtext {
      font-size: 0.8em;
  }

  .discovery-call-button {
      font-size: 0.8em;
      padding: 8px 16px;
  }
}

/*6th section*/

/*Accounting_service*/

.accounting-services {
  padding: 50px 20px;
  text-align: center;
  margin-bottom: 1px;
  margin-top: 1px;
  background-color: #E1EEF8;
}

.accounting-services h2 {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  margin-top: 8px;
}

.accounting-services h2 a {
  color: #000;
  text-decoration: none;
}

.accounting-services h2 a:hover {
  text-decoration: underline;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  perspective: 1000px;
  height: 300px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-front {
  background-color: #f8f9fa;
}

.card-back {
  background-color: #007bff;
  color: white;
  transform: rotateY(180deg);
  padding: 1rem;
}

.card-front img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.card-front h3 {
  margin-top: 1rem;
}

.card-back h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 22px;
}

.card-back p {
  font-size: 0.9rem;
  font-weight: 400;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .services-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
  }

  .service-card {
      height: 250px; /* Adjust height for smaller screens */
  }

  .card-front img {
      height: 120px; /* Adjust image height for smaller screens */
  }

  .card-back h3 {
      font-size: 18px; /* Smaller font for smaller screens */
  }

  .card-back p {
      font-size: 0.8rem; /* Smaller font for smaller screens */
  }
}

/*Accounting_service*/

/* why hire*/
  .hire-owais-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.container-owais {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Ensures content wraps on smaller screens */
}

.image-owais {
    flex: 1;
    text-align: center; /* Centers the image */
    margin-right: 20px;
}

.image-owais img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.content-owais {
    flex: 2;
    max-width: 600px;
    background-color: #ffffff;
    padding: 40px 50px;
}

.name {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
}

.content-owais p {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin: 20px 0;
    font-size: 16px;
}

ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.dot-icon {
    color: #000;
    margin-right: 10px;
    font-size: 20px; /* Adjusts size for visual consistency */
}

ul li a {
    color: #007bff;
    text-decoration: none;
}

ul li a:hover {
    text-decoration: underline;
    color: blue;
}

.discovery-call-button {
    background-color: #007bff;
    color: #ffffff;
    padding: 15px 30px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.discovery-call-button:hover {
    transform: scale(1.1);
    background-color: #000000;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container-owais {
        flex-direction: column; /* Stacks image and content vertically */
        align-items: center; /* Centers the items */
    }

    .image-owais {
        margin: 0 0 20px 0; /* Centers image and adds space below */
    }

    .content-owais {
        max-width: 90%; /* Ensures content doesn't span too wide */
        padding: 20px; /* Adjusts padding for smaller screens */
    }

    .name {
        font-size: 24px; /* Adjusts heading size */
    }

    .discovery-call-button {
        font-size: 16px; /* Adjusts button font size */
        padding: 10px 20px; /* Adjusts button padding */
    }
}

  /* why hire*/ 

  /* FAQ*/
/* styles.css */

.faq-section {
  padding: 20px;
  background-color: #E1EEF8;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.faq-container {
  flex: 1;
}

.faq-container h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
}

.faq-container h2 .highlight {
  color: #007BFF;
  position: relative;
}

.faq-container h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #007BFF;
  margin-top: 10px;
  margin-left: 10px;
  border-radius: 3px;
  border-bottom: 3px dashed #007BFF;
}


p {
  font-size: 16px;
  color: #333;
}

.faq-item {
  margin-top: 20px;
  border-bottom: 1px solid #ddd;
}

.faq-title {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #0056b3;
  padding: 10px;
  cursor: pointer;
  position: relative;
}

.faq-title:before {
  content: '\25BC';
  font-size: 16px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #0056b3;
  transition: transform 0.3s;
}

.faq-input {
  display: none;
}

.faq-input:checked + .faq-title:before {
  transform: translateY(-50%) rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 16px;
  color: #333;
  padding: 0 10px;
}

.faq-input:checked ~ .faq-content {
  max-height: 200px;
  padding: 10px;
}

@media (max-width: 600px) {
  .faq-container {
      padding: 15px;
  }

  h2 {
      font-size: 20px;
  }

  .faq-title {
      font-size: 16px;
  }

  .faq-content {
      font-size: 18px;
  }
}

/* FAQ*/
/*Testimonial section*/
/* Testimonials */


.testimonial {
  background-color: #ffffff;
  padding: 40px 20px;
}

.testimonials-section {
  width: 80%;
  margin: auto;
  text-align: center;
}

.testimonials-heading {
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto;
  padding-top: 20px;
}



.divider-test {
  width: 50px;
  height: 3px;
  background-color: #007bff;
  margin: 10px auto 30px;
}

.swiper {
  width: 100%;
  padding-bottom: 40px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-slide {
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  position: relative;
  margin: 10px;
  margin-bottom: 60px;
}

.quote-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-box {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.quote {
  font-size: 1.1em;
  font-style: italic;
  line-height: 1.4;
}

.author {
  font-weight: bold;
  margin-top: 10px;
}

.subtext {
  color: grey;
  margin-top: 5px;
  text-align: center;
}

/* Swiper Pagination Styles */
.swiper-pagination {
  position: relative;
  bottom: 20px;
  text-align: center;
  z-index: 10;
}

.swiper-pagination-bullet {
  background: #007bff;
  width: 12px;
  height: 12px;
  margin: 5px;
  border-radius: 50%;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #0056b3;
}

@media (max-width: 768px) {
  .testimonials-section {
      width: 90%;
  }

  .testimonial-slide {
      max-width: 250px;
  }
}

@media (max-width: 480px) {
  .testimonials-heading {
      font-size: 1.5em;
  }

  .quote {
      font-size: 1em;
  }

  .testimonial-slide {
      max-width: 90%;
      margin: 0 auto;
  }
}

/*Testimonial section*/

/* dallas*/
/* Scalable Accounting Services Section */
.dallas {
  background: linear-gradient(rgba(1, 35, 71, 0.7), rgba(2, 37, 74, 0.7)), url('img/bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 50px 20px; /* Adjust padding for smaller screens */
  text-align: center;
}

.contents h1 {
  font-size: 2em; /* Smaller font size for better responsiveness */
  color: white;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3; /* Adjust line height for better readability */
}

.cta-button {
  margin-top: 20px;
  display: inline-block;
  padding: 12px 25px; /* Adjust padding for better button size */
  background-color: white;
  color: #007bff;
  font-size: 1em; /* Smaller font size for better responsiveness */
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
  background-color: black;
  color: white;
}

/* Media Query for larger screens */
@media (min-width: 768px) {
  .dallas {
    padding: 100px 0; /* Increased padding for larger screens */
  }

  .contents h1 {
    font-size: 2.5em; /* Increase font size for larger screens */
  }

  .cta-button {
    padding: 15px 30px; /* Increased button padding */
    font-size: 1.2em; /* Increase button font size */
  }
}

@media (min-width: 1024px) {
  .contents h1 {
    font-size: 3em; /* Larger font size for big screens */
  }
}


/* dallas*/
/* area served*/
.areas-served-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #E1EEF8;
  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 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*/
 