/* css/responsibility.css */

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 4rem;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/Concord-Mockups/img6f-1.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(11,31,51,0.6);
    background-attachment: fixed;
    z-index: 1;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 50 L100 50 M0 60 L100 60 M0 70 L100 70" stroke="%23F47B20" stroke-width="0.2" opacity="0.1"/></svg>');
    background-size: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-gray);
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-orange);
}

.breadcrumb i {
    font-size: 0.7rem;
    color: var(--accent-orange);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--white), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0% { transform: scaleY(0.3); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0.3); opacity: 0.3; }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sub Navigation */
.subnav-section {
    padding: 1rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
  
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.subnav-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.subnav-wrapper::-webkit-scrollbar {
    display: none;
}

.subnav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0.5rem 0;
    min-width: max-content;
}

.subnav-link {
    color: var(--deep-navy);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.subnav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.subnav-link:hover::after,
.subnav-link.active::after {
    width: 100%;
}

.subnav-link:hover,
.subnav-link.active {
    color: var(--accent-orange);
}

/* Safety Section */
.safety-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    align-items: center;
}

.safety-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin: 2rem 0;
}

.safety-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.safety-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.safety-feature i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.safety-feature span {
    color: var(--deep-navy);
    font-weight: 500;
}

.safety-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.safety-stats .stat {
    text-align: center;
}

.safety-stats .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.safety-stats .stat-label {
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.safety-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.safety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.safety-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(11,31,51,0.95), transparent);
    color: var(--white);
    transform: translateY(100px);
    transition: transform 0.4s ease;
}

.safety-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.image-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Environmental Section */
.environmental-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-header.centered {
    text-align: center;
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--deep-navy);
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.environmental-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.environmental-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.environmental-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-orange), var(--ocean-blue));
    transition: height 0.3s ease;
}

.environmental-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.environmental-card:hover::before {
    height: 100%;
}

.environmental-card .card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--deep-navy), var(--ocean-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.environmental-card .card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.environmental-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--deep-navy);
}

.environmental-card p {
    color: #666;
    line-height: 1.6;
}

/* Regulatory Section */
.regulatory-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.regulatory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
}

.regulatory-column .column-title {
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.regulatory-column .column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
}

.agency-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.agency-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.agency-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.agency-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.agency-header i {
    font-size: 1.5rem;
    color: var(--accent-orange);
}

.agency-header h4 {
    font-size: 1.1rem;
    color: var(--deep-navy);
}

.agency-item p {
    color: #666;
    line-height: 1.6;
    margin-left: 2.5rem;
}

.state-agencies,
.local-regulations {
    margin-bottom: 2.5rem;
}

.state-agencies h4,
.local-regulations h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.state-agencies h4 i,
.local-regulations h4 i {
    color: var(--accent-orange);
}

.state-agencies p,
.local-regulations p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.state-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.state-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.state-list li i {
    color: var(--accent-orange);
    font-size: 0.9rem;
}

.local-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--deep-navy), var(--ocean-blue));
    border-radius: 8px;
    color: var(--white);
}

.local-badge i {
    font-size: 2rem;
    color: var(--accent-orange);
}

.local-badge span {
    font-size: 1rem;
    font-weight: 500;
}

/* Compliance Stats */
.compliance-stats {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--deep-navy), var(--ocean-blue));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Community Section */
.community-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--grid-gap);
    align-items: start;
}

.community-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.community-highlight {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
}

.community-highlight i {
    font-size: 2rem;
    color: var(--accent-orange);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.community-highlight blockquote {
    font-size: 1.2rem;
    color: var(--deep-navy);
    font-style: italic;
    line-height: 1.6;
}

.community-programs h4 {
    font-size: 1.3rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.community-programs ul {
    list-style: none;
}

.community-programs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.community-programs li i {
    color: var(--accent-orange);
}

.community-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.community-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 120px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.community-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1rem 1rem 1rem 0;
}

.card-content h4 {
    font-size: 1.1rem;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
}

.card-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.card-date {
    font-size: 0.8rem;
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Involvement Section */
.involvement-section {
    padding: var(--spacing-2xl) 0;
    background: var(--light-gray);
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
    text-align: center;
}

.involvement-stat .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.involvement-stat .stat-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, rgba(11, 31, 51, 0.85)), url('../assets/Concord-Mockups/imghg767-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-grid,
    .involvement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    .scroll-line {
        height: 50px;
    }
}

@media (max-width: 968px) {
    .safety-grid,
    .regulatory-grid,
    .community-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .environmental-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .state-list {
        grid-template-columns: 1fr;
    }
    
    .subnav-section {
        top: 70px;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
    
    .scroll-line {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 400px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .safety-features {
        grid-template-columns: 1fr;
    }
    
    .safety-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .environmental-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid,
    .involvement-grid {
        grid-template-columns: 1fr;
    }
    
    .community-card {
        grid-template-columns: 1fr;
    }
    
    .card-image {
        height: 200px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .scroll-indicator {
        bottom: 0.75rem;
    }
    
    .scroll-line {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        min-height: 350px;
    }
    
    .page-hero-bg {
        background-attachment: scroll;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .subnav-menu {
        gap: 1rem;
    }
    
    .subnav-link {
        font-size: 0.8rem;
    }
    
    .safety-image {
        height: 350px;
    }
    
    .agency-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .agency-item p {
        margin-left: 0;
    }
    
    .local-badge {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-indicator {
        bottom: 0.5rem;
        gap: 0.25rem;
        font-size: 0.7rem;
    }
    
    .scroll-line {
        height: 25px;
    }
}