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

/* BASE FONT SIZE (Desktop Default) */
html {
  font-size: 100%; 
}

/* TABLET/SMALLER DESKTOP TYPOGRAPHY (e.g., screens up to 1024px) */
@media (max-width: 1024px) {
  html {
      font-size: 93.75%; 
  }
}

/* MOBILE TYPOGRAPHY (e.g., screens up to 600px) */
@media (max-width: 600px) {
  html {
      font-size: 87.5%; 
  }
}

a {
  color: #798D8D; 
  text-decoration: underline;
}
  
/* Body styles */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}
  
/* Fonts for headers and main text */
h1, h2, h3 {
  font-family: 'Lora', serif;
  font-weight: 400;
}

.note {
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
  font-family: 'Roboto', sans-serif;
}

/* ============================= */
/* HEADER & TOP BAR STYLES */
/* ============================= */
/* Top contact bar (still inside header) */
.top-bar {
    background-color: #74888B; 
    color: #fff;
    font-size: 1rem;
    padding: 6px 20px;
    text-align: right;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  margin-left: 15px;
}

/* ============================= */
/* NAV STYLES */
/* ============================= */
.hamburger-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  gap: 5px;
  z-index: 1001;
}
.hamburger-btn i {
  font-size: 1.5rem;
  color: #74888B;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.logo img {
  height: 50px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}

nav a {
  margin-left: 0; /* spacing now handled by flex gap */
  text-decoration: none;
  font-size: 1rem;
  color: #74888B;
  font-weight: 500;
  position: relative;
  font-weight: 550;
}

nav a.active {
  font-weight: bold;
  color: #1D3C41;
}

nav a:hover {
  color: #37545a;
}

/* --- Dropdown containers --- */
.dropdown {
  position: relative;
  display: inline-block;
}

/* --- Dropdown content (hidden by default) --- */
.dropdown-content {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border-top: 2px solid #C2AB88;
  min-width: 200px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 10;
  padding: 0.5rem 0;
}

.dropdown.active .dropdown-content {
  display: block !important;
}

/* --- Dropdown links --- */
.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: #2c3e40;
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

/* --- Hover effects --- */
.dropdown-content a:hover {
  background-color: #f5f7f7;
  color: #74888B;
}

/* --- Show dropdown on hover --- */
.dropdown:hover .dropdown-content {
  display: block !important;
}

/* --- Optional: subtle color change on hover for main dropdown link --- */
.dropdown:hover > .dropbtn {
  color: #74888B;
}

/* ============================= */
/* HERO STYLES */
/* ============================= */
.hero {
  position: relative;
  width: 100%;
  height: 65vh; 
  overflow: hidden;
  text-align: left;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; 
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity:60%;
  background: linear-gradient(
    to top right,
    #212727 30%,
    #798D8D 70%
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: left;
  top: 65%;
  transform: translateY(-50%);
  max-width: 1200px;
  margin: 1rem auto;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0px;
  text-align:left;
}

.hero p {
  max-width: 700px;
  font-size: 1.2rem;
  color: #fbfbfb;
  margin-top:0;
  margin-bottom:48px;
  font-family: 'Roboto', sans-serif;
}

/* ============================= */
/* SECTION STYLES */
/* ============================= */
section {
  font-family: 'Lora', serif;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1D3C41;
}

.section-divider {
  border-top: 2px dashed #798D8D;
  max-width: 1200px;
  margin: 20px auto;
  opacity: 70%;
}

/* ============================= */
/* SERVICES STYLES */
/* ============================= */
#client-image{
  width: 100%;          
  max-width: 550px;     
  height: auto;         
  border-radius: 0;     
  display: block;       
  margin: 0 auto;       
  z-index: 0;

}

#services {
  position: relative;
  width: 100vw;                       
  left: 50%;
  right: 50%;
  margin-left: -50vw;                 
  margin-right: -50vw;                
  box-sizing: border-box;
  background-color: #edece7;
  padding: 2rem;                    
  z-index: 0;
}

.services-image {
  flex: 1;
  position: relative;

}

.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;                    
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.services-content {
  flex: 1;
  position: relative;
  z-index: 2;
  margin-left: -90px;
}

.services-content h2 {
  color: #1D3C41;
  font-size: 2rem;
  margin-bottom: 0px;
  text-align: left;
  padding-left: 36px;
}

.services-content p {
  color: #1D3C41;
  margin-bottom: 1rem;
  text-align: left;
  padding-left: 40px;
  font-family: 'Roboto', sans-serif;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  z-index:1;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;            
  flex: 1 1 calc(50% - 10px);            
}

.service-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 275px;
  background-color: #fff;
  padding: 20px;
  margin:0;
  border-radius: 0px;
  position: relative;       
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #1D3C41;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  flex: 1;  
        
}

.service-card ul li {
  margin-bottom: 8px;
  color: #798D8D;
  font-family: 'Roboto', sans-serif;
}

.service-card:hover {
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.12),
    inset 0 -4px 0 0 #1D3C41;
}



/* ============================= */
/* WHO WE ARE STYLES */
/* ============================= */
#group-pic {
  width: 100%;          
  max-width: 600px;     
  height: auto;         
  border-radius: 0;     
  display: block;       
  margin: 0 auto; 
} 

.content-with-image {
  max-width:1200px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 auto;
  align-items: center;
  justify-content: center; 
  padding: 3rem;
}

.text-content {
    flex: 2;
    min-width: 250px;
    max-width: 500px;
}

.buttons-group {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

/* ============================= */
/* BUTTON STYLES */
/* ============================= */

button,
.btn-primary,
.btn-secondary{
  border: none;       /* Removes default browser border */
  outline: none;      /* Removes default focus outline */
}

.btn-primary {
  background-color: #a8906b;
  color: #fff;
  outline: none;
  font-family: 'Lora', serif;
  /*text-transform: uppercase;*/
  font-weight: 500;
  letter-spacing: 1.1px;
  font-size:1rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 12px 24px;
  border-radius:2px;
}

.btn-primary:hover {
  background-color: #9a815a;
  text-decoration: none; 
}

.btn-secondary {
  font-size:1rem;
  font-family: 'Lora', serif;
  /*text-transform: uppercase;*/
  font-weight: 400;
  letter-spacing: 0.8px;
  background-color: #798D8D;
  color: #fff;
  text-decoration: none;
  display: inline-block; 
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius:2px;
  outline: none;
  padding: 8px 16px;
}

.btn-secondary:hover {
  background-color: #446363;
  color: #fff;
  text-decoration: none; 
}

.btn-tertiary {
  font-size:1rem;
  font-family: 'Lora', serif;
  /*text-transform: uppercase;*/
  font-weight: 400;
  letter-spacing: 0.8px;
  background-color: transparent;
  border: 2px solid #798D8D;
  color: #798D8D;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease; 
  border-radius:2px;
  outline: none;
  padding: 8px 16px;
}

.btn-tertiary:hover {
  background-color: #798D8D;
  color: #fff;
  text-decoration: none; 
  opacity:60%;
}

/* ============================= */
/* COMMITMENT BANNER STYLES */
/* ============================= */
#commitment-banner {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 20px;
  background: url('assets/nature4.jpg') center center no-repeat;
  background-size: cover;
  text-align: center;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1D3C41;
  opacity: 0.75;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  color: #F6F5ED;
  max-width: 900px;
  margin: 0 auto;
}

.banner-content p {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 600px) {
  #commitment-banner {
    padding: 60px 20px;
  }
  .banner-content p {
    font-size: 1.5rem;
  }
}

/* ============================= */
/* RESOURCE PREVIEW */
/* ============================= */
.resources-preview {
  max-width:1200px;
  width:90%;
  margin: 0 auto;
  padding: 0 20px;                    
  text-align: left;
  background-color: #F9FAFA;
}
.resources-preview .section-title {
  color: #1D3C41;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  margin-top: 2rem;

}

.resources-footer{
  display: flex;
  align-items: center;         /* vertically center items */
  justify-content: space-between; /* push button left, links right */
  flex-wrap: wrap;             /* prevents overflow on smaller screens */
  gap: 1rem;
  margin-top: 1.5rem;
}

.resources-links {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top:0;
}

.resources-links a {
  color: #1D3C41;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.resources-links a:hover {
  color: #C2AB88;
  text-decoration: underline;
}

/* ============================= */
/* CONTACT STYLES */
/* ============================= */
.contact-section {
  background: 
    linear-gradient(rgba(29, 60, 65, 0.9), rgba(29, 60, 65, 0.7)),
    url('/files/108472/bridge.png') center/cover no-repeat;
    /*linear-gradient(rgba(29, 60, 65, 0.9), rgba(29, 60, 65, 0.7)),
    url('assets/bridge.png') center/cover no-repeat;*/
  color: #F6F5ED;
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-radius: 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin: 0;         
  max-width: 100vw; 
}

.contact-wrapper {
  max-width: 1200px; 
  padding-left:1rem; 
  padding-right:1rem; 
  margin: 0 auto;      
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-info {
  flex-basis: 600px; 
  flex-shrink: 1; 
  min-width: 250px;
}

.contact-text {
  flex-grow: 1; 
  font-size: 1rem;
  line-height: 1.3;
  font-family: 'Roboto', sans-serif;
}

.contact-info h2 {
  margin-bottom: 15px;
  font-family: 'Lora', serif;
}

.contact-info p {
  margin-bottom: 10px;
  font-size:1rem;
  font-family: 'Roboto', sans-serif;
  color:#F6F5ED;
}

.contact-section a{
  color: #F6F5ED;
  text-decoration: underline;
}

.contact-info a:link, .contact-info a:visited {
  color: #F6F5ED; 
  text-decoration: none;
}

.contact-info a:hover {
  color: #C2AB88;
  text-decoration: underline;
}

.contact-item-wrapper {
  display: flex;
  align-items: center; 
  justify-items:center;
  margin-bottom: 15px; 
}

.contact-icon {
  font-size: 1rem;
  color: #C2AB88; 
  text-align: center;
  flex-shrink: 0; 
  font-family: "Font Awesome 6 Free", sans-serif; 
  font-weight: 900;
  margin-bottom: 10px;
  margin-top: 0px;
}

.separator {
  background-color: #C2AB88; 
  width: 2px;
  margin: 0 15px; 
  min-height: 1.5rem; 
}

.contact-item-wrapper:first-child .separator {
  min-height: 3.5rem; 
}



/* ============================= */
/* CONSULTATION MODAL STYLES */
/* ============================= */
.modal {
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #f6f5ed;
  padding: 30px;
  width: 90%; 
  max-width: 500px;
  border-radius: 4px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #1D3C41;
    font-size: 1.5rem;
}

.close-button {
  color: #798D8D;
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #1D3C41;
}

.modal-buttons-group {
    display: flex;
    flex-direction: column; 
    gap: 15px;
}

.btn-modal {
    width: 100%;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
}

/* ============================= */
/* FOOTER STYLES */
/* ============================= */
footer {
  background-color: #1D3C41;
  color: #bdc3c7;
  padding: 20px;
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-top {
  display: flex;
  width:100%;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid #bdc3c7;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  padding-right:1rem;
  padding-left:1rem;
  align-items:center;
}

.footer-links{
  gap: 0.5rem;
  color:#fff;
}
.footer-links a:not(:last-child)::after {
  content: " | ";
  color: #bdc3c7; /* separator color */
  margin-left: 1rem;
  margin-right:1rem;
}

.footer-links a{
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-docs a {
  color: #798D8D;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-docs a:hover {
  color: #c2ab88;
}

.footer-bottom {
  text-align: left;
  font-size: 0.75rem;
  color: #555;
}

.footer-bottom p {
  margin-bottom: 1rem;
}

.footer-bottom .disclaimer {
  font-size: 0.7rem;
  color: #666;
}


/* ============================= */
/* ABOUT PAGE STYLES */
/* ============================= */
/* Advisor Cards */
#jason-name{
  letter-spacing:-0.5px;
}
.advisor-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: #C2AB88 3px solid; 
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
    width: 460px;
    max-width: 90%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.advisor-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.advisor-card.expanded {
    box-shadow: 0 10px 20px rgba(29, 60, 65, 0.2); 
    background-color: #F6F5ED;
}

.advisor-image {
    width: 180px;
    border-radius: 4px;
    object-fit: cover;
}

.advisor-info {
    display: flex;
    flex-direction: column;
    justify-content: left;
    text-align:left;
}

.advisor-card h3 {
    margin: 0;
    color: #1D3C41;
    font-size: 1.5rem;
    text-align:left;
}

.credentials-inline{
    font-size: 1rem; 
    color: #798D8D; 
    margin: 0 0 15px 0;
    line-height: 1;
    text-align:left;
}

.advisor-card h3 span {
    display: block;
    font-size: 0.8em;
    color: #798D8D;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.advisor-card p.role {
    font-size: 1rem; 
    color: #798D8D; 
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-align:left;
}

.card-top-content {
    display: grid;
    grid-template-columns: 2fr 3fr; 
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.card-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.card-text-col {
    order: 2; 
    align-self: flex-end;
    margin-top: auto;  
    margin-bottom: 1rem;
    text-align: left;
}

.contact-item-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0; 
    padding-top: 0;
    border-top: none;
    margin-bottom:2px; 
}

.contact-item-group p {
    margin: 0px 0;
    font-size: 0.95rem;
}

.contact-item-group a {
    color: #1D3C41;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-group a:hover {
    color: #C2AB88;
    text-decoration: underline;
}

.contact-item-group i {
    color: #C2AB88;
    margin-right: 8px;
}

.advisor-card .btn-primary {
    color:#fff;
    cursor: pointer;
    margin-top: auto; 
    align-self: center;
    width: 440px;
    max-width: 90%;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 4px 8px;
}

.advisor-card .btn-primary:hover {
    color:#fff;
    background-color: #9a815a;
    text-decoration:none;
}

/* Advisor Modal */
.advisor-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}
.advisor-modal .modal-content {
  background-color: #f6f5ed;
  width: 90%;
  max-width: 900px;
  padding: 40px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  text-align: left;
}

@media (max-width: 768px) {
  .advisor-modal {
    padding: 10px 0;
    align-items: flex-start;
}
  .advisor-modal .modal-content {
      max-width: 95%;
      padding: 25px;
  }
}
.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #1D3C41;
    text-decoration: none;
    cursor: pointer;
}

.modal-profile-header {
    display: flex;
    align-items: flex-start;
    border-bottom: 2px solid #C2AB88;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-profile-header .advisor-image {
    width: 120px;
    height: 100%;
    border-radius: 0; 
    margin-right: 25px;
    flex-shrink: 0;
}

.modal-profile-header h3 {
    font-size: 2rem;
    margin: 0 0 5px 0;
    color: #1D3C41;
}

.modal-profile-header h4 {
    color: #1D3C41;
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 500;
}

.modal-profile-info {
    line-height: 1.4;
}

.modal-profile-info p {
    margin: 5px 0;
}

.modal-bio p {
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Process Steps */
.process-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.process-step {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s, background-color 0.3s;
}

.process-step:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.process-step.expanded {
    background-color: #f7f7f7;
    border-color: #C2AB88;
}

.process-header {
    display: flex;
    align-items: center;
    background-color:#fff;
    cursor: pointer;
    justify-content: space-between;
    font-family: 'Lora', serif;
    padding-right:20px;
}

.process-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #1D3C41;
    flex-grow: 1;
    margin-left: 20px;
}

.step-number {
    font-size: 2rem;
    font-weight: 600;
    color: #C2AB88;
    flex-shrink: 0;
    line-height: 1;
    background-color: #F6F5ED;
    padding:20px;
}

.process-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.4s ease-out;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.process-content p {
    padding: 12px;
    margin: 0;
    color:#798D8D;
    background-color:#F6F5ED;
    transition: max-height 0.5s ease-out, opacity 0.4s ease-out;
}

.process-step.expanded .process-content {
    max-height: 500px; 
    opacity: 1;
    transition: max-height 0.7s ease-in, opacity 0.7s 0.1s ease-in;
}

.process-expand-icon {
    font-size: 1.2rem;
    color: #1D3C41;
    transition: transform 0.3s;
}

.process-step.expanded .process-expand-icon {
    transform: rotate(180deg);
    color: #C2AB88;
}

#team{
    padding-left:20px;
    padding-right:20px;
    padding-top:10px;
    padding-bottom:2rem;
    margin-bottom:2rem;
    background-color:#1D3C41;
    text-align: center; 
    width:100%;
}

/* About page text section */
.text-section-content .value-block h3 {
    color: #1D3C41;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.text-section-content .value-block p {
    color: #555;
    line-height: 1.7;
}

/* ============================= */
/* CONTACT PAGE STYLES */
/* ============================= */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-top: 24px;
}

.contact-info-block-main {
    flex: 1 1 350px;
    padding: 30px;
    padding-top:0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-info-block-main h3 {
    color: #1D3C41;
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #C2AB88;
    padding-bottom: 10px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    align-items: center; 
}

.contact-detail-item i {
    font-size: 1.5rem;
    color: #C2AB88;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    padding-top: 5px;
    align-items: center; 
}

.contact-detail-item p {
    margin: 0;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
    color: #1D3C41;
    align-items: center; 
}

.contact-map-hours {
    flex: 1 1 500px;
}

.hours-box {
    background-color: #F6F5ED;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #ddd;
}

.hours-box h4 {
    color: #1D3C41;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* ============================= */
/* SERVICES PAGE STYLES */
/* ============================= */
.main-service-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-area-block {
    display: flex;
    gap: 40px;
    padding-bottom: 20px;
}

.service-area-header {
    flex: 0 0 350px;
    align-self: flex-start;
}

.service-area-header h2 {
    font-family: 'Lora', serif;
    font-size: 2.25rem;
    color: #1D3C41;
    border-bottom: 3px solid #C2AB88;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.service-list-wrapper {
    flex: 1;
}

.clean-service-list {
    display: flex; 
    flex-direction: column;
    gap: 12px; 
    padding: 24px;
    background-color:#F6F5ED;
}

.service-list-item {
    display: flex; 
    gap: 12px; 
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd; 
    text-align: left;
}

.clean-service-list .service-list-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.service-icon {
    font-size: 1.8rem;
    color: #C2AB88;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
    line-height: 1;
    margin-top: 2px;
}

.service-text-content {
    flex: 1;
}

.service-list-item h3 {
    color: #1D3C41;
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 5px;
}

.service-list-item p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

/* Partner Section */
.partner-section {
    background-color: #F6F5ED;
    padding: 60px 20px;
    margin-top: 40px;
    border-top: 2px solid #ddd;
    min-height: 100px;
    width: 100%;
    box-sizing: border-box;
}

.partner-section h2 {
    font-family: 'Lora', serif;
    color: #1D3C41;
    font-size: 2rem;
    margin-bottom: 10px;
}

.partner-list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px 30px;
    text-align: left;
}

.partner-list a {
    color: #1D3C41;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s, background-color 0.2s, text-decoration 0.2s;
    position: relative;
    display: block;
    padding: 5px;
    border-radius: 4px;
}

.partner-list a:hover {
    color: #C2AB88;
    background-color: #eee;
    text-decoration: underline;
}

/* ============================= */
/* RESOURCES PAGE - SEARCH & FILTER */
/* ============================= */
.search-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1;
  padding: 12px 20px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.search-input:focus {
  outline: none;
  border-color: #C2AB88;
}

.search-btn {
  padding: 12px 24px;
  background-color: #798D8D;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-btn:hover {
  background-color: #446363;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
}

.filter-btn {
  padding: 8px 16px;
  background-color: #fff;
  color: #798D8D;
  border: 2px solid #ddd;
  border-radius: 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: #C2AB88;
  color: #1D3C41;
}

.filter-btn.active {
  background-color: #C2AB88;
  color: #fff;
  border-color: #C2AB88;
}

/* ============================= */
/* NEWSLETTER CARDS */
/* ============================= */
.newsletters-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.newsletter-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: 3px solid #C2AB88;
  border-radius: 4px;
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.newsletter-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/*.newsletter-date {
  font-size: 0.85rem;
  color: #C2AB88;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}*/

.newsletter-title {
  font-size: 1.3rem;
  color: #1D3C41;
  font-family: 'Lora', serif;
  margin-bottom: 12px;
  line-height: 1.4;
}

.newsletter-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.newsletter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tag {
  padding: 4px 10px;
  background-color: #F6F5ED;
  color: #798D8D;
  font-size: 0.75rem;
  border-radius: 12px;
  font-family: 'Roboto', sans-serif;
}

.newsletter-card .btn-secondary {
  align-self: flex-start;
  text-decoration: none;
  padding: 8px 16px;
  font-size: 0.9rem;
}
/* ============================= */
/* CALCULATOR RESOURCES PAGE */
/* ============================= */
.category-title {
  font-family: 'Lora', serif;
  font-size: 1.75rem;
  color: #1D3C41;
  margin-bottom: 1rem;
  margin-top: 2rem;
  border-left: 5px solid #C2AB88;
  padding-left: 0.5rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 250px);
  gap: 20px;
  justify-content: center; /* centers the grid if not full width */
}

.calculator-card {
  display: block;
  background: #fbfbfb;
  border-radius: 8px;
  padding: 20px;
  text-decoration: none;
  font-weight: 500;
  color: #1D3C41;
  border: 1px solid #E5E2D8;
  transition: all 0.25s ease;
}

.calculator-card:hover {
  background: #E5E2D8;
  transform: translateY(-4px);
}

/* ============================= */
/* RESPONSIVE - RESOURCES PAGE */
/* ============================= */
@media (max-width: 768px) {
  .search-container {
      flex-direction: column;
  }
  
  .search-btn {
      width: 100%;
  }
  
  .newsletters-container {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  
  .filter-container {
      gap: 8px;
  }
  
  .filter-btn {
      padding: 6px 12px;
      font-size: 0.85rem;
  }
}


/* ============================= */
/* HEADER & NAVIGATION - MOBILE */
/* ============================= */
@media (max-width: 814px) {
  .top-bar {
    display: none;
  }
  .hamburger-btn {
    display: flex !important;
    width: 44px;
    height: 44px;   /* minimum touch target */
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .nav-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 15px;
    gap: 0;
  }

  .logo img {
    height: 40px;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  nav.active {
    max-height: 500px;
    overflow-y: auto;
  }

  nav a {
    padding: 14px 20px;
    font-size: 1rem;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
  }

  .dropdown {
    width: 100%;
    position: static;
  }

  .dropbtn {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
  }

  .dropdown-content {
    position: static;
    display: none !important;
    background-color: #f9f9f9;
    box-shadow: none;
    border-top: none;
    border-left: 4px solid #C2AB88;
    max-width: 100%;
    padding-left: 35px;
    font-size: 0.95rem;
  }

  .dropdown.active .dropdown-content {
    display: block !important;
    align-items: flex-start;
  }

  .dropdown-content a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
  }

  .dropbtn::after {
    content: "▾"; /* downward arrow */
    font-size: 0.9em;
    margin-left: 8px;
    transition: transform 0.3s ease;
  }

  /* Rotate arrow when dropdown is active */
  .dropdown.active .dropbtn::after {
    transform: rotate(-180deg);
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* ============================= */
/* HERO SECTION - MOBILE */
/* ============================= */
@media (max-width: 768px) {
  .hero {
    height: 40vh;
  }

  .hero-content {
    top: 50%;
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .btn-primary {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 35vh;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
}

/* ============================= */
/* SERVICES SECTION - MOBILE */
/* ============================= */

@media (max-width: 1058px) {
  .services-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* vertical centering if needed */
    gap: 20px;
  }

  .services-content {
      flex: unset;         /* remove previous flex: 1 */
      margin-left: 0 !important; 
      max-width:90%;
      padding: 0 20px; 
      z-index: 1;
      align:center;
      margin: 0;
  }
  
  .services-content h2,
  .services-content p {
      padding-left: 0; 
      margin-left:0;
      text-align: center; 
  }

  .services-image {
      display:none;
  }
  .card-container {
    display: flex;
    flex-wrap: wrap;           /* allows wrapping if needed */
    justify-content: center;   /* horizontally centers all cards */
    gap: 1rem;
    width: 100%;
  }

} 


@media (max-width: 1261px) {
  #services {
    padding: 2rem 1rem;
    width: 100%; 
  }

  .services-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .services-image {
    flex: 0 1 45%;
    height: 400px;
    overflow:hidden;
  }
  #client-image {
    width: 100%;
    height: 100%;           /* fill the container */
    object-fit: cover;      /* crop instead of shrink */
    object-position: center;
    display: block;
  }

  .services-content {
    flex: 1;
    margin-left: -10vw;
  }
  .card-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .service-card {
    flex: 1 1 45%;
    min-width: 300px;
  }
  .service-content h3{
    margin-left: 40px;
  }
  .service-content p{
    margin-left: 40px;
  }
}

@media (max-width: 768px) {
  #services {
    padding: 2rem 1rem;
    width: 100vw;
  }
  .services-image{
    display:none; 
  }

  .services-wrapper {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }

  .services-content {
    margin-left: 0;
  }

  .services-content h2,
  .services-content p {
    padding-left: 0;
    text-align: left;
  }

  .card-container {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .service-card {
    width: 100%;
    flex: 1 1 auto;
  }
  .partner-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* ============================= */
/* WHO WE ARE - MOBILE */
/* ============================= */
@media (max-width: 768px) {
  .content-with-image {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .text-content {
    max-width: 100%;
  }

  .buttons-group {
    flex-direction: column;
    gap: 10px;
  }

  .btn-secondary,
  .btn-tertiary {
    width: 100%;
  }
}

/* ============================= */
/* COMMITMENT BANNER - MOBILE */
/* ============================= */
@media (max-width: 768px) {
  #commitment-banner {
    padding: 50px 20px;
  }

  .banner-content p {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  #commitment-banner {
    padding: 40px 15px;
  }

  .banner-content p {
    font-size: 1rem;
  }
}

/* ============================= */
/* INSIGHTS - MOBILE */
/* ============================= */
@media (max-width: 768px) {
  #insights {
    padding: 2rem 1rem;
  }

  .insights {
    flex-direction: column;
    gap: 15px;
  }

  .insight-card {
    flex: 1 1 100%;
  }
}

/* ============================= */
/* CONTACT SECTION - MOBILE */
/* ============================= */
@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }

  .contact-info {
    flex-basis: 100%;
  }

  .contact-item-wrapper {
    margin-bottom: 15px;
  }

  .separator {
    margin: 0 12px;
    min-height: 1.2rem;
  }

  .contact-item-wrapper:first-child .separator {
    min-height: 2.5rem;
  }
}

@media (max-width: 480px) {
  .contact-item-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .separator {
    display: none;
  }

  .contact-icon {
    margin-bottom: 8px;
  }

  .contact-text {
    margin-left: 0;
  }
}

/* ============================= */
/* ABOUT PAGE - ADVISOR CARDS */
/* ============================= */
@media (max-width: 768px) {
  #team {
    padding: 2rem 1rem;
  }

  .card-container {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .advisor-card {
    width: 100%;
    max-width: 100%;
  }

  .card-top-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .card-image-col {
    justify-content: flex-start;
  }

  .advisor-image {
    width: 100%;
    max-width: 200px;
  }

  .card-text-col {
    order: initial;
    align-self: auto;
  }

  .advisor-card .btn-primary {
    width: 100%;
  }
}

/* ============================= */
/* ADVISOR MODAL - MOBILE */
/* ============================= */
@media (max-width: 768px) {
  .advisor-modal .modal-content {
    max-width: 95%;
    padding: 20px;
  }

  .modal-profile-header {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .modal-profile-header .advisor-image {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
    margin-right: 0;
  }

  .modal-profile-header h3 {
    font-size: 1.5rem;
  }

  .modal-bio p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* ============================= */
/* PROCESS ACCORDION - MOBILE */
/* ============================= */
@media (max-width: 768px) {
  .process-accordion-wrapper {
    max-width: 100%;
  }

  .process-header {
    padding-right: 10px;
  }

  .process-header h3 {
    font-size: 1.1rem;
    margin-left: 10px;
  }

  .step-number {
    font-size: 1.5rem;
    padding: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .process-expand-icon {
    font-size: 1rem;
  }

  .process-content p {
    font-size: 0.95rem;
  }
}

/* ============================= */
/* SERVICES PAGE - MOBILE */
/* ============================= */
@media (max-width: 900px) {
  .service-area-block {
    flex-direction: column;
  }

  .service-area-header {
    flex-basis: auto;
    text-align: left;
    padding: 0;
  }

  .service-area-header h2 {
    font-size: 1.5rem;
  }

  .clean-service-list {
    padding: 15px;
  }

  .service-list-item {
    padding-bottom: 15px;
  }

  .service-icon {
    font-size: 1.5rem;
    width: 40px;
  }

  .service-list-item h3 {
    font-size: 1.1rem;
  }

  .service-list-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .service-area-header {
    padding: 0 15px;
  }

  .service-area-header p {
    font-size: 0.95rem;
  }

  .clean-service-list {
    padding: 10px;
  }

  .service-list-item {
    gap: 10px;
  }
}

/* ============================= */
/* PARTNER LIST - MOBILE */
/* ============================= */
@media (max-width: 900px) {
  .partner-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .partner-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .partner-list a {
    padding: 8px;
    font-size: 0.95rem;
  }
}

/* ============================= */
/* CONTACT PAGE - MOBILE */
/* ============================= */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    gap: 20px;
  }

  .contact-info-block-main {
    flex: 1 1 100%;
    padding: 20px;
  }

  .contact-map-hours {
    flex: 1 1 100%;
  }

  .contact-detail-item i {
    font-size: 1.3rem;
    width: 25px;
  }

  .contact-detail-item p {
    font-size: 0.95rem;
  }
}

/* ============================= */
/* MODAL - MOBILE */
/* ============================= */
@media (max-width: 600px) {
  .modal {
    padding: 10px;
  }

  .modal-content {
    width: 95%;
    max-width: 95%;
    padding: 20px;
  }

  .modal-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .modal-buttons-group {
    gap: 10px;
  }

  .btn-modal {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .close-button {
    font-size: 24px;
    top: 8px;
    right: 12px;
  }
}

/* ============================= */
/* FOOTER - MOBILE */
/* ============================= */
@media (max-width: 600px) {
  footer {
    padding: 15px;
    font-size: 0.9rem;
  }

  footer .footer-links {
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
  }

  footer a {
    font-size: 0.85rem;
  }

  footer p {
    font-size: 0.8rem;
  }
}

/* ============================= */
/* GENERAL MOBILE IMPROVEMENTS */
/* ============================= */
@media (max-width: 600px) {
  html {
    font-size: 85%;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .section-divider {
    margin: 15px auto;
  }

  main {
    padding: 10px;
  }

  button {
    min-height: 44px;
    min-width: 44px;
  }

  a {
    word-break: break-word;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}