/* ===== Global Styles ===== */
:root {
	--primary: #2ecc71;
	--secondary: #3498db;
	--accent: #e74c3c;
	--dark: rgb(44, 62, 80);
	--light: #ecf0f1;
	--gradient: linear-gradient(45deg, var(--primary), var(--secondary));
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Segoe UI", system-ui;
}

body {
	background: var(--light);
	line-height: 1.6;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1 0 auto;
}

.value-card {
	background: white;
	padding: 3rem 2rem;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	text-decoration: none;
}


.value-card:hover {
	transform: translateY(-10px);
	background: var(--gradient);
	color: white;
}

.value-card:hover .value-icon {
	color: white;
}

/* ===== Navigation ===== */
.navbar {
	background: var(--dark);
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 1;
	height: 90px;
}

.logo img {
	height: 140px;
	transition: transform 0.4s;
	margin-top: 50px;
	margin-left: 20px;
	transform-origin: center center;
}

.logo:hover img {
	transform: scale(1.1);
	border-radius: 100px;
}

.nav-links {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin-right: 25px;
}

.nav-links a {
	color: aliceblue;
	text-decoration: none;
	font-weight: 600;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	transition: all 0.4s;
	font-size: 22px;
}

.nav-links a:hover {
	color: var(--primary);
	transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-links a:hover,
.nav-links a.active:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.hamburger {
	display: none;
	cursor: pointer;
	color: aliceblue;
	font-size: 1.5rem;
}
/* ==== Hero ==== */
.hero {
	background: linear-gradient(
		rgba(21, 30, 39, 0.932),  /* Dark overlay */
		rgba(27, 38, 49, 0.849)
	),url('../images/hero.png') center/cover;
	padding: 6rem 1rem;
	text-align: center;
	color: white;
}


/* ===== Home_Hero Section ===== */
.home_hero {
	position: relative;
	height: 82.8vh;
	overflow: hidden;
	/* margin-bottom: 2rem; */
	/* margin-top: 2rem; */
}

#home_hero-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.8);
}

.home_hero-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	font-size: 25px;
}

.cta-button {
	display: inline-block;
	padding: 1rem 2rem;
	background: var(--gradient);
	color: white;
	text-decoration: none;
	border-radius: 30px;
	margin-top: 1rem;
	font-weight: bold;
	transition: all 0.3s;
	box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
	font-size: 25px;
}

.cta-button:hover {
	transform: scale(1.2);
	box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

/* ===== Team Member Cards =====  for about page*/
.container {
	text-align: center;
	margin-top: 18px;
}

.team-grid {
	display: flex;
	justify-content: center;
	gap: 10rem;
	padding: 2rem 5%;
	flex-wrap: wrap;
}

.team-grid .member {
	/* flex: 1 1 calc(50% - 2rem); */
	flex: 0 0 auto;
	background: var(--dark);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
	/* display: flex; */
	/* flex-direction: column; */
	height: 500px;
	width: 450px;
	color: var(--primary);
}

.team-grid .member:hover {
	transform: translateY(-10px);
}

.team-grid .member img {
	width: 100%;
	display: block;
}

.team-grid .member {
	padding: 1.5rem;
	text-align: center;
}

.team-grid .member h4 {
	/* margin-bottom: 0.5rem; */
	font-size: 1.5rem;
	color: var(--primary);
}

.team-grid .member p {
	font-size: 1.2rem;
	color: var(--primary);
	margin-bottom: 0.5rem;
}

/* ===== Testimonials Section ===== */
.testimonials {
	padding: 4rem 2rem;
	background: var(--light);
}

.testimonials h2 {
	text-align: center;
	color: var(--dark);
	margin-bottom: 3rem;
	font-size: 2.5rem;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.testimonial-card {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.3s;
}

.testimonial-card:hover {
	transform: translateY(-10px);
}

.testimonial-card img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	margin-bottom: 1rem;
	object-fit: cover;
}

.testimonial-card p {
	color: var(--dark);
	font-style: italic;
	margin-bottom: 1rem;
}

.testimonial-card h4 {
	color: var(--primary);
	margin-bottom: 0.5rem;
}

.testimonial-card span {
	color: #666;
	font-size: 0.9rem;
}

/* ===== Partners Section ===== */
.partners {
	padding: 4rem 2rem;
	background: var(--dark);
}

.partners h2 {
	text-align: center;
	color: white;
	margin-bottom: 3rem;
	font-size: 2.5rem;
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.partner-card {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	transition: transform 0.3s;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px;
}

.partner-card:hover {
	transform: scale(1.05);
}

.partner-card img {
	max-width: 150px;
	height: auto;
	object-fit: contain;
}

.partner-logo {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card h4 {
	color: var(--dark);
	margin: 1rem 0 0 0 ;
}

/* ===== Brand Values Section ===== */
.brand-values {
	padding: 4rem 2rem;
	background: var(--light);
}

.brand-values h2 {
	text-align: center;
	color: var(--dark);
	margin-bottom: 3rem;
	font-size: 2.5rem;
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.value-card {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
}

.value-card:hover {
	transform: translateY(-10px);
}

.value-card i {
	font-size: 2.5rem;
	color: var(--primary);
	margin-bottom: 1rem;
}

.value-card h3 {
	color: var(--dark);
	margin-bottom: 1rem;
}

.value-card p {
	color: #666;
}

/* ===== Interactive Cards ===== */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	padding: 2rem 5%;
}

.card {
	background: white;
	border-radius: 15px;
	padding: 1.5rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
	cursor: pointer;
}

.card:hover {
	transform: translateY(-10px);
}

/* ===== Progress Circle (For Programs Page) ===== */
.progress-circle {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: conic-gradient(var(--primary) 75%, var(--light) 0);
	display: grid;
	place-items: center;
	margin: 1rem auto;
}

.progress-circle::before {
	content: "75%";
	background: white;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-weight: bold;
	color: var(--dark);
}

/* ===== Animated Loader ===== */
.loader {
	width: 48px;
	height: 48px;
	border: 5px solid var(--light);
	border-bottom-color: var(--primary);
	border-radius: 50%;
	animation: rotation 1s linear infinite;
	margin: 2rem auto;
}

@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
	.navbar {
		padding: 1rem;
		height: auto;
	}

	.logo img {
		height: 80px;
		margin-top: 0;
	}

	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--dark);
		flex-direction: column;
		padding: 1rem;
		gap: 1rem;
	}

	.nav-links.active {
		display: flex;
	}

	.hamburger {
		display: block;
	}

	.hero-content h1 {
		font-size: 2rem;
	}

	.hero-content .hero-subtitle {
		font-size: 1.2rem;
	}

	.cta-button {
		font-size: 1.2rem;
		padding: 0.8rem 1.6rem;
	}

	.testimonials,
	.partners,
	.brand-values {
		padding: 2rem 1rem;
	}

	.testimonials h2,
	.partners h2,
	.brand-values h2 {
		font-size: 2rem;
		margin-bottom: 2rem;
	}
}

@media (max-width: 480px) {
	.hero-content h1 {
		font-size: 1.5rem;
	}

	.hero-content .hero-subtitle {
		font-size: 1rem;
	}

	.cta-button {
		font-size: 1rem;
		padding: 0.6rem 1.2rem;
	}
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
	.team-grid .member {
		flex: 1 1 100%;
	}
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: var(--light);
}

::-webkit-scrollbar-thumb {
	background: var(--primary);
	border-radius: 10px;
}

body.dark-mode ::-webkit-scrollbar-track {
	background: #2a2a2a;
}

/* ======= Footer Section ======= */
.site-footer {
	background: #2c3e50;
	color: #ecf0f1;
	padding: 3rem 0 1rem;
	margin-top: auto;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	padding: 0 1.5rem;
}

.footer-brand {
	text-align: center;
}

.footer-logo {
	width: 120px;
	margin-bottom: 1rem;
}

.footer-tagline {
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.social-links {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
}

.social-links a {
	color: #fff;
	font-size: 1.5rem;
	transition: color 0.3s;
}

.social-links a:hover {
	color: #2ecc71;
}

.footer-heading {
	color: #2ecc71;
	font-size: 1.2rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #2ecc71;
}

.footer-nav ul,
.footer-contact ul {
	list-style: none;
	padding: 0;
}

.footer-nav li,
.footer-contact li {
	margin-bottom: 0.8rem;
}

.footer-nav a {
	color: #ecf0f1;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-nav a:hover {
	color: #2ecc71;
}

.footer-contact i {
	margin-right: 0.5rem;
	width: 20px;
	color: #2ecc71;
}

.newsletter-form {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.newsletter-form input {
	flex: 1;
	padding: 0.8rem;
	border: none;
	border-radius: 4px;
}

.btn-subscribe {
	background: var(--primary);
	color: white;
	border: none;
	padding: 0.8rem 1.5rem;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s;
}

.btn-subscribe:hover {
	background: var(--primary);
}

.newsletter-note {
	font-size: 0.8rem;
	opacity: 0.8;
}

.footer-legal {
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--dark);
}

.legal-links {
	margin-top: 1rem;
}

.legal-links a {
	color: var(--primary);
	text-decoration: none;
	margin: 0 1rem;
	font-size: 0.9rem;
}

.legal-links a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.footer-container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-nav,
	.footer-contact {
		margin-top: 2rem;
	}

	.newsletter-form {
		flex-direction: column;
	}
}

/* ===== Contact Page Styles ===== */
.contact-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	padding: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.info-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.info-card {
	background: white;
	padding: 1.5rem;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.info-card:hover {
	transform: translateY(-5px);
}

.info-card i {
	font-size: 2rem;
	color: var(--primary);
	margin-bottom: 1rem;
}

.info-card h3 {
	color: var(--dark);
	margin-bottom: 0.5rem;
}

.contact-form {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--dark);
	font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--primary);
	outline: none;
}

.form-group textarea {
	height: 150px;
	resize: vertical;
}

.submit-btn {
	background: var(--gradient);
	color: white;
	padding: 1rem 2rem;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	font-weight: bold;
	width: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.map-section {
	padding: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.map-container {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Toast Notification Styles */
.toast {
	position: fixed;
	bottom: 20px;
	right: 20px;
	padding: 1rem 2rem;
	border-radius: 5px;
	color: white;
	font-weight: 500;
	z-index: 1000;
	animation: slideIn 0.3s ease-out;
}

.toast.success {
	background: var(--primary);
}

.toast.error {
	background: var(--accent);
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* Enhanced Responsive Design */
@media (max-width: 992px) {
	.contact-section {
		grid-template-columns: 1fr;
	}

	.info-cards {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
}

@media (max-width: 768px) {
	.contact-section,
	.map-section {
		padding: 1rem;
	}

	.info-card {
		padding: 1rem;
	}

	.contact-form {
		padding: 1.5rem;
	}

	.form-group input,
	.form-group select,
	.form-group textarea {
		padding: 0.6rem;
	}

	.submit-btn {
		padding: 0.8rem 1.6rem;
	}
}

@media (max-width: 480px) {
	.info-cards {
		grid-template-columns: 1fr;
	}

	.contact-form h2,
	.contact-info h2,
	.map-section h2 {
		font-size: 1.5rem;
	}
}

/* Animation Classes */
.fade-in {
	animation: fadeIn 0.5s ease-out;
}

.slide-up {
	animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* FAQ Section Styles */
.faq-title {
	text-align: center;
	color: #2c3e50;
	margin: 2rem 0;
	font-size: 2.5rem;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 1rem;
}

.faq-item {
	margin-bottom: 1rem;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-item.active {
	border-color: #2ecc71;
	box-shadow: 0 4px 15px rgba(46, 204, 113, 0.1);
}

.faq-question {
	width: 100%;
	padding: 1.5rem;
	text-align: left;
	background: #fff;
	border: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1.1rem;
	font-weight: 600;
	color: #2c3e50;
}

.faq-question i {
	transition: transform 0.3s ease;
}

.faq-question:hover {
	background: #f8f9fa;
}

.faq-item.active .faq-question i {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
	padding: 0 1.5rem;
	background: #f8f9fa;
}

.faq-answer p {
	padding: 1.5rem 0;
	line-height: 1.6;
	color: #555;
}

@media (max-width: 768px) {
	.faq-title {
		font-size: 2rem;
	}

	.faq-question {
		font-size: 1rem;
		padding: 1rem;
	}
}

/*========= programs page ===========*/
.section-title {
	text-align: center;
	color: #2c3e50;
	margin-bottom: 2rem;
	font-size: 2.5rem;
}

.section-subtitle {
	color: #2c3e50;
	margin-bottom: 1.5rem;
	font-size: 1.8rem;
	text-align: center;
}

.programs-container {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.programs-section {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.calculator-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.calculator-card {
	background: #fff;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.calculator-card h3 {
	color: #2c3e50;
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.calculator-card h3 i {
	color: #2ecc71;
}

.input-group {
	margin-bottom: 1.5rem;
}

.input-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: #2c3e50;
	font-weight: 500;
}

.input-group input,
.input-group select {
	width: 100%;
	padding: 0.8rem;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
	border-color: #2ecc71;
	outline: none;
}

.calculator-btn {
	background: linear-gradient(135deg, #2ecc71, #27ae60);
	color: white;
	padding: 1rem 2rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	transition: transform 0.3s ease;
	width: 100%;
}

.calculator-btn:hover {
	transform: translateY(-2px);
}

.result-display {
	background: #f8f9fa;
	border-radius: 8px;
	text-align: center;
	animation: fadeIn 0.5s ease;
	color: #000000; /* Black color */
    font-weight: bold;
    margin-top: 15px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timer-display {
	font-size: 2.5rem;
	font-weight: 700;
	color: #2c3e50;
	text-align: center;
	margin: 2rem 0;
	padding: 1rem;
	background: #f8f9fa;
	border-radius: 8px;
}

.timer-controls {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.timer-btn {
	padding: 0.8rem 1.5rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
}

.timer-btn.primary {
	background: #2ecc71;
	color: white;
}

.timer-btn.secondary {
	background: #3498db;
	color: white;
}

.timer-btn.danger {
	background: #e74c3c;
	color: white;
}


/* ======programs section======== */
.resource-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.resource-card {
	background: white;
	padding: 1.5rem;
	border-radius: 12px;
	text-align: center;
	transition: transform 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	color: #2c3e50;
}

.resource-card:hover {
	transform: translateY(-5px);
}

.resource-icon {
	font-size: 2rem;
	color: #2ecc71;
	margin-bottom: 1rem;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.programs-container {
		padding: 0 1rem;
	}

	.timer-display {
		font-size: 2rem;
	}
}

/* Animation for form submission in membership page*/
@keyframes formSuccess {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.success-message {
    animation: formSuccess 0.6s ease;
}