
:root {
	--dark-blue: #0a192f;
	--medium-blue: #112240;
	--light-blue: #233554;
	--accent: #64ffda;
	--white: #e6f1ff;
	--light-gray: #8892b0;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	background-color: var(--dark-blue);
	color: var(--white);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header & Navigation */
header {
	background-color: rgba(10, 25, 47, 0.95);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	padding: 20px 0;
	backdrop-filter: blur(10px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--accent);
	display: flex;
	align-items: center;
}

.logo::before {
	content: '<';
	color: var(--accent);
	font-weight: 300;
}

.logo::after {
	content: '/>';
	color: var(--accent);
	font-weight: 300;
}

.nav-links {
	display: flex;
	list-style: none;
}

.nav-links li {
	margin-left: 30px;
	position: relative;
}

.nav-links a {
	color: var(--white);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
}

.nav-links a::before {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent);
	transition: width 0.3s;
}

.nav-links a:hover::before {
	width: 100%;
}

.nav-links a:hover {
	color: var(--accent);
}

/* Active navigation link styles */
.nav-links li.active a {
	color: var(--accent);
}

.nav-links li.active a::before {
	width: 100%;
}

/* Optional: Add a subtle background or other indicator */
.nav-links li.active {
	position: relative;
}

.nav-links li.active::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--accent);
}

/* Mobile Navigation */
.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: var(--accent);
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 1001;
}

.nav-links.active {
	display: flex !important;
	flex-direction: column;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: rgba(10, 25, 47, 0.98);
	backdrop-filter: blur(10px);
	padding: 20px 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-links.active li {
	margin: 10px 0;
	text-align: center;
}

.nav-links.active a {
	padding: 10px 20px;
	display: block;
	font-size: 1.1rem;
}

/* Hero Section */
.hero {
	padding: 180px 0 100px;
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	background: url('images/03-laptop.jpg') no-repeat center center/cover;
	opacity: 0.2;
	clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content {
	max-width: 700px;
	margin-left: 50px;
	position: relative;
	z-index: 2;
}

.hero h1 {
	font-size: 4rem;
	margin-bottom: 20px;
	line-height: 1.1;
}

.typed-text {
	color: var(--accent);
	vertical-align: top;
	line-height: 1em;
	position: relative;
	display: inline-block;
	min-width: 0ch; /* keeps space even when empty */
}

.typed-text::after {
	content: '|';
	position: absolute;
	right: -10px;
	color: var(--accent);
	animation: blink 0.7s infinite;
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

.hero h2 {
	font-size: 2.5rem;
	color: var(--light-gray);
	margin-bottom: 30px;
}

.hero p {
	max-width: 600px;
	margin-bottom: 40px;
	color: var(--light-gray);
	font-size: 1.1rem;
	line-height: 1.8;
}

.btn {
	display: inline-block;
	padding: 15px 35px;
	background-color: transparent;
	color: var(--accent);
	border: 1px solid var(--accent);
	border-radius: 4px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0%;
	height: 100%;
	background-color: rgba(100, 255, 218, 0.1);
	transition: all 0.3s;
	z-index: -1;
}

.btn:hover::before {
	width: 100%;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

/* Sections */
section {
	padding: 100px 0;
}

.section-title {
	margin-bottom: 80px;
	position: relative;
	display: flex;
	align-items: center;
}

.section-title h2 {
	font-size: 2.5rem;
	color: var(--white);
	display: inline-block;
	margin-right: 20px;
}

.section-title::after {
	content: '';
	display: block;
	width: 300px;
	height: 1px;
	background-color: var(--light-blue);
	margin-left: 20px;
}

/* Project Tabs */
.project-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
	border-bottom: 1px solid var(--light-blue);
}

.tab-btn {
	padding: 12px 30px;
	background: transparent;
	border: none;
	color: var(--light-gray);
	font-size: 1.1rem;
	cursor: pointer;
	position: relative;
	transition: all 0.3s;
}

.tab-btn.active {
	color: var(--accent);
}

.tab-btn::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 0;
	height: 3px;
	background-color: var(--accent);
	transition: width 0.3s;
}

.tab-btn.active::after {
	width: 100%;
}

.tab-btn:hover {
	color: var(--accent);
}

/* Project Categories */
.project-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 40px;
	justify-content: center;
}

.category-btn {
	padding: 10px 20px;
	background: var(--medium-blue);
	border: 1px solid var(--light-blue);
	color: var(--light-gray);
	border-radius: 30px;
	cursor: pointer;
	transition: all 0.3s;
}

.category-btn.active {
	background: rgba(100, 255, 218, 0.1);
	color: var(--accent);
	border-color: var(--accent);
}

.category-btn:hover {
	background: rgba(100, 255, 218, 0.1);
	color: var(--accent);
}

/* Projects Container */
.projects-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 30px;
}

.project {
	background: linear-gradient(145deg, var(--medium-blue), var(--dark-blue));
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	position: relative;
}

.project:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.project-img {
	height: 200px;
	background: linear-gradient(45deg, var(--light-blue), var(--dark-blue));
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.project-img i {
	font-size: 4rem;
	color: var(--accent);
	z-index: 2;
}

.project-img::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
	transform: rotate(45deg);
	transition: all 0.5s;
}

.project:hover .project-img::after {
	animation: shine 1.5s;
}

@keyframes shine {
	0% { left: -50%; }
	100% { left: 100%; }
}

.project-info {
	padding: 25px;
}

.project-info h3 {
	margin-bottom: 15px;
	font-size: 1.4rem;
}

.project-status {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 0.8rem;
	margin-bottom: 15px;
}

.status-ongoing {
	background: rgba(255, 193, 7, 0.1);
	color: #ffc107;
	border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-finished {
	background: rgba(40, 167, 69, 0.1);
	color: #28a745;
	border: 1px solid rgba(40, 167, 69, 0.3);
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 15px 0;
}

.project-tag {
	background-color: rgba(100, 255, 218, 0.1);
	color: var(--accent);
	padding: 5px 10px;
	border-radius: 3px;
	font-size: 0.8rem;
}

.project-links {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.project-link {
	color: var(--accent);
	text-decoration: none;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: all 0.3s;
}

.project-link:hover {
	color: var(--white);
}

/* Non-Profit Projects Section Styles */
#nonprofit-projects {
	background: linear-gradient(145deg, var(--medium-blue), var(--dark-blue));
	position: relative;
}

.nonprofit-intro {
	max-width: 800px;
	margin: 0 auto 60px;
	text-align: center;
	padding: 40px;
	background: rgba(17, 34, 64, 0.3);
	border-radius: 12px;
	border: 1px solid rgba(100, 255, 218, 0.15);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.nonprofit-intro::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--accent), transparent);
	z-index: 1;
}

.nonprofit-intro p {
	margin-bottom: 25px;
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--light-gray);
	position: relative;
	z-index: 2;
}

.nonprofit-intro p:last-child {
	margin-bottom: 0;
}

.nonprofit-intro strong {
	color: var(--accent);
	font-weight: 600;
}

/* Optional: Add a subtle background pattern */
.nonprofit-intro::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: 
		radial-gradient(circle at 10% 20%, rgba(100, 255, 218, 0.05) 0%, transparent 20%),
		radial-gradient(circle at 90% 80%, rgba(100, 255, 218, 0.05) 0%, transparent 20%);
	z-index: 0;
}

.nonprofit-intro p {
	margin-bottom: 20px;
	font-size: 1.1rem;
	line-height: 1.7;
}

.organizations-count {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 15px 0;
	color: var(--light-gray);
	font-size: 0.9rem;
}

.organizations-count i {
	color: var(--accent);
}

.contact-link {
	background: rgba(100, 255, 218, 0.1);
	padding: 8px 15px;
	border-radius: 4px;
	border: 1px solid rgba(100, 255, 218, 0.3);
}

.contact-link:hover {
	background: rgba(100, 255, 218, 0.2);
}

/* Testimonials Section */
.testimonials-section {
	margin-top: 80px;
	text-align: center;
}

.testimonials-section h3 {
	font-size: 2rem;
	margin-bottom: 40px;
	color: var(--white);
}

.testimonials-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	max-width: 800px;
	margin: 0 auto;
}

.testimonial {
	background: rgba(17, 34, 64, 0.7);
	padding: 30px;
	border-radius: 8px;
	border: 1px solid rgba(100, 255, 218, 0.1);
	text-align: left;
}

.testimonial p {
	font-style: italic;
	margin-bottom: 20px;
	color: var(--light-gray);
	line-height: 1.6;
}

.testimonial-author {
	border-top: 1px solid rgba(100, 255, 218, 0.2);
	padding-top: 15px;
}

.testimonial-author strong {
	color: var(--accent);
	display: block;
	margin-bottom: 5px;
}

.testimonial-author span {
	color: var(--light-gray);
	font-size: 0.9rem;
}

/* Collaboration CTA */
.collaboration-cta {
	margin-top: 60px;
	text-align: center;
	padding: 0px;
	background: rgba(17, 34, 64, 0.5);
	border-radius: 8px;
	border: 1px solid rgba(100, 255, 218, 0.1);
}

.collaboration-cta h3 {
	font-size: 1.8rem;
	margin-bottom: 20px;
	color: var(--white);
}

.collaboration-cta p {
	max-width: 600px;
	margin: 0 auto 30px;
	color: var(--light-gray);
	line-height: 1.7;
}

/* Donation Section */
.donation-section {
	padding: 100px 0;
}

.donation-card {
	background: linear-gradient(145deg, var(--medium-blue), var(--dark-blue));
	border-radius: 8px;
	padding: 40px;
	text-align: center;
	border: 1px solid rgba(100, 255, 218, 0.1);
	max-width: 800px;
	margin: 0 auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.donation-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 30px;
}

.donation-image {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--accent), #4fd3b9);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
	position: relative;
	overflow: hidden;
}

.donation-image.actual-image {
	background: url('images/sugar-glider.jpg') no-repeat center center/cover;
	border: 3px solid var(--accent);
}

.donation-image.actual-image::before {
	display: none;
}

.donation-header h2 {
	font-size: 2rem;
	color: var(--white);
}

.donation-content {
	max-width: 600px;
	margin: 0 auto;
}

.donation-content p {
	margin-bottom: 25px;
	color: var(--light-gray);
	line-height: 1.7;
}

.donation-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	background: linear-gradient(145deg, rgba(100, 255, 218, 0.1), rgba(100, 255, 218, 0.05));
	color: var(--accent);
	text-decoration: none;
	border-radius: 50px;
	border: 1px solid rgba(100, 255, 218, 0.3);
	transition: all 0.4s ease;
	font-weight: 500;
}

.donation-btn:hover {
	background: rgba(100, 255, 218, 0.2);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

/* Footer */
footer {
	background: linear-gradient(to right, var(--dark-blue), var(--medium-blue));
	padding: 50px 0 30px;
	text-align: center;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 25px;
	margin-bottom: 30px;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: linear-gradient(145deg, var(--medium-blue), var(--dark-blue));
	color: var(--accent);
	font-size: 1.5rem;
	border-radius: 50%;
	transition: all 0.3s;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
	transform: translateY(-5px);
	color: var(--white);
	background: var(--accent);
}

.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--accent);
	color: var(--dark-blue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 1.5rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transition: all 0.3s;
	z-index: 100;
}

.back-to-top:hover {
	transform: translateY(-5px);
}

/* Project Modal Styles */
.project-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(10, 25, 47, 0.98);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.project-modal.active {
	opacity: 1;
	visibility: visible;
}

.project-modal .modal-content {
	background: linear-gradient(145deg, var(--medium-blue), var(--dark-blue));
	width: 90%;
	max-width: 900px;
	max-height: 85vh;
	overflow-y: auto;
	border-radius: 8px;
	padding: 30px;
	position: relative;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	transform: translateY(50px);
	transition: transform 0.5s ease;
	border: 1px solid rgba(100, 255, 218, 0.1);
}

.project-modal.active .modal-content {
	transform: translateY(0);
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	color: var(--accent);
	font-size: 1.5rem;
	cursor: pointer;
	transition: color 0.3s;
	z-index: 10;
}

.modal-close:hover {
	color: var(--white);
}

.modal-header {
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 15px;
	padding-right: 40px;
}

.modal-header i {
	font-size: 2.5rem;
	color: var(--accent);
}

.modal-header h2 {
	font-size: 2rem;
	color: var(--white);
}

.project-features {
	list-style-type: none;
	margin: 15px 0;
}

.project-features li {
	padding: 8px 0;
	padding-left: 25px;
	position: relative;
	color: var(--light-gray);
}

.project-features li:before {
	content: '▹';
	position: absolute;
	left: 0;
	color: var(--accent);
}

.project-tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 15px 0;
}

.project-tech {
	background-color: rgba(100, 255, 218, 0.1);
	color: var(--accent);
	padding: 5px 10px;
	border-radius: 3px;
	font-size: 0.9rem;
}

.project-links-modal {
	display: flex;
	gap: 15px;
	margin-top: 25px;
}

.project-link-modal {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: transparent;
	color: var(--accent);
	border: 1px solid var(--accent);
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.project-link-modal:hover {
	background: rgba(100, 255, 218, 0.1);
	transform: translateY(-2px);
}

/* View Details Button */
.view-btn {
	display: inline-block;
	padding: 8px 16px;
	background: rgba(100, 255, 218, 0.1);
	color: var(--accent);
	border: 1px solid rgba(100, 255, 218, 0.3);
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
	margin-top: 15px;
}

.view-btn:hover {
	background: rgba(100, 255, 218, 0.2);
	transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
	.hero h1 {
		font-size: 3rem;
	}
	
	.hero h2 {
		font-size: 2rem;
	}
	
	.section-title::after {
		width: 100px;
	}

	.hero-bg {
		width: 100%;
		clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
		opacity: 0.1;
	}
}

/* Fix for centering issues on all screen sizes */
.hero-content {
  margin-left: 0;
  text-align: center;
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
}

.hero h1, .hero h2, .hero p {
  text-align: center;
}

.hero p {
  margin-left: auto;
  margin-right: auto;
}

.btn {
  margin: 0 auto;
  display: block;
  width: fit-content;
}

/* Only apply left margin on large desktop screens */
@media (min-width: 1200px) {
  .hero-content {
	margin-left: 50px;
	text-align: left;
	max-width: 700px;
	padding: 0;
  }
  
  .hero h1, .hero h2, .hero p {
	text-align: left;
  }
  
  .hero p {
	margin-left: 0;
	margin-right: 0;
  }
  
  .btn {
	margin: 0;
	display: inline-block;
  }
}

/* Adjust background for smaller screens */
@media (max-width: 1200px) {
  .hero-bg {
	width: 100%;
	opacity: 0.1;
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .hero h1 {
	font-size: 2.5rem;
  }
  
  .hero h2 {
	font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-title {
	flex-direction: column;
	align-items: flex-start;
  }
  
  .section-title::after {
	width: 100%;
	margin-left: 0;
	margin-top: 10px;
  }
  
  /* Optional: Adjust font size if needed */
  .section-title h2 {
	font-size: 2rem;
  }
  
  .nav-links {
	display: none;
  }
  
  .hero {
	text-align: center;
  }
  
  .hero p {
	margin: 0 auto 40px;
  }

  .project-tabs {
	  flex-wrap: wrap;
  }

  .tab-btn {
	  padding: 10px 20px;
  }

  .projects-container {
	  grid-template-columns: 1fr;
  }

  .donation-section {
	  padding: 30px 20px;
  }
}

/* Show hamburger menu on mobile */
@media (max-width: 768px) {
	.mobile-menu-btn {
		display: block;
	}
	
	.nav-links {
		display: none;
	}
}

/* Animation for elements when they come into view */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
	opacity: 1;
	transform: translateY(0);
}

/* Donation Section Image Styles */
.donation-image {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--accent), #4fd3b9);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
	position: relative;
	overflow: hidden;
}

.donation-image::before {
	content: '';
	position: absolute;
	width: 30px;
	height: 30px;
	background: url('images/sugar-glider.jpg') no-repeat center center/contain;
	filter: brightness(0) invert(1);
}

/* Alternative if you want to use emoji or text instead of image */
.donation-image.emoji {
	font-size: 1.8rem;
	background: linear-gradient(145deg, #ff6b6b, #ff8e8e);
}

.donation-image.emoji::before {
	content: '🐹';
	background: none;
	filter: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}        
.donation-image.actual-image {
	background: url('images/sugar-glider.jpg') no-repeat center center/cover;
	border: 3px solid var(--accent);
}

.donation-image.actual-image::before {
	display: none;
}
/* Support Popup Styles */
.support-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(10, 25, 47, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.support-popup.active {
	opacity: 1;
	visibility: visible;
}

.support-popup-content {
	background: linear-gradient(145deg, var(--medium-blue), var(--dark-blue));
	width: 90%;
	max-width: 500px;
	border-radius: 10px;
	padding: 0;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	transform: translateY(50px);
	transition: transform 0.5s ease;
	border: 1px solid rgba(100, 255, 218, 0.2);
	overflow: hidden;
}

.support-popup.active .support-popup-content {
	transform: translateY(0);
}

.support-popup-header {
	background: linear-gradient(135deg, var(--accent), #4fd3b9);
	padding: 25px 30px;
	text-align: center;
}

.support-popup-header h3 {
	color: var(--dark-blue);
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0;
}

.support-popup-body {
	padding: 30px;
	text-align: center;
}

.support-popup-body p {
	color: var(--light-gray);
	line-height: 1.6;
	margin-bottom: 25px;
	font-size: 1rem;
}

.support-popup-close {
	display: inline-block;
	padding: 10px 25px;
	background: rgba(100, 255, 218, 0.1);
	color: var(--accent);
	border: 1px solid rgba(100, 255, 218, 0.3);
	border-radius: 4px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
}

.support-popup-close:hover {
	background: rgba(100, 255, 218, 0.2);
	transform: translateY(-2px);
}

/* Support Popup Styles */
.support-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(10, 25, 47, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

/* Add background image to popup */
.support-popup::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('images/bg-image.png') no-repeat center center/cover;
	opacity: 0.15;
	z-index: -1;
}

.support-popup.active {
	opacity: 1;
	visibility: visible;
}
/* Smooth scroll behavior for the entire page */
html {
	scroll-behavior: smooth;
}
.support-popup-content {
	background: linear-gradient(145deg, var(--medium-blue), var(--dark-blue));
	width: 90%;
	max-width: 500px;
	border-radius: 10px;
	padding: 0;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
	transform: translateY(50px);
	transition: transform 0.5s ease;
	border: 1px solid rgba(100, 255, 218, 0.3);
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.support-popup.active .support-popup-content {
	transform: translateY(0);
}

.support-popup-header {
	background: linear-gradient(135deg, var(--accent), #4fd3b9);
	padding: 25px 30px;
	text-align: center;
	position: relative;
	z-index: 3;
}

.support-popup-header h3 {
	color: var(--dark-blue);
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0;
}

.support-popup-body {
	padding: 30px;
	text-align: center;
	position: relative;
	z-index: 3;
}

.support-popup-body p {
	color: var(--light-gray);
	line-height: 1.6;
	margin-bottom: 25px;
	font-size: 1rem;
}

.support-popup-close {
	display: inline-block;
	padding: 10px 25px;
	background: rgba(100, 255, 218, 0.1);
	color: var(--accent);
	border: 1px solid rgba(100, 255, 218, 0.3);
	border-radius: 4px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
}

.support-popup-close:hover {
	background: rgba(100, 255, 218, 0.2);
	transform: translateY(-2px);
}        
/* Alternative: Background image only behind content */
.support-popup-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('images/sugar-glider-background.jpg') no-repeat center center/cover;
	opacity: 0.1;
	z-index: -1;
	border-radius: 10px;
}

/* Contact link in modals */
.contact-link-modal {
	background: rgba(100, 255, 218, 0.1);
	border: 1px solid rgba(100, 255, 218, 0.3);
}

.contact-link-modal:hover {
	background: rgba(100, 255, 218, 0.2);
}

/* Responsive adjustments for non-profit section */
@media (max-width: 768px) {
	.nonprofit-intro {
		padding: 20px;
	}
	
	.testimonials-container {
		grid-template-columns: 1fr;
	}
	
	.collaboration-cta {
		padding: 30px 20px;
	}
}
/* Non-Profit Content Layout */
.nonprofit-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
	margin-bottom: 60px;
}

.nonprofit-text {
	position: relative;
}

.nonprofit-image {
	position: relative;
	text-align: center;
}

/* Enhanced Profile Image Styles for Non-Profit Section - Larger Size */
.nonprofit-image .image-container {
	position: relative;
	display: inline-block;
	border-radius: 15px;
	transform-style: preserve-3d;
	transition: transform 0.5s ease;
}

.nonprofit-image img {
	width: 100%;
	max-width: 480px; /* Increased from 380px */
	height: 480px; /* Increased from 380px */
	object-fit: cover;
	border-radius: 15px;
	position: relative;
	z-index: 2;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
	transition: all 0.5s ease;
	filter: grayscale(0.1) contrast(1.1); /* Reduced grayscale for more color */
}

/* Floating elements - Slightly larger */
.floating-element {
	position: absolute;
	width: 60px; /* Increased from 50px */
	height: 60px; /* Increased from 50px */
	background: var(--medium-blue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-size: 1.5rem; /* Increased from 1.2rem */
	z-index: 3;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
	animation: float 6s ease-in-out infinite;
	border: 3px solid rgba(100, 255, 218, 0.4); /* Thicker border */
}

.element-1 {
	top: -20px; /* Adjusted position */
	right: -20px; /* Adjusted position */
	animation-delay: 0s;
}

.element-2 {
	bottom: 40px; /* Adjusted position */
	left: -25px; /* Adjusted position */
	animation-delay: 2s;
}

.element-3 {
	top: 50%;
	right: -25px; /* Adjusted position */
	animation-delay: 4s;
}

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-20px) rotate(15deg); } /* Increased movement */
}

/* Decorative border - Thicker */
.decorative-border {
	position: absolute;
	top: -15px; /* Increased from -10px */
	left: -15px; /* Increased from -10px */
	right: -15px; /* Increased from -10px */
	bottom: -15px; /* Increased from -10px */
	border: 3px solid var(--accent); /* Thicker border */
	border-radius: 25px; /* Slightly larger radius */
	z-index: 1;
	opacity: 0.6; /* Increased opacity */
	transition: all 0.5s ease;
}

/* Hover effects for better interactivity */
.nonprofit-image .image-container:hover {
	transform: translateY(-10px) scale(1.02);
}

.nonprofit-image .image-container:hover img {
	filter: grayscale(0) contrast(1.2); /* Remove grayscale on hover */
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.nonprofit-image .image-container:hover .decorative-border {
	opacity: 0.8;
	transform: scale(1.05);
}

/* Responsive adjustments for larger image */
@media (max-width: 968px) {
	.nonprofit-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.nonprofit-image {
		order: -1; /* Image comes first on mobile */
	}
	
	.nonprofit-image img {
		max-width: 400px; /* Adjusted for tablet */
		height: 400px; /* Adjusted for tablet */
	}
	
	.floating-element {
		width: 50px; /* Adjusted for tablet */
		height: 50px; /* Adjusted for tablet */
		font-size: 1.3rem; /* Adjusted for tablet */
	}
	
	.element-1 {
		top: -15px;
		right: -15px;
	}
	
	.element-2 {
		bottom: 30px;
		left: -20px;
	}
	
	.element-3 {
		right: -20px;
	}
	
	.decorative-border {
		top: -12px;
		left: -12px;
		right: -12px;
		bottom: -12px;
	}
}

@media (max-width: 768px) {
	.nonprofit-image img {
		max-width: 350px; /* Adjusted for mobile */
		height: 350px; /* Adjusted for mobile */
	}
	
	.floating-element {
		width: 45px; /* Adjusted for mobile */
		height: 45px; /* Adjusted for mobile */
		font-size: 1.2rem; /* Adjusted for mobile */
	}
	
	.nonprofit-intro {
		padding: 20px;
	}
}

@media (max-width: 480px) {
	.nonprofit-image img {
		max-width: 300px; /* Adjusted for small mobile */
		height: 300px; /* Adjusted for small mobile */
	}
	
	.floating-element {
		width: 40px; /* Adjusted for small mobile */
		height: 40px; /* Adjusted for small mobile */
		font-size: 1.1rem; /* Adjusted for small mobile */
	}
	
	.element-1 {
		top: -10px;
		right: -10px;
	}
	
	.element-2 {
		bottom: 20px;
		left: -15px;
	}
	
	.element-3 {
		right: -15px;
	}
	
	.decorative-border {
		top: -8px;
		left: -8px;
		right: -8px;
		bottom: -8px;
		border-width: 2px;
	}
}

/* Collaboration CTA with Full Height Image - FIXED */
.cta-content-wrapper {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 40px;
	max-width: 1000px;
	margin: 0 auto;
	height: 100%;
}

.cta-text-content {
	flex: 1;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.cta-text-content h3 {
	text-align: left;
	margin-bottom: 20px;
}

.cta-text-content p {
	text-align: left;
	margin-bottom: 30px;
}

.cta-text-content .btn {
	margin: 0;
}

.cta-image {
	display: flex;
	align-items: stretch;
}

.cta-image .img-wrapper {
	display: flex;
	align-items: stretch;
	height: 100%;
}

.cta-image img {
	width: 400px;
	height: calc(100% + 80px); /* Extend beyond top and bottom */
	margin: -40px 0; /* Pull image to touch top and bottom borders */
	object-fit: cover;
	border-radius: 0; /* Remove border radius to touch edges */
	border-top-right-radius: 8px; /* Keep top-right corner rounded */
	border-bottom-right-radius: 8px; /* Keep bottom-right corner rounded */
}

/* Adjust collaboration-cta to remove right padding for image */
.collaboration-cta {
	margin-top: 60px;
	text-align: center;
	padding: 40px 0 40px 40px; /* Remove right padding */
	background: rgba(17, 34, 64, 0.5);
	border-radius: 8px;
	border: 1px solid rgba(100, 255, 218, 0.1);
	overflow: hidden; /* Ensure content stays within borders */
}

.cta-content-wrapper {
	padding-right: 40px; /* Add right padding to content wrapper instead */
}

/* Responsive Design */
@media (max-width: 768px) {
	.cta-content-wrapper {
		flex-direction: column;
		text-align: center;
		gap: 30px;
		align-items: stretch;
		padding-right: 0;
	}
	
	.cta-text-content {
		text-align: center;
	}
	
	.cta-text-content h3,
	.cta-text-content p {
		text-align: center;
	}
	
	.cta-text-content .btn {
		margin: 0 auto;
	}
	
	.cta-image {
		align-items: stretch;
		order: -1;
		display: flex;
		justify-content: center;
	}
	
	.cta-image .img-wrapper {
		justify-content: center;
	}
	
	.cta-image img {
		width: 100%;
		max-width: 300px;
		height: 200px;
		margin: 0;
		border-radius: 8px;
		border-top-left-radius: 8px;
		border-top-right-radius: 8px;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
	
	.collaboration-cta {
		padding: 0 20px 30px 20px;
	}
}
/* Wide coming soon card styles */
.project.coming-soon-wide {
	grid-column: 1 / -1; /* Span all columns */
	max-width: 100%;
	text-align: center;
}

.project.coming-soon-wide .project-img {
	height: 150px;
}

.project.coming-soon-wide .project-img i {
	font-size: 3rem;
}

.project.coming-soon-wide .project-info h3 {
	font-size: 1.8rem;
	margin-bottom: 15px;
}

.project.coming-soon-wide .project-info p {
	font-size: 1.1rem;
	max-width: 800px;
	margin: 0 auto 20px;
}

/* Hide from All Projects tab */
.project[data-type="opensource"][data-status="coming-soon"] {
	display: none;
}

/* Show only in Open Source tab */
.tab-btn[data-tab="opensource"].active ~ .project-categories ~ .projects-container 
.project[data-type="opensource"][data-status="coming-soon"] {
	display: block;
}
		.project.coming-soon-wide .project-tags {
	justify-content: center;
	margin: 20px 0;
}
/* Contact Section */
.contact-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
	background: linear-gradient(145deg, var(--medium-blue), var(--dark-blue));
	border-radius: 5px;
	transition: transform 0.3s;
}

.contact-item:hover {
	transform: translateX(5px);
}

.contact-item i {
	font-size: 1.5rem;
	color: var(--accent);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(100, 255, 218, 0.1);
	border-radius: 50%;
}

.contact-actions {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact-action {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px;
	background: linear-gradient(145deg, var(--medium-blue), var(--dark-blue));
	border-radius: 8px;
	transition: all 0.3s;
	text-decoration: none;
	color: var(--white);
}

.contact-action:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-action i {
	font-size: 1.8rem;
	color: var(--accent);
}

.contact-action-text h3 {
	margin-bottom: 5px;
	color: var(--accent);
}