/* @font-face {
    font-family: 'Rounded Mplus 1c';
    src: url('../assets/fonts/RoundedMplus1c-ExtraBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rounded Mplus 1c';
    src: url('../assets/fonts/RoundedMplus1c-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rounded Mplus 1c';
    src: url('../assets/fonts/RoundedMplus1c-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rounded Mplus 1c';
    src: url('../assets/fonts/RoundedMplus1c-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rounded Mplus 1c';
    src: url('../assets/fonts/RoundedMplus1c-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rounded Mplus 1c';
    src: url('../assets/fonts/RoundedMplus1c-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rounded Mplus 1c';
    src: url('../assets/fonts/RoundedMplus1c-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} */

/* Global Styles */

html {
	scroll-behavior: smooth;
	/* scroll-snap-type: y mandatory; */
}
body {
	text-align: center;
	margin: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #003344;
	background-color: #ffffff;
	scroll-behavior: smooth;
}

h1 {

}

h2 {
	text-align: center;
	color: #004c99;
	margin-top: 2rem;
	position: relative;
	padding-bottom: 0.5rem;
}

h2::after {
	content: '';
	display: block;
	width: 60px;
	margin: 0.5rem auto 0;
	border-bottom: 3px solid #ffcc00;
}

section {
	/* scroll-margin-top: 70px; */
	scroll-margin-top: 100px;
}

.panel {
	margin-top: 1rem;
	border: 1px solid #ccc;
	padding: 1rem;
	background-color: #f9f9f9;
	border-radius: 8px;
	/* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
	box-shadow:
	    inset 0 2px 5px rgba(0, 0, 0, 0.08),
	    inset 0 -2px 5px rgba(0, 0, 0, 0.04);
	/* box-shadow:
	    inset 0 4px 8px rgba(0, 0, 0, 0.15),
	    inset 0 -4px 6px rgba(0, 0, 0, 0.05); */
}

@keyframes fadeInUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Hero Section */
#hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
	background: linear-gradient(to bottom right, #e0f7fa, #ffffff);
	position: relative;
	text-align: center;
	scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-logo {
	max-width: 80%;
	max-height: 60vh;
	animation: fadeInZoom 1.5s ease-in-out forwards;
}

@keyframes fadeInZoom {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.scroll-down {
	font-size: 2rem;
	margin-top: 1rem;
	animation: bounce 1s infinite alternate;
}

@keyframes bounce {
	0% {
		transform: translateY(0);
	}

	100% {
		transform: translateY(10px);
	}
}

/* Navbar */

#navbar {
	/* background-color: #0066cc; */
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	background: linear-gradient(to right, #3399ff, #0066cc);
	box-shadow: 0px 7px 12px black;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.nav-toggle span {
	height: 4px;
	width: 25px;
	background: white;
	margin: 4px 0;
	border-radius: 2px;
}

.nav-links li a {
	color: #ffffff;
	text-decoration: none;
	padding: 0.5rem;
	font-weight: bold;
	transition: background-color 0.3s;
	border-radius: 4px;
}

.nav-links li a:hover {
	background-color: #004999;
}

.unstyled-link {
	text-decoration: none;
}
.unstyled-link:hover {
	text-decoration: underline;
}

/* Services */
#services {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
	scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Gallery */
#gallery {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
}

/* Testimonials */
#testimonials {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
}

/* About section */
#about {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
}

/* Special offers section */
#special-offers {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
}

#service-area {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
}

#service-area-map-img {
	width: 90%;
	max-width: 900px;
	border-radius: 12px;
}

/* The Process */
#our-process {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
}

.process-h4 {
	margin-top: 1rem;
	margin-block-start: 0.75rem;
	margin-block-end: 0.75rem;
}

.process-paragraph {
	margin-top: -0.5rem;
}

/* Satisfaction Guarantee */
#guarantee {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
}

/* Licensing & Insurance */
#credentials {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
}

/* Contact info section */
#contact {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
}

#contact-info-button {
	margin-bottom: 0.5rem;
}

#contact-info-button-small-text {
	display: block;
	width: 45%;
	margin: 0 auto;
}

/* Contact Button Reveal */
#contact-info {
	margin-top: 1rem;
	margin-bottom: 1rem;
	border: 1px solid #ccc;
	padding: 1rem;
	background-color: #f9f9f9;
	border-radius: 8px;
}

button {
	background-color: #0066cc;
	color: white;
	padding: 0.75rem 1.25rem;
	border: none;
	font-size: 1rem;
	border-radius: 8px;
	cursor: pointer;
}

button:hover {
	background-color: #004999;
}

/* FAQ */
.faq-item {
	margin-bottom: 1rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	overflow: hidden;
}

.faq-question {
	/* background: #0066cc; */
	background: linear-gradient(to right, #3399ff, #0066cc);
	color: white;
	padding: 1rem;
	cursor: pointer;
	font-weight: bold;
	transition: background 0.3s;
}

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

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.4s ease;
	background: #f9f9f9;
	padding: 0 1rem;
}

.faq-answer.open {
	padding: 1rem;
}

/* Footer */
footer {
	background-color: #004c99;
	color: white;
	text-align: center;
	margin-top: 6rem;
	padding: 0.25rem 1rem 0.25rem 1rem;
	font-size: 0.95rem;
}

#badges {
	/* display: flex; */
	/* flex-wrap: wrap; */
	/* justify-content: center; */
	gap: 0.75rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	/* gap: 1.5rem; */
	/* margin-top: 2rem; */
	/* margin-bottom: 2rem; */
	/* padding: 1rem; */
}

#badges .badge {
	display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  text-align: center;
  font-size: 0.85rem;
  color: #003344;
	margin-bottom: 0.5rem;
}

#badges .badge img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
  transition: transform 0.2s ease-in-out;
}

#badges .badge img:hover {
  transform: scale(1.1);
}

#badges span {
	background-color: #007acc;
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 12px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */

.nav-links li a {
	white-space: nowrap;
}

/* .active {
	display: flex;
} */

.nav-toggle {
	display: flex;
}

/* GLOBAL default for nav-links */
.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin-top: 0.5rem;
	gap: 1rem;
	list-style: none;
}

.nav-links li a {
	white-space: nowrap;
}

@keyframes staggerFade {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
}

.reveal.visible {
	animation: staggerFade 0.8s ease forwards;
}

/* Shrink navbar on scroll */
#navbar.shrink {
	padding: 0.5rem 0;
	transition: padding 0.3s ease;
}

/* Call-to-Action button gradient */
button {
	background: linear-gradient(to right, #3399ff, #0066cc);
	color: white;
	border: none;
	border-radius: 6px;
	padding: 0.8rem 1.5rem;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

(:first-of-type) {
	border-top: none;
	position: relative;
}




/* Structural divider styling */
hr.section-divider {
	width: 60%;
	margin: 2rem auto;
	border: 0;
	height: 1px;
	background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

/* Limit FAQ section width */




/* @media (min-width: 769px) {
	.nav-links li {
		margin-top: 0.75rem;
		margin-bottom: 0.75rem;
	}
} */

/* Responsive FAQ section width control */
#faq {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
}

/* .nav-links.active {
	max-height: 1000px;
}
} */

/* MOBILE: hamburger visible, nav hidden until toggled */
@media (max-width: 768px) {
	.nav-container {
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
		flex-direction: column;
		align-items: center;
	}

	.nav-toggle {
		display: flex;
	}

	.nav-links {
		display: none;
		flex-direction: column;
		background-color: #0066cc;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100vw;
		z-index: 999;
		text-align: center;
		padding: 2rem 0;
		max-height: 0;
		overflow: hidden;
		flex-direction: column;
		/* background-color: #0066cc; */
		background: linear-gradient(to right, #3399ff, #0066cc);
		box-shadow: 0px 7px 6px black;
		width: 100%;
		text-align: center;
		opacity: 0;
		/* transition: opacity 500ms linear; */
		transition: max-height 0.5s ease;
	}

	.active {
		display: flex;
		max-height: 1000px;
		height: auto;
		opacity: 1;
		/* transition: opacity 500ms linear; */
		/* transition: max-height 0.5s ease; */
	}

	.nav-links li {
		margin: 0.5rem 0;
	}
}

/* DESKTOP: hamburger hidden, full nav visible, wrapping allowed */
@media (min-width: 769px) {
	.nav-toggle {
		display: none;
	}

	.nav-links {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		position: static;
		background-color: transparent;
		padding: 0;
	}
	.nav-links li {
		margin-top: 0.75rem;
		margin-bottom: 0.75rem;
	}
}
