@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --foc-1-form: #000000;
  --color-1: #fee2b3;
  --color-2: #ffe7bf;
  --color-3: #ffb83d;
  --hover-text: #000000;
  --color-text-1: #080808;
  --color-text-2: #364d59;
  --color-text-3: #303030;
  --text-font-1: "Playfair Display", serif;
  --text-font-2: "Roboto", sans-serif;
  --text-color-4: #999999;
  --text-color-5: #ffffff;
  --form-bg: #ffffff;
  --form-border: #e0e0e0;
  --input-bg: #f9f9f9;
  --font-color: #666666;
  --button-hover: #ffa600;
  --box-border: #e0e0e0;
  --box-bg: #ffffff;
  --box-bg-2: #afafaf;
  --bg-1: #eeeeee;
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --text-color: #000000;
  --text-light: #777;
  --white: #fff;
  --bg-light: #f9f9f9;
  --transition: all 0.3s ease;
  --section-padding: 80px;
}

body {
  font-family: var(--text-font-2);
  overflow-x: hidden;
  color: var(--color-text-3);
  line-height: 1.6;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1100;
}

header {
  background-color: var(--color-1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.menu-close-logo {
  display: none;
}

.menu-close-logo:focus {
  display: block;
}

.logo {
  font-family: var(--text-font-1);
  color: var(--color-text-3);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.dropdown {
  position: relative;
}

.practice-areas-option {
  display: flex;
  align-items: center;
  gap: 5px;
}

.icon {
  width: 16px;
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
}

.practice-areas-option:hover .icon {
  transform: rotate(90deg);
}

.option {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 1rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.dropdown:hover .option {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.option li {
  padding: 0.5rem 1.5rem;
}

.option li a {
  font-size: 0.95rem;
  color: var(--color-text-3);
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.option li:hover {
  background-color: var(--bg-light);
}

.footer {
  background: url(/img/hero_bg_footer.jpg) center/cover no-repeat;
  padding: var(--section-padding) 2rem;
  color: var(--text-color-5);
}

.all-footer {
  margin-left: 80px;
  display: flex;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 2rem;
}

.footer-column {
  flex: 1;
  width: 150px;
  margin-bottom: 0;
}



.footer-column h3 {
  color: var(--text-color-5);
  margin-bottom: 15px;
  font-family: var(--text-font-1);
  font-size: 1.2rem;
}

.footer-p {
  width: 200px;
  font-family: var(--text-font-2);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--box-bg);
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.footer-socials-icon {
  border: var(--color-1) 2px solid;
  background: var(--bg-1);
  border-radius: 50%;
  padding: 8px;
  width: 36px;
  height: 36px;
  transition: var(--transition);
}

.footer-socials-icon:hover {
  border: var(--color-2) 3px solid;
  transform: scale(1.1);
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: var(--box-border);
  text-decoration: none;
  font-family: var(--text-font-2);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--color-1);
}

hr {
  border: 1px solid #ffffff;
  max-width: 1200px;
  margin: 20px auto;
  border-radius: 10px;
}

.footer-copyright {
  text-align: center;
  padding: 20px 0;
  color: var(--text-color-5);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .footer-columns {
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 1rem;
  }

  .footer-column {
    flex: 1 1 45%;
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 20px;
    padding: 20px 1rem;
  }


  .footer-column {
    width: 100%;
    min-width: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--box-border);
  }

  .footer-column:last-child {
    border-bottom: none;
  }

  .footer-column-about {
    font-size: 800px;
    margin-left: 300px;
  }

  .footer-p{
    margin-left: 50px;
  }

  .footer-p,
  .footer-column a {
    text-align: center;
    width: 600px;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 20px 0.5rem;
  }

  .footer-columns {
    padding: 15px 0.5rem;
    gap: 15px;
  }

  .footer-socials-icon {
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .footer-column h3 {
    font-size: 1rem;
  }

  .footer-p,
  .footer-column a {
    font-size: 0.8rem;
  }
}

@media (max-width: 1024px) {
  .provide-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .provide-text-content {
    max-width: 100%;
    text-align: center;
  }

  .legal-content {
    flex-direction: column;
  }

  .legal-text {
    max-width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .service-box {
    padding: 15px;
    min-height: 220px;
  }

  .img-bg {
    width: 80px;
    height: 80px;
  }

  .img-bg:hover {
    width: 85px;
    height: 85px;
  }

  .service-box h3 {
    font-size: 1.1rem;
  }

  .service-box p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background: var(--box-bg);
    padding: 2rem 1rem;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    display: flex;
    right: 0.1px;
    background-color: rgba(255, 255, 255, 0.123);
    backdrop-filter: blur(9px);
    transform: translateX(0);
  }

  .navbar {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-links li a {
    font-size: 1rem;
    padding: 10px;
    display: block;
  }

  .dropdown {
    position: static;
  }

  .practice-areas-option {
    justify-content: space-between;
    width: 100%;
  }

  .option {
    position: static;
    display: none;
    background: var(--input-bg);
    box-shadow: none;
    padding: 10px 20px;
    width: 100%;
  }

  .dropdown:hover .option {
    display: block;
  }

  .home-date {
    flex-direction: column;
    gap: 30px;
  }

  .homepage-content {
    text-align: center;
  }

  .form {
    padding: 30px;
  }

  .provide-images {
    grid-template-columns: 1fr;
  }

  .Provide {
    padding: 40px 1rem;
  }

  .provide-content {
    gap: 30px;
  }

  .provide-images img {
    max-height: 300px;
    object-fit: cover;
  }

  .provide-text-content {
    padding: 20px 1.5rem;
    background-color: var(--box-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .provide-line {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }

  .Practice-Areas {
    padding: 40px 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .service-box {
    padding: 12px;
    min-height: 200px;
  }

  .img-bg {
    width: 70px;
    height: 70px;
  }

  .img-bg:hover {
    width: 75px;
    height: 75px;
  }

  .service-box h3 {
    font-size: 1rem;
  }

  .service-box p {
    font-size: 0.85rem;
  }

  .Happy-Customers {
    padding: 30px 0.5rem;
  }

  .testimonials-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding: 15px 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .testimonials-container::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 65vw;
    padding: 12px;
  }

  .Legal-Solutions {
    padding: 20px 0.5rem;
  }

  .legal-all {
    flex-direction: column;
    gap: 15px;
  }

  .legal-content {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .legal-image {
    max-width: 100px;
  }

  .legal-text {
    max-width: 65vw;
    min-width: 140px;
  }

  .legal-h1 {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
  }

  .footer {
    padding: 30px 1rem;
  }

  .footer-columns {
    flex-direction: column;
    gap: 20px;
    padding: 0 0.5rem;
  }

  .footer-column {
    min-width: 0;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--box-border);
  }

  .footer-column:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  :root {
    --section-padding: 40px;
  }

  .navbar {
    padding: 0.75rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-links {
    width: 200px;
    padding: 1.5rem 0.75rem;
  }

  .Provide {
    padding: 30px 1rem;
  }

  .provide-images img {
    max-height: 250px;
  }

  .provide-line {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  .Practice-Areas {
    padding: 30px 0.5rem;
  }

  .Practice-Areas-h1 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-box {
    padding: 15px;
    min-height: 220px;
  }

  .img-bg {
    width: 80px;
    height: 80px;
  }

  .img-bg:hover {
    width: 85px;
    height: 85px;
  }

  .service-box h3 {
    font-size: 1.1rem;
  }

  .service-box p {
    font-size: 0.9rem;
  }

  .Happy-Customers {
    padding: 20px 0.5rem;
  }

  .testimonial-card {
    flex: 0 0 180px;
    min-width: 180px;
    max-width: 70vw;
    padding: 10px;
  }

  .Legal-Solutions {
    padding: 15px 0.5rem;
  }

  .legal-image {
    max-width: 80px;
  }

  .legal-text {
    max-width: 70vw;
    min-width: 120px;
  }

  .footer {
    padding: 20px 0.5rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* provide */

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .Provide {
    padding: 40px 1rem;
    min-height: auto;
  }

  .provide-content {
    flex-direction: row;
    gap: 15px;
    flex-wrap: nowrap;
  }

  .provide-images {
    max-width: 40%;
    gap: 8px;
  }

  .provide-images img {
    max-width: 310px;
    max-height: 259px;
  }

  .provide-text-content {
    max-width: 60%;
    padding: 15px;
  }

  .provide-line {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  .provide-text-content p {
    font-size: 0.9rem;
  }

  .Book_botton-2 {
    padding: 10px 15px;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  :root {
    --section-padding: 40px;
  }

  .Provide {
    padding: 30px 0.5rem;
  }

  .provide-content {
    gap: 10px;
  }

  .provide-images {
    max-width: 35%;
    gap: 5px;
  }

  .provide-images img {
    max-width: 80px;
    max-height: 120px;
  }

  .provide-text-content {
    max-width: 65%;
    padding: 10px;
  }

  .provide-line {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }

  .provide-text-content p {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }

  .Book_botton-2 {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

/* Legal-Solutions */

@media (max-width: 768px) {
  .legal-all {
    flex-direction: column;
    gap: 20px;
  }

  .legal-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
  }

  .legal-image img {
    width: 300px;
  }

  .legal-text {
    margin-left: 220px;
    width: 420px;
    flex: 1;
  }

  .legal-h1 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
  }

  .legal-text p {
    font-size: 0.9rem;
  }

  .legal-list li {
    font-size: 0.85rem;
  }

  .faq-section {
    width: 400px;
  }
}

@media (max-width: 600px) {
  .legal-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .legal-image img {
    max-width: 100px;
  }

  .legal-h1 {
    font-size: clamp(1rem, 3vw, 1.4rem);
  }

  .legal-text p {
    font-size: 0.85rem;
  }

  .legal-list {
    text-align: left;
  }

  .faq-item summary {
    padding: 10px;
    font-size: 0.9rem;
  }

  .faq-content {
    padding: 10px;
    font-size: 0.85KILLrem;
  }
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0.5rem;
  }

  .footer-column {
    flex: 1 1 100%;
    min-width: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--box-border);
  }

  .footer-column:last-child {
    border-bottom: none;
  }

  .footer-column h3 {
    font-size: 1.1rem;
  }

  .footer-p,
  .footer-column a {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 20px 0.5rem;
  }

  .footer-columns {
    padding: 15px 0.5rem;
  }

  .footer-socials-icon {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
}

@media (max-width: 1024px) {
  .footer-columns {
    flex-wrap: wrap;
    gap: 15px;
    padding: 30px 1rem;
  }

  .footer-column {
    flex: 1 1 40%;
    min-width: 120px;
  }
}

.footer {
  background: url(/img/hero_bg_footer.jpg) center/cover no-repeat;
  padding: var(--section-padding) 1rem;
  color: var(--text-color-5);
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.footer-column {
  flex: 1;
  min-width: 160px; 
  margin-bottom: 1rem;
}

.footer-column h3 {
  color: var(--text-color-5);
  margin-bottom: 1rem;
  font-family: var(--text-font-1);
  font-size: 1.2rem;
}

.footer-p {
  font-family: var(--text-font-2);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--box-bg);
  max-width: 100%;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-socials-icon {
  border: var(--color-1) 2px solid;
  background: var(--bg-1);
  border-radius: 50%;
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  transition: var(--transition);
}

.footer-socials-icon:hover,
.footer-socials a:focus .footer-socials-icon {
  border: var(--color-2) 3px solid;
  transform: scale(1.1);
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--box-border);
  text-decoration: none;
  font-family: var(--text-font-2);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-column a:hover,
.footer-column a:focus {
  color: var(--color-1);
}

hr {
  border: 1px solid var(--text-color-5);
  max-width: 1200px;
  margin: 1.5rem auto;
  border-radius: 10px;
}

.footer-copyright {
  text-align: center;
  padding: 1rem 0;
  color: var(--text-color-5);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .footer-columns {
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .footer-column {
    flex: 1 1 45%;
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0.5rem;
  }

  .footer-column {
    min-width: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--box-border);
  }

  .footer-column:last-child {
    border-bottom: none;
  }

  .footer-p {
    text-align: left;
  }

  .footer-column h3 {
    font-size: 1.1rem;
  }

  .all-link-footer{
    display: flex;
  }

  .footer-p,
  .footer-column a {
    font-size: 0.85rem;
  }

  .footer-columns{
    display: flex;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: var(--section-padding) 0.5rem;
  }

  .footer-columns {
    padding: 1rem 0.5rem;
  }

  .footer-socials-icon {
    width: 32px;
    height: 32px;
    padding: 0.4rem;
  }

  .footer-column h3 {
    font-size: 1rem;
  }

  .footer-p,
  .footer-column a {
    font-size: 0.8rem;
  }
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-column {
  flex: 1;
  min-width: 180px;
}

@media screen and (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Remove this unused or conflicting rule */
.Contact {
  height: 100vh;
  width: 100%;
}

/* Desktop Layout (default) */
.contact-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.opcon {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding: 20px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 20px;
  flex: 1;
  min-width: 300px;
}

.contact-left-title h2 {
  font-weight: 600;
  color: #a363aa;
  font-size: 40px;
  margin-bottom: 5px;
}

.contact-left-title hr {
  border: none;
  width: 120px;
  height: 5px;
  background-color: #a363aa;
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-inputs {
  width: 400px;
  max-width: 100%;
  height: 50px;
  border: 1px #ffc65c solid;
  outline: none;
  padding-left: 25px;
  font-weight: 500;
  color: #666;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.contact-left textarea {
  height: 140px;
  padding-top: 15px;
  border-radius: 20px;
}

.contact-inputs:focus {
  border: 2px solid #f8a061;
  padding-left: 20px;
}

.contact-inputs::placeholder {
  color: #5e5e5e;
}

.contact-left button {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  font-size: 16px;
  color: #fff;
  gap: 10px;
  border: none;
  border-radius: 50px;
  background: var(--color-3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-left button:hover {
  background: var(--button-hover);
}

.contact-left button img {
  height: 15px;
}

.contact-right {
  border: #000 solid 1px;
  align-items: center;
  display: flex;
  padding: 20px 20px;
  width: 500px;
  max-width: 100%;
  border-radius: 15px;
  flex: 1;
  margin: 20px;
}

.contact-info {
  margin-right: 25px;
  max-width: 300px;
}

/* ✅ Mobile / Tablet Styles */
@media (max-width: 800px) {
  .contact-section {
    height: auto;
    padding: 40px 15px;
  }

  .opcon {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .contact-left {
    align-items: center;
    margin: 0;
  }

  .contact-left-title h2 {
    font-size: 30px;
    text-align: center;
  }

  .contact-inputs {
    width: 90vw;
  }

  .contact-right {
    width: 90vw;
    padding: 20px;
    text-align: center;
  }

  .contact-info {
    margin: 0 auto;
  }
}
