/* Media Queries */
@media (max-width: 767px) {
	.desktop-view {
		display: none;
	}
	.mobile-view {
		display: block;
	}
}

@media (min-width: 768px) {
	.mobile-view {
		display: none;
	}
	.desktop-view {
		display: block;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-reveal li {
	opacity: 0;
	animation: fadeInUp 0.6s forwards;
}

.animate-reveal li:nth-child(1) { animation-delay: 0.2s; }
.animate-reveal li:nth-child(2) { animation-delay: 0.4s; }
.animate-reveal li:nth-child(3) { animation-delay: 0.6s; }
.animate-reveal li:nth-child(4) { animation-delay: 0.8s; }
.animate-reveal li:nth-child(5) { animation-delay: 1s; }

.hero-pattern {
	background-color: #ffffff;
}
.multicolor-text {
	text-align: center;
	font-size: 50px;
	background: linear-gradient(to right,
			rgb(77, 5, 233),
			indigo,
			blue,
			orange,
			red,
			rgb(2, 81, 2)
			);
	-webkit-background-clip: text;
	color: transparent;
}

.special-ul .special-li { list-style-type: none !important;}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.testimonial-card {
	background-color: rgba(255, 255, 255, 0.5);
}

.statistics {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin-bottom: 2rem;
  }
  .statistic {
	background: rgba(246, 244, 244, 0.5);
	padding: 1.5rem;
	border-radius: 1rem;
	text-align: center;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: transform 0.3s;
  }
  
  .statistic:hover {
	transform: translateY(-5px);
  }
  
  .statistic-number {
	font-size: 2rem;
	font-weight: bold;
	color: green;
	margin-bottom: 0.5rem;
  }
  
  .statistic-label {
	color: var(--secondary-text);
	font-size: 0.9rem;
  }

/* New styles for sticky header */
.desktop-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

body {
	font-family: 'Roboto';
	/*padding-top: 84px;  Adjust this value based on your header height */
}

.latoFont {
	font-family: 'Lato' !important;
}
.hidden-post {
	display: none;
}
.show-more:target ~ .hidden-post {
	display: block;
}
.show-more:target ~ .view-more-btn {
	display: none;
}
.faq-item {
	transition: all 0.3s ease-out;
}
.faq-item input[type="checkbox"] {
	display: none;
}
.faq-item .faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}
.faq-item input[type="checkbox"]:checked ~ .faq-answer {
	max-height: 500px;
}
.faq-item .faq-toggle::after {
	content: '+';
	float: right;
	font-size: 1.5em;
	line-height: 1;
	transition: transform 0.3s ease-out;
}
.faq-item input[type="checkbox"]:checked ~ .faq-toggle::after {
	transform: rotate(45deg);
}
.faq-question svg {
	transition: transform 0.3s ease;
}
.faq-question.active svg {
	transform: rotate(180deg);
}

.message {
	transition: all 0.3s ease-in-out;
	opacity: 1;
}

.message.success {
	background-color: #f0fff4;
	border-color: #68d391;
}

.message.error {
	background-color: #fff5f5;
	border-color: #fc8181;
}

.carousel-container {
	position: relative;
	width: 100%;
	overflow: hidden;
  }
  
  .carousel-wrapper {
	position: relative;
  }
  
  .carousel {
	display: flex;
	width: 100%;
	/* Remove the transition from here as we'll control it in JS */
  }
  
  .slide {
	flex: 0 0 100%;
	width: 100%;
	position: relative;
  }

  .slide img {
	width: 100%;
	height: auto;
	display: block;
	max-width: 100%;
  }

  .carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.7);
	border: none;
	width: 40px;
	height: 40px;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 0.3s;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
  }

  .carousel-btn:hover {
	background: rgba(255, 255, 255, 0.9);
  }

  .prev {
	left: 16px;
  }

  .next {
	right: 16px;
  }

  .dots-container {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
  }

  .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background-color 0.3s;
  }

  .dot.active {
	background: white;
  }

  @media (max-width: 768px) {
	.carousel-btn {
	  width: 32px;
	  height: 32px;
	  font-size: 16px;
	}
	
	.dots-container {
	  bottom: 8px;
	}
	
	.dot {
	  width: 8px;
	  height: 8px;
	}
  }

  .carousel-container1 {
	position: relative;
	width: 100%;
	overflow: hidden;
  }
  
  .carousel-wrapper1 {
	position: relative;
  }
  
  .carousel1 {
	display: flex;
	width: 100%;
	/* Remove the transition from here as we'll control it in JS */
  }
  
  .slide1 {
	flex: 0 0 100%;
	width: 100%;
	position: relative;
  }
  .slide1 img {
	width: 100%;
	height: auto;
	display: block;
	max-width: 100%;
  }

  .carousel-btn1 {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.7);
	border: none;
	width: 40px;
	height: 40px;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 0.3s;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
  }

  .carousel-btn1:hover {
	background: rgba(255, 255, 255, 0.9);
  }

  .prev1 {
	left: 16px;
  }

  .next1 {
	right: 16px;
  }

  .dots-container1 {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
  }

  .dot1 {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background-color 0.3s;
  }

  .dot1.active {
	background: white;
  }

  .staff-booking-page .zb-staff-container.zb-staff-top-bottom .zb-staff-details {
    display: none;
    flex-direction: row-reverse;
}

.slider-container {
	overflow: hidden;
	position: relative;
	width: 100%;
}
.slider {
	display: flex;
	transition: transform 0.5s ease;
	width: 100%;
}
.testimonial-slide {
	flex: 0 0 100%;
	padding: 0 15px;
	max-width: 100%;
}
@media (min-width: 768px) {
	.testimonial-slide {
		flex: 0 0 calc(33.333% - 30px);
	}
}

/* styles for the why choose amritha scrolling */
.ticker-wrap {
	width: 100%;
	overflow: hidden;
	background-color: rgba(74, 74, 74, 0.5);
	padding: 5px 0;
	box-shadow: 0 2px 2px rgba(0,0,0,0.15);
	
	/* Theme Variables */
	--bg-primary: #ffffff;
	--bg-secondary: #f4f6f9;
	--text-primary: #2c3e50;
	--text-secondary: #34495e;
	--accent-color: #3498db;
	--separator-color: #bdc3c7;
}

@media (prefers-color-scheme: dark) {
	.ticker-wrap {
		--bg-primary: #121212;
		--bg-secondary: #1e1e1e;
		--text-primary: #05801b;
		--text-secondary: #b0b0b0;
		--accent-color: #4fc3f7;
		--separator-color: #373636;
		
		background-color: rgba(255, 255, 255, 0.8);
	}
}

.ticker-container {
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	width: 100%;
}

.ticker {
	display: inline-block;
	animation: ticker 60s linear infinite;
	width: max-content;
}

.ticker:hover {
	animation-play-state: paused;
}

.ticker-item {
	display: inline-block;
	padding: 0 20px;
	color: var(--text-primary);
	font-size: 18px;
	text-transform: capitalize;
	letter-spacing: 1px;
	font-family: 'Roboto', sans-serif;
}

.ticker-item::after {
	content: '•';
	margin-left: 40px;
	color: var(--accent-color);
}

.ticker-item:last-child::after {
	content: '';
}

@keyframes ticker {
	0% {
		transform: translateX(0%);
	}
	100% {
		transform: translateX(-100%);
	}
}

@media screen and (max-width: 768px) {
	.ticker-item {
		padding: 0 5px;
		font-size: 16px;
	}
}

.vision-mission-container {
	max-width: 800px;
	margin: 2px auto;
	padding: 5px;
	background-color: #f7f7f7;
	text-align: center;
}

.section-title {
	color: #2c3e50;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 0px;
}

.vision-mission-text {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 5px;
}

.vision-block, .mission-block {
	background-color: white;
	border-radius: 5px;
	padding: 10px;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
	text-align: left;
}

.vision-block h2, .mission-block h2 {
	color: #3498db;
	margin-bottom: 5px;
}

@media (max-width: 768px) {
	.vision-mission-container {
		padding: 5px;
	}

	.vision-mission-text {
		grid-template-columns: 1fr;
		grid-gap: 5px;
	}
}

.crisis-support-section {
	background-color: #f4f4f4;
	border: 2px solid #d32f2f;
	border-radius: 8px;
	padding: 20px;
	margin-top: 30px;
	margin-left: 10px;
	margin-right: 10px;
	font-family: Arial, sans-serif;
}
.crisis-support-section h2 {
	color: #d32f2f;
	border-bottom: 2px solid #d32f2f;
	padding-bottom: 10px;
	margin-bottom: 15px;
}
.crisis-support-section .warning {
	font-weight: bold;
	color: #d32f2f;
	margin-bottom: 15px;
}
.crisis-support-section .country-header {
	font-weight: bold;
	color: #333;
	margin-top: 15px;
}
.crisis-support-section .resource-list {
	list-style-type: none;
	padding: 0;
}
.crisis-support-section .resource-list li {
	margin-bottom: 10px;
	padding: 10px;
	background-color: #ffffff;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.crisis-support-section .resource-list li strong {
	color: #1976d2;
}
.crisis-support-section .disclaimer {
	font-size: 0.8em;
	color: #666;
	margin-top: 20px;
	font-style: italic;
}