/* ============================================
   PROJECTS PAGE STYLES
   Consistent with sustainability.html styling
   ============================================ */

/* ===== HERO SECTION ===== */
.projects-hero {
  position: relative;
  height: 90vh;
  min-height: 700px;
  max-height: 900px;
  overflow: hidden;
  clip-path: ellipse(100% 100% at 50% 0%);
}* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
   
    box-sizing: border-box;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;

  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
 
  font-size: 0.9rem;
  color:black;
}
.hero-content {
  padding-top: 120px; /* desktop default */
}

.hero-content .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}/* Tablets */
@media (max-width: 1024px) {
  .hero-content {
    padding-top: 110px;
  }
}

/* Tablets & large phones */
@media (max-width: 768px) {
  .hero-content {
    padding-top: 130px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-content {
    padding-top: 150px;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .hero-content {
    padding-top: 170px;
  }
}


.hero-content .breadcrumb a:hover {
  color: #00a8ff;
}

.hero-content .breadcrumb .current {
  color: #00a8ff;
  font-weight: 600;
}

.hero-content .breadcrumb i {
  font-size: 0.8rem;
  margin: 0 5px;
  
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: black;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
}
.subtitle{
  color: black;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
  font-weight: 700;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background:white;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 150px;
  transition: transform 0.3s, background 0.3s;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  display: block;
  font-size: 2.5rem;

  color: #00a8ff;
  font-weight: 500;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
 color: white;
 font-weight: 400;
  display: block;
}

/* ===== MAIN CONTENT ===== */
.projects-main {
  padding-top: 0;
}

.section {
  padding: 80px 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #00a8ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a3b5d;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-description {
  font-size: 1.125rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== CATEGORIES SECTION ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.category-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 168, 255, 0.15);
  border-color: #00a8ff;
}

.category-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00a8ff, #0097e6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  transition: transform 0.3s;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-card h3 {
  font-size: 1.5rem;
  color: #1a3b5d;
  margin-bottom: 15px;
}

.category-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00a8ff;
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s;
}

.category-link:hover {
  gap: 12px;
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects {
  background: #f8f9fa;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.featured-main {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.featured-image {
  position: relative;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.featured-image:hover img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #00a8ff;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.875rem;
}

.featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.project-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00a8ff;
  font-weight: 600;
  font-size: 0.9rem;
}

.project-year {
  background: #f8f9fa;
  color: #666;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
}

.featured-content h3 {
  font-size: 1.75rem;
  color: #1a3b5d;
  margin-bottom: 20px;
  line-height: 1.3;
}

.project-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.project-info {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.info-item {
  text-align: center;
  flex: 1;
}

.info-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #00a8ff;
  margin-bottom: 5px;
}

.info-label {
  display: block;
  font-size: 0.875rem;
  color: #666;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tag {
  background: #f0f7ff;
  color: #00a8ff;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(0, 168, 255, 0.2);
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a3b5d;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  align-self: flex-start;
}

.project-btn:hover {
  background: #00a8ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 255, 0.3);
}

/* Secondary Projects */
.secondary-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.secondary-project {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.secondary-project:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.secondary-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.secondary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.secondary-project:hover .secondary-image img {
  transform: scale(1.05);
}

.project-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.project-status.ongoing {
  background: #ffa500;
  color: white;
}

.project-status.completed {
  background: #28a745;
  color: white;
}

.secondary-content {
  padding: 25px;
}

.secondary-content h4 {
  font-size: 1.25rem;
  color: #1a3b5d;
  margin-bottom: 10px;
  line-height: 1.3;
}

.secondary-content p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
  font-size: 0.9375rem;
}

.secondary-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.875rem;
  color: #888;
}

.secondary-meta i {
  margin-right: 5px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00a8ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.3s;
}

.secondary-link:hover {
  gap: 12px;
}

/* ===== STATS SECTION ===== */
.stats-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 59, 93, 0.9) 0%, rgba(10, 35, 64, 0.85) 100%);
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

.stats-section .section-title,
.stats-section .section-subtitle {
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: #00a8ff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8rem;
}

.stat-card h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 15px;
  text-align: center;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 25px;
}

.stat-features {
  list-style: none;
  padding: 0;
}

.stat-features li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.stat-features li i {
  color: #00a8ff;
  margin-right: 10px;
}

/* ===== PROCESS SECTION ===== */
.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e9ecef;
  border-radius: 2px;
}

.process-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 40px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00a8ff, #0097e6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  z-index: 2;
}

.step-content {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid #00a8ff;
}

.step-content h3 {
  font-size: 1.25rem;
  color: #1a3b5d;
  margin-bottom: 10px;
}

.step-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.step-duration {
  display: inline-block;
  background: #e9ecef;
  color: #666;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 1rem;
}

.cta-btn.primary {
  background: #00a8ff;
  color: white;
}

.cta-btn.primary:hover {
  background: #0097e6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 168, 255, 0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn.secondary:hover {
  background: white;
  color: #1a3b5d;
  transform: translateY(-2px);
}

.cta-btn.outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn.outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets and small desktops */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-item {
    min-width: 130px;
    padding: 15px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .featured-main {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .featured-image {
    height: 300px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Tablets */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .project-info {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .info-item {
    flex: none;
    width: calc(50% - 20px);
  }
  
  .process-timeline::before {
    left: 25px;
  }
  
  .process-step {
    padding-left: 60px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* Mobile phones */
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-item {
    width: 100%;
    max-width: 250px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .categories-grid,
  .secondary-projects {
    grid-template-columns: 1fr;
  }
  
  .info-item {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 30px 20px;
  }
}

/* Small mobile phones */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.6rem;
  }
 
  .hero-content .breadcrumb {
    font-size: 0.8rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .featured-content,
  .secondary-content {
    padding: 20px;
  }
}

/* Large desktops */
@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .stats-section,
  .cta-section {
    background-attachment: scroll;
  }
}

/* Print styles */
@media print {
  .projects-hero {
    background: white !important;
    color: black !important;
    min-height: auto;
    clip-path: none;
  }
  
  .hero-overlay,
  .project-badge,
  .project-status {
    display: none !important;
  }
  
  .hero-title,
  .section-title,
  .category-card h3,
  .featured-content h3,
  .secondary-content h4,
  .stat-card h3,
  .step-content h3 {
    color: black !important;
  }
  
  .hero-subtitle,
  .section-description,
  .category-card p,
  .project-description,
  .secondary-content p,
  .stat-card p,
  .step-content p {
    color: #333 !important;
  }
  
  .category-card,
  .featured-main,
  .secondary-project,
  .stat-card,
  .step-content {
    border: 1px solid #ddd !important;
    background: white !important;
    box-shadow: none !important;
  }
  
  a {
    color: black !important;
    text-decoration: underline;
  }
}

/* Animation classes for scroll effects */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Anchor link offset for fixed navbar */
[id] {
  scroll-margin-top: 100px;
}