/* Intro Container */

#intro {
	position: relative;
	overflow: hidden;
}

/* Video Background */
#video-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}

/* Deep Shadow Overlay */
#intro .overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 65%;
	z-index: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.85),
		rgba(0, 0, 0, 0.6),
		rgba(0, 0, 0, 0.3),
		transparent 90%
	);
	pointer-events: none;
}

/* Text Content */
#intro .content {
	position: absolute;
	left: 5vw;
	bottom: 6vh;
	z-index: 1;
	color: white;
	text-align: left;
	max-width: 1000px;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 1.8s ease-out forwards;
}

/* Heading */
#intro .content header h1 {
	font-family: 'Georgia', serif;
	font-style: italic;
	font-weight: 400;
	color: white;
	margin: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	line-height: 1.4;
}

#intro .content header h1 .intro-line {
	display: inline-block;
	white-space: nowrap;
	font-size: 2.5rem;
}

/* Animation */
@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive Styles */
@media (max-width: 1024px) {
	#intro .content {
		bottom: 8vh;
		max-width: 90vw;
	}
	#intro .content header h1 {
		font-size: 1.5rem;
	}
	#intro .content header p {
		font-size: 1.2rem;
	}
}

@media (max-width: 768px) {
	#intro .content {
		bottom: 6vh;
	}
	#intro .content header h1 {
		font-size: 1.5rem;
	}
	#intro .content header p {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	#intro .content {
		bottom: 4vh;
		
		transform: translateX(-50%);
		text-align: center;
		bottom: 4vh;
		max-width: 90vw;
	}
	#intro .content header h1 {
		font-size: 1.5rem;
		line-height: 1.3;
	}
	#intro .content header p {
		font-size: 0.95rem;
	}
}

@media (max-width: 1024px) {
	#intro .content header h1 .intro-line {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	#intro .content header h1 .intro-line {
		font-size: 2.2rem;
	}
}

@media (max-width: 560px) {
	#intro .content header h1 .intro-line {
		display: block;
		font-size: 1.3rem;
		text-align: center;
	}
}


@media (max-height: 600px) {
	#intro .content {
	  transform: none !important;
	  opacity: 1 !important;
	  max-width: 90%;
	  margin: 0 auto;
	  animation: none !important;
	}
  
	#intro .content header h1 {
	  font-size: 2rem !important;
	  line-height: 1.4;
	  text-align: left;
	}
  
	#intro .content header h1 .intro-line {
	  font-size: inherit !important;
	  text-align: left;
	  white-space: normal;
	}
  }
  

