/* =========================
   VARIABLES
========================= */
:root {
  --color-primary: #b8965a;          /* Gold accent */
  --color-dark: #111;                /* Main text / header */
  --color-medium: #444;              /* Secondary text */
  --color-light: #ccc;               /* Subtle text / footer */
  --color-bg: #fff;                  /* Page background */
  --color-bg-alt: #f8f9fa;           /* Alternate sections */
  --color-grey-dark: #343a40;        /* Dark grey */
  --color-grey-medium: #6c757d;      /* Medium grey for active states */
  --color-link-hover: #a18147;       /* Link hover color */
  --radius-base: 8px;                /* Global border radius */
  --shadow-base: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* =========================
   BASE & RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Roboto', 'Inter', sans-serif;
  color: var(--color-medium);
  background-color: var(--color-bg);
  line-height: 1.7;
  scroll-behavior: smooth;
  height: 100%;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper > * {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  color: var(--color-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-link-hover);
}

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


/* =========================
   SECTION CONTENT WRAPPER
========================= */
.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* =========================
   HEADER / NAVBAR
========================= */
.navbar-custom {
  background-color: var(--color-bg);
  padding: 1rem 5%;
  position: relative;
  box-shadow: none;
}

.navbar-custom .navbar-brand {
  text-transform: uppercase;
}

.navbar-brand {
  font-family: 'Georgia', serif;
  font-weight: 500;
  color: var(--color-dark) !important;
}

.navbar-nav .nav-link {
  color: var(--color-dark) !important;
  font-weight: 400;
  margin: 0 1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--color-light) !important;
}

.navbar-nav .book-btn {
  background-color: var(--color-dark);
  color: var(--color-bg) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  transition: background 0.3s;
}

.navbar-nav .book-btn:hover {
  background-color: var(--color-grey-dark);
}

/* Dropdown Menu */
.navbar .dropdown-menu {
  background-color: var(--color-bg);
  border-radius: 8px;
  border: 1px solid var(--color-bg-alt);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-top: 0.5rem;
  padding: 0.5rem 0;
}

.navbar .dropdown-item {
  color: var(--color-grey-dark);
  font-weight: 400;
  padding: 0.6rem 1.2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar .dropdown-item:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

/* =========================
   NAVBAR LOGO
========================= */
.navbar-logo {
  height: 40px;
  width: auto;
  display: inline-block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

/* Make sure logo + text align well */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--color-dark);
  text-decoration: none;
}

.navbar-brand span {
  color: var(--color-dark);
}

/* Responsive adjustment */
@media (max-width: 576px) {
  .navbar-logo {
    height: 32px;
  }
  .navbar-brand span {
    font-size: 1.1rem;
  }
}

/* =========================
   FOOTER
========================= */
.footer-custom {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 3rem 0 2rem;
  font-family: 'Roboto', sans-serif;
  flex-shrink: 0;
}

.footer-custom .container-fluid {
  max-width: 1200px; /* same as main content sections */
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--color-light);
  font-weight: 600;
}

.footer-logo span {
  text-transform: uppercase;
}

.footer-contact-box .contact-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-contact-box a {
  color: var(--color-primary);
  text-decoration: none;
}

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

.footer-link {
  color: var(--color-light);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.social-icons a {
  color: var(--color-bg);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--color-link-hover);
}

/* Bottom row border */
.footer-custom .border-top {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-custom .row {
    text-align: center;
  }

  .footer-contact-box {
    justify-content: center !important;
  }

  .social-icons {
    justify-content: center;
  }
}


/* =========================
   MAIN PAGE / HERO
========================= */
.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 4rem 0;
  background-color: var(--color-bg); 
  background: linear-gradient(to bottom, #fafafa, #f2f2f2);
  text-align: center;
  padding: 5rem 15px;
}

.hero .section-content {
  max-width: 1200px;  /* boxed content */
  width: 100%;
  text-align: center;
  position: relative; /* for animation positioning */
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  color: var(--color-dark);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  opacity: 0; /* start hidden */
  animation: fadeInUp 1.5s ease forwards; /* 'forwards' keeps it visible */
}

.hero-content p.hero-subtext {
  color:var(--color-grey-dark);
  font-size: 1.1rem;
  margin-top: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content .btn-primary {
  display: inline-block;
  margin-top: 2rem;
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none; 
}

.hero-content .btn-primary:hover {

  background-color: var(--color-link-hover);
  color: var(--color-bg);

  border: none; 
}

/* =========================
   PRACTICE HIGHLIGHTS / AREAS OF EXCELLENCE
========================= */
.highlights {
  background-color: var(--color-bg-alt);
  padding: 5rem 15px;
}

.highlights h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-dark);
  position: relative;
}


.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.highlight-card {
  background-color: var(--color-bg);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.highlight-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--color-grey-dark);
  margin-bottom: 1rem;
}

.highlight-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--color-grey-medium);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.link-more {
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-more:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .highlight-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .highlights {
    padding: 3rem 15px;
  }

  .highlights h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .highlight-card {
    padding: 1.5rem 1rem;
  }
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  background-color: var(--color-bg);
  padding: 5rem 0;
}

.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-grid blockquote {
  background-color: var(--color-bg);
  border-left: 4px solid var(--color-primary);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-style: italic;
  color: var(--color-medium);
  position: relative;
}

.testimonial-grid footer {
  font-style: normal;
  margin-top: 1rem;
  color: var(--color-dark);
  font-weight: 500;
}


/* ---- RESPONSIVE TWEAKS ---- */
@media (max-width: 768px) {
  .highlight-grid,
  .testimonial-grid{
    grid-template-columns: 1fr;
  }

}


/* =========================
   SERVICE DETAIL PAGE
========================= */
.service-page-container {
  background-color: var(--color-bg-alt);
}

/* Hero Section */
.service-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.service-hero-left {
  flex: 1;
}

.service-hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.service-hero-img {
  width: 500px;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  filter: brightness(80%);
  flex-shrink: 0;
}

.service-hero-right h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.2;
  margin: 0;
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
}

/* Content Section */
.service-content {
  background-color: var(--color-bg);
  padding: 4rem 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-content p {
  color: var(--color-grey-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* =========================
   SERVICE CONTACT BUTTON
========================= */



.service-contact-btn-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.service-contact-btn {
  display: inline-block;
  margin-top: 2rem;
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none; 
}

.service-contact-btn:hover {
  background-color: var(--color-link-hover);
  color: var(--color-bg);

  border: none; 
}

/* Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .service-hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .service-hero-left,
  .service-hero-right {
    flex: unset;
    width: 100%;
  }

  .service-hero-img {
    height: 250px;
    width: 100%;
  }

  .service-hero-right h1 {
    font-size: 2rem;
    margin-top: 1.5rem;
  }
}


/* =========================
   TEAM SECTION
========================= */
.team {
  background-color: var(--color-bg-alt);
}
.team-container {
  max-width: 1200px;
  margin: 60px auto 10%;
  padding: 0 15px;
}

.team-title {
  font-family: 'Playfair Display', serif; /* changed from Poppins to Playfair Display */
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 10px;
}

.title-underline {
  width: 100px;
  height: 4px;
  background-color: var(--color-primary);
  margin: 10px auto 40px auto;
}

/* Grid */
.team-grid {
  display: grid !important; /* force CSS grid */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 30px !important;
  justify-items: center; /* center cards if fewer columns */
}

/* Team Member Card */
.team-member {
  width: 100%;
  max-width: 350px;
  max-height: 950px;
  background-color: var(--color-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: justify;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.member-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid var(--color-grey-medium);
}

.member-info {
  padding: 15px;
}

.member-name {
  font-family: 'Playfair Display', serif; /* changed from Poppins */
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 10px 0 6px 0;
}

.member-position {
  font-family: 'Poppins', sans-serif; /* keep secondary info in Poppins */
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-grey-medium);
  margin-bottom: 5px;
}

.member-bio {
  font-family: 'Poppins', sans-serif; /* body text in Poppins */
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-grey-dark);
}

/* Responsive */
@media (max-width: 992px) {
  .team-member {
    max-width: 260px;
  }
}

@media (max-width: 576px) {
  .team-member {
    max-width: 100%;
  }
  .member-photo {
    height: 220px;
  }
}



/* =========================
   CONTACT PAGE
========================= */
.contact-section {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-bg-alt);
  padding: 4rem 0;
}

.contact-section h2,
.contact-section h3,
.contact-section h4 {
  font-family: 'Playfair Display', serif;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.contact-section h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 600;
}

.contact-section h3 {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--color-grey-dark);
}

.contact-section h4 {
  font-size: 1.3rem;
}

/* =========================
   CONTACT FORM
========================= */
.contact-form-box {
  background: var(--color-bg);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  padding: 2rem;
}

.contact-form-box label {
  font-weight: 500;
  display: block;
  margin-bottom: 0.3rem;
}

.contact-form-box .required {
  color: #d9534f;
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  border: 1px solid var(--color-light);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: var(--color-link-hover);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(184,150,90,0.25);
}

.contact-form-box button.btn-submit {
  background-color: var(--color-primary);
  color: var(--color-bg);
  border: none;
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form-box button.btn-submit:hover {
  background-color: var(--color-link-hover);
}

/* =========================
   CONTACT INFO
========================= */
.contact-info .info-box {
  text-align: left;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-info .info-box i {
  font-size: 28px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 4px; /* align with text */
}

.contact-info .info-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--color-dark);
}

.contact-info .info-box p,
.contact-info .info-box address,
.contact-info .info-box a {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-medium);
  margin: 0.25rem 0;
}

.contact-info .info-box a {
  color: var(--color-primary);
  text-decoration: none;
}

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

.contact-info .hours div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.contact-info .hours span {
  font-weight: 600;
  color: var(--color-grey-dark);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .contact-section .row.gy-5 {
    row-gap: 2rem !important;
  }

  .contact-info .info-box {
    flex-direction: column;
  }

  .contact-info .info-box i {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  .contact-section h2 {
    font-size: 2rem;
  }
}


/* =========================
   ABOUT PAGE
========================= */
.about-page-container {
  font-family: 'Poppins', sans-serif;
  color: var(--color-dark);
  line-height: 1.7;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 15px;
}

.about-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 5rem 15px;
  background-color: var(--color-bg-alt);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.about-hero-left,
.about-hero-right {
  flex: 1 1 400px;
}

.about-hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.about-hero-img:hover {
  transform: scale(1.03);
}

.about-hero-right h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-dark);
  margin-bottom: 1rem;
  animation: fadeInUp 1.5s ease forwards;
}

.about-content {
  background-color: var(--color-bg);
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  margin-bottom: 3rem;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--color-dark);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
}

.about-content h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--color-primary); /* Gold accent */
  margin-top: 0.5rem;
  border-radius: 2px;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--color-medium);
  margin-bottom: 1.5rem;
}

.about-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: disc;
}

.about-content ul li {
  margin-bottom: 0.5rem;
  color: var(--color-medium);
}

.about-content a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.about-content a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

@media (max-width: 992px) {
  .about-hero {
    flex-direction: column;
    text-align: center;
  }

  .about-hero-left,
  .about-hero-right {
    flex: 1 1 100%;
  }
}

@media (max-width: 576px) {
  .about-hero-right h1 {
    font-size: 2rem;
  }

  .about-content {
    padding: 2rem 1rem;
  }
}

/* =========================
    PRIVACY PAGE STYLES
========================== */
.privacy-container {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 15px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
}

.privacy-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 1rem;
}

.privacy-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.privacy-container p,
.privacy-container li {
  font-size: 1rem;
  color: var(--color-grey-dark);
  margin-bottom: 1rem;
}

.privacy-container ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.privacy-container a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-container a:hover {
  text-decoration: underline;
  color: #8f7247;
}

@media (max-width: 576px) {
  .privacy-container {
    padding: 0 10px;
  }
  .privacy-container h1 {
    font-size: 2rem;
  }
}

/* =========================
    TERMS & CONDITIONS PAGE STYLES
========================== */
.terms-container {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 15px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
}

.terms-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.terms-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.terms-container p,
.terms-container li {
  font-size: 1rem;
  color: var(--color-grey-dark);
  margin-bottom: 1rem;
}

.terms-container ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.terms-container a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.terms-container a:hover {
  color: #8f7247;
  text-decoration: underline;
}

@media (max-width: 576px) {
  .terms-container {
    padding: 0 10px;
  }
  .terms-container h1 {
    font-size: 2rem;
  }
}