/* Global Typography - Montserrat Font, Non-Bold, Small Sizes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500&display=swap');

:root{
  --gold:#d4a000;
  --bg:#f5f5f5;
  --paper:#ffffff;
  --muted:#666666;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family: 'Montserrat' !important;
  font-weight: 400 !important;
}

html, body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400 !important;
}

strong, b {
  font-weight: 400 !important;
}

nav, nav a, .navbar, .nav-link, .menu-item, .main-nav a, .mobile-nav-link {
  font-size: 12px !important;
  font-weight: 400 !important;
  font-family: 'Montserrat' !important;
}

p {
  font-size: 13px;
  font-weight: 400 !important;
}

html, body {
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

body {
  overflow-x: hidden;
}

body.bg-light{
  background:var(--bg);
  color:#000;
  font-family:'Montserrat';
  font-weight: 400;
  padding-top:0;
}

/* Header Styles */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 24px;
  border-bottom:1px solid rgba(0,0,0,0.06);
  height:60px;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:#ffffff;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.brand a:hover {
  opacity: 0.8;
}

.logo{
  height:100px;
}

.main-nav{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:24px;
}

.main-nav a{
  color:#000000;
  text-decoration:none;
  font-weight:400;
  opacity:.95;
  padding:8px 12px;
  border-radius:4px;
  transition:all 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a:active{
  background:rgba(212,160,0,0.1);
  color: #000000;
  opacity:1;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
  position: relative;
}

.nav-icon{
  background:none;
  border:none;
  color: var(--gold);
  cursor:pointer;
  padding:8px;
  border-radius:4px;
  transition:all 0.3s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}

.nav-icon:hover,
.nav-icon:focus,
.nav-icon:active{
  background:rgba(212,160,0,0.1);
  color: var(--gold);
  transform:scale(1.05);
}

.nav-icon svg{
  width:20px;
  height:20px;
}

/* Search functionality */
.search-container {
  display: none !important;
  position: relative;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  min-width: 250px;
  max-width: 400px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: opacity 0.3s ease, transform 0.3s ease;
  visibility: hidden;
}

.search-container.active {
  display: flex !important;
  opacity: 1;
  transform: scaleX(1);
  visibility: visible;
}

.search-container.active ~ .nav-icon,
.search-container.active ~ button.nav-icon {
  display: none;
}

.search-toggle.active {
  display: none;
}

.search-input {
  flex: 1;
  border: 1px solid rgba(212,160,0,0.3);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
  background: rgba(255,255,255,0.9);
  color: #000;
}

.search-input:focus {
  border-color: var(--gold);
  background: #fff;
}

.search-close {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-close:hover {
  background: rgba(212,160,0,0.1);
  color: var(--gold);
}

.search-close svg {
  width: 18px;
  height: 18px;
}

/* Mega dropdown */
.mega {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #f5f5f5;
  border-top: 1px solid rgba(0,0,0,0.2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all .3s ease;
  z-index: 1000;
  display: none;
}

.site-header.expand .mega {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.mega-inner {
  width: 100%;
  margin: 0;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.projects-grid {
  grid-template-columns: repeat(4, 1fr);
}

.dropdown-section {
  text-align: left;
}

.dropdown-section h4 {
  margin: 0 0 12px 0;
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  border-bottom: 1px solid rgba(212,160,0,0.3);
  padding-bottom: 8px;
}

.dropdown-section a {
  display: block;
  color: #000000;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 6px 0;
  transition: all 0.2s ease;
  opacity: 0.8;
}

.dropdown-section a:hover,
.dropdown-section a:focus,
.dropdown-section a:active {
  color: #000000;
  opacity: 1;
  padding-left: 8px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-content {
  padding: 80px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 400;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus,
.mobile-nav-link:active {
  color: var(--gold);
  padding-left: 20px;
}

/* Hero Section */
.projects-hero {
  position: relative;
  padding: 120px 40px 80px;
  text-align: center;
  margin-top: 60px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1920&h=1080&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.projects-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 20px;
  font-family: 'Montserrat';
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-underline {
  width: 100px;
  height: 4px;
  background: var(--gold);
  margin: 0 auto 30px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--muted);
  font-weight: 400;
  font-family: 'Montserrat';
  max-width: 700px;
  margin: 0 auto;
}

/* Rich Hero Section Styles */
body.bg-light .hero {
  width: 100%;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  background: var(--bg);
  padding: 0 20px;
}

body.bg-light .hero-shape {
  position: relative;
  width: 85%;
  height: 200px;
  background: #d7d7d7;
  clip-path: polygon(
      0% 0%, 
      70% 0%, 
      60% 100%, 
      0% 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
}

body.bg-light .hero-shape::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: #d7d7d7;
  clip-path: polygon(
      0% 0%,
      100% 0%,
      100% 100%,
      18.2% 100%
  );
}

body.bg-light .hero-shape h1 {
  position: absolute;
  right: 15%;
  font-size: 32px;
  color: #000;
  font-weight: bold;
  font-family: 'Montserrat';
  z-index: 2;
}

body.bg-light .hero-shape p {
  position: absolute;
  right: 15%;
  top: 60px;
  font-size: 16px;
  color: #333;
  max-width: 300px;
  text-align: right;
  font-family: 'Montserrat';
  line-height: 1.5;
  z-index: 2;
}

/* Modern Makerspace Page Styles */

/* Hero Section with Background */
.makerspace-hero {
  position: relative;
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  background-image: url('assets/printing.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  overflow: visible;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Smoky Cloudy Transition - Blending Dark to Light */
.makerspace-hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.8) 0%,
    rgba(26, 26, 26, 0.6) 15%,
    rgba(26, 26, 26, 0.4) 30%,
    rgba(200, 200, 200, 0.3) 50%,
    rgba(240, 240, 240, 0.2) 70%,
    rgba(255, 255, 255, 0.1) 85%,
    transparent 100%
  );
  filter: blur(30px);
  z-index: 2;
  pointer-events: none;
}

/* Additional smoky layers for more cloud effect */
.makerspace-hero::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  height: 100px;
  background: 
    radial-gradient(ellipse at 15% 50%, rgba(26, 26, 26, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(150, 150, 150, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 50%, rgba(26, 26, 26, 0.5) 0%, transparent 60%);
  filter: blur(35px);
  z-index: 2;
  pointer-events: none;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
}

.hero-main-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle-large {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Intro Section */
.makerspace-intro {
  padding: 80px 0;
  background: var(--paper);
  position: relative;
  margin-top: -80px;
  z-index: 1;
}

/* Smoky transition from white section - Blending Light to Dark */
.makerspace-intro::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 15%,
    rgba(240, 240, 240, 0.5) 30%,
    rgba(200, 200, 200, 0.3) 50%,
    rgba(100, 100, 100, 0.2) 70%,
    rgba(26, 26, 26, 0.1) 85%,
    transparent 100%
  );
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

/* Additional white smoke layers blending with dark */
.makerspace-intro::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 100px;
  background: 
    radial-gradient(ellipse at 15% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.intro-image {
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, rgba(212,160,0,0.1) 0%, rgba(212,160,0,0.05) 100%);
  border: 2px dashed rgba(212,160,0,0.3);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.image-placeholder svg {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.image-placeholder p {
  font-size: 1rem;
  color: var(--muted);
}

.intro-text h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 24px;
}

.intro-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Facilities Section */
.makerspace-facilities {
  padding: 80px 0;
  background: var(--bg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 400;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
}

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

.facility-card {
  background: var(--paper);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--gold);
}

.facility-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.facility-card h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 15px;
}

.facility-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Audience Section */
.makerspace-audience {
  padding: 0;
  margin: 80px 0;
}

.audience-background {
  position: relative;
  width: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  background-image: url('assets/service-3d.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.audience-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.audience-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  color: #ffffff;
}

.audience-content h2 {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 30px;
  color: #ffffff;
}

.audience-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.audience-item {
  background: rgba(212, 160, 0, 0.2);
  border: 2px solid var(--gold);
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.125rem;
  color: #ffffff;
  font-weight: 500;
}

/* Training Section */
.makerspace-training {
  padding: 80px 0;
  background: var(--paper);
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.training-text h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 24px;
}

.training-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 30px;
}

.training-features {
  list-style: none;
  padding: 0;
}

.training-features li {
  font-size: 1.125rem;
  line-height: 2;
  color: #000000;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.training-features li:last-child {
  border-bottom: none;
}

.training-image {
  position: relative;
}

/* Gallery Section */
.makerspace-gallery {
  padding: 80px 0;
  background: var(--bg);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212,160,0,0.1) 0%, rgba(212,160,0,0.05) 100%);
  border: 2px dashed rgba(212,160,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-placeholder {
  background: linear-gradient(135deg, rgba(212,160,0,0.2) 0%, rgba(212,160,0,0.1) 100%);
  transform: scale(1.05);
}

.gallery-placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.5;
}

/* CTA Section */
.makerspace-cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--gold) 0%, #b89000 100%);
  text-align: center;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.cta-container h2 {
  font-size: 3rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 20px;
}

.cta-container p {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  padding: 18px 50px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: 2px solid #000000;
}

.cta-button:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 20px;
}

.hero-underline {
  width: 100px;
  height: 4px;
  background: var(--gold);
  margin: 0 auto 30px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--muted);
  font-weight: 400;
}

/* Projects Section */
.projects-section {
  padding: 80px 0;
  background: var(--bg);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Category Section */
.project-category-section {
  margin-bottom: 80px;
}

.project-category-section:last-child {
  margin-bottom: 0;
}

.category-section-title {
  font-size: 2.5rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--gold);
  font-family: 'Montserrat';
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Project Card */
.project-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
  text-decoration: none;
  color: inherit;
}

.project-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  box-shadow: 0 8px 30px rgba(212, 160, 0, 0.2);
  transform: translateY(-5px);
}

/* Project Card Image */
.project-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212,160,0,0.1) 0%, rgba(212,160,0,0.05) 100%);
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-image img {
  transform: scale(1.1);
}

.project-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,160,0,0.1) 0%, rgba(212,160,0,0.05) 100%);
  color: rgba(212, 160, 0, 0.3);
}

.project-card-placeholder svg {
  width: 60px;
  height: 60px;
}

/* Project Card Content */
.project-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
  margin: 0 0 15px 0;
  font-family: 'Montserrat';
  line-height: 1.3;
  transition: color 0.3s ease;
}

.project-card:hover .project-card-title {
  color: var(--gold);
}

.project-card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
  font-family: 'Montserrat';
  flex-grow: 1;
}

.project-card-link {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: 'Montserrat';
  transition: all 0.3s ease;
  position: relative;
  padding-right: 20px;
  align-self: flex-start;
  pointer-events: none;
}

.project-card-link::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.project-card:hover .project-card-link {
  color: #000;
  transform: translateX(5px);
}

.project-card:hover .project-card-link::after {
  transform: translateX(5px);
}

/* News Section */
.news-section {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid rgba(212, 160, 0, 0.1);
}

.news-section-title {
  font-size: 2.5rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--gold);
  font-family: 'Montserrat';
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* News Card */
.news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
}

.news-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.news-card:hover {
  box-shadow: 0 8px 30px rgba(212, 160, 0, 0.2);
  transform: translateY(-5px);
}

/* News Card Image */
.news-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212,160,0,0.1) 0%, rgba(212,160,0,0.05) 100%);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-card-image img {
  transform: scale(1.1);
}

.news-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,160,0,0.1) 0%, rgba(212,160,0,0.05) 100%);
  color: rgba(212, 160, 0, 0.3);
}

.news-card-placeholder svg {
  width: 60px;
  height: 60px;
}

/* News Card Content */
.news-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-family: 'Montserrat';
  font-weight: 300;
}

.news-card-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: #000000;
  margin: 0 0 12px 0;
  font-family: 'Montserrat';
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
  color: var(--gold);
}

.news-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
  font-family: 'Montserrat';
  flex-grow: 1;
}

.news-card-link {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: 'Montserrat';
  transition: all 0.3s ease;
  position: relative;
  padding-right: 20px;
  align-self: flex-start;
}

.news-card-link::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.news-card-link:hover {
  color: #000;
  transform: translateX(5px);
}

.news-card-link:hover::after {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1024px) {
  .mega-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .nav-icon {
    padding: 6px;
  }
  
  .nav-icon svg {
    width: 18px;
    height: 18px;
  }

  .search-container {
    min-width: 200px;
    max-width: 300px;
  }
  
  .search-input {
    padding: 5px 10px;
    font-size: 13px;
  }
  
  .logo {
    height: 40px;
  }
  
  .site-header {
    padding: 6px 16px;
    height: 50px;
  }
  
  .projects-hero {
    padding: 100px 20px 60px;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }

  body.bg-light .hero {
    height: 300px;
    margin-top: 60px;
  }

  body.bg-light .hero-shape {
    width: 90%;
    height: 180px;
  }

  body.bg-light .hero-shape h1 {
    font-size: 26px;
    right: 12%;
  }

  body.bg-light .hero-shape p {
    font-size: 14px;
    right: 12%;
    top: 50px;
    max-width: 250px;
  }

  /* Makerspace Responsive */
  .makerspace-hero {
    height: 400px;
  }

  .hero-main-title {
    font-size: 3rem;
  }

  .hero-subtitle-large {
    font-size: 1.25rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .training-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-background {
    min-height: 400px;
    background-attachment: scroll;
  }

  .audience-content h2 {
    font-size: 2.5rem;
  }

  .cta-container h2 {
    font-size: 2.5rem;
  }
  
  .projects-section {
    padding: 60px 0;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .category-section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .project-card-image {
    height: 200px;
  }

  .project-card-content {
    padding: 25px;
  }

  .project-card-title {
    font-size: 1.3rem;
  }

  .news-section {
    padding: 60px 0;
  }

  .news-section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .news-card-image {
    height: 180px;
  }

  .news-card-content {
    padding: 20px;
  }

  .news-card-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .projects-hero {
    padding: 80px 15px 40px;
    min-height: 350px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }

  body.bg-light .hero {
    height: 250px;
    margin-top: 60px;
  }

  body.bg-light .hero-shape {
    width: 95%;
    height: 150px;
    clip-path: polygon(
        0% 0%, 
        65% 0%, 
        55% 100%, 
        0% 100%
    );
  }

  body.bg-light .hero-shape::after {
    width: 50%;
    clip-path: polygon(
        0% 0%,
        100% 0%,
        100% 100%,
        20% 100%
    );
  }

  body.bg-light .hero-shape h1 {
    font-size: 20px;
    right: 10%;
  }

  body.bg-light .hero-shape p {
    font-size: 12px;
    right: 10%;
    top: 40px;
    max-width: 200px;
  }

  /* Makerspace Mobile Responsive */
  .makerspace-hero {
    height: 350px;
  }

  .hero-main-title {
    font-size: 2.5rem;
  }

  .hero-subtitle-large {
    font-size: 1.125rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .image-placeholder {
    height: 300px;
  }

  .intro-text h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .facility-card {
    padding: 30px 20px;
  }

  .training-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .training-text h2 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .audience-background {
    min-height: 350px;
    padding: 60px 15px;
  }

  .audience-content h2 {
    font-size: 2rem;
  }

  .audience-content p {
    font-size: 1.125rem;
  }

  .audience-list {
    flex-direction: column;
    gap: 15px;
  }

  .cta-container h2 {
    font-size: 2rem;
  }

  .cta-container p {
    font-size: 1.25rem;
  }

  .cta-button {
    padding: 16px 40px;
    font-size: 1rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .category-title {
    font-size: 1.6rem;
  }
  
  .project-item {
    padding: 15px;
  }
  
  .project-item h3 {
    font-size: 1.3rem;
  }
  
  .project-item p {
    font-size: 0.95rem;
  }
}

