/* --------------------------------------------
   CUSTOM FONT DECLARATIONS
   Place your @font-face rules here, above the CSS variables
   -------------------------------------------- */


/* cormorant-garamond-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: url('assets/fonts/montserrat-v31-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/montserrat-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 500;
  src: url('assets/fonts/montserrat-v31-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/montserrat-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 600;
  src: url('assets/fonts/montserrat-v31-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 700;
  src: url('assets/fonts/montserrat-v31-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Minimal Reset / Base ------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }

/* Body typography default */
body {
  font-family: "Montserrat", sans-serif;
}

/* Headings*/
h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2.5rem 0 1.5rem 0;
    transition: padding 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center; /* center everything */
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

.navbar .container-fluid {
    padding-left: 3rem;
    padding-right: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
    transition: all 0.8s ease-in-out; 
    text-decoration: none;
    transform: none !important;
}

.navbar-brand:hover {
color: #fff;
}

/* Desktop only */
@media (min-width: 992px) {
  .navbar-brand {
    position: absolute;
    left: 3rem;
    font-size: 1.5rem;
  }
}

.navbar-nav {
  margin-left: auto;
  margin-right: auto; /* ensures centering */
}

.navbar.scrolled .navbar-brand {
  opacity: 0;
  pointer-events: none;
  }

.brand-text {
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
}

/* Offcanvas brand (always visible) */
.offcanvas-brand {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
}

.toggler-text {
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.8s ease;
  display: none;
}

.navbar.scrolled .toggler-text {
display: block;
}

.navbar-toggler {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(86,114,166, 0.3);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.8s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem; /* space between text and icon */
}

/* When navbar has scrolled class */
.navbar.scrolled .navbar-toggler {
  background: rgba(86, 114, 166, .9);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.offcanvas {
    background: #333;
}

.offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Desktop: Centered Pill Menu Styling */
@media (min-width: 992px) {
    .offcanvas {
        position: static;
        background: transparent;
        backdrop-filter: none;
        border: none;
        width: auto;
    }
}

    .offcanvas-body {
        display: flex;
        justify-content: center;
        padding: 0;
    }

    /* Desktop: Centered Pill Menu Styling */
    @media (min-width: 992px) {
      .offcanvas-body {
        display: flex;
        justify-content: center;
      }


    .navbar .container-fluid {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-pills-custom {
        background: rgba(255, 255, 255, 0.05);
        border: 2px solid rgba(86,114,166, 0.3);
        border-radius: 50px;
        padding: 8px 60px;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        gap: 0;
        flex-grow: 0 !important;
        transition: all 0.8s ease-in-out;
    }

    .navbar.scrolled .nav-pills-custom {
        background: rgba(86, 114, 166, .9);
        border: 2px solid rgba(255, 255, 255, 0.5);
        padding: 3px 6px;
    }

    .nav-pills-custom .nav-item {
        margin: 0 !important;
    }

    .nav-pills-custom .nav-link {
     position: relative;
     padding: 10px 24px;
     border-radius: 50px;
     transition: color 0.3s ease;
     white-space: nowrap;
     color: #fff;
     overflow: hidden;
     z-index: 1;
   }

   /* Pseudo-element for gradient background */
   .nav-pills-custom .nav-link::before {
     content: "";
     position: absolute;
     inset: 0;
     border: 1px solid rgba(255, 255, 255, 0.5);
     border-radius: inherit;
     background: linear-gradient(
       135deg,
       rgba(86, 114, 166, 1) 0%,
       rgba(209, 165, 209, 1) 50%,
       rgba(155, 201, 145, 1) 100%
     );
     opacity: 0;
     transition: opacity 0.8s ease-in-out;
     z-index: -1;
   }

    .nav-pills-custom .nav-link:hover,
    .nav-pills-custom .nav-link:focus {
        background: rgba(255,255,255, .4);
        color: #fff;
    }
}

/* All screen sizes */
.nav-link {
    color: #fff;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff;
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .offcanvas-body {
        padding-top: 2rem;
    }
    
    .nav-pills-custom {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-pills-custom .nav-link {
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 2rem;
    }
}

/* Mobile CTA Menu Link */
@media (max-width: 991px) {
  .nav-link-cta {
color: #5672a6 !important;
  }
}

/* Mobile: Keep off-canvas styling normal */
@media (max-width: 991px) {
  .nav-pills-custom {
    background: none;
    border: none;
    padding: 0;
  }
}

/* CTA Active (scrolled) state */
@media (min-width: 992px) {
  .nav-pills-custom .nav-link.cta-active::before {
    opacity: 1;
  }

  .nav-pills-custom .nav-link.cta-active:hover::before,
  .nav-pills-custom .nav-link.cta-active:focus::before {
    background: linear-gradient(
      135deg,
      rgba(155, 201, 145, 1) 0%,
      rgba(209, 165, 209, 1) 50%,
      rgba(86, 114, 166, 1) 100%
    );
  }
}

/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    padding: 1rem;
    background: #5672a6;
    background: linear-gradient(90deg, rgba(86, 114, 166, 0.38) 0%, rgba(209, 165, 209, 0.38) 50%, rgba(155, 201, 145, 0.38) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Hero Image Container - Creates the bordered frame effect */
.hero-image-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 2rem);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* Overlay for text content */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 6rem 3rem 3rem 3rem;
    z-index: 2;
}

/* Hero Content - Left Side */
.hero-content {
    color: white;
}

.hero-title {
    /*font-size: 3.5rem;*/
    font-size: 3.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    /*font-size: 1.35rem;*/
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: #5672a6;
    background: linear-gradient(135deg, rgba(86, 114, 166, 0.75) 0%, rgba(209, 165, 209, 0.75) 50%, rgba(155, 201, 145, 0.75) 100%);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
}

.hero-buttons .btn-primary:hover {
    background: #5672a6;
    background: linear-gradient(135deg, rgba(155, 201, 145, 0.75) 0%, rgba(209, 165, 209, 0.75) 50%, rgba(86, 114, 166, 0.75) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Profile Image - Right Side */
.profile-image-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 992px) {
  .profile-image-wrapper {
    align-items: end;
    margin-right: 90px;
  }
}

.profile-image {
    width: 350px;
    height: 450px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .profile-image {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .profile-image {
        width: 280px;
        height: 370px;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1rem;
    }
    
    .hero-image-container {
        height: calc(100vh - 2rem);
    }
    
    .hero-overlay {
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .profile-image {
        width: 240px;
        height: 320px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 0.75rem;
    }
    
    .hero-image-container {
        height: calc(100vh - 1.5rem);
        border-width: 2px;
        border-radius: 15px;
    }
    
    .hero-overlay {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .profile-image {
        width: 200px;
        height: 270px;
        margin-top: 2rem;
    }
}


/* ========================================
   RESPONSIVE VISIBILITY UTILITIES
   ======================================== */
@media screen and (min-width: 577px) {
  .mobile-only {
    display: none;
  }
}

@media (max-width: 576.98px) {
  .no-mobile {
    display: none;
  }
}

@media screen and (min-width: 992px) {
  .no-desktop {
    display: none;
  }
}

@media screen and (max-width: 991.98px) {
  .desktop-only {
    display: none;
  }
}

/* ========================================
   ANIMATIONS & INTERACTIONS
   ======================================== */

/* Fade-in & Slide-down */
.in-down {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.in-down.visible {
  opacity: 1;
  transform: translateY(0);
}
   
/* Fade-in & Slide-up */
.in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.in-up-d1 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.in-up-d1.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.in-up-d2 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.in-up-d2.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Fade-in */
.in-menu {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.in-menu.visible {
  opacity: 1;
}

.in {
  opacity: 0;
  transition: opacity 1.5s ease-out;
}

.in.visible {
  opacity: 1;
}

.in-d1 {
  opacity: 0;
  transition: opacity 1.5s ease-out;
}

.in-d1.visible {
  opacity: 1;
  transition-delay: 0.4s;
}

.in-d2 {
  opacity: 0;
  transition: opacity 1.5s ease-out;
}

.in-d2.visible {
  opacity: 1;
  transition-delay: 0.8s;
}

.in-d3 {
  opacity: 0;
  transition: opacity 1.5s ease-out;
}

.in-d3.visible {
  opacity: 1;
  transition-delay: 1.2s;
}

.in-d4 {
  opacity: 0;
  transition: opacity 1.5s ease-out;
}

.in-d4.visible {
  opacity: 1;
  transition-delay: 1.6s;
}

/* ========================================
   CONTENT SECTIONS BELOW HERO
   ======================================== */

.text-color {
    color:  #5672a6 !important;
}

/* Introduction Section */
.intro-section {
    padding: 5rem 0;
    background: #5672a6;
    background: linear-gradient(90deg, rgba(86, 114, 166, 0.38) 0%, rgba(209, 165, 209, 0.38) 50%, rgba(155, 201, 145, 0.38) 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.intro-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Specialties Overview Section */
.specialties-overview-section {
    padding: 6rem 0;
    background-color: #f5f5f5;
}

.specialties-card-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.specialty-card-wrapper {
    flex: 0 0 calc(20% - 1.2rem);
    max-width: calc(20% - 1.2rem);
}

.specialty-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.specialty-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #5672a6;
    display: block;
}

.specialty-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.specialty-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 1199px) {  /* Additional breakpoint so text doesn't extend beyond card */
    .specialty-card-wrapper {
        flex: 0 0 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 991px) {
    .specialty-card-wrapper {
        flex: 0 0 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 767px) {
    .specialty-card-wrapper {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 575px) {
    .specialty-card-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Who I Work With Section */
.who-section {
    padding: 6rem 0;
    background-color: #f5f5f5;
}

.who-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.who-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.who-item {
    background: linear-gradient(135deg, rgba(86,114,166, 0.1) 0%, rgba(209, 165, 209, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    color: #333;
    text-align: center;
    border: 2px solid rgba(86,114,166, 0.2);
}

@media (max-width: 768px) {
    .who-list {
        grid-template-columns: 1fr;
    }
}

/* Testimonial Section */
.testimonial-section {
    padding: 6rem 0;
    background: #f5f5f5;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(86,114,166, 0.1) 0%, rgba(209, 165, 209, 0.1) 100%);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(86,114,166, 0.2);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    color: #5672a6;
    text-align: right;
}

/* Final CTA Section */
.cta-section {
    padding: 6rem 0;
    background-color: #f8f8f8;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* CTA Buttons*/
.specialties-overview-section .btn-primary {
    background-color: transparent;
    border: 0px;
    color: #5672a6;
    font-weight: 600;
}

.specialties-overview-section .btn-primary:hover {
    background-color: transparent;
    color: rgba (86,114,166, 0.7);
    transform: translateY(-2px);
}

.cta-section .btn-primary {
    background-color: #5672a6;
    border: 2px solid #5672a6;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
}

.cta-section .btn-primary:hover {
    background-color: rgba (86,114,166, 0.7);
    border-color: rgba (86,114,166, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(86,114,166, 0.3);
}

/* ========================================
   INNER PAGE STYLES
   ======================================== */

/* Inner Page Full-Width Header */
.inner-page-header {
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

/* Background Image */
.inner-page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark Overlay for text contrast */
.inner-page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Navbar Styling */
.inner-page-header .navbar {
    position: fixed;
    z-index: 1000;
    padding: 1.5rem 0;
}

.inner-page-header .navbar .container-fluid {
    padding-left: 3rem;
    padding-right: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Page Title */
.inner-page-title-wrapper {
    position: relative;
    z-index: 10;
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 3rem 0 4rem 0;
}

.inner-page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.inner-page-subtitle {
    font-size: 1.4rem;
    color: #fff;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .inner-page-header {
        min-height: 350px;
    }

    .inner-page-header .navbar {
        padding: 2rem 0 1rem 0;
    }

    .inner-page-header .navbar .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .inner-page-title-wrapper {
        padding: 2rem 0 3rem 0;
    }

    .inner-page-title {
        font-size: 2.5rem;
    }
    
    .inner-page-subtitle {
        font-size: 1.2rem;
    }
}

/* Content Sections for Inner Pages */
.content-section {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.subsection-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

/* Credentials Cards */
.credentials-card {
    background: linear-gradient(135deg, rgba(86,114,166, 0.1) 0%, rgba(209, 165, 209, 0.1) 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(86,114,166, 0.2);
}

.credentials-card .subsection-title {
    margin-top: 0;
    text-align: center;
}

.two-column-section {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.two-column-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* About Page Specific Styles */
.about-image {
    width: 85%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto; /* Centers image */
}

@media (max-width:992px) {
    .about-image {
        width: 250px; /* Fixed size for profile pic look */
        height: 250px;
        border-radius: 50%; /* Makes it circular */
        object-fit: cover; /* Crops to fill the circle */
        object-position: center top; /* Focuses on top of image (good for portraits) */
    }
}

.credentials-list {
    list-style: none;
    padding-left: 0;
}

.credentials-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.05rem;
    color: #555;
}

.credentials-list li:last-child {
    border-bottom: none;
}

.approach-list {
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

.approach-list li {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
    background: #5672a6;
    background: linear-gradient(135deg, rgba(86, 114, 166, 0.38) 0%, rgba(209, 165, 209, 0.38) 50%, rgba(155, 201, 145, 0.38) 100%);
    color: #333;
    padding: 3rem 0 0 0;
}

.footer-brand {
    font-size: 1.75rem;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Phone Number */
.footer-phone {
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.footer-phone a {
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    color: #5672a6;
}

.footer-phone a:hover {
    color: #333;
}

.footer-phone i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    color: #5672a6;
}

/* Psychology Today Verification */
.pt-verification {
    margin-top: 1.5rem;
}

.pt-seal-placeholder {
    display: inline-block;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pt-placeholder-text {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

/* Footer Navigation - Right Aligned Vertical List */
.footer-nav {
    display: inline-block;
}

.footer-links-vertical {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.footer-links-vertical li {
    margin-bottom: 0.75rem;
}

.footer-links-vertical a {
    color: rgba(51, 51, 51, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.footer-links-vertical a:hover {
    color: rgba(51, 51, 51);
    padding-right: 5px;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(51, 51, 51, 0.2);
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-legal li {
    display: inline;
}

.footer-legal a {
    color: rgba(51, 51, 51, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #5672a6;
}

@media (max-width: 991px) {
    .site-footer {
        text-align: center;
    }
    
    .footer-phone {
        justify-content: center;
    }
    
    .pt-verification {
        display: flex;
        justify-content: center;
    }
    
    .footer-links-vertical {
        text-align: center;
        margin-top: 2rem;
    }
    
    .footer-links-vertical a:hover {
        padding-right: 0;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Form Styling */
.contact-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #5672a6;
    box-shadow: 0 0 0 0.2rem rgba(86, 114, 166, 0.15);
}

.contact-form textarea.form-control {
    resize: vertical;
}

.contact-form .form-check-label {
    font-size: 0.95rem;
    color: #666;
}

.contact-form .btn-primary {
    background-color: #5672a6;
    border: 2px solid #5672a6;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: rgba (86,114,166, 0.7);
    border-color: rgba (86,114,166, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(86,114,166, 0.3);
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, rgba(86,114,166, 0.1) 0%, rgba(209, 165, 209, 0.1) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    height: 100%;
}

.contact-info-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-info-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: #5672a6;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-info-item strong {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    margin: 0;
    color: #666;
}

.expectation-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.expectation-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.expectation-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #5672a6;
    font-weight: bold;
}

.insurance-note {
    background: rgba(86, 114, 166, 0.1);
    padding: 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
}

.insurance-note i {
    font-size: 1.5rem;
    color: #5672a6;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.insurance-note p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .contact-form-wrapper {
        margin-bottom: 3rem;
    }
}

@media (max-width: 767px) {
    .contact-form-wrapper,
    .contact-info-card {
        padding: 2rem;
    }
}

/* Vertical Centering for Confirmation and 404 pages */
.miscpage-content {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%; /* Added for proper centering */
  transform: translate(-50%, -50%); /* Modern centering technique */
  width: 100%; /* Ensure full width for content */
}

.success-icon {
      font-size: 5rem;
      color: #5672a6;
      margin-bottom: 30px;
  }

.divider {
    width: 60px;
    height: 4px;
    background: #5672a6;
    margin: 30px auto;
    border-radius: 2px;
}    

.miscpage-content .btn-primary {
    background-color: #5672a6;
    border: 2px solid #5672a6;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
}

.miscpage-content .btn-primary:hover {
    background-color: rgba (86,114,166, 0.7);
    border-color: rgba (86,114,166, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(86,114,166, 0.3);
}