/*
 * Author: Drypastel Dzn
 * Year: 2025
 * Description: Stylesheet for the Ecofluence 3.0 website.
*/

/* CSS Color Variables */
:root {
	--primary-color: #005a9e;
	--secondary-color: #00a99d;
	--light-gray-color: #f8f9fa;
	--light-gray-color-2: #cdcfd0ff;
	--dark-text-color: #343a40;
	--light-text-color: #ffffff;
	--footer-bg-color: #212529;
}
.bg-fff {
	background-color: #ffffff;
}
.flowchart {
	max-width: 600px;
}
/* ticker */
.ticker {
	display: flex;
	align-items: center;
	background-color: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50px;
	width: 90%;
	max-width: 700px;
	padding: 0.5rem 1rem;
	overflow: hidden;
}

.ticker i {
	margin-right: 0.75rem;
}

.ticker-mask {
	flex-grow: 1;
	overflow: hidden;
	white-space: nowrap;
}

.ticker-text {
	display: inline-block;
	padding-left: 100%;
	animation: ticker-scroll 20s linear infinite;
}

@keyframes ticker-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}
/* headings */
.h2 {
	font-size: 2.4rem;
	color: var(--primary-color);
}
.card-header {
	color: var(--dark-text-color);
	background: var(--light-gray-color);
}

.card-header h4 {
	font-size: 1.2rem;
}

body {
	font-family: 'Inter', sans-serif;
	color: var(--dark-text-color);
	background-color: #f8f9fa;
}
.iba {
	font-family: 'Inter', sans-serif;
	font-weight: bold;
	font-size: 1.7rem;
}
.partners {
	font-family: 'Inter', sans-serif;
	font-weight: 200;
	display: inline-block;
	font-size: 1.3rem;
	line-height: 140%;
}

/* Navbar Styling */
.navbar {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	background-color: #fff;
}
.navbar-brand img {
	width: 500px;
	height: 76px;
	object-fit: contain;
}
.navbar-nav .nav-link {
	color: var(--dark-text-color);
	font-weight: 500;
	margin: 0 0.5rem 0 0;
	transition: color 0.3s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--primary-color);
}
.dropdown-menu {
	border: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.dropdown-item:hover {
	background-color: var(--primary-color);
	color: var(--light-text-color);
}

/* Main Content Styling */
.hero-section {
	background: linear-gradient(rgba(11, 126, 214, 1), rgba(9, 58, 96, 0.7)),
		url('../images/header-background.jpg') no-repeat center center;
	background-size: cover;
	color: var(--light-text-color);
	padding: 2rem 0 3rem;
	text-align: center;
}
.hero-section .h4 {
	font-weight: 300;
	line-height: 130%;
}
/* Base style for the link */
.hero-section a {
	background-color: var(--secondary-color);
	color: var(--light-text-color);
	transition: box-shadow 0.3s ease;
}
.hero-section h6 {
	font-weight: 300;
}
.hero-section a:hover {
	background-color: var(--secondary-color);
	box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.main-content-wrapper {
	padding: 4rem 0;
}

.section {
	padding: 3rem 0;
}

.section-title {
	font-size: 2.4rem;
	color: var(--primary-color);
	font-weight: 400;
	margin-bottom: 3rem;
	transition: font-size 0.3s ease;
	position: relative;
}
#contact .section-title {
	margin: 3rem 0 2rem;
}
#important-dates {
	margin: 2rem auto;
	padding: 1.5rem;
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#important-dates ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	margin-top: -2rem;
}
section#contact img {
	max-width: 180px;
}

#important-dates li {
	padding: 1rem 0.5rem;
	border-bottom: 1px solid #e0e0e0;
}

#important-dates li:last-child {
	border-bottom: none;
}
/* Footer Styling */
.footer {
	background-color: var(--footer-bg-color);
	color: var(--light-text-color);
	padding: 3rem 0;
}
.footer h5 {
	color: var(--secondary-color);
	font-weight: 700;
}
.footer a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s;
}
.footer a:hover {
	color: var(--light-text-color);
}
.footer ul {
	list-style: none;
	padding-left: 0;
}

/* Card and Event Circle Styling */
.card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.event-number-circle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: var(--primary-color);
	color: var(--light-text-color);
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto 1.5rem auto;
	transition: all 0.3s ease;
}
.event-number-circle h1 {
	margin: 0;
	font-size: 2.5rem;
	line-height: 1;
	transition: all 0.3s ease;
}

#evaluation-criteria .card h2 {
	margin-bottom: 1.5rem;
}
#evaluation-criteria .card p {
	margin-bottom: 1.5rem;
}

/* Gradient CTA Section */
.gradient-cta-section {
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	color: var(--light-text-color);
	padding: 5rem 0;
	text-align: center;
}
.gradient-cta-section .btn-light-outline {
	background-color: transparent;
	color: var(--light-text-color);
	border: 2px solid var(--light-text-color);
	font-weight: bold;
	transition: all 0.3s ease;
}
.gradient-cta-section .btn-light-outline:hover {
	background-color: var(--light-text-color);
	color: var(--primary-color);
}

.btn-glossy {
	padding: 0.5rem 1.5rem;
	max-width: 200px;
	margin: 0 auto;
	color: var(--light-text-color);
	background-color: var(--secondary-color);
	background-image: linear-gradient(to bottom, #00c7b9, var(--secondary-color));
	border: 1px solid #008f82;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4),
		0 4px 6px rgba(0, 0, 0, 0.1);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	font-weight: bold;
	font-size: 1.1rem;
}
.btn-glossy:hover {
	background-image: none;
	background-color: var(--secondary-color);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	color: var(--light-text-color);
}
.btn-gradient {
	background-color: var(--secondary-color);
	background-image: linear-gradient(to bottom, #00c7b9, var(--secondary-color));
	border: 1px solid #008f82;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4),
		0 4px 6px rgba(0, 0, 0, 0.1);
	margin: 10px;
	padding: 15px 45px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;
	box-shadow: 0 0 20px #eee;
	border-radius: 10px;
	display: inline-block;
	border: none;
	text-decoration: none;
}

.btn-gradient:hover {
	background-position: right center;
	color: #fff;
	text-decoration: none;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* =================================== */
/* Responsive Adjustments */
/* =================================== */

/* For Tablets and Smaller Devices */
@media (max-width: 991.98px) {
	.navbar-brand img {
		width: 250px;
		height: auto;
	}
	.navbar-nav {
		text-align: center;
		margin-top: 1rem;
	}
}

/* For Mobile Phones */
@media (max-width: 767.98px) {
	.section,
	.hero-section,
	.gradient-cta-section,
	.footer {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.hero-section h1 {
		font-size: 2.5rem;
	}
	.hero-section .h4 {
		font-weight: 300;
		line-height: 130%;
		font-size: 1.3rem;
	}
	.iba,
	.partners {
		line-height: 130%;
	}
	.gradient-cta-section h2 {
		font-size: 2.25rem;
	}
	.section-title {
		font-size: 2rem;
		font-weight: 100;
	}

	.event-number-circle {
		width: 60px;
		height: 60px;
	}
	.event-number-circle h1 {
		font-size: 2rem;
	}
}
