/* Basic Styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
}

h1,
h2,
h3 {
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
}

/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background-color: transparent;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-name {
  display: flex;
  align-items: center;
  margin: 0;
}

.logo-name h1 {
  margin-left: 10px;
  color: white;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 10px;
}

.main-nav li a {
  color: white;
}

.main-nav li a:hover {
  color: rgba(1, 92, 126, 255);
}

.hero-image {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust this value to your desired height */
  overflow: hidden;
}

.hero-caption {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.call-button {
  display: inline-block;
  background-color: #c4903e;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 10px;
}

.call-button:hover {
  background-color: #b07a34;
}

/* Practice Areas */
.practice-areas {
  margin: 40px 0;
}

.practice-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.practice-area-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.practice-area-item img {
  width: 100%;
  height: auto;
}

.practice-area-item h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  padding: 0;
}

/* Hero Caption for About Page */
.about-page-hero-caption {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  color: white;
  padding: 20px; /* Add padding around the content */
  background-color: transparent; /* Add a semi-transparent black background to the box */
  max-width: 50%; /* Limit the width of the box */
}

footer {
  background-color: #c4903e;
  color: #ffffff;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  padding: 0 20px;
  margin-bottom: 20px;
}

.footer-section h4 {
  margin-bottom: 10px;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li a,
.footer-section p a {
  color: #ffffff;
  text-decoration: none;
}

.footer-section ul li a:hover,
.footer-section p a:hover {
  text-decoration: underline;
}

/* Testimonials Section */
.testimonials {
  margin: 40px 0;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial {
  background-color: #f4f4f4;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 5px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial p {
  font-style: italic;
}

.testimonial h4 {
  text-align: right;
  margin-top: 15px;
  font-weight: bold;
}

/* News & Blog Container */
.news-blog-container,
.latest-news-blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* News & Blog Post */
.news-blog-post,
.latest-news-blog-post {
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
}

/* Read More Link */
.latest-news-blog-post a {
  color: #c4903e;
  text-decoration: none;
}

.latest-news-blog-post a:hover {
  text-decoration: underline;
}

/* About Us Title */
.about-title-section {
  text-align: left;
  padding: 20px 0; /* Add some padding for spacing */
  color: black;
  background-color: transparent; /* Add a light background color */
}

.about-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px; /* Add some space below the title */
}
/* About Us Text Content */
.about-text-section {
  padding: 40px 0; /* Add some padding for spacing */
  background-color: #fff; /* Add a white background color */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

/* Responsive styles for smaller screens */
@media (max-width: 767px) {
  .about-text {
    font-size: 1rem;
  }
}

.hero-caption {
  position: absolute;
  bottom: 15%;
  left: 15px;
  right: 15px;
  color: #fff;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-caption {
    left: 30px;
    right: 30px;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 1.5rem;
  height: 1.5rem;
}

/* Styles for the hamburger button */
.hamburger {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* Hide navigation menu and show the hamburger button for small screens */
@media (max-width: 767px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.logo-name h1 {
  font-size: 24px;
  color: #333;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style-type: none;
}

.main-nav ul li {
  margin-right: 20px;
}

.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

.hamburger {
  display: none;
  font-size: 30px;
  background-color: transparent;
  border: none;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
}

.hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.hero-caption h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero-caption p {
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
}

.about {
  padding: 50px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.about-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
}

.about-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  header {
    padding: 20px 30px;
  }

  .logo-name h1 {
    font-size: 20px;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  /* ... */

  .main-nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
  }

  .main-nav ul li {
    margin: 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .main-nav ul li:first-child {
    border-top: none;
  }
}

/* Hamburger Button */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hide the main navigation menu on small screens */
@media (max-width: 767px) {
  .main-nav {
    display: none;
  }

  .main-nav.active {
    display: block;
  }

  .hamburger {
    display: inline-block;
  }
}

.main-nav ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.main-nav li {
  margin: 0 10px;
}

.main-nav a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

/* Contact Page */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form label {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form textarea {
  resize: none;
  height: 150px;
}

.contact-form button[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
}

.contact-form button[type="submit"]:hover {
  background-color: #0056b3;
}

/* Add this to your existing media query */
@media (max-width: 768px) {
  .contact-container {
    padding: 1rem;
  }
}

.contact-info {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 2px rgba(0, 0, 0, 0.24);
  max-width: 600px;
  margin: 30px auto;
}

.contact-info h2,
.contact-info h3 {
  color: #333;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-info a {
  color: #337ab7;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* styles.css */

/* General styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header and navigation */
.hero-image {
  position: relative;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #ffffff;
}

.logo-name {
  display: flex;
  align-items: center;
}

.logo {
  width: 50px;
  margin-right: 10px;
}

.main-nav {
  display: none;
}

.main-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: inline;
  margin-right: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
}

.main-nav a:hover {
  color: #777;
}

/* Main content */
main {
  padding: 2rem;
}

.immigration-section h2,
.immigration-section h3 {
  margin-bottom: 1rem;
}

.immigration-section p {
  margin-bottom: 1.5rem;
}

.immigration-section ul {
  margin-bottom: 1.5rem;
}

/* Responsive styles */
@media screen and (min-width: 768px) {
  .main-nav {
    display: block;
  }
}

.other-practices-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.practice-area {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: justify;
}

.practice-area h3 {
  margin-bottom: 1rem;
}

.practice-area img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.blog-post {
  margin: 2rem;
  max-width: 800px;
}

.blog-post-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.blog-post-date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1.5rem;
}

.blog-post h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.hero-image {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Responsive styles for mobile devices */
@media (max-width: 767px) {
  .hero-image {
    height: 60vh; /* Adjust the height according to your preference */
  }

  .hero-image img {
    width: auto;
    height: 100%;
  }
}

.common-hero-image {
  height: 70vh;
}
