/* css/home.css */

/* For tablets and smaller */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .btn {
    padding: 10px 20px;
  }
}

@media (max-height: 500px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
}


.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

img {
  max-width: 100%;
  height: auto;
}

.main-header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.0); /* Transparent background */
  z-index: 10;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.logo img {
  height: 40px; /* or whatever fits */
  width: auto;
  display: block;
}


.navbar {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: flex-end;
}

.navbar a {
  color: #fff;
  font-size: 16px;
  transition: color 0.3s ease;
}

.navbar a.active,
.navbar a:hover {
  color: #d4a743;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.hero h1 {
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 2px;
}

.hero p {
  margin-top: 20px;
  font-size: 18px;
}


/* Header styles */
.main-header {
  position: absolute;
  width: 100%;
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.0);
  z-index: 10;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Nav */
.navbar {
  display: flex;
  gap: 25px;
  transition: max-height 0.3s ease-in-out;
}

.navbar a {
  color: #fff;
  font-size: 16px;
}

.navbar a.active,
.navbar a:hover {
  color: #d4a743;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
}

/* Default (Desktop) view */
nav {
  display: block;
}

.mobile-menu-icon,
.mobile-menu-wrapper {
  display: none;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  nav {
    display: none; /* hide desktop navbar on mobile */
  }

  .mobile-menu-icon,
  .mobile-menu-wrapper {
    display: block;
  }
}


/* Style for mobile menu remains same as before */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: #fff;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  transition: right 0.3s ease;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
}

/* SHOW CLASSES */
.side-menu.show {
  right: 0;
}
.backdrop.show {
  display: block;
}

.close-btn {
  font-size: 28px;
  color: #000;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 30px;
}

.side-menu a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  margin-bottom: 20px;
}

.side-menu a.active,
.side-menu a:hover {
  color: #d69b50; /* orange-ish */
}


/* Responsive: Show hamburger only on small screens */
/* Show hamburger only on small screens */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar {
    display: none; /* hide navbar */
  }

  .side-menu {
    display: flex; /* show sidebar menu */
  }
}


@media screen and (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
  }

  .navbar.active {
    display: flex;
  }
}

.mobile-menu-icon {
  display: none;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  z-index: 1100;
  padding: 10px;
}

@media (max-width: 768px) {
  .mobile-menu-icon {
    display: block;
  }
}


.about-section {
  padding: 60px 20px;
  background-color: #fff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 1 1 40%;
  padding: 20px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.about-text {
  flex: 1 1 60%;
  padding: 20px;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333; /* Match brand color */
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    flex: 1 1 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  .about-image img {
    width: 90%;   /* make image large */
    max-width: 350px; /* but not too big */
    height: auto;
    border-radius: 8px;
  }

  .about-text {
    flex: 1 1 100%;
    padding: 0 15px;
    text-align: justify;
  }
}



.practice-area {
  background-color: #f9fbff; /* or white or site background */
  color: white;
  padding: 80px 0;
  width: 100%;
}

.practice-area .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0; /* Remove container margin */
  padding: 0 60px; /* Optional side padding */
  width: 100%;
  max-width: 100%;
}

.practice-area .col-md-3,
.practice-area .col-md-6 {
  flex: 1;
  padding: 20px;
  min-width: 250px;
}

.practice-heading h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.practice-heading p {
  max-width: 400px;
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
}

.practice-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 40px;
  gap: 5px;
}

.practice-card {
  position: relative;
  background-color: #d3a55c;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 30px 20px;
  flex: 1 1 calc(25% - 20px);
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 0;
}

.practice-card .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  transition: background-color 0.3s ease;
}

.practice-card:hover .overlay {
  background-color: rgba(0, 0, 0, 0.2);
}


.practice-card.card1 .overlay {
  background-color: transparent;
  pointer-events: none; /* Ensures it doesn't block interaction */
}

.practice-card .content {
  z-index: 2;
  position: relative;
}

.practice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.practice-card.card2::before,
.practice-card.card3::before,
.practice-card.card4::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 0;
}

/* Background images for each card */
.practice-card.card2 {
  background-image: url('../images/practice-card1.jpg');
}
.practice-card.card3 {
  background-image: url('../images/practice-card2.jpg');
}
.practice-card.card4 {
  background-image: url('../images/practice-card3.jpg');
}

.practice-card.card2:hover::before,
.practice-card.card3:hover::before,
.practice-card.card4:hover::before {
  opacity: 1;
}

.practice-card.card2,
.practice-card.card3,
.practice-card.card4 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.practice-card .icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.featured-practice .practice-icon {
  font-size: 40px;
  color: white;
  margin-bottom: 15px;
}

.practice-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}


.practice-card p {
  font-size: 14px;
  line-height: 1.5;
}

.practice-card .cover {
  position: absolute;
  inset: 0;
  background-color: rgba(211, 165, 92, 0.95); /* gold cover */
  z-index: 2;
  transition: opacity 0.5s ease;
}

/* On hover, fade out the cover */
.practice-card:hover .cover {
  opacity: 0;
  pointer-events: none;
}

.read-more-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.read-more-button {
  background-color: #cc8400;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.read-more-button:hover {
  background-color: #a76a00;
}

@media (max-width: 992px) {
  .practice-card {
    flex: 1 1 calc(50% - 20px); /* 2 cards per row on tablets */
  }
}

@media (max-width: 600px) {
  .practice-card {
    flex: 1 1 100%; /* 1 card per row on mobile */
  }
}


/* Base Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

.site-footer {
  background-color: #1e2235;
  color: #eaeaea;
  padding: 40px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin: 20px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  margin-bottom: 15px;
}

.logo img {
  max-width: 100px; /* Increase the width as needed */
  height: auto;
}


.highlight {
  color: #c59d5f;
}

.footer-description {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.consultation-link {
  display: inline-block;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  background: #c59d5f;
  padding: 8px 16px;
  border-radius: 4px;
}

.footer-heading {
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li::before {
  content: "\203A"; /* Unicode for › */
  display: inline-block;
  margin-right: 8px;
  color: #c59d5f;
  font-size: 16px;
}


.footer-links a {
  text-decoration: none;
  color: #eaeaea;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #c59d5f;
}

.contact-info {
  list-style: none;
  padding: 0;
  line-height: 1.8;
  font-size: 16px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin-right: 12px;
  text-align: center;
  border-radius: 50%;
  background: #c59d5f;
  color: #1e2235;
  font-size: 20px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  vertical-align: middle;
}

.social-icons a i {
  line-height: 50px;
  vertical-align: middle;
}

.fa-google-plus-g,
.fa-facebook-f,
.fa-linkedin-in,
.fa-x-twitter,
.fa-instagram {
  font-size: 18px; /* Optional: fine-tune here */
}


.social-icons a:hover {
  background: #a07f4a;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
  border-top: 1px solid #2e334b;
  padding-top: 20px;
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
  }

  .footer-column {
    width: 100%;
    margin: 20px 0;
  }

  .logo {
    font-size: 20px;
  }

  .consultation-link {
    font-size: 14px;
    padding: 6px 12px;
  }

  .footer-links,
  .contact-info {
    font-size: 15px;
  }

  .footer-bottom {
    font-size: 13px;
    padding: 20px 10px 10px;
  }

  .social-icons {
    margin-top: 10px;
  }

  .social-icons a {
    font-size: 14px;
    padding: 8px;
    margin-right: 8px;
  }
}


#disclaimer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);       /* Blur the background */
  background-color: rgba(0, 0, 0, 0.4); /* Optional dark tint */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}


.disclaimer-content {
  max-width: 600px;
  background: #2c3148;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.disclaimer-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.disclaimer-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

#agree-btn {
  background: #c59d5f;
  color: #1e2235;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

#agree-btn:hover {
  background: #a07f4a;
}

body.disable-scroll {
  overflow: hidden;
}

.disclaimer-link {
  color: #c59d5f;
  text-decoration: underline;
  font-weight: 500;
}

.disclaimer-link:hover {
  color: #a07f4a;
}


.team-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.team-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  color: #1e2235;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  border-bottom: 3px solid #c59d5f;
  padding-bottom: 10px;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.team-card {
  background-color: #f2f6ff;
  border: 1px solid #e0e7ff;
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 50, 0.1);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.team-card h3 {
  color: #1e2235;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.team-card .role {
  color: #1e2235;
  font-weight: bold;
  margin-bottom: 10px;
}

.team-card .bio {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .team-members {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    width: 90%;
  }
}

.contact-section {
  background-color: #f2f6ff;
  padding: 60px 20px;
}

.two-column-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-info p {
  font-size: 16px;
  color: #1e2235;
  line-height: 1.7;
  margin-bottom: 20px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1e2235;
  transition: border-color 0.3s ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: #5671a6;
  outline: none;
}

.contact-btn {
  background-color: #1e2235;
  color: #ffffff;
  padding: 14px 24px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #c59d5f;
}

/* Section title style (reused) */
.section-title {
  font-size: 2rem;
  color: #1e2235;
  margin-bottom: 20px;
  border-bottom: 3px solid #c59d5f;
  display: inline-block;
  padding-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .two-column-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form, .contact-info {
    width: 100%;
  }
}

.linkedin-link {
  display: inline-block;
  margin: 5px 0;
  color: #0077b5;
  font-weight: bold;
  text-decoration: none;
}

.linkedin-link i {
  margin-right: 6px;
}

.linkedin-link:hover {
  text-decoration: underline;
}

/*updated meet our team section*/
/* Boss card - full width */
.boss-card {
  max-width: 400px;
  margin: 0 auto 50px auto; /* Center and add spacing */
  text-align: center;
}

/* Row for other members */
.team-members {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Adjust team cards */
.team-card {
  background-color: #f2f6ff;
  border: 1px solid #e0e7ff;
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 50, 0.1);
}


