:root {
	--primary-blue: #007bff;
	--dark-blue: #0056b3;
	--light-blue: #e9f5ff;
	--text-color: #1a1a1a;
	--accent-grey: #f8f9fa;
	--border-radius: 0.5rem;
}

html,
body {
	overflow-x: clip;
	max-width: 100vw;
}

body {
	font-family: "Poppins", sans-serif;
	color: var(--text-color);
	background-color: #ffffff;
}

a,
a:hover {
	color: var(--primary-blue);
	text-decoration: none;
}

.btn-primary {
	background-color: var(--primary-blue);
	border-color: var(--primary-blue);
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background-color: var(--dark-blue);
	border-color: var(--dark-blue);
}

.navbar-brand i {
	font-size: 1.2rem;
}

.navbar .btn {
	margin-left: 1rem;
}
.navbar-nav .nav-link {
	color: var(--text-color);
	margin-left: 10px;
	font-weight: 500;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
	color: var(--primary-blue);
}

#navCTA.sticky {
	position: fixed;
	top: 60px;
	right: 20px;
	z-index: 1050;
	border-radius: 50px;
	box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
	transition: all 0.3s ease;
}

.hero-section {
	min-height: 100vh;
	background: linear-gradient(to right, #e9f5ff, #ffffff);
	position: relative;
	overflow: hidden;
}

.hero-image {
	max-height: 500px;
	object-fit: contain;
}

.hero-overlay {
	padding: 80px 0;
}

.diagonal-divider {
	position: relative;
	height: 80px;
	background: transparent;
	overflow: hidden;
	margin-top: -80px; 
}

.diagonal-divider::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #e9f5ff; 
	transform: skewY(3deg);
	transform-origin: top left;
}

.about-section {
	background-color: var(--light-blue);
}

.about-section h2 {
	font-size: 2rem;
}

.card-body i {
	background-color: var(--light-blue);
	padding: 15px;
	border-radius: 50%;
}
.card-title {
	font-size: 1.1rem;
}
.card a {
	text-decoration: none;
}

.services-section {
	padding: 80px 0;
	background-color: #ffffff;
}

.services-section h2 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.services-section p {
	font-size: 0.95rem;
	color: #6c757d;
}

.services-section img {
	width: 100%;
	height: auto;
	border-radius: var(--border-radius);
	object-fit: cover;
	max-height: 600px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.services-section .card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section .card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 123, 255, 0.15);
}

.services-section .card i {
	transition: transform 0.3s ease;
}

.services-section .card:hover i {
	transform: scale(1.1) rotate(2deg);
}

.services-section .card a {
	position: relative;
	display: inline-block;
	transition: color 0.3s ease;
}

.services-section .card a::after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-blue);
	transition: width 0.3s ease;
}

.services-section .card:hover a::after {
	width: 100%;
}

.flip-card {
	perspective: 1000px;
	height: 250px;
}

.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transform-style: preserve-3d;
	transition: transform 0.7s ease;
}

.flip-card:hover .flip-card-inner {
	transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 1.5rem;
	backface-visibility: hidden;
	border-radius: var(--border-radius);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
	background: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.flip-card-front img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 1rem auto;
	display: block;
}

.flip-card-back {
	transform: rotateY(180deg);
}

.social-icons i {
	font-size: 1.1rem;
	transition: color 0.3s;
}

.social-icons i:hover {
	color: var(--dark-blue);
}

.testimonials-section img {
	object-fit: cover;
	border: 3px solid var(--light-blue);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonials-section .testimonial p {
	font-size: 0.95rem;
	line-height: 1.6;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	background-color: var(--primary-blue);
	padding: 12px;
	border-radius: 50%;
}

.map-container iframe {
	width: 100%;
	height: 300px;
	border: 0;
	border-radius: var(--border-radius);
}

.tab-indicator {
	width: 80px; 
	left: 0;
}

.tab-pane {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.4s ease;
}

.tab-pane.active.show {
	opacity: 1;
	transform: translateY(0);
}

.nav-tabs .nav-link {
	transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
	background-color: var(--light-blue);
	color: var(--primary-blue);
	font-weight: 600;
	border-radius: 0.5rem;
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.nav-tabs {
	position: relative;
	border-bottom: none;
}

.tab-indicator {
	position: absolute;
	bottom: 0;
	height: 3px;
	background-color: var(--primary-blue);
	transition: all 0.4s ease;
	border-radius: 2px;
}

.resource-card:hover {
	background-color: #f8faff;
	transform: translateY(-2px);
	transition: all 0.3s ease;
}

.resource-card i {
	background-color: var(--light-blue);
	padding: 12px;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.resource-card:hover i {
	transform: scale(1.1);
}

.footer-section a:hover {
	text-decoration: underline;
	color: #007bff !important;
}

.map-container iframe {
	border-radius: var(--border-radius);
}

.emergency-call-btn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #dc3545; 
	color: #fff;
	padding: 12px 16px;
	border-radius: 50px;
	font-weight: 500;
	font-size: 0.95rem;
	box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
	z-index: 1050;
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.emergency-call-btn i {
	font-size: 1.1rem;
}

.emergency-call-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(220, 53, 69, 0.5);
}

@media (max-width: 576px) {
	.emergency-call-btn {
		width: calc(100% - 40px);
		bottom: 15px;
		left: 50%;
		transform: translateX(-50%);
		justify-content: center;
	}
}
