/* Custom CSS for JSK Consulting Website */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --brand-purple: #713473;
    --brand-gold: #FFD700;
    --brand-charcoal: #333333;
    --brand-purple-light: #713473;
    --brand-pink: #DA70D6;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Brand Colors */
.text-purple { color: var(--brand-purple) !important; }
.text-gold { color: var(--brand-gold) !important; }
.text-charcoal { color: var(--brand-charcoal) !important; }
.bg-purple { background-color: var(--brand-purple) !important; }
.bg-gold { background-color: var(--brand-gold) !important; }
.bg-charcoal { background-color: var(--brand-charcoal) !important; }

/* Gradient Backgrounds */
.bg-gradient-purple {
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-light) 50%, var(--brand-pink) 100%) !important;
}

/* Navigation */
#mainNav {
    transition: all 0.25s ease;
    background-color: rgba(255,255,255,0.92); /* light white to sit over hero */
    padding: 0.75rem 0;
    backdrop-filter: blur(6px);
}

/* When scrolled, keep a solid white with subtle shadow */
#mainNav.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

/* Homepage-specific: keep navbar transparent over hero, but switch to solid when scrolled */
body.home-page #mainNav {
    background-color: transparent;
    padding: 1rem 0;
}

body.home-page #mainNav .navbar-nav .nav-link {
    color: white !important; /* links visible over hero */
}

body.home-page #mainNav .navbar-toggler-icon {
    filter: invert(1); /* make toggler visible on dark hero */
}

/* When homepage nav has scrolled class we show the solid white nav with dark links */
body.home-page #mainNav.scrolled {
    background-color: #ffffff !important;
}

body.home-page #mainNav.scrolled .navbar-nav .nav-link {
    color: var(--brand-charcoal) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Position the logo inside a small white 'box' that visually overlaps the navbar
   without changing the navbar's layout height. We absolutely position the image
   inside .navbar-brand so it can overflow visually; the image's layout flow
   remains unaffected. Responsive fallbacks reduce size on small screens. */
#mainNav {
    overflow: visible; /* allow the box to overflow visually */
}

.navbar-brand {
    position: relative; /* anchor for the absolutely positioned logo and pseudo-box */
    padding-left: 0;
}

/* Decorative navbar-brand box removed — using the overlay logo instead */
.navbar-brand::before {
    display: none !important;
}

/* Logo sits on top of the pseudo-box */
#mainNav .navbar-brand img {
    height: 90px; /* larger visual image while layout height remains controlled */
    width: auto;
    position: absolute;
    left: 10px;/* more centered in larger box */
    top: -22px; /* position the image so it sits comfortably inside the box */
    display: block;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: top 0.2s ease, transform 0.2s ease;
    z-index: 1050; /* above the box */
    transform: scale(1.28); /* slightly larger scale */
}

@media (max-width: 992px) {
    /* ensure the navbar pseudo-box remains disabled on medium screens */
    .navbar-brand::before {
        display: none !important;
    }
    #mainNav .navbar-brand img {
    left: 10px; /* more centered in smaller box */
    top: -14px;
        transform: scale(1.18);
        height: 84px;
    }
}

@media (max-width: 576px) {
    /* hide the oversized box on very small screens to avoid covering content */
    .navbar-brand::before {
        display: none;
    }
    #mainNav .navbar-brand img {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        height: 56px;
    }
}

/* New overlay logo used when the logo is taken out of the navbar flow.
   The overlay is fixed so it sits on top of the navbar on all pages. */
.site-logo-overlay {
    position: fixed;
    left: 0; /* place flush to the top-left corner */
    top: 0; /* flush to top */
    width: 180px; /* large corner box */
    height: 180px; /* square box so logo appears balanced */
    padding: 8px; /* inner spacing so the logo doesn't touch the screen edge */
    z-index: 1100; /* sit above navbar */
    pointer-events: none; /* allow clicks to pass through except on the anchor */
    overflow: hidden; /* clip oversized logo that we scale up */
}

.site-logo-overlay a {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: auto; /* enable clicking the link */
}

.site-logo-overlay::before {
    /* the big box behind the logo */
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%; /* occupy the full overlay so the logo sits inside it */
    height: 100%;
    /* frosted white: semi-transparent white with a backdrop blur so the box reads on any background */
    background: rgba(255,255,255,0.82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    z-index: 0;
}

.site-overlay-logo {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0; /* remove padding so the logo fills the box */
    object-fit: cover; /* fill the box while cropping slightly */
    object-position: center center;
    z-index: 1110;
    display: block;
    transform-origin: center;
    transform: scale(1.65); /* increased scale so the logo fills more of the box */
}

@media (max-width: 992px) {
    .site-logo-overlay {
        left: 10px;
        top: 6px;
        width: 220px; /* slightly smaller on medium screens */
        height: 180px;
    }
    .site-overlay-logo {
        padding: 8px;
    }
}

@media (max-width: 576px) {
    .site-logo-overlay {
        display: none; /* hide overlay on very small screens to avoid covering content */
        left: 8px;
        top: 6px;
        width: 160px;
        height: 120px;
    }
    .site-overlay-logo {
        padding: 4px;
    }
}

/* Dark links for contrast on white navbar */
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--brand-charcoal) !important;
    margin: 0 0.5rem;
    transition: color 0.2s ease, transform 0.15s ease;
    position: relative; /* for underline pseudo-element */
}

.navbar-nav .nav-link:hover {
    color: var(--brand-gold) !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--brand-gold) !important;
    font-weight: 700;
    /* short animation on activation */
    animation: highlightPulse 0.9s ease-out;
}

/* Animated sliding underline for nav links */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 3px;
    width: 0%;
    background: var(--brand-gold);
    border-radius: 3px;
    transition: width 320ms cubic-bezier(.2,.8,.2,1);
}

.navbar-nav .nav-link.active::after {
    width: 100%;
}

@keyframes highlightPulse {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(216,191,48,0);
    }
    40% {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(216,191,48,0.12);
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(216,191,48,0);
    }
}

/* Ensure brand text stays readable on white nav */
#mainNav .brand-text .text-white { color: var(--brand-charcoal) !important; }


/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-image.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Blend from a very light/transparent top (so white navbar sits cleanly) into brand purple lower down */
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 15%, rgba(113,52,115,0.35) 50%, rgba(113,52,115,0.6) 85%);
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

.hero-statements-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.hero-statement {
    position: absolute;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

.hero-statement.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-statement.exit {
    opacity: 0;
    transform: translateX(-100px);
}

/* Buttons */
.btn-gold {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-charcoal);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #E6C200;
    border-color: #E6C200;
    color: var(--brand-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-purple {
    background-color: var(--brand-purple);
    border-color: var(--brand-purple);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-purple:hover {
    background-color: var(--brand-purple-light);
    border-color: var(--brand-purple-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 0, 130, 0.4);
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background-color: var(--brand-gold);
    margin-bottom: 2rem;
}

.title-underline.bg-gold {
    background-color: var(--brand-gold);
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--brand-purple);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--brand-gold);
}

.service-card h4 {
    color: var(--brand-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Team Cards */
.team-card {
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.team-card:hover .team-image {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Impact Cards */
.impact-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.impact-icon {
    font-size: 2.5rem;
    color: var(--brand-gold);
    margin-bottom: 1rem;
}

.impact-card h5 {
    color: var(--brand-purple);
    margin-bottom: 1rem;
}

.impact-result {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
    color: var(--brand-gold);
    display: flex;
    align-items: center;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--brand-purple);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    opacity: 0.3;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 100%;
}

.timeline-content {
    padding: 0 2rem;
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.timeline-body {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    width: 45%;
    border-left: 4px solid var(--brand-gold);
}

.timeline-item:nth-child(even) .timeline-body {
    margin-left: auto;
    border-left: none;
    border-right: 4px solid var(--brand-gold);
}

.timeline-body h5 {
    color: var(--brand-purple);
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--brand-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Community Cards */
.community-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.community-icon {
    font-size: 2.5rem;
    color: var(--brand-purple);
    margin-bottom: 1rem;
}

.community-card h5 {
    color: var(--brand-purple);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-info .contact-item {
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--brand-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--brand-purple);
    font-size: 1.2rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 0.2rem rgba(75, 0, 130, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--brand-charcoal);
    margin-bottom: 0.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background-color: var(--brand-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--brand-gold);
    color: var(--brand-purple);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Footer */
.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--brand-gold);
}

/* Animations */
.bounce-gentle {
    animation: bounceGentle 2s infinite;
}

@keyframes bounceGentle {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-statement {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .timeline::after {
        left: 30px;
    }
    
    .timeline-content {
        padding-left: 80px;
    }
    
    .timeline-icon {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-body {
        width: 100%;
        margin-left: 0 !important;
        border-left: 4px solid var(--brand-gold) !important;
        border-right: none !important;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .navbar-brand .brand-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-statement {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .timeline-body {
        padding: 1.5rem;
    }
}

/* Loading and Transition Effects */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Hero Styles */
.page-hero {
    padding: 150px 0 100px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Value Cards */
.value-card, .feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.value-card:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.value-icon, .feature-icon {
    font-size: 2.5rem;
    color: var(--brand-purple);
    margin-bottom: 1rem;
}

/* Team Profile Cards */
.team-profile-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.team-profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.expertise-tags .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Value Action Cards */
.value-action-card {
    text-align: center;
    padding: 1.5rem;
}

/* Community Leadership Cards */
.community-leadership-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.community-leadership-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.community-icon {
    width: 50px;
    height: 50px;
    background-color: var(--brand-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--brand-gold);
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.service-features li:last-child {
    border-bottom: none;
}

/* Process Steps */
.process-step {
    padding: 1.5rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--brand-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Sector Cards */
.sector-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.sector-icon {
    font-size: 2.5rem;
    color: var(--brand-purple);
    margin-bottom: 1rem;
}

.sector-examples {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

/* Advantage Cards */
.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--brand-gold);
    margin-bottom: 1rem;
}

/* Impact Story Cards */
.impact-story-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.impact-story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-header {
    margin-bottom: 1rem;
}

.story-category {
    background: var(--brand-gold);
    color: var(--brand-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.story-content {
    flex-grow: 1;
    margin: 1rem 0;
}

/* Community Impact Cards */
.community-impact-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.community-impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.impact-metric {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

/* Featured Story */
.featured-story {
    max-width: 600px;
    margin: 0 auto;
}

.story-avatar img {
    border: 4px solid var(--brand-gold);
}

.story-impact {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

/* Contact Method Cards */
.contact-method-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.contact-method-icon {
    font-size: 2.5rem;
    color: var(--brand-purple);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--brand-purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--brand-gold);
}

/* Contact Benefits */
.benefit-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background-color: var(--brand-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Office Info */
.office-detail-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.office-detail-item:last-child {
    border-bottom: none;
}

/* Map Placeholder */
.map-container {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Accordion Customization */
.accordion-button {
    background-color: white;
    color: var(--brand-purple);
    font-weight: 600;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--brand-purple);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(75, 0, 130, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
}

/* Impact Stats */
.impact-stat, .stat-item {
    text-align: center;
    padding: 1rem;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }
    
    .team-profile-image {
        width: 120px;
        height: 120px;
    }
    
    .contact-method-card,
    .impact-story-card,
    .community-impact-card {
        margin-bottom: 1rem;
    }
    
    .timeline-body {
        padding: 1.5rem;
    }
    
    .featured-story {
        padding: 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-purple-light);
}