/* 
 * Pinnacle Procurement Consulting
 * Main Stylesheet - McKinsey-inspired design
 */

/* ===== Base Styles ===== */
:root {
    /* McKinsey-inspired color palette */
    --primary-color: #1a3052; /* McKinsey navy */
    --primary-dark: #0f1e32;
    --secondary-color: #3da8b9; /* McKinsey aqua */
    --accent-color: #cfac60; /* McKinsey gold */
    --text-color: #183961; /* McKinsey blue */
    --text-light: #555555;
    --text-lighter: #777777;
    --bg-light: #f6f8f9; /* McKinsey light gray */
    --bg-white: #ffffff;
    --border-color: #c7e2f2; /* McKinsey gray */
    --success-color: #2e7d32;
    --warning-color: #f9a825;
    --error-color: #c62828;
    /* Font stack - using McKinsey fonts */
    --font-primary: 'Bower', Georgia, 'Times New Roman', serif; /* McKinsey serif font for headings */
    --font-secondary: 'McKinsey Sans', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* McKinsey-inspired font faces */
@font-face {
  font-family: 'McKinsey Sans';
  src: local('SF Pro Display'), local('Segoe UI');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'McKinsey Sans';
  src: local('SF Pro Display Medium'), local('Segoe UI Semibold');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'McKinsey Sans';
  src: local('SF Pro Display Light'), local('Segoe UI Light');
  font-weight: 300;
  font-style: normal;
}

/* McKinsey serif font for headings */
@font-face {
  font-family: 'Bower';
  src: url('/assets/fonts/Bower-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700; /* Bower is bold by default */
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
    font-weight: 300;
}

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

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

button, .btn-primary, .btn-secondary {
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 400;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section headings - McKinsey inspired */
.section-heading {
    margin-bottom: 3rem;
    max-width: 800px;
}

.section-heading h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: var(--primary-color);
    position: relative;
}

.section-heading h2:after {
    display: none;
}

.section-heading p {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.5;
    font-weight: 300;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.two-column .column {
    flex: 1;
    min-width: 300px;
}

/* ===== Header & Navigation ===== */
header {
    background-color: var(--bg-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

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

.logo a {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0.5rem 0;
    transition: var(--transition);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px; /* Increased height for the single underline */
    background-color: var(--secondary-color); /* Always use secondary color */
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--secondary-color);
    text-decoration: none; /* Remove text decoration on hover */
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.btn-contact {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-contact:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
}

.search-toggle:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* ===== Hero Section ===== */
.hero {
    background-color: var(--bg-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: nowrap;
}

.hero-content {
    max-width: 550px;
    flex: 1;
    z-index: 2;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
    position: relative;
}

.element-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    /* SVGs are naturally crisp and don't need special rendering properties */
}

.element-image:hover {
    transform: translateY(-5px);
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: none;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 2px;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
    text-transform: none;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Value Proposition Section ===== */
.value-prop {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--bg-white);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.card:hover .icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.card:hover h3 {
    color: var(--secondary-color);
}

.card .icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ===== Featured Insights Section ===== */
.featured-insights {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.insight-card {
    background-color: var(--bg-white);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.insight-card:hover h3 {
    color: var(--secondary-color);
}

.insight-card .number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background-color: var(--accent-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.insight-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    padding-top: 1.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.read-more:hover i {
    transform: translateX(8px);
    color: var(--secondary-color);
}

.read-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

/* ===== CTA Section ===== */
.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ===== Footer ===== */
footer {
    background-color: var(--bg-light);
    padding: 60px 0 30px;
    color: var(--text-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo a {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.footer-logo a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
}

.link-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-group ul li {
    margin-bottom: 0.75rem;
}

.link-group ul li a {
    color: var(--text-color);
    text-decoration: none;
}

.link-group ul li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

.legal-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 1.5rem;
}

.legal-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 6rem 0; /* Increased padding for more prominence */
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.1); /* Add subtle inner shadow at bottom */
}

/* Add subtle pattern overlay */
.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.05) 1%, transparent 5%);
    background-size: 20px 20px;
    opacity: 0.5;
}

.page-header .container {
    position: relative; /* Ensure content is above the overlay */
    z-index: 2;
}

.page-header h1 {
    margin-bottom: 1.25rem;
    color: white;
    font-size: 3.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.page-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.35rem;
    font-weight: 300;
    color: white;
    opacity: 0.95;
}

/* ===== About Page Styles ===== */
.about-intro {
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-family: var(--font-primary);
}

.stat-label {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.values {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 auto;
    max-width: 1000px;
}

.value-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--primary-color);
    color: white;
}

.value-card:hover h3 {
    color: white;
}

.value-card:hover .icon {
    color: var(--accent-color);
}

.value-card .icon {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team {
    padding: 6rem 0;
}

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

.team-member {
    text-align: center;
}

.member-image {
    width: 180px;
    height: 180px;
    border-radius: 0;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.member-image.placeholder {
    background-color: var(--bg-light);
}

.member-title {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-style: italic;
}

.member-bio {
    font-size: 0.95rem;
    font-weight: 300;
}

.careers {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.testimonial {
    background-color: var(--bg-white);
    padding: 3rem;
    margin-top: 2rem;
}

.quote {
    font-style: italic;
    font-size: 1.25rem;
    position: relative;
    padding: 0 1.5rem;
    font-family: var(--font-primary);
    line-height: 1.6;
}

.quote:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
}

.author {
    text-align: right;
    font-weight: 400;
    margin-top: 1.5rem;
}

/* ===== Services Page Styles ===== */
.services-overview {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-white);
    padding: 3rem;
    transition: var(--transition);
    border-top: 2px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.service-card:hover .icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-card:hover h3 {
    color: var(--secondary-color);
}

.service-card .icon {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-features {
    margin: 1.75rem 0;
}

.service-features li {
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.methodology {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.methodology-steps {
    margin-top: 2.5rem;
}

.step {
    display: flex;
    margin-bottom: 2.5rem;
}

.step-number {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 2.5rem;
    text-align: center;
}

.step-content h3 {
    margin-bottom: 0.75rem;
}

.case-study {
    background-color: var(--bg-white);
    padding: 3rem;
}

.case-highlight {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin: 1.5rem 0;
    font-family: var(--font-primary);
}

.case-results {
    margin: 1.75rem 0;
}

.case-results li {
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.industries {
    padding: 6rem 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.industry-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.industry-item:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.industry-item:hover .icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.industry-item:hover h3 {
    color: white;
}

.industry-item .icon {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

/* ===== Contact Page Styles ===== */
.contact-main {
    padding: 6rem 0;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

input, select, textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-family: var(--font-secondary);
    font-size: 1rem;
    background-color: var(--bg-light);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 3rem;
    margin-bottom: 3rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-info address {
    font-style: normal;
    font-weight: 300;
}

.contact-info i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.global-offices {
    margin-bottom: 3rem;
}

.global-offices h3 {
    margin-bottom: 2rem;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.office h4 {
    margin-bottom: 0.75rem;
    font-family: var(--font-secondary);
    font-weight: 500;
}

.office p {
    font-weight: 300;
}

.contact-cta {
    background-color: var(--bg-light);
    padding: 3rem;
    text-align: center;
}

.contact-cta h3 {
    margin-bottom: 1.25rem;
}

.contact-cta p {
    margin-bottom: 2rem;
}

.map-section {
    padding: 4rem 0 6rem;
}

.map-placeholder {
    height: 450px;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.faq {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.faq-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.faq-item {
    background-color: var(--bg-white);
    padding: 2rem;
    flex: 1 1 calc(25% - 1.5rem); /* Four items in a row */
    min-width: 250px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.faq-item p {
    font-weight: 300;
}

/* Responsive adjustments for FAQ grid */
@media (max-width: 1200px) {
    .faq-item {
        flex: 1 1 calc(50% - 1rem); /* Two items per row on medium screens */
    }
}

@media (max-width: 768px) {
    header {
        padding: 0;
        box-shadow: var(--shadow-md);
    }
    
    .mobile-toggle i {
        font-size: 1.5rem;
    }
    
    /* Add animation for the hamburger icon */
    .mobile-toggle .fa-bars {
        transition: transform 0.3s ease;
    }
    
    .mobile-toggle .fa-times {
        transition: transform 0.3s ease;
        transform: rotate(90deg);
    }
    
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .nav-right {
        display: flex;
        align-items: center;
        margin-top: 0;
    }
    
    .btn-contact {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        margin-right: 1rem;
    }
    
    /* Hero section mobile styles */
    .hero .container {
        flex-direction: column;
        text-align: center;
        flex-wrap: wrap;
    }
    
    .hero-content {
        max-width: 100%;
        order: 1;
    }
    
    .hero-image {
        justify-content: center;
        margin-top: 30px;
        width: 100%;
        order: 2;
    }
    
    .element-image {
        max-width: 80%;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-heading {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .value-prop, .featured-insights, .about-intro, .services-overview, .methodology, .industries, .team, .careers, .contact-main {
        padding: 60px 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        margin-top: 1rem;
    }
    
    .legal-links a {
        margin: 0 0.75rem;
    }
    
    .contact-form {
        margin-bottom: 3rem;
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 4rem 0;
    }
    
    .map-section {
        padding: 3rem 0;
    }
    
    .map-placeholder {
        height: 350px;
    }
    
    .address h3 {
        font-size: 1.5rem;
    }
    
    .address p {
        font-size: 1.1rem;
    }
    
    .hero .container {
        gap: 20px;
    }
    
    .element-image {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .two-column {
        flex-direction: column;
    }
    
    .stats-grid, .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .value-cards, .insights-grid, .services-grid, .team-grid, .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .btn-contact {
        margin-right: 0.75rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .testimonial {
        padding: 2rem;
    }
    
    .quote {
        font-size: 1.1rem;
    }
}

/* Address container in Find Us section */
.address-container {
    text-align: center;
    margin-bottom: 2rem;
}

.address h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.address p {
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 300;
}

/* ===== Terms and Policy Pages ===== */
.terms-content {
    padding: 4rem 0 6rem;
}

.terms-text {
    max-width: 900px;
    margin: 0 auto;
}

.terms-text h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.terms-text p, .terms-text ul {
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--text-color);
}

.terms-text ul li {
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .terms-content {
        padding: 3rem 0 4rem;
    }
    
    .terms-text h3 {
        margin-top: 2rem;
        font-size: 1.4rem;
    }
}

/* Responsive adjustments for services grid */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact form success message */
.success-message {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: 4px;
}

.success-message i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.success-message h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.success-message p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.success-message .small-note {
    font-size: 0.9rem;
    color: var(--text-lighter);
    font-style: italic;
}

/* Form error message */
.form-error {
    background-color: rgba(198, 40, 40, 0.1);
    color: var(--error-color);
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--error-color);
    font-weight: 400;
}

input.error, select.error, textarea.error {
    border-color: var(--error-color);
    background-color: rgba(198, 40, 40, 0.05);
}

/* ===== Mobile Menu Styles ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.75rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.75rem;
    z-index: 101;
}

.mobile-toggle:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        order: 3;
        position: relative;
    }
    
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 2rem;
    }
    
    .logo {
        order: 1;
        margin-bottom: 0;
    }
    
    .nav-right {
        order: 2;
        margin-top: 0;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    nav.active {
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        font-size: 1.25rem;
        padding: 0.75rem 2rem;
        font-weight: 500;
    }
    
    nav ul li a:after {
        display: none;
    }
    
    nav ul li a:hover {
        color: var(--secondary-color);
    }
    
    nav ul li a.active {
        color: var(--secondary-color);
    }
    
    .btn-contact {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ===== Responsive Styles ===== */
@media (min-width: 992px) {
    .hero .container {
        flex-direction: row;
    }
    
    .hero-content {
        flex: 1;
        max-width: 50%;
    }
    
    .hero-image {
        flex: 1;
        max-width: 50%;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-header h1 {
        font-size: 2.75rem;
    }
    
    .page-header p {
        font-size: 1.2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .value-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .faq-item {
        flex: 1 1 100%; /* Full width on smaller screens */
    }
} 