/* Boundary Advisors Website Styles */
:root {
  /* Primary color palette based on Boundary Advisors logo */
  --primary-dark-blue: #002B54;
  --primary-light-blue: #4A7BA7;
  --primary-teal: #6AACB8;
  --primary-sand: #E6DED1;
  --primary-light-sand: #F5F2ED;
  
  /* Text colors */
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --text-white: #FFFFFF;
  
  /* Spacing variables */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Font sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.25rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 3rem;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--text-white);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

.main-content {
  flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-weight: normal;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: var(--font-size-xxl);
}

h2 {
  font-size: var(--font-size-xl);
}

h3 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary-dark-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-light-blue);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Briefings list styles */
.briefings-list {
    margin: 0.5rem 0;
    padding: 0.5rem 0.75rem;
    background-color: var(--primary-light-sand);
    border-radius: 6px;
}

.briefings-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.briefings-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1.5;
    margin: 0;
}

.briefings-list li:last-child {
    border-bottom: none;
}

.briefings-list a {
    color: var(--primary-dark-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease;
    display: block;
    padding: 0.2rem 0.5rem 0.2rem 1rem;
    font-size: 0.95em;
    position: relative;
    line-height: 1.4;
}

.briefings-list a:hover {
    color: var(--primary-teal);
    background-color: rgba(255, 255, 255, 0.7);
    padding-left: 1.2rem;
}

.briefings-list a::before {
    content: '•';
    color: var(--primary-teal);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1.4;
}

/* Adjust spacing around the briefings section */
.main-content p {
    margin: 0.75rem 0;
}

.main-content > .container > p:first-of-type {
    margin-bottom: 0.5rem;
}

.main-content > .container > p:last-of-type {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

/* Header styles */
header {
  background-color: var(--text-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
}

.logo {
  height: 60px;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Navigation styles */
nav ul {
  display: flex;
  list-style: none;
  flex-direction: row;
  gap: 1.5em; /* Increased from 1.2em */
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}
/* Remove JS-based dropdown logic */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,43,84,0.08);
  border-radius: 8px;
  padding: 0.5em 0;
  z-index: 2000;
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu li a {
  display: block;
  padding: 0.35em 1em !important; /* Adjusted horizontal padding for left alignment */
  color: #4A7BA7;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.90em;
  letter-spacing: 0.2px;
  transition: color 0.2s;
  text-align: left; /* Changed from center to left */
}

.dropdown-menu li a:hover {
  background: none;
  color: #174B7C;
  text-decoration: none !important;
}

.dropdown-menu li a:visited,
.dropdown-menu li a:focus {
  text-decoration: none !important;
}

/* Force removal of underline on all states for dropdown links */
.dropdown-menu li a:hover,
.dropdown-menu li a:active,
.dropdown-menu li a:focus,
.dropdown-menu li a:visited {
  text-decoration: none !important;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Make sure dropdown doesn't affect layout */
.dropdown-menu {
  box-sizing: border-box;
}


nav ul li {
  /* margin-left: var(--spacing-md); Removed this line */
}

nav ul li a {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem; /* Slightly reduced from var(--font-size-sm) which is 0.875rem */
  letter-spacing: 1px;
  padding: var(--spacing-xs) 0; /* Reverted from 0.25em 0 */
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-chevron {
  margin-left: 0.35em;
  transition: opacity 0.2s;
  opacity: 0.7;
}
nav ul li a:hover .nav-chevron {
  opacity: 1;
}


nav ul li a::after {
  content: none;
}

nav ul li a:hover::after {
  width: 0;

}

/* Hero section styles */
.hero {
  background: linear-gradient(90deg, #F7F3EF 0%, #F5EFE7 100%);
  padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
  position: relative;
}

.service-title {
  margin-top: 6.5rem;
}

@media (max-width: 600px) {
  .service-title {
    margin-top: 6.25rem; /* Increased from 4.2rem to clear fixed header (approx 92px + buffer) */
  }
}



.hero-text h1 {
  font-size: 2.76rem;
}


@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  width: 50%;
  padding-right: var(--spacing-lg);
}

.hero-image {
  width: 50%;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services section styles */
.services {
  padding: var(--spacing-md) 0; /* Further reduced padding from lg to md */
  margin-top: -20px; /* Added negative margin to pull services section up */
  background-image: url('../images/p6_pattern.png');
  background-repeat: repeat;
}

.services-grid {
  display: grid;
  /* Explicitly set 4 columns for wider screens */
  grid-template-columns: repeat(4, 1fr); 
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  align-items: start; /* Align items to the start of the grid cell */
}

/* Styles for the new service item layout */
.service-item {
  display: flex;
  flex-direction: column; /* Stack icon, content, button vertically */
  /* align-items: center; Removed - will center icon/button individually */
  /* text-align: center; Removed - will left-align text content */
  height: 100%; /* Ensure items take full height for alignment */
  padding-bottom: var(--spacing-md); /* Add some padding at the bottom */
}


.service-icon {
  min-height: 80px; /* Adjusted min-height for final icon size */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: var(--spacing-sm); /* Add space below icon */
  margin: 0 0 var(--spacing-sm) 1.2em; /* Increased nudge for perfect alignment */
  text-align: left;
 
}

.service-icon img {
  height: 145px; /* Increased icon height by ~5% */
  width: auto;
  margin-left: -10px; /* Increased nudge left for 2nd, 3rd, 4th icon */
}

/* Specific adjustments for icon alignment */
.service-icon img[alt="Research Services"],
.service-icon img[alt="Investor Relations Strategy"],
.service-icon img[alt="Market Engagement"] {
  position: relative;
  left: -8px; /* Nudge left */
}

.service-icon img[alt="Market Engagement"] {
  top: -4px;  /* Additional nudge up */
}

.service-content {
  padding: 0 var(--spacing-sm); /* Adjust padding as needed */
  flex-grow: 1; /* Allow content to grow and push button down */
  display: flex; /* Use flexbox for vertical alignment within content */
  flex-direction: column; /* Stack h3 and p */
  justify-content: flex-start; /* Align content to the top */
  text-align: left; /* Left-align text as requested */
  width: 100%; /* Ensure content takes full width */
}

.service-content h3 {
  color: var(--primary-dark-blue);
  margin-bottom: var(--spacing-sm);
  min-height: 5.5rem; /* Adjusted min-height for two-line title alignment */
}

/* Ensure button is pushed to the bottom and left-aligned within service-content */
.service-content .btn-secondary { /* Target button inside service-content */
  margin-top: auto; /* Push button to the bottom */
  /* Removed centering styles (margin-left/right: auto, display: block) */
}


/* Differentiators section styles */
.differentiators {
  padding: var(--spacing-md) 0; /* Reduced top/bottom padding from xl (5rem) to md (2rem) */
  /* background-color: var(--primary-light-sand); */ /* Removed to allow parent hover effect to show through */
}

.venn-diagram {
  max-width: 600px;
  margin: var(--spacing-lg) auto;
}

.venn-diagram img {
  width: 100%;
  height: auto;
}

/* Clients section styles */
.clients {
  padding: var(--spacing-xl) 0;
  background-color: var(--text-white);
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.client-logo {
  height: 60px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
}

/* Contact section styles */
.contact {
  padding: var(--spacing-xl) 0;
  background-color: var(--primary-light-sand);
}

/* Contact form title spacing */
.contact-form h2 {
  margin-bottom: 2rem; /* Increased from default to add more padding below header */
}

.contact-grid {
  display: grid;
  grid-template-columns: 47fr 53fr; /* Adjusted to 47%/53% split */
  gap: var(--spacing-lg);
  align-items: start; /* Keep items aligned to the top of their grid area */
}

.contact-info {
  position: relative; 
  top: 4rem; /* Adjusted to nudge it a bit lower */
  padding-top: 0;
}

@media (max-width: 768px) {
  .contact-info {
    top: 0; /* Remove top spacing on mobile */
    margin-top: 0;
    padding-top: 0;
  }
}

/* Modern form styling */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  position: relative;
  margin-bottom: 11px;  
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.modern-input {
  width: 100%;
  padding: 15px; /* Increased padding for a more modern look */
  margin-bottom: 20px; /* Spacing between fields */
  border: 1px solid #D0D5DD; /* Light grey border */
  border-radius: 8px; /* Rounded corners */
  background-color: #FFFFFF; /* Changed to pure white */
  font-family: 'Open Sans', sans-serif; /* Consistent font */
  font-size: 1rem;
  color: #333; /* Darker text for readability */
  box-sizing: border-box; /* Ensures padding doesn't affect overall width */
  transition: border-color 0.4s ease, box-shadow 0.3s ease; /* Smooth transition for focus */
}

.modern-input::placeholder {
  color: #6c757d; /* Softer placeholder color */
  opacity: 1; /* Ensures placeholder is visible */
}

.modern-input:focus {
  border-color: #0056b3; /* Darker blue border on focus */
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25); /* Subtle glow on focus */
  outline: none; /* Removes default browser outline */
}

textarea.modern-input {
  min-height: 120px; /* Taller textarea */
  resize: vertical; /* Allow vertical resize only */
}

/* Floating label form styles */
.form-group {
  position: relative;
  margin-bottom: 5px; /* Further reduced from 7px to 5px */
}

.floating-label-input {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border: 1px solid #D0D5DD;
  border-radius: 8px;
  background-color: #fff;
  transition: border-color 0.3s;
}

.floating-label-input:focus {
  outline: none;
  border-color: #4A7BA7;
  box-shadow: 0 0 0 2px rgba(74, 123, 167, 0.2);
}

.floating-label {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 16px;
  color: #667085;
  pointer-events: none;
  transition: 0.5s ease all; 
  background-color: transparent;
}

.floating-label-input:focus ~ .floating-label,
.floating-label-input:not(:placeholder-shown) ~ .floating-label {
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: #4A7BA7;
  background-color: #f5f5f0; /* Match your form background color */
  padding: 0 5px;
  z-index: 1;
}

.floating-label-input::placeholder {
  color: transparent;
}

.floating-label-textarea {
  min-height: 120px;
  resize: vertical;
}

.modern-submit-btn {
  align-self: flex-start;
  background-color: #4A7BA7;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 40px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: var(--spacing-sm);
}

.modern-submit-btn:hover {
  background-color: #002B54;
  transform: translateY(-2px);
}

/* New Footer Styles */
footer {
  background-color: var(--primary-dark-blue);
  color: var(--text-white);
  padding: var(--spacing-sm) 0; /* Reduced padding for a thinner footer */
}

.footer-content-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.footer-logo-new {
  height: 30px; /* Adjusted logo height */
  filter: brightness(0) invert(1);
}

.footer-content-new p {
  margin: 0;
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .footer-content-new {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: var(--spacing-sm);
  }
  
  .footer-content-new p {
    line-height: 1.8;
  }
}

.footer-content-new a {
  color: var(--text-white);
  text-decoration: underline;
  opacity: 0.9;
}

.footer-content-new a:hover {
  opacity: 1;
}

/* Responsive styles */

/* Horizontally align the four Learn More buttons in the services section */
.services-buttons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  flex-wrap: wrap;
}

/* Ensure each button is centered in its column for all screen sizes */
.service-content .btn-learn-outline {
  display: inline-flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: var(--spacing-md);
  margin-left: 0;
}

/* Additional Sections */
.additional-sections {
    padding: 1rem 0 2rem;
}

/* How We Work Section */
.how-we-work {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.how-we-work .work-item {
    background-color: var(--primary-light-sand);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-teal);
}

.how-we-work .work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.how-we-work h4 {
    color: var(--primary-dark-blue);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.how-we-work p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Research Page Subheadings */
.feature-item h4 {
    color: var(--primary-dark-blue);
    font-size: 1.15rem;
    margin: 1.75rem 0 0.75rem 0;
    font-weight: 600;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--primary-teal);
    display: inline-block;
    clear: both;
}

/* Consistent spacing for paragraphs following h4 */
.feature-item h4 + p {
    margin-top: 0.5rem;
}

/* Collaborative Framework Styles */
.framework-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    justify-content: space-between;
}

.framework-item {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary-teal);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.framework-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.framework-item h4 {
    color: var(--primary-dark-blue);
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
    padding: 0;
    border: none;
    display: block;
    position: relative;
    padding-left: 1.5rem;
}

.framework-item h4::before {
    content: '•';
    color: var(--primary-teal);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.framework-item p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.5;
}

/* Project Experience Section */
.project-experience {
    margin: var(--spacing-lg) 0;
}

.project-experience h3.section-title {
    color: var(--primary-dark-blue);
    font-size: var(--font-size-lg);
    margin-bottom: 12px; /* Reduced from var(--spacing-md) */
    padding-bottom: 4px; /* Reduced from 8px */
    border-bottom: 2px solid var(--primary-teal);
    display: inline-block;
}

.experience-list {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-sm) 0 0 0;
}

.experience-list li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    font-size: 0.95em;
}

.experience-list li::before {
    content: '•';
    color: var(--primary-teal);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Equal height for service-item to keep buttons level */
.services-grid {
  align-items: stretch;
}

.service-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: flex-start;
  min-height: 370px; /* Adjust as needed for your content */
}

.service-content-spacer {
  flex-grow: 1;
}

.service-content h3,
.service-content p {
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .service-content .btn-learn-outline {
    margin-top: var(--spacing-sm);
  }
}

@media (max-width: 992px) {
  .services-buttons-row {
    flex-direction: column;
    gap: var(--spacing-md);
  }
}

.btn-learn-outline {
  display: inline-block;
  padding: 0.4em 0.7em;
  border-radius: 9px;
  background: #fff;
  color: #174B7C;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid #4A7BA7;
  box-shadow: 0 2px 8px rgba(74, 123, 167, 0.10);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
  width: auto !important;
  min-width: 0 !important;
}
.btn-learn-outline:hover, .btn-learn-outline:focus {
  border-color: var(--primary-dark-blue);
  color: var(--text-white);
  background: var(--primary-dark-blue);
  box-shadow: 0 4px 16px rgba(0, 43, 84, 0.25);
  text-decoration: none;
}

.btn-learn-more {
  display: inline-block;
  padding: 0.7em 2.1em;
  border-radius: 999px;
  background: linear-gradient(90deg, #4A7BA7 0%, #6AACB8 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 4px 18px rgba(74, 123, 167, 0.15);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn-learn-more:hover, .btn-learn-more:focus {
  background: linear-gradient(90deg, #3573b1 0%, #469cae 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(74, 123, 167, 0.22);
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 0.65em 1.3em;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.98em;
  text-align: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  box-shadow: 0 2px 8px rgba(0,43,84,0.08);
}

.btn-primary {
  background-color: #002B54;
  color: #fff;
  border: 2px solid #002B54;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #174B7C;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,43,84,0.15);
}

.btn-secondary {
  background-color: transparent;
  color: #002B54;
  border: 2px solid #002B54;
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #002B54;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,43,84,0.10);
}


/* Responsive styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text, .hero-image {
    width: 100%;
    padding-right: 0;
  }
  
  .hero-image {
    margin-top: var(--spacing-lg);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) { /* Adjust breakpoint if needed */
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none !important;
  }
  
  .services-grid {
    grid-template-columns: 1fr; /* 1 column on small screens */
  }
  
  .contact-form form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* Modern form styling */
.mobile-menu-toggle {
  display: none;
  font-size: var(--font-size-lg);
  background: none;
  border: none;
  color: var(--primary-dark-blue);
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: var(--text-white);
  padding: var(--spacing-lg);
  z-index: 1001;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  font-size: var(--font-size-lg);
  color: var(--primary-dark-blue);
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  margin-top: var(--spacing-xl);
}

.mobile-menu ul li {
  margin-bottom: var(--spacing-md);
}

.mobile-menu ul li a {
  display: block;
  font-size: var(--font-size-md);
  font-weight: 600;
  text-transform: uppercase;
}

/* Bullet point indentation for founder.html and terms.html */
.founder-content ul,
.terms-content ul {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.founder-content ul li,
.terms-content ul li {
  margin-bottom: 0.5rem;
}

/* Reduce margin for paragraph before briefings showcase */
.main-content .container > p:nth-of-type(2) {
  margin-bottom: var(--spacing-xs); /* Or 0 if more reduction is needed */
}
/* Briefings showcase styling */
.briefings-showcase {
    display: flex;
    justify-content: center; /* Center the single image */
    align-items: center;
    padding: var(--spacing-xs) 0; /* Further reduced top padding */
}

.briefing-collage-image {
    display: block;
    max-width: 90%; /* Increased size by another 3% */
    height: auto;
    margin: 0 auto; /* Ensure centering if flex container doesn't suffice */
}

/* Responsive adjustments for the collage image */
@media (max-width: 768px) {
    .briefing-collage-image {
        /* No specific changes needed yet, max-width: 100% should handle it.
           If the image is too small or too large on mobile, adjustments can be made here.
           For example, ensuring it doesn't get too small: min-width: 280px;
           Or if it needs more specific width control: width: 95%; */
    }
}

/* Our Approach page - service items alignment */
.differentiators .service-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 250px; /* Set a minimum height for all items */
}

.differentiators .service-item h3 {
  margin-bottom: 1rem;
  min-height: auto; /* Override any existing min-height */
}

.differentiators .service-item p {
  flex-grow: 1; /* Allow paragraphs to grow and fill available space */
  margin-bottom: 0; /* Remove bottom margin to ensure alignment */
}
.service-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: flex-start;
  min-height: 370px; /* Adjust as needed for your content */
}

.service-content-spacer {
  flex-grow: 1;
}

.service-content h3,
.service-content p {
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .service-content .btn-learn-outline {
    margin-top: var(--spacing-sm);
  }
}

@media (max-width: 992px) {
  .services-buttons-row {
    flex-direction: column;
    gap: var(--spacing-md);
  }
}

.btn-learn-outline {
  display: inline-block;
  padding: 0.4em 0.7em;
  border-radius: 9px;
  background: #fff;
  color: #174B7C;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid #4A7BA7;
  box-shadow: 0 2px 8px rgba(74, 123, 167, 0.10);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
  width: auto !important;
  min-width: 0 !important;
}
.btn-learn-outline:hover, .btn-learn-outline:focus {
  border-color: var(--primary-dark-blue);
  color: var(--text-white);
  background: var(--primary-dark-blue);
  box-shadow: 0 4px 16px rgba(0, 43, 84, 0.25);
  text-decoration: none;
}

.btn-learn-more {
  display: inline-block;
  padding: 0.7em 2.1em;
  border-radius: 999px;
  background: linear-gradient(90deg, #4A7BA7 0%, #6AACB8 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 4px 18px rgba(74, 123, 167, 0.15);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn-learn-more:hover, .btn-learn-more:focus {
  background: linear-gradient(90deg, #3573b1 0%, #469cae 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(74, 123, 167, 0.22);
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 0.65em 1.3em;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.98em;
  text-align: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  box-shadow: 0 2px 8px rgba(0,43,84,0.08);
}

.btn-primary {
  background-color: #002B54;
  color: #fff;
  border: 2px solid #002B54;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #174B7C;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,43,84,0.15);
}

.btn-secondary {
  background-color: transparent;
  color: #002B54;
  border: 2px solid #002B54;
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #002B54;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,43,84,0.10);
}


/* Responsive styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text, .hero-image {
    width: 100%;
    padding-right: 0;
  }
  
  .hero-image {
    margin-top: var(--spacing-lg);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) { /* Adjust breakpoint if needed */
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none !important;
  }
  
  .services-grid {
    grid-template-columns: 1fr; /* 1 column on small screens */
  }
  
  .contact-form form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* Modern form styling */
.mobile-menu-toggle {
  display: none;
  font-size: var(--font-size-lg);
  background: none;
  border: none;
  color: var(--primary-dark-blue);
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: var(--text-white);
  padding: var(--spacing-lg);
  z-index: 1001;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  font-size: var(--font-size-lg);
  color: var(--primary-dark-blue);
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  margin-top: var(--spacing-xl);
}

.mobile-menu ul li {
  margin-bottom: var(--spacing-md);
}

.mobile-menu ul li a {
  display: block;
  font-size: var(--font-size-md);
  font-weight: 600;
  text-transform: uppercase;
}

/* Bullet point indentation for founder.html and terms.html */
.founder-content ul,
.terms-content ul {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.founder-content ul li,
.terms-content ul li {
  margin-bottom: 0.5rem;
}

