:root {
    --nycha-red: #AC0136;
    --nycha-white: #FFFFFF;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.nycha-header {
    background-color: var(--nycha-white);
    border-bottom: 1px solid #E5E5E5;
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

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

.navbar-brand {
    flex-shrink: 0;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    display: block;
}

.page-title-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.current-page-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--nycha-red);
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .page-title-container {
        display: none;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 10px;
}

.nav-link {
    position: relative;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1;
}

.nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.nav-link:hover:before,
.nav-link.active:before {
    transform: scaleY(1);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--nycha-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    transform: scaleX(1);
}

.navbar .nav-link[href^="/"] {
    background: linear-gradient(45deg, rgba(172, 1, 54, 0.05), rgba(172, 1, 54, 0.1));
}

.navbar .nav-link[href^="/community"] {
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.05), rgba(0, 102, 204, 0.1));
}

.navbar .nav-link[href^="/gallery"] {
    background: linear-gradient(45deg, rgba(76, 175, 80, 0.05), rgba(76, 175, 80, 0.1));
}

.navbar .nav-link[href^="/resources"] {
    background: linear-gradient(45deg, rgba(255, 152, 0, 0.05), rgba(255, 152, 0, 0.1));
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--nycha-red);
}

.nav-link.active {
    color: var(--nycha-red);
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-dropdown {
    position: relative;
}

.language-select {
    appearance: none;
    background-color: transparent;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    padding: 8px 32px 8px 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.take-survey-btn {
    background-color: var(--nycha-red);
    color: var(--nycha-white);
    padding: 8px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.take-survey-btn:hover {
    background-color: #8F0026;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--nycha-white);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 99;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.mobile-nav.active {
    display: block;
    max-height: 100vh;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    padding: 15px;
    display: block;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link[href^="/"] {
    background: linear-gradient(45deg, rgba(172, 1, 54, 0.05), rgba(172, 1, 54, 0.1));
}

.mobile-nav-link[href^="/community"] {
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.05), rgba(0, 102, 204, 0.1));
}

.mobile-nav-link[href^="/gallery"] {
    background: linear-gradient(45deg, rgba(76, 175, 80, 0.05), rgba(76, 175, 80, 0.1));
}

.mobile-nav-link[href^="/resources"] {
    background: linear-gradient(45deg, rgba(255, 152, 0, 0.05), rgba(255, 152, 0, 0.1));
}

.mobile-nav-link.active {
    color: var(--nycha-red);
    font-weight: 600;
    border-left: 3px solid var(--nycha-red);
    padding-left: 20px;
    background-color: rgba(172, 1, 54, 0.05);
}

.mobile-nav-link:hover {
    background-color: #f9f9f9;
    padding-left: 20px;
    color: var(--nycha-red);
}

.mobile-header-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.mobile-language-select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.mobile-take-survey-btn {
    background-color: var(--nycha-red);
    color: var(--nycha-white);
    padding: 12px 24px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* Hero Banner Section */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 755px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-image { position: relative; }

.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%; /* lower half */
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.35) 30%, rgba(0,0,0,0.7) 100%);
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

.hero-overlay h2 {
    margin: 0 0 20px 0;
    font-size: 2.4rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
  .hero-overlay {
    height: 55%;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.85) 100%);
  }
  .hero-overlay h2 {
    font-size: 1.8rem;
    margin-bottom: 14px;
  }
}

.hero-content-container {
    background-color: var(--nycha-red);
    padding: 40px 0;
    color: #fff;
}

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

.hero-title {
    flex: 0 0 40%;
    padding-right: 20px;
}

.hero-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.hero-right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
}

.hero-right p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-btn {
    display: inline-block;
    background-color: #fff;
    color: var(--nycha-red);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid #fff;
}

.hero-btn:hover {
    background-color: #f0f0f0;
}

.hero-btn-light {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.hero-btn-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* About Project Section */
.about-project {
    padding: 60px 0;
    margin-bottom: 0;
}

.about-project-row {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.about-project-left {
    flex: 0 0 30%;
}

.about-project-left h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #333;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--nycha-red);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--nycha-red);
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Ensure About Project action buttons align nicely in all locales */
.learn-more-links { display: flex; gap: 12px; flex-wrap: nowrap; }
.learn-more-links .learn-more-btn { flex: 0 0 auto; white-space: nowrap; justify-content: space-between; }
/* Prevent left column from expanding due to long button labels */
.about-project-left { min-width: 0; }
/* Slightly tighten Russian button typography so both fit without pushing layout */
html[lang="ru"] .learn-more-links .learn-more-btn { font-size: 0.95rem; padding: 10px 16px; }

.learn-more-btn .arrow {
    margin-left: 5px;
}

.learn-more-btn:hover {
    background-color: #f5f5f5;
}

.about-project-right {
    flex: 0 0 65%;
}

.about-project-right p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Two-column layout for About details */
.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 30px;
}

.about-item {
    background: #fff;
    border: 1px solid rgba(172, 1, 54, 0.22); /* subtle brand red */
    border-radius: 6px;
    padding: 14px 16px;
}

.about-item.funded {
    grid-column: span 2;
}

.about-label {
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .about-details { grid-template-columns: 1fr; }
    .about-item.funded { grid-column: span 1; }
}

.about-project-map {
    position: relative;
    background-image: url('../images/about-img.png');
    background-size: cover;
    background-position: center;
    height: 400px;
    width: 100%;
    margin-top: 40px;
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    background: none;
    border: none;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

/* YouTube Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-video {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

/* Existing Conditions Gallery */
.existing-conditions {
    padding: 60px 0;
    margin-bottom: 0;
    background-color: #f9f9f9;
}

.existing-conditions .container {
    position: relative;
    padding-bottom: 60px;
}

.existing-conditions h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.gallery-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 30px 0;
}

.gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    flex-wrap: nowrap; /* slides container moves horizontally */
    transition: transform 0.5s ease;
}
.gallery-slide-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    align-items: start; /* prevent grid items from stretching taller than content */
    grid-auto-rows: 240px; /* uniform row height */
}
.existing-conditions .gallery-item { align-self: start; height: 240px; line-height: 0; }

.gallery-item { box-sizing: border-box; }

.gallery-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: white;
    height: auto; /* avoid stretching when slide has extra height */
    display: flex;
    flex-direction: column;
}

/* Tweak card appearance inside Existing Conditions to avoid a visible bottom line */
.existing-conditions .gallery-card {
    box-shadow: none !important; /* remove drop shadow that looked like a line */
    border: 0 !important; /* remove border */
    background-clip: padding-box;
    position: relative; /* enable overlay positioning */
    height: 100%;
    background: transparent; /* prevent white background lines */
    line-height: 0; /* remove baseline gaps from inline elements */
}
.existing-conditions .gallery-content { padding-bottom: 12px; }

.gallery-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.gallery-content {
    padding: 15px;
    flex-grow: 1;
}

/* Ensure the card body doesn’t create a bottom line by clipping overflow */
.existing-conditions .gallery-content { padding: 14px 15px 12px 15px; line-height: 1.4; }

/* Also clear any bottom borders from inner elements, just in case */
.existing-conditions .gallery-card * {
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Remove inline-image baseline gap inside cards */
.existing-conditions .gallery-image { display: block; width: 100%; height: 240px; object-fit: cover; }

/* Always-on caption overlay for home gallery */
.existing-conditions .gallery-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 12px 14px;
}
.existing-conditions .gallery-content p { color: #fff; font-size: 14px; line-height: 1.35; margin: 0; }

.gallery-content p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.gallery-navigation {
    display: flex;
    justify-content: center; /* arrows + dots centered */
    align-items: center;
    margin-top: 30px;
    position: relative;
}

/* Section button (View Full Gallery) outline */
.section-button .hero-btn {
    border: 1px solid var(--nycha-red);
}

.gallery-indicators { display: inline-flex; justify-content: center; align-items: center; margin: 0 12px; position: static !important; left: auto; bottom: auto; }

.indicator {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #c62828;
}

.gallery-control {
    background-color: #c62828;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery-control:hover {
    background-color: #b71c1c;
}

.gallery-control:disabled {
    background-color: #ddd;
    cursor: not-allowed;
}

/* Responsive styles for gallery slider */
@media (max-width: 992px) {
    /* Tablet: keep same vertical sizing as desktop for visual consistency */
    .gallery-slide-items { grid-template-columns: repeat(2, 1fr); gap: 15px; grid-auto-rows: 240px; }
    .existing-conditions .gallery-image { height: 240px; }
    .existing-conditions .gallery-content { padding: 15px; font-size: 1rem; }
    .existing-conditions .gallery-content p { font-size: 1rem; }
    .gallery-indicators { position: static !important; }
}

@media (max-width: 768px) {
    .gallery-slide-items { grid-template-columns: 1fr; gap: 16px; grid-auto-rows: auto; }
    .existing-conditions .gallery-item { height: auto; }
    .existing-conditions .gallery-image { height: 220px; }
    .gallery-navigation { justify-content: center; margin-top: 16px; flex-wrap: nowrap; gap: 8px; }
    .gallery-indicators { margin: 0 8px; order: 0; width: auto; justify-content: center; }
}

/* Lightbox Gallery */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    height: auto;
    max-height: 80vh;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 10px;
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.lightbox-nav button {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 0 20px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-nav button:hover {
    opacity: 1;
}

/* Section Styles */
section {
    margin-bottom: 4rem;
    padding-top: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

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

.project-text p {
    font-size: 1.2rem;
    color: #666;
}

.project-highlights {
    list-style: none;
    margin: 2rem 0;
}

.project-highlights li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.project-highlights li::before {
    content: "✓";
    color: var(--nycha-red);
    position: absolute;
    left: 0;
}

.map-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-caption {
    text-align: center;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

/* Conditions Gallery */
.conditions-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.gallery-item {
    position: relative;
}

.gallery-item img {
    width: 100%;
    border-radius: 8px;
}

.gallery-item p {
    margin-top: 1rem;
    color: #666;
}

.conditions-text {
    margin-top: 2rem;
    text-align: center;
}

.text-link {
    color: var(--nycha-red);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(172, 1, 54, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-card i {
    font-size: 2rem;
    color: var(--nycha-red);
}

.info-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.management-diagram {
    margin-top: 4rem;
    text-align: center;
}

.full-width-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Feedback Section */
.feedback-section {
    position: relative;
    width: 100%;
    max-width: 1332px;
    margin: 60px auto;
    overflow: hidden;
    border-radius: 8px;
    height: 738px;
    background-image: url('../images/Feedback_imagec.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
}

.feedback-section .container {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-left: 60px;
}

.feedback-content {
    max-width: 550px;
    color: white;
    padding-left: 0;
}

.feedback-content h2 {
    color: white;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.feedback-content p {
    color: white;
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 1;
    max-width: 500px;
}

.btn-survey {
    display: inline-block;
    padding: 12px 25px;
    background-color: white;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.btn-survey:hover {
    background-color: #f0f0f0;
}

/* Responsive Styles for Feedback Section */
@media screen and (max-width: 1200px) {
    .feedback-section {
        height: auto;
        min-height: 600px;
    }
    
    .feedback-content h2 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 992px) {
    .feedback-section {
        margin: 50px auto;
        min-height: 500px;
    }
    
    .feedback-section .container {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .feedback-content {
        max-width: 480px;
    }
    
    .feedback-content h2 {
        font-size: 2.4rem;
        margin-bottom: 20px;
    }
    
    .feedback-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 768px) {
    .feedback-section {
        min-height: 450px;
        margin: 40px auto;
        background-position: 70% center;
    }
    
    .feedback-section .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .feedback-content {
        max-width: 100%;
    }
    
    .feedback-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .feedback-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        max-width: 450px;
    }
    
    .btn-survey {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 576px) {
    .feedback-section {
        min-height: 400px;
        margin: 30px auto;
        background-position: 65% center;
    }
    
    .feedback-section::before {
        background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.5) 100%);
    }
    
    .feedback-section .container {
        padding: 30px 20px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .feedback-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .feedback-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .btn-survey {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Events Section Styles */
.events-section {
    padding: 60px 0;
    margin-bottom: 0;
}

.events-intro {
    max-width: 800px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.events-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--nycha-red);
    color: white;
    border-color: var(--nycha-red);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-card {
    display: block;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.event-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f9f9f9;
}

.category-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: white;
    color: #333;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.event-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 220px);
}

.event-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.event-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.save-spot-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--nycha-red);
    color: var(--nycha-red);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.save-spot-btn:hover {
    background-color: #f5f5f5;
}

/* Media queries for Events section */
@media screen and (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .events-filter {
        justify-content: center;
    }
    
    .event-image {
        height: 200px;
    }
    
    .event-details {
        height: calc(100% - 200px);
    }
}

@media screen and (max-width: 576px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .event-image {
        height: 220px;
    }
    
    .event-details {
        height: auto;
    }
    
    .event-title {
        font-size: 16px;
    }
    
    .event-description {
        font-size: 13px;
    }
    
    .save-spot-btn {
        width: 100%;
        text-align: center;
    }
}

/* Workshop Registration Section */
.workshop-registration {
    background-color: var(--nycha-red);
    padding: 60px 0;
    margin-bottom: 0;
    color: white;
}

.workshop-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.workshop-left {
    flex: 1;
    padding-right: 20px;
}

.workshop-left h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.workshop-left p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.workshop-image {
    margin-top: auto;
}

.workshop-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 8px;
    display: block;
}

.workshop-right {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    color: #333;
}

.workshop-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
    pointer-events: none;
}

.form-group select {
    appearance: none;
    width: 100%;
    background-color: white;
    cursor: pointer;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--nycha-red);
    text-decoration: none;
}

.register-btn {
    background-color: black;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-btn:hover {
    background-color: #333;
}

.register-btn:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

.register-btn:disabled:hover {
    background-color: #ccc;
}

/* Responsive styles for workshop registration */
@media screen and (max-width: 1200px) {
    .workshop-left h2 {
        font-size: 32px;
    }
}

@media screen and (max-width: 992px) {
    .workshop-container {
        gap: 30px;
    }
    
    .workshop-left {
        padding-right: 0;
    }
    
    .workshop-left h2 {
        font-size: 28px;
    }
    
    .workshop-left p {
        font-size: 15px;
    }
    
    .workshop-right {
        padding: 30px;
    }
}

@media screen and (max-width: 768px) {
    .workshop-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .workshop-left {
        text-align: center;
    }
    
    .workshop-image img {
        margin: 0 auto;
    }
    
    .workshop-right {
        width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    .workshop-registration {
        padding: 40px 0;
    }
    
    .workshop-container {
        padding: 0 15px;
    }
    
    .workshop-left h2 {
        font-size: 24px;
    }
    
    .workshop-left p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .workshop-right {
        padding: 20px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .checkbox-group {
        align-items: flex-start;
    }
    
    .checkbox-group label {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .register-btn {
        width: 100%;
        padding: 12px 0;
    }
}

/* Past Events Section */
.past-events-section {
    padding: 60px 0;
    margin-bottom: 0;
}

.past-events-intro {
    max-width: 800px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.past-events-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.past-events-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.past-event-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid #EEEEEE;
}

.past-event-info {
    flex: 1;
    margin-right: 20px;
}

.past-event-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.past-event-location {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.past-event-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    min-width: 150px;
}

.past-event-tag {
    display: inline-block;
    background-color: #f5f5f5;
    color: #333;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.download-pdf-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--nycha-red);
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    color: var(--nycha-red);
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.download-pdf-btn:hover {
    background-color: #f5f5f5;
}

/* Responsive styles for past events */
@media screen and (max-width: 992px) {
    .past-events-filter {
        justify-content: center;
    }
    
    .past-event-title {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .past-event-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .past-event-info {
        margin-right: 0;
        width: 100%;
    }
    
    .past-event-meta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-width: auto;
    }
}

@media screen and (max-width: 576px) {
    .past-events-section {
        padding: 40px 0;
    }
    
    .past-events-intro {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .past-events-filter {
        margin-bottom: 20px;
    }
    
    .past-event-item {
        padding: 20px 0;
    }
    
    .past-event-title {
        font-size: 16px;
    }
    
    .past-event-location {
        font-size: 13px;
    }
    
    .past-event-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .download-pdf-btn {
        width: 100%;
    }
}

/* Gallery Page Styles */
.sustainability-snapshots {
    padding: 60px 0 30px;
    background-color: #f9f9f9;
}

.snapshots-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.snapshots-left {
    flex: 0 0 100%;
    max-width: 360px;
}

.snapshots-right {
    flex: 1;
    max-width: 650px;
}

.snapshots-left h2 {
    font-size: 29px;
    color: var(--nycha-red);
    margin-bottom: 20px;
    font-weight: 700;
}

.snapshots-right p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Responsive styles for mosaic gallery */
@media (max-width: 992px) {
    .gallery-mosaic {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 6;
        grid-row: span 2;
    }
    
    .gallery-item.medium {
        grid-column: span 3;
        grid-row: span 1;
    }
    
    .gallery-item.small {
        grid-column: span 3;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .gallery-item.medium {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-caption {
        transform: translateY(0);
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .snapshots-content {
        flex-direction: column;
    }
    
    .snapshots-left,
    .snapshots-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Cloudburst Management Section */
.cloudburst-management-section {
    background-color: #ffffff;
    padding: 60px 0;
    margin-bottom: 0;
    position: relative;
    overflow: visible;
}

.cloudburst-header {
    display: flex;
    margin-bottom: 60px;
    gap: 60px;
    padding: 0 15px;
}

.cloudburst-title {
    flex: 0 0 40%;
}

.cloudburst-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #333;
}

.cloudburst-description {
    flex: 0 0 55%;
}

.cloudburst-description p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #333;
}

/* Cloudburst list styling */
.cb-list {
    margin: 12px 0 0 18px;
    padding: 0;
}
.cb-list li {
    margin-bottom: 6px;
    color: #333;
}
.cb-list strong { color: #000; }

@media (max-width: 768px) {
    .cloudburst-description p { font-size: 0.95rem; }
    .cb-list { margin-left: 16px; }
    .cb-list li { margin-bottom: 8px; }
}

.cloudburst-visual {
    position: relative;
    background: none; /* ensure image isn’t behind cards */
    padding-bottom: 0;
}
.cb-intro {
    margin: 0 0 20px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background: rgba(172, 1, 54, 0.06); /* soft tint of brand red */
    border-left: 4px solid var(--nycha-red);
    padding: 14px 18px;
    border-radius: 6px;
}
.cb-intro em { font-style: italic; }
.cb-intro strong { font-weight: 600; }
@media (max-width: 768px) {
    .cb-intro { font-size: 0.95rem; padding: 12px 14px; }
}

.cloudburst-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.cloudburst-card {
    border-radius: 4px;
    padding: 25px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cloudburst-card.absorb {
    background-color: rgba(76, 175, 80, 0.08);
}

.cloudburst-card.store {
    background-color: rgba(3, 169, 244, 0.08);
}

.cloudburst-card.transfer {
    background-color: rgba(255, 152, 0, 0.08);
}

.cloudburst-card.convey {
    background-color: rgba(255, 193, 7, 0.08);
}

/* remove icon container space now that icons are not shown */
.card-icon { display: none; }

/* icon background colors no longer needed */

/* no icon image */

.cloudburst-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #333;
}

.cloudburst-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: #555;
}

.cloudburst-diagram { display: block; margin-top: 20px; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 20px; }
.cloudburst-diagram img { width: 100%; height: auto; display: block; }

@media (max-width: 1200px) {
    .cloudburst-header {
        flex-direction: column;
        gap: 30px;
    }
    
    .cloudburst-title, .cloudburst-description {
        flex: 0 0 100%;
    }
}

@media (max-width: 992px) {
    .cloudburst-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cloudburst-management-section {
        padding: 60px 0 0 0;
    }
    
    .cloudburst-visual {
        background-size: contain;
        padding-bottom: 120px;
    }
}

@media (max-width: 576px) {
    .cloudburst-management-section {
        padding: 40px 0 0 0;
    }
    
    .cloudburst-cards {
        grid-template-columns: 1fr;
    }
    
    .cloudburst-title h2 {
        font-size: 2rem;
    }
    
    .cloudburst-visual {
        padding-bottom: 100px;
    }
}

/* Footer Styling */
.site-footer {
    background-color: #585858;
    color: white;
    padding: 30px 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-nav {
    display: flex;
    gap: 25px;
    margin-top: 5px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.footer-subscribe {
    max-width: 280px;
}

.subscribe-label {
    font-weight: 500;
    margin-bottom: 10px;
}

.subscribe-form {
    display: flex;
    margin-bottom: 8px;
}

.subscribe-form input {
    flex-grow: 1;
    padding: 8px 15px;
    border: none;
    border-radius: 0;
    font-size: 14px;
    height: 40px;
}

.subscribe-form button {
    background-color: #E63946;
    color: white;
    border: none;
    padding: 0 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 40px;
}

.subscribe-form button:hover {
    background-color: #d73343;
}

.subscribe-policy {
    font-size: 12px;
    opacity: 0.7;
}

.subscribe-policy a {
    color: white;
    text-decoration: none;
}

.subscribe-policy a:hover {
    text-decoration: underline;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 10px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    font-size: 13px;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .footer-main {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-left {
        margin-bottom: 15px;
    }
    
    .footer-subscribe {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 15px 25px;
    }
}

@media (max-width: 576px) {
    .footer-nav {
        flex-wrap: wrap;
        gap: 15px 25px;
    }
}

@media (max-width: 992px) {
    .nav-link {
        padding: 0 15px;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content-row, 
    .about-project-row {
        gap: 30px;
    }
    
    .hero-title h1 {
        font-size: 2.2rem;
    }
    
    .about-project-row {
        gap: 30px;
    }
    
    .gallery-control {
        width: 40px;
        height: 40px;
    }
    
    .gallery-slide-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cloudburst-intro {
        flex-direction: column;
        gap: 30px;
    }
    
    .cloudburst-intro h2, 
    .cloudburst-intro-text {
        flex: 0 0 100%;
    }
    
    .cloudburst-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feedback-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content-row, 
    .about-project-row {
        flex-direction: column;
    }
    
    .hero-title, 
    .hero-right,
    .about-project-left,
    .about-project-right {
        flex: 0 0 100%;
        padding-right: 0;
    }
    
    .hero-title {
        margin-bottom: 20px;
    }
    
    .hero-title h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .project-content, 
    .conditions-gallery,
    .feedback-content {
        grid-template-columns: 1fr;
    }
    
    .feedback-text {
        order: 1;
    }
    
    .feedback-image {
        order: 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-controls {
        position: absolute;
        bottom: 10px;
        right: 0;
    }
    
    .gallery-indicators {
        position: absolute;
        bottom: 20px;
        left: 0;
    }
    
    .gallery-slide-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-image {
        height: 300px;
    }
    
    .hero-title h1 {
        font-size: 1.75rem;
    }
    
    .hero-btn {
        width: 100%;
    }
    
    .about-project-left h2 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .gallery-slide p {
        font-size: 0.9rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .cloudburst-grid {
        grid-template-columns: 1fr;
    }
    
    .feedback-content {
        padding: 20px;
    }
    
    footer .subscribe-form {
        flex-direction: column;
    }
    
    footer .subscribe-form input {
        margin-bottom: 10px;
    }
    
    footer .footer-bottom {
        flex-direction: column;
    }
    
    footer .footer-bottom div:first-child {
        margin-bottom: 10px;
    }
}

/* New Photo Gallery Styles */
.photo-gallery {
    padding: 50px 0;
}

.gallery-container {
    display: flex;
    gap: 15px;
    width: 100%;
}

.gallery-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-img {
    position: relative;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.gallery-img.large {
    height: 400px;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-img:hover img {
    transform: scale(1.05);
}

.img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    font-size: 14px;
    transform: translateY(0); /* Always visible */
    transition: none;
}

/* Overlay is always visible, keep hover effect only for image scale */

/* Sustainability Snapshots Section - Keep this part */
.sustainability-snapshots {
    padding: 60px 0 30px;
    background-color: #f9f9f9;
}

.snapshots-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.snapshots-left {
    flex: 0 0 100%;
    max-width: 360px;
}

.snapshots-right {
    flex: 1;
    max-width: 650px;
}

.snapshots-left h2 {
    font-size: 29px;
    color: var(--nycha-red);
    margin-bottom: 20px;
    font-weight: 700;
}

.snapshots-right p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Responsive Gallery */
@media (max-width: 992px) {
    .gallery-container {
        flex-wrap: wrap;
    }
    
    .gallery-col {
        flex: 0 0 calc(50% - 15px);
    }
    
    .gallery-col:last-child {
        flex: 0 0 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .gallery-col:last-child .gallery-img {
        flex: 0 0 calc(50% - 7.5px);
    }
}

@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column;
    }
    
    .gallery-col {
        flex: 0 0 100%;
    }
    
    .gallery-col:last-child {
        flex-direction: column;
    }
    
    .gallery-col:last-child .gallery-img {
        flex: 0 0 100%;
    }
    
    .gallery-img {
        height: 200px;
    }
    
    .gallery-img.large {
        height: 300px;
    }
    
    .snapshots-content {
        flex-direction: column;
    }
    
    .snapshots-left,
    .snapshots-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .img-caption {
        transform: translateY(0);
        font-size: 12px;
    }
}

/* Remove old gallery styles */
.gallery-section, 
.gallery-mosaic,
.gallery-grid, 
.gallery-item,
.gallery-image,
.gallery-caption,
.gallery-item.large,
.gallery-item.medium,
.gallery-item.small {
    /* Reset to prevent conflicts */
    display: initial;
    position: initial;
    width: initial;
    height: initial;
    grid-template-columns: initial;
    grid-column: initial;
    grid-row: initial;
    transform: initial;
    transition: initial;
    opacity: initial;
}

/* Resources Page Styles */
.resources-section {
    padding: 60px 0;
    margin-bottom: 0;
}

.resources-header {
    margin-bottom: 40px;
}

.resources-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.resources-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    line-height: 1.5;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.resource-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.resource-image {
    height: 296px;
    overflow: hidden;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resource-card:hover .resource-image img {
    transform: scale(1.05);
}

.resource-content {
    padding: 20px;
}

.resource-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.resource-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.learn-more-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--nycha-red);
    border-radius: 4px;
    font-size: 14px;
    color: var(--nycha-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #333;
    color: #fff;
}

/* Responsive styles for resources page */
@media (max-width: 992px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-header h1 {
        font-size: 28px;
    }
    
    .resources-section {
        padding: 40px 0;
    }
}

/* FAQ Section Styles */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px auto;
    max-width: 1100px;
}

.faq-header {
    text-align: center;
    margin-bottom: 30px;
}

.faq-header h2 {
    font-size: 32px;
    margin-bottom: 5px;
    color: #333;
}

.faq-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #444;
}

.faq-header p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

.faq-item {
    cursor: pointer;
    padding: 12px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    margin-bottom: 2px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.faq-item:hover {
    background-color: #f8f8f8;
}

.faq-toggle {
    font-size: 18px;
    font-weight: bold;
    color: var(--nycha-red);
}

.faq-answer {
    display: none;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 4px solid #333;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-bottom: 15px;
    line-height: 1.5;
    color: #666;
    font-size: 14px;
}

.faq-item.active + .faq-answer {
    display: block;
}

.faq-container {
    width: 100%;
}

.more-questions {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 20px;
}

.more-questions h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.more-questions h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.more-questions p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    margin-top: 20px;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    background-color: var(--nycha-red);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
    width: 100%;
}

.contact-submit:hover {
    background-color: #8c0028;
}

@media screen and (max-width: 992px) {
    .contact-form {
        padding: 25px;
    }
}

@media screen and (max-width: 768px) {
    .more-questions {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-form label {
        font-size: 13px;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        padding: 10px 14px;
        font-size: 14px;
    }
}

.contact-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #fff;
    border: 1px solid var(--nycha-red);
    border-radius: 4px;
    font-size: 16px;
    color: var(--nycha-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--nycha-red);
    color: #fff;
}

/* Responsive styles for FAQ section */
@media (max-width: 992px) {
    .faq-grid {
        gap: 15px;
    }
    
    .faq-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-header h2 {
        font-size: 28px;
    }
    
    .faq-header h3 {
        font-size: 24px;
    }
    
    .more-questions h3 {
        font-size: 24px;
    }
    
    .more-questions h4 {
        font-size: 20px;
    }
}

/* Section Spacing - Standardized */
.about-project,
.existing-conditions,
.cloudburst-management-section,
.events-section,
.workshop-registration,
.gallery-section,
.resources-section {
    padding: 60px 0;
    margin-bottom: 0;
}

/* Media queries for consistent section spacing */
@media screen and (max-width: 992px) {
    .about-project,
    .existing-conditions,
    .cloudburst-management-section,
    .events-section,
    .workshop-registration,
    .gallery-section,
    .resources-section {
        padding: 50px 0;
    }
    
    .feedback-section {
        margin: 50px auto;
    }
}

@media screen and (max-width: 768px) {
    .about-project,
    .existing-conditions,
    .cloudburst-management-section,
    .events-section,
    .workshop-registration,
    .gallery-section,
    .resources-section {
        padding: 40px 0;
    }
    
    .feedback-section {
        margin: 40px auto;
    }
}

@media screen and (max-width: 576px) {
    .about-project,
    .existing-conditions,
    .cloudburst-management-section,
    .events-section,
    .workshop-registration,
    .gallery-section,
    .resources-section {
        padding: 30px 0;
    }
    
    .feedback-section {
        margin: 30px auto;
    }
}

/* FAQ button styles */
.faq-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    background-color: #f9f9f9;
}

.faq-btn h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.faq-btn:hover {
    background-color: #f0f0f0;
}

.faq-toggle {
    font-size: 20px;
    font-weight: bold;
    color: var(--nycha-red);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none; /* Hide all answers by default */
    background-color: #fff;
    border-radius: 0 0 4px 4px;
}

/* Pagination styling */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pagination li {
    display: inline-block;
}

.pagination li .page-link,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    border-radius: 4px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #ddd;
    background-color: #fff;
    transition: all 0.2s ease;
}

.pagination li.active .page-link,
.pagination li.active span {
    background-color: var(--nycha-red);
    color: #fff;
    border-color: var(--nycha-red);
}

.pagination li .page-link:hover {
    background-color: #f5f5f5;
}

.pagination li.disabled span,
.pagination li.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

/* Fix for pagination SVG icons */
.pagination svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Dashboard Pagination Styling */
.dashboard-pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 5px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn.active {
    background-color: var(--nycha-red);
    color: #fff;
    border-color: var(--nycha-red);
}

.pagination-btn:hover:not(.active):not(.disabled) {
    background-color: #f5f5f5;
}

.pagination-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

/* Fix for pagination icons */
.pagination-btn i {
    font-size: 14px;
}

/* Gallery Styling Fixes */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-item .gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.gallery-actions {
    display: flex;
    gap: 8px;
    z-index: 5;
}

.gallery-actions button,
.gallery-actions a,
.gallery-status button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.gallery-actions .gallery-view:hover { background-color: #e3f2fd; color: #2196f3; }
.gallery-actions .gallery-edit:hover { background-color: #e8f5e9; color: #4caf50; }
.gallery-actions .gallery-delete:hover { background-color: #ffebee; color: #f44336; }

.gallery-details {
    padding: 15px;
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.gallery-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.gallery-type {
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 500;
}

.gallery-type.regular {
    background-color: #e8f5e9;
    color: #4caf50;
}

.gallery-type.featured {
    background-color: #fff8e1;
    color: #ffa000;
}

.gallery-date {
    color: #757575;
    font-size: 13px;
}

.gallery-status {
    z-index: 5;
}

.status-toggle {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.status-toggle.active {
    color: #4caf50;
}

.status-toggle.inactive {
    color: #9e9e9e;
}

/* Filter Container Styling */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.filter-group .form-control {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.filter-group .action-btn {
    margin-top: 24px;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    z-index: 10;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-body img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 4px;
}

.modal-body p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
}

.preview-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.preview-type,
.preview-status,
.preview-date {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.preview-type.regular {
    background-color: #e8f5e9;
    color: #4caf50;
}

.preview-type.featured {
    background-color: #fff8e1;
    color: #ffa000;
}

.preview-status.active {
    background-color: #e8f5e9;
    color: #4caf50;
}

.preview-status.inactive {
    background-color: #f5f5f5;
    color: #9e9e9e;
}

.preview-date {
    background-color: #f5f5f5;
    color: #757575;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .filter-container {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
}

/* Newsletter Subscription Styles */
.subscribe-message {
    font-size: 14px;
    margin: 5px 0;
    display: none;
    transition: all 0.3s ease;
}

.subscribe-message.success {
    display: block;
    color: #28a745;
}

.subscribe-message.error {
    display: block;
    color: #dc3545;
}

.footer-subscribe .subscribe-form {
    display: flex;
}

.footer-subscribe input[type="email"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.footer-subscribe button {
    padding: 8px 15px;
    background-color: #e91e25;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.footer-subscribe button:hover {
    background-color: #c91a20;
}

.footer-subscribe button:disabled {
    background-color: #f08080;
    cursor: not-allowed;
}