/* ===================================
   ADDITIONAL PAGE STYLES - UPDATED WITH GREEN THEME
   Complete fixed version with consistent color scheme
   =================================== */

/* ===================================
   MISSION SECTION - MODERN DESIGN
   =================================== */

.mission {
    background: var(--bg-secondary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #059669 0%, #0D9488 100%);
}

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

.mission-quote {
    background: var(--bg-card);
    padding: 4rem 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    position: relative;
    margin: 0;
}

.mission-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.quote-mark {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
    font-family: Georgia, serif;
}

.quote-mark:first-child {
    margin-bottom: 1.5rem;
}

.quote-mark.closing {
    margin-top: 1.5rem;
    transform: rotate(180deg);
    display: inline-block;
}

.mission-quote p {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
    font-style: italic;
}

/* Responsive Mission Styles */
@media (max-width: 768px) {
    .mission {
        padding: 4rem 0;
    }
    
    .mission-quote {
        padding: 3rem 2rem;
    }
    
    .mission-quote p {
        font-size: 1.375rem;
    }
    
    .quote-mark {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .mission {
        padding: 3rem 0;
    }
    
    .mission-quote {
        padding: 2.5rem 1.5rem;
    }
    
    .mission-quote p {
        font-size: 1.25rem;
    }
    
    .quote-mark {
        font-size: 2.5rem;
    }
}

/* Page Header Styles - REDUCED TOP PADDING */
.page-header {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    color: var(--text-light);
    padding: calc(80px + 3rem) 0 4rem; /* INCREASED bottom padding for better centering */
    position: relative;
    overflow: hidden;
    min-height: 45vh; /* ADDED minimum height for better proportions */
    display: flex;
    align-items: center; /* ADDED to center content vertically */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-primary);
    clip-path: ellipse(100% 100% at 50% 100%);
}

/* IMPROVED BREADCRUMB STYLES */
.breadcrumb {
    margin-bottom: 1.5rem; /* REDUCED from 2rem */
    position: relative;
    z-index: 2;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.75rem; /* INCREASED from 0.5rem for better spacing */
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '→';
    margin-left: 0.75rem; /* INCREASED from 0.5rem */
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem; /* INCREASED from 0.9rem */
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85); /* SLIGHTLY MORE OPAQUE */
    text-decoration: none;
    font-size: 1.1rem; /* INCREASED from 0.95rem */
    font-weight: 500; /* ADDED for better visibility */
    transition: color var(--transition-fast);
}

.breadcrumb a:hover,
.breadcrumb a:focus {
    color: var(--text-light);
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: var(--text-light);
    font-weight: 600; /* INCREASED from 500 */
    font-size: 1.1rem; /* INCREASED from 0.95rem */
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   SERVICES PAGE STYLES - UPDATED COLORS
   =================================== */

.services-overview {
    padding: 3rem 0;
}

.services-detailed {
    padding: 4rem 0;
}

.services-grid-detailed {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-detailed {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.service-detailed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.service-detailed .service-header {
    padding: 3rem 3rem 0;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.service-detailed .service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #059669 0%, #0D9488 100%);
}

.service-detailed .service-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.service-title {
    flex: 1;
}

.service-title h3 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.875rem;
    font-weight: 700;
}

.service-content {
    padding: 1.5rem 3rem 3rem;
}

.service-content > p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.service-features,
.service-suitability {
    margin-bottom: 2rem;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.service-features h4,
.service-suitability h4 {
    background: linear-gradient(135deg, #059669 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.service-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
    font-size: 1.2rem;
}

.service-suitability p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    font-size: 1.05rem;
}

/* Service Areas & Funding Sections */
.service-areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.areas-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.area-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.area-icon {
    font-size: 2.5rem;
    margin: 0 auto 1rem;
    display: block;
}

/* Service Delivery Areas heading */
.service-areas h2 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Our Support page - Service Delivery Areas list */
.areas-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.area-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.area-item:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.area-item .area-icon {
    font-size: 2rem;
    margin: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-content {
    flex: 1;
}

.area-content h3 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.area-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.25rem 0;
}

.area-content p:last-child {
    margin-bottom: 0;
}

.area-card h3 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.info-card:last-child {
    margin-bottom: 0;
}

.info-card h3 {
    background: linear-gradient(135deg, #059669 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.funding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 0.5rem;
}

.funding-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.funding-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.funding-icon {
    font-size: 3.5rem;
    margin: 0 auto 1.5rem;
    display: block;
}

.funding-card h3 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.funding-support {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 0 1rem;
}

.support-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    text-align: center;
    margin: 1rem 0;
}

.support-card h3 {
    background: linear-gradient(135deg, #059669 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* ===================================
   ABOUT PAGE STYLES - UPDATED COLORS
   =================================== */

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-highlight {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    transition: all var(--transition-normal);
}

.stat-highlight:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-highlight .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: var(--font-family-heading);
}

.stat-highlight .stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
}

/* Leadership Section - FIXED LAYOUT */
.leader-profile {
    background: var(--bg-card);
    padding: 4rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.leader-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #059669 0%, #0D9488 100%);
}

.leader-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: start;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.leader-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
    flex-shrink: 0;
    border: 4px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.leader-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.leader-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

.leader-text h3 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.leader-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 100%;
}

.credential {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue-dark);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.2);
    text-align: center;
    word-wrap: break-word;
    max-width: 100%;
}

.experience-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.experience-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.experience-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

.leader-achievements {
    min-width: 320px;
    max-width: 100%;
}

.leader-achievements h4 {
    background: linear-gradient(135deg, #059669 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.achievement-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.achievement-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.achievement-content h5 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.achievement-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Team Overview */
.team-strengths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.strength-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.strength-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.strength-icon {
    font-size: 3.5rem;
    margin: 0 auto 1.5rem;
    display: block;
}

.strength-card h3 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-teal);
}

.value-icon {
    font-size: 3.5rem;
    margin: 0 auto 1.5rem;
    display: block;
}

.value-card h3 {
    background: linear-gradient(135deg, #059669 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

/* Commitment Section */
.commitment-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.commitment-promises {
    margin-top: 2rem;
}

.promise-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.promise-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.promise-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.promise-content h4 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.promise-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
    font-size: 1.05rem;
}

.stats-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    min-width: 320px;
}

.stats-card h3 {
    background: linear-gradient(135deg, #059669 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.track-record {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.record-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.record-value {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.2rem;
}

/* About CTA Section - UPDATED WITH GREEN THEME */
.about-cta.section {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.about-cta.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.about-cta .cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-cta .cta-text h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-cta .cta-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

.about-cta .cta-actions .cta-button.primary {
    background: var(--bg-primary);
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.about-cta .cta-actions .cta-button.primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   FIXED SERVICES CTA SECTION - Add to pages.css
   =================================== */

/* Services CTA Section - IMPROVED LAYOUT */
.services-cta {
    background: var(--gradient-hero) !important;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.services-cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.services-cta .cta-text h2 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    background: none;
    -webkit-text-fill-color: var(--text-light);
}

.services-cta .cta-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* CTA Features List - IMPROVED STYLING */
.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.cta-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.cta-feature span:last-child {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}

/* CTA Actions - IMPROVED LAYOUT */
.services-cta .cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.services-cta .cta-button.primary {
    background: var(--bg-primary);
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.services-cta .cta-button.primary:hover,
.services-cta .cta-button.primary:focus {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
    color: var(--primary-blue);
}

.services-cta .contact-info {
    text-align: center;
    width: 100%;
}

.services-cta .phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-cta .phone-link a {
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.25rem;
}

.services-cta .phone-link a:hover,
.services-cta .phone-link a:focus {
    text-decoration: underline;
    color: var(--text-light);
}

.services-cta .contact-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* RESPONSIVE DESIGN FOR SERVICES CTA */
@media (max-width: 1024px) {
    .services-cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .cta-features {
        max-width: 500px;
        margin: 1.5rem auto 0;
    }
}

@media (max-width: 768px) {
    .services-cta-content {
        gap: 2rem;
    }
    
    .cta-features {
        gap: 0.75rem;
    }
    
    .cta-feature {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .feature-icon {
        font-size: 1.125rem;
    }
    
    .services-cta .cta-button.primary {
        padding: 1.125rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .services-cta .phone-link {
        font-size: 0.95rem;
    }
    
    .services-cta .phone-link a {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .cta-feature {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .cta-feature span:last-child {
        font-size: 0.9rem;
    }
    
    .services-cta .cta-button.primary {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===================================
   RESPONSIVE DESIGN FOR PAGES
   =================================== */

@media (max-width: 1024px) {
    .story-content,
    .service-areas-content,
    .commitment-content,
    .services-cta-content,
    .about-cta .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-cta-content,
    .about-cta .cta-content {
        text-align: center;
    }
    
    .story-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .leader-achievements,
    .stats-card {
        min-width: auto;
    }
    
    .leader-content {
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }
    
    .leader-achievements {
        grid-column: 1 / -1;
        margin-top: 2rem;
        min-width: auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: calc(70px + 1.5rem) 0 4.5rem;
    }
    
    .breadcrumb {
        margin-bottom: 1rem;
    }
    
    .breadcrumb a,
    .breadcrumb li[aria-current="page"] {
        font-size: 1rem;
    }
    
    .breadcrumb ol {
        gap: 0.5rem;
    }
    
    .breadcrumb li:not(:last-child)::after {
        margin-left: 0.5rem;
        font-size: 0.9rem;
    }
    
    .service-detailed .service-header,
    .service-content {
        padding: 2.5rem;
    }
    
    .service-detailed .service-header {
        padding-bottom: 0;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .service-title h3 {
        font-size: 1.5rem;
    }
    
    .funding-grid,
    .values-grid,
    .team-strengths {
        grid-template-columns: 1fr;
    }
    
    .leader-profile {
        padding: 2rem;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .leader-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .leader-photo {
        justify-self: center;
        width: 120px;
        height: 120px;
        font-size: 3rem;
        flex-shrink: 0;
    }
    
    .leader-text {
        width: 100%;
        max-width: 100%;
        text-align: left;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .leader-text h3 {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 1.5rem;
        text-align: center;
        margin: 0 auto 1.5rem;
    }
    
    .leader-text p {
        margin-bottom: 1rem;
    }
    
    .leader-credentials {
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .credential {
        width: 100%;
        max-width: 100%;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }
    
    .leader-achievements {
        margin-top: 0;
        text-align: left;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .achievement-item {
        padding: 1.5rem;
        text-align: left;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .experience-list {
        margin: 1.5rem 0;
    }
    
    .experience-list li {
        padding-left: 2rem;
    }
    
    .story-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-highlight {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .service-detailed .service-header,
    .service-content {
        padding: 2rem;
    }
    
    .leader-profile,
    .funding-card,
    .strength-card,
    .value-card,
    .stats-card {
        padding: 1.5rem;
    }
    
    .service-detailed .service-icon {
        font-size: 2.5rem;
    }
    
    .funding-icon,
    .strength-icon,
    .value-icon {
        font-size: 2.5rem;
    }
    
    .leader-photo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .leader-content {
        gap: 1.5rem;
    }
    
    .leader-text h3 {
        font-size: 1.25rem;
    }
    
    .credential {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }
    
    .achievement-item {
        padding: 1.25rem;
    }

    .page-header {
        padding: calc(70px + 1rem) 0 4rem; /* MINIMUM padding for very small screens */
    }
    
    .breadcrumb a,
    .breadcrumb li[aria-current="page"] {
        font-size: 0.95rem;
    }
}

/* Reduces top spacing for our story section */
.our-story.section {
    padding: 2rem 0 4rem; /* Much less top padding */
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.overview-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
    text-decoration: none;
    color: var(--text-primary);
}

.overview-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    background: var(--bg-secondary);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-blue);
}

.overview-content {
    flex: 1;
    min-width: 0;
}

.overview-content h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.overview-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.overview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.overview-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue-dark);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.overview-arrow {
    font-size: 1.5rem;
    color: var(--primary-blue);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.overview-card:hover .overview-arrow {
    transform: translateX(4px);
}

.overview-cta {
    margin-top: 3rem;
    text-align: center;
}

.overview-note {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin: 0 auto;
}

.overview-note p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.overview-link,
.overview-phone {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.overview-link:hover,
.overview-phone:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .services-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .overview-card {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        padding: 2rem 1.5rem;
    }
    
    .overview-arrow {
        display: none;
    }
}

/* Services Page Specific Background Pattern Override */
body[data-page="services"] .section {
    background-color: var(--bg-secondary); /* Light green */
}

body[data-page="services"] .section-alt {
    background-color: var(--bg-primary); /* White */
}

/* Make sure the first services overview section is white */
body[data-page="services"] .services-overview.section-alt {
    background-color: var(--bg-primary) !important;
    border-bottom: 1px solid var(--border-light);
}

/* Add this at the end of pages.css */
.service-process, .service-pricing {
    margin: 2rem 3rem;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.service-pricing {
    background: var(--bg-card);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    color: var(--text-light);
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-item h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.pricing-note {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-blue);
    font-weight: 600;
    color: var(--primary-blue);
}

/* Pricing Links Styling */
.pricing-links {
    margin: 1.5rem 0;
}

.pricing-link,
.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    color: var(--primary-blue);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    transition: all var(--transition-normal);
}

.pricing-link:hover,
.external-link:hover {
    background: var(--primary-blue);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.link-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.pricing-reference {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin: 1rem 0;
    text-align: center;
}

/* Privacy Policy Styles */
.privacy-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.last-updated {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin-top: 2rem;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
}

.retention-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.retention-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

/* Privacy Policy Sections (matches accessibility page structure) */
.privacy-sections {
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-section {
    background: var(--bg-card);
    margin-bottom: 3rem;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.privacy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669 0%, #0D9488 100%);
}

.privacy-section:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.privacy-section h2 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.875rem;
    font-weight: 700;
}

.privacy-section h3 {
    background: linear-gradient(135deg, #059669 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 600;
}

/* Mobile responsiveness for privacy policy */
@media (max-width: 768px) {
    .privacy-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .retention-schedule {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   COMPLAINTS POLICY PAGE STYLES
   Add these styles to your existing styles.css file
   ============================================================================= */

/* Quick Actions Section */
.quick-actions {
    background: var(--bg-secondary);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-light);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.action-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.action-card.urgent {
    border-color: var(--color-danger);
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.action-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.action-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.action-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Policy Content */
.policy-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-light);
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 2rem;
}

.policy-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Complaint Types List */
.complaint-types {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    margin: 2rem 0;
}

.complaint-types li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Important Note */
.important-note {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid #2196f3;
    margin: 2rem 0;
}

.important-note h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

/* Complaint Methods */
.complaint-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.method {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.method h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.method p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.method a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.method a:hover {
    text-decoration: underline;
}

/* Support Note */
.support-note {
    background: #f0f9f0;
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid #4caf50;
    margin: 2rem 0;
}

.support-note h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.support-note ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Timeline */
.timeline {
    position: relative;
    margin: 3rem 0;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    border-radius: 1.5px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -28px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 0 0 4px white, 0 0 0 8px var(--color-primary-light);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

.timeline-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Complex Complaints */
.complex-complaints {
    background: #fff3e0;
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid #ff9800;
    margin: 2rem 0;
}

.complex-complaints h4 {
    color: #f57c00;
    margin-bottom: 1rem;
}

.complex-complaints ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* External Options */
.external-options {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.external-option {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.external-option h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.external-option p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.external-option a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.external-option a:hover {
    text-decoration: underline;
}

.external-option em {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.right-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

.right-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.right-item h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.right-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Complaint Form */
.form-container {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    margin: 2rem 0;
}

.complaint-form {
    max-width: none;
}

.complaint-form .form-group {
    margin-bottom: 2rem;
}

.complaint-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.complaint-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.complaint-form input,
.complaint-form select,
.complaint-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.complaint-form input:focus,
.complaint-form select:focus,
.complaint-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.complaint-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.complaint-form select {
    cursor: pointer;
}

/* Checkbox Group */
.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.5;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.25rem;
    transform: scale(1.2);
}

.checkmark {
    margin-left: 0.5rem;
}

/* Last Updated */
.last-updated {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    margin-top: 3rem;
}

.last-updated h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.last-updated p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.last-updated p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .complaint-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-marker {
        left: -23px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .complaint-form .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .policy-content {
        padding: 2rem 0;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .policy-section {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }
    
    .action-card {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* Contact Page Support Cards */
.additional-support {
    background: var(--bg-primary);
    padding: 3rem 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.support-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.support-card h3 {
    background: linear-gradient(135deg, #D97706 0%, #059669 50%, #0D9488 100%);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.support-card .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.support-card .btn-primary {
    background: var(--primary-blue);
    color: white;
    border: 2px solid var(--primary-blue);
}

.support-card .btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.support-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Thank You Page Styles - Add to your css/pages.css file */

.thank-you-confirmation {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.confirmation-icon {
    background: #28a745;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.confirmation-icon svg {
    width: 40px;
    height: 40px;
}

.thank-you-confirmation h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.thank-you-confirmation p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

.next-steps {
    margin-bottom: 3rem;
}

.next-steps h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.6rem;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #059669;
}

.step-number {
    background: #059669;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.urgent-contact {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.urgent-contact h3 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.urgent-contact > p {
    color: #856404;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #f1c40f;
}

.contact-icon {
    background: rgba(255, 255, 255, 0.95);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-details p {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.contact-details a {
    color: #059669;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details small {
    color: #6c757d;
    font-size: 0.85rem;
}

.additional-resources {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.additional-resources h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.additional-resources p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.resource-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.resource-links .btn {
    min-width: 140px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .thank-you-confirmation {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .confirmation-icon {
        width: 60px;
        height: 60px;
    }
    
    .confirmation-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .thank-you-confirmation h2 {
        font-size: 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step {
        padding: 1rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .resource-links {
        flex-direction: column;
        align-items: center;
    }
    
    .resource-links .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Section Background Alternation */
.section {
    background: #ffffff;
    padding: 4rem 0;
}

.section-alt {
    background: #f8f9fa;
    padding: 4rem 0;
}

/* Quick Actions Section */
.quick-actions {
    padding: 3rem 0;
}

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

.action-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.action-card.urgent {
    border-left: 4px solid #dc3545;
}

.action-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.action-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Fix for email overflow in thank-you page */
.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #f1c40f;
    min-width: 0; /* Allow shrinking */
    overflow: hidden; /* Prevent overflow */
}

.contact-details {
    min-width: 0; /* Allow shrinking */
    flex: 1; /* Take remaining space */
}

.contact-details p {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    word-break: break-all; /* Break long email addresses */
    overflow-wrap: break-word; /* Alternative for better support */
}

.contact-details a {
    color: #059669;
    text-decoration: none;
    word-break: break-all; /* Break long URLs/emails */
}

/* Alternative: Make contact methods responsive */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 1rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .contact-details p {
        word-break: normal; /* Normal breaking on mobile when stacked */
    }
}

/* Or if you prefer, make the containers wider */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Increased from 280px */
    gap: 1.5rem;
}

.contact-details a {
    word-break: break-all;
    overflow-wrap: break-word;
}
/* ==== FINAL OVERRIDE: Fix leader layout on desktop ==== */

/* Use 2 columns: photo + text, achievements below */
.leader-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

/* Achievements go full width under the main content */
.leader-achievements {
    grid-column: 1 / -1;
    min-width: 0;      /* stop it forcing a narrow middle column */
    max-width: 100%;
}

/* Desktop pills layout: horizontal, wrapping nicely */
@media (min-width: 769px) {
    .leader-credentials {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .credential {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding-inline: 1.5rem;
        writing-mode: horizontal-tb !important;
        white-space: normal !important;
        word-break: normal !important;
    }
}

/* ===== Mobile layout for leader profile ===== */
@media (max-width: 768px) {
    /* Stack everything instead of using the 3-column grid */
    .leader-content {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    /* Photo centred at the top */
    .leader-photo {
        margin: 0 auto;
    }

    /* Title + text centred and allowed to use full width */
    .leader-text {
        min-width: 0 !important;
        width: 100%;
        text-align: center;
    }

    .leader-text h2,
    .leader-text h3 {
        text-align: center;
        margin: 0 auto 1rem;
    }

    /* Pills full-width but centred text */
    .leader-credentials {
        width: 100% !important;
        min-width: 0 !important;
        align-items: stretch;
    }

    .credential {
        width: 100%;
        text-align: center;
    }

    /* Achievements card just becomes the next block down */
    .leader-achievements {
        width: 100%;
        grid-column: auto;
    }

    /* Optional: slightly tighter padding on mobile */
    .leader-profile {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .service-detailed .service-header {
        align-items: center !important;
        text-align: center;
    }

    .service-detailed .service-icon {
        margin: 0 auto !important;
        display: flex;
        justify-content: center;
    }

    .service-detailed .service-title {
        text-align: center;
    }
}

/* Extra room for subtitle on Thank You page (mobile) */
@media (max-width: 480px) {
    body[data-page="thank-you"] .page-header {
        padding-bottom: 3.5rem;   /* was 2rem – gives more space */
        min-height: auto;         /* let it grow with the text */
    }

    body[data-page="thank-you"] .page-subtitle {
        font-size: 1rem;          /* slightly smaller so it wraps nicer */
        line-height: 1.6;
    }
}


/* Make email smaller on thank-you page */
body[data-page="thank-you"] .contact-details a {
    font-size: 0.9rem;
}

body[data-page="thank-you"] .contact-details p {
    font-size: 0.95rem;
}
