@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* ===== Global Styles ===== */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #0d1321;
  line-height: 1.6;
  animation: fadeIn 1s ease-in;
}
/* EB Garamond for Headings and Subheadings */
h1, h2, h3, h4, h5, h6, .subheading {
  font-family: 'EB Garamond', serif;
}

/* ===== Navbar ===== */
/* Sticky Header Base */
#stickyHeader {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.menu-bar {
  background-color: #f4f4f4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px; /* Reduced vertical padding */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-logo {
  height: 80px;        /* Sets exact height */
  width: 200px;        /* Sets exact width */
  object-fit: contain; /* Ensures the logo maintains aspect ratio */
  margin: 0;
  padding: 0;
  display: block;
}

.menu-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto; /* Aligns the menu options to the right */
}

.menu-links a {
  text-decoration: none;
  color: #0d1321;
  font-weight: 600;
  font-size: 1rem;
}

/* ===== Titles ===== */
.page-title, .centered-title, h1 {
  text-align: center;
  margin: 40px 0;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  color: #0d1321;
}

.centered-title {
  color: #fca311;
}

/* ===== Intro Section ===== */
.intro {
  max-width: 800px;
  margin: 80px auto 64px; /* 80px from top */
  padding: 10px 20px;
  font-size: 1.2rem;
  text-align: center;
  color: #0d1321;
}

/* ===== Practice Areas ===== */
.practice-areas {
  max-width: 800px;
  margin: 0 auto 64px;
  background-color: #ffffff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(20, 33, 61, 0.1);
}

.practice-areas h2 {
  color: #fca311;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 24px;
  text-align: center;
}

.practice-areas ul {
  list-style-type: disc;
  padding-left: 40px;
}

.practice-areas li {
  margin-bottom: 12px;
}

/* ===== Call to Action ===== */
.cta {
  text-align: center;
  margin: 64px 0;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta button {
  background-color: #fca311;
  border: none;
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(252, 163, 17, 0.4);
}

.cta button:hover,
.cta button:focus-visible {
  background-color: #0d1321;
  color: #ffffff;
  outline: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ===== Testimonials ===== */
.testimonials {
  max-width: 800px;
  margin: 0 auto 64px;
  text-align: center;
  padding: 0 20px;
}

.testimonials h2 {
  color: #fca311;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 32px;
}

.testimonials blockquote {
  background: white;
  border-left: 6px solid #fca311;
  padding: 24px 28px;
  font-style: italic;
  color: #0d1321;
  margin: 20px auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(252, 163, 17, 0.15);
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto 96px;
  background-color: #ffffff;
  padding: 36px 28px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(20, 33, 61, 0.15);
}

.contact-form h2 {
  color: #fca311;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 2px solid #ccc;
  background-color: #f4f4f4;
  color: #0d1321;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fca311;
  outline: none;
  box-shadow: 0 0 5px rgba(252, 163, 17, 0.5);
}

.contact-form button {
  background-color: #fca311;
  border: none;
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background-color: #0d1321;
  color: #ffffff;
  outline: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* ===== Sticky Image (Example usage) ===== */
.sticky-img {
  position: sticky;
  top: 100px;
}

.info-image {
  border: 4px solid #fca311;
  padding: 4px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ===== Tabs / Business & Personal Info Section ===== */
.info-section {
  background-color: #ffffff;
  padding: 60px 20px;
  margin-top: 5rem;
  border-radius: 16px;
}

.info-section h2 {
  color: #fca311;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.info-section .nav-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: center;
}

.info-section .nav-pills .nav-link {
  color: #0d1321;
  background-color: #f4f4f4;
  border-radius: 8px;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
}

.info-section .nav-pills .nav-link.active {
  background-color: #fca311;
  color: #ffffff;
}

.info-section .tab-content {
  background-color: #fffaf3;
  border-radius: 12px;
  padding: 20px;
  font-size: 1rem;
  color: #0d1321;
}

.years-experience {
  text-align: center;
  margin-top: 24px;
  background-color: #fff3e6;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(252, 163, 17, 0.1);
}

.years-experience h4 {
  font-size: 1.8rem;
  color: #fca311;
  font-weight: 800;
}

.years-experience .number {
  font-size: 2.5rem;
  color: #0d1321;
  font-weight: 900;
}

/* ===== Footer ===== */
.custom-footer {
  background-color: #f4f4f4;
  color: #0d1321;
  padding: 40px 20px 20px;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1500px;
  margin: 0 auto;
}

.footer-brand {
  flex: 1 1 220px;
  text-align: left;
}

.footer-logo {
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0;
}

.footer-block {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-block h4 {
  color: #0d1321;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-block p,
.footer-block li {
  margin-bottom: 8px;
  color: #333;
  font-size: 0.95rem;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block i {
  margin-right: 8px;
  color: #fca311;
}

.footer-block a {
  color: #fca311;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-block a:hover {
  color: #0d1321;
  text-shadow: 0 0 3px rgba(252, 163, 17, 0.6);
  text-decoration: underline;
}

.footer-block ul li {
  position: relative;
  transition: transform 0.2s ease, color 0.3s ease;
}

.footer-block ul li:hover {
  color: #fca311;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ccc;
  padding-top: 16px;
  margin-top: 40px;
  font-size: 14px;
  color: #090909;
}

.footer-socials {
  margin-top: 12px;
}

.footer-socials a {
  color: #0d1321;
  margin: 0 10px;
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  color: #fca311;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-block {
    width: 100%;
  }
  .footer-logo {
    margin-bottom: 20px;
  }
  .swiper-slide.card {
    margin: 10px auto;
    max-width: 90%;
  }
  .heading-section .subheading {
    font-size: 1.5rem;
  }
  .heading-section h5 {
    font-size: 1rem;
  }
  .menu-links {
    flex-direction: column;
    gap: 16px;
  }
}