/*===================================================================================*/
/*	NIAGARA DRAIN & WATERPROOFING – BRAND STYLES
/*	Navy #0A2A4D · Bright Blue #1790E8 · Mid Blue #0A6FBE
/*===================================================================================*/

:root {
	--nd-navy: #0A2A4D;
	--nd-navy-deep: #061C34;
	--nd-blue: #1790E8;
	--nd-blue-mid: #0A6FBE;
	--nd-ice: #EEF6FD;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5, h6,
.navbar .nav > li > a,
.btn,
.stat-num {
	font-family: 'Montserrat', 'Lato', sans-serif;
}
h1, h2, h3, h4 {
	color: var(--nd-navy);
	letter-spacing: -0.01em;
}
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }

.eyebrow {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--nd-blue-mid);
	margin-bottom: 12px;
}
.dark-bg .eyebrow,
.nd-hero .eyebrow { color: var(--nd-blue); }

/* ---------- Header ---------- */

.navbar-header {
	background: var(--nd-navy);
	border-bottom: none;
}
.navbar-header .info li,
.navbar-header .info a,
.navbar-header .social a { color: rgba(255, 255, 255, 0.85); }
.navbar-header .info a:hover,
.navbar-header .social a:hover { color: var(--nd-blue) !important; }
.navbar-header .info i.contact { color: var(--nd-blue); }

.navbar-brand img { height: 54px; }
.navbar-header .navbar-brand img { height: 44px; }

.navbar .nav > li > a { font-weight: 600; color: var(--nd-navy); }
.navbar .nav > li.active > a { color: var(--nd-blue-mid); }

.navbar .nav > li.nav-cta > a {
	background: var(--nd-blue);
	color: #FFF !important;
	border-radius: 4px;
	padding-left: 18px !important;
	padding-right: 18px !important;
	margin-left: 10px;
}
.navbar .nav > li.nav-cta > a:hover { background: var(--nd-blue-mid); }

/* ---------- Buttons ---------- */

.btn { background: var(--nd-blue-mid); border-radius: 4px; font-weight: 600; }
.btn:hover, .btn:focus, .btn:active { background-color: var(--nd-navy) !important; }

.btn.btn-bright { background: var(--nd-blue); }
.btn.btn-bright:hover { background-color: #FFF !important; color: var(--nd-navy) !important; }

.btn.btn-outline-light {
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn.btn-outline-light:hover { background-color: #FFF !important; color: var(--nd-navy) !important; }

/* ---------- Hero / page headers ---------- */

.nd-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% 0%, rgba(23, 144, 232, 0.35), transparent 60%),
		linear-gradient(135deg, var(--nd-navy-deep) 0%, var(--nd-navy) 55%, #0D3A6B 100%);
	color: #FFF;
}
.nd-hero::after {
	/* layered waves along the bottom edge */
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 120px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 Q180 20 360 60 T720 60 T1080 60 T1440 60 V120 H0Z' fill='%231790E8' fill-opacity='.18'/%3E%3Cpath d='M0 80 Q180 45 360 80 T720 80 T1080 80 T1440 80 V120 H0Z' fill='%231790E8' fill-opacity='.28'/%3E%3Cpath d='M0 100 Q180 75 360 100 T720 100 T1080 100 T1440 100 V120 H0Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
	pointer-events: none;
}
.nd-hero .container { position: relative; }
/* override template #hero typography */
#hero.nd-hero h1 { font-size: 54px; font-weight: 800; letter-spacing: -0.01em; text-transform: none; margin-bottom: 20px; }
#hero.nd-hero p.lead { font-size: 20px; margin-top: 0; }
#hero.nd-hero .btn { margin-top: 20px; margin-right: 10px; }
.nd-hero h1, .nd-hero h2, .nd-hero h3 { text-transform: none; }
.nd-hero h1 { color: #FFF; font-size: 52px; line-height: 1.12; margin-bottom: 20px; }
.nd-hero h1 span { color: var(--nd-blue); }
.nd-hero p.lead { color: rgba(255, 255, 255, 0.82); font-size: 20px; line-height: 1.6; max-width: 620px; }
.nd-hero .hero-inner { padding: 110px 0 170px; }
.nd-hero.page-header .hero-inner { padding: 80px 0 140px; }
.nd-hero.page-header h1 { font-size: 44px; }

.hero-checks { list-style: none; padding: 0; margin: 26px 0 8px; }
.hero-checks li { display: inline-block; margin: 0 22px 10px 0; color: rgba(255, 255, 255, 0.9); font-weight: 600; }
.hero-checks li i { color: var(--nd-blue); margin-right: 6px; }

.hero-shield { text-align: center; }
.hero-shield img {
	width: 100%;
	max-width: 340px;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
	animation: nd-float 6s ease-in-out infinite;
}
@keyframes nd-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
	.hero-shield img { animation: none; }
}

.breadcrumbs { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; }
.breadcrumbs li { display: inline; color: rgba(255, 255, 255, 0.6); }
.breadcrumbs li + li:before { content: "/"; margin: 0 8px; color: rgba(255, 255, 255, 0.4); }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); }
.breadcrumbs a:hover { color: var(--nd-blue); }

/* ---------- Trust bar ---------- */

.trust-bar { border-bottom: 1px solid #E3EAF2; }
.trust-bar .trust-item { padding: 34px 10px; text-align: center; }
.trust-bar .stat-num { display: block; font-size: 38px; font-weight: 800; color: var(--nd-navy); line-height: 1; }
.trust-bar .stat-label { display: block; margin-top: 8px; font-size: 14px; color: #5B6B7C; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Service cards ---------- */

.service-card {
	height: 100%;
	background: #FFF;
	border: 1px solid #E3EAF2;
	border-radius: 8px;
	padding: 36px 30px 30px;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	position: relative;
	overflow: hidden;
}
.service-card::before {
	content: "";
	position: absolute; left: 0; top: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--nd-navy), var(--nd-blue));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s ease;
}
.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(10, 42, 77, 0.12);
	border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .svc-icon {
	width: 64px; height: 64px;
	border-radius: 14px;
	background: var(--nd-ice);
	color: var(--nd-blue-mid);
	display: flex; align-items: center; justify-content: center;
	font-size: 30px;
	margin-bottom: 22px;
}
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { font-size: 16px; color: #5B6B7C; }
.service-card .txt-btn { font-weight: 600; }
.row.cards > [class*="col-"] { margin-bottom: 30px; }

/* ---------- Feature list ---------- */

.feature-list { list-style: none; padding: 0; margin: 20px 0; }
.feature-list li { position: relative; padding-left: 36px; margin-bottom: 14px; font-size: 17px; }
.feature-list li i {
	position: absolute; left: 0; top: 1px;
	width: 24px; height: 24px; border-radius: 50%;
	background: var(--nd-blue); color: #FFF;
	font-size: 12px; line-height: 24px; text-align: center;
}

.brand-panel {
	background: linear-gradient(160deg, var(--nd-navy) 0%, #0D3A6B 100%);
	border-radius: 10px;
	padding: 50px 40px;
	color: #FFF;
	position: relative;
	overflow: hidden;
}
.brand-panel h3, .brand-panel h4 { color: #FFF; }
.brand-panel p { color: rgba(255, 255, 255, 0.8); }
.brand-panel .panel-mark { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: 0.12; }
.brand-panel .big-num { font-family: 'Montserrat', sans-serif; font-size: 64px; font-weight: 800; color: var(--nd-blue); line-height: 1; }

/* ---------- Process steps ---------- */

.process-step { text-align: center; padding: 0 10px; }
.process-step .step-num {
	width: 72px; height: 72px; margin: 0 auto 20px;
	border-radius: 50%;
	border: 3px solid var(--nd-blue);
	color: var(--nd-navy);
	font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 800;
	display: flex; align-items: center; justify-content: center;
	background: #FFF;
}
.process-step h4 { font-size: 18px; }
.process-step p { font-size: 16px; color: #5B6B7C; }

/* ---------- Testimonials ---------- */

.review-card {
	background: #FFF;
	border-radius: 8px;
	padding: 34px 30px;
	height: 100%;
	box-shadow: 0 6px 24px rgba(10, 42, 77, 0.07);
}
.review-card .stars { color: #F5B301; letter-spacing: 2px; margin-bottom: 14px; }
.review-card blockquote { font-size: 17px; line-height: 1.65; color: #34465A; border: none; padding: 0; margin: 0 0 20px; font-style: normal; }
.review-card .who { font-weight: 700; color: var(--nd-navy); font-family: 'Montserrat', sans-serif; }
.review-card .who span { display: block; font-weight: 400; font-size: 14px; color: #6B7B8C; font-family: 'Source Sans Pro', sans-serif; }

/* ---------- Service detail blocks (services page) ---------- */

.svc-detail { padding: 70px 0; border-bottom: 1px solid #E3EAF2; scroll-margin-top: 100px; }
.svc-detail:last-child { border-bottom: none; }
.svc-visual {
	border-radius: 10px;
	background: linear-gradient(150deg, var(--nd-ice) 0%, #D7EAFB 100%);
	min-height: 300px;
	display: flex; align-items: center; justify-content: center;
	position: relative; overflow: hidden;
}
.svc-visual i { font-size: 110px; color: var(--nd-blue-mid); position: relative; z-index: 1; }
.svc-visual::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 90' preserveAspectRatio='none'%3E%3Cpath d='M0 40 Q75 15 150 40 T300 40 T450 40 T600 40 V90 H0Z' fill='%231790E8' fill-opacity='.18'/%3E%3Cpath d='M0 60 Q75 38 150 60 T300 60 T450 60 T600 60 V90 H0Z' fill='%230A6FBE' fill-opacity='.22'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}

/* ---------- CTA band ---------- */

.cta-band {
	background: linear-gradient(120deg, var(--nd-blue-mid) 0%, var(--nd-blue) 100%);
	color: #FFF;
}
.cta-band h2 { color: #FFF; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 18px; margin: 0; }
.cta-band .btn { margin: 6px 0 6px 10px; }
.cta-band .btn.btn-navy { background: var(--nd-navy); }
.cta-band .btn.btn-navy:hover { background-color: #FFF !important; color: var(--nd-navy) !important; }

/* ---------- FAQ ---------- */

.faq .panel { border: 1px solid #E3EAF2; border-radius: 6px; margin-bottom: 12px; background: #FFF; }
.faq .panel-title > a { display: block; padding: 18px 22px; font-size: 17px; color: var(--nd-navy); }
.faq .panel-body { padding: 0 22px 18px; color: #4A5B6D; }

/* ---------- Service areas ---------- */

.area-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 30px; }
.area-list li { padding: 6px 0; break-inside: avoid; }
.area-list li i { color: var(--nd-blue); margin-right: 6px; }

/* ---------- Contact ---------- */

.contact-card {
	background: #FFF;
	border: 1px solid #E3EAF2;
	border-radius: 8px;
	padding: 28px;
	margin-bottom: 20px;
	display: flex; gap: 18px; align-items: flex-start;
}
.contact-card .svc-icon {
	flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px;
	background: var(--nd-ice); color: var(--nd-blue-mid);
	display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-card h4 { margin: 0 0 4px; font-size: 17px; }
.contact-card p { margin: 0; color: #4A5B6D; }
.contact-card a { font-weight: 600; }

.forms select.form-control { height: auto; padding: 12px 15px; }
#contact-form .btn-submit { background: var(--nd-blue-mid); }

.emergency-note {
	border-left: 4px solid var(--nd-blue);
	background: var(--nd-ice);
	padding: 18px 22px;
	border-radius: 0 6px 6px 0;
	margin-top: 10px;
}
.emergency-note strong { color: var(--nd-navy); }

/* ---------- Footer ---------- */

footer.dark-bg { background-color: var(--nd-navy); }
.footer-bottom { background: var(--nd-navy-deep); color: rgba(255, 255, 255, 0.55); }
footer .logo-footer { height: 58px; width: auto; margin-bottom: 18px; }
footer h4 { color: #FFF; }
footer a:hover { color: var(--nd-blue) !important; }
footer .contacts i.contact { color: var(--nd-blue); }
footer .footer-links { list-style: none; padding: 0; }
footer .footer-links li { margin-bottom: 8px; }
footer .footer-links li a:before { content: "›"; margin-right: 8px; color: var(--nd-blue); }

/* ---------- Floating call button (mobile) ---------- */

.call-fab {
	display: none;
	position: fixed; right: 16px; bottom: 16px; z-index: 9000;
	background: var(--nd-blue); color: #FFF !important;
	border-radius: 40px; padding: 14px 20px;
	font-family: 'Montserrat', sans-serif; font-weight: 700;
	box-shadow: 0 10px 25px rgba(10, 42, 77, 0.35);
}
.call-fab i { margin-right: 6px; }

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
	.nd-hero h1 { font-size: 40px; }
	.nd-hero .hero-inner { padding: 70px 0 140px; }
	.hero-shield { margin-top: 40px; }
	.hero-shield img { max-width: 220px; }
	.cta-band .text-lg-end { margin-top: 18px; }
	.cta-band .btn { margin-left: 0; margin-right: 10px; }
	.navbar .nav > li.nav-cta > a { margin-left: 0; display: inline-block; }
}
@media (max-width: 767px) {
	.nd-hero h1, .nd-hero.page-header h1 { font-size: 32px; }
	.nd-hero p.lead { font-size: 17px; }
	.trust-bar .stat-num { font-size: 30px; }
	.area-list { columns: 1; }
	.call-fab { display: inline-block; }
	.brand-panel { padding: 40px 26px; }
}

@media (max-width: 991px) {
	#hero.nd-hero h1 { font-size: 40px; }
}
@media (max-width: 767px) {
	#hero.nd-hero h1 { font-size: 32px; }
	#hero.nd-hero p.lead { font-size: 17px; }
}

/*===================================================================================*/
/*	PHOTOS
/*===================================================================================*/

/* Hero with job-site photo */
.nd-hero-photo {
	background-size: cover;
	background-position: center;
}
.nd-hero-photo::before {
	content: "";
	position: absolute; inset: 0;
	background:
		linear-gradient(100deg, rgba(6, 28, 52, 0.96) 0%, rgba(10, 42, 77, 0.9) 45%, rgba(10, 42, 77, 0.6) 100%);
}
.hero-collage { position: relative; height: 440px; }
.hero-collage img { position: absolute; object-fit: cover; border-radius: 10px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); }
.hero-collage .hc-main { top: 0; right: 0; width: 88%; height: 340px; border: 5px solid #FFF; }
.hero-collage .hc-small { left: 0; bottom: 0; width: 52%; height: 200px; border: 5px solid #FFF; }
.hero-collage .hc-badge {
	position: absolute; right: 6%; bottom: 20px;
	background: var(--nd-blue); color: #FFF;
	border-radius: 10px; padding: 14px 18px;
	display: flex; align-items: center; gap: 12px;
	font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; line-height: 1.3;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.hero-collage .hc-badge img { position: static; width: 38px; height: auto; box-shadow: none; border-radius: 0; filter: brightness(0) invert(1); }

/* Service cards with photo */
.service-card.has-photo { padding-top: 0; }
.service-card .card-photo { display: block; margin: 0 -30px 0; height: 190px; overflow: hidden; }
.service-card .card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .card-photo img { transform: scale(1.06); }
.service-card.has-photo .svc-icon {
	margin-top: -32px; position: relative; z-index: 1;
	background: #FFF; box-shadow: 0 8px 20px rgba(10, 42, 77, 0.15);
}

/* Service detail photo */
.svc-photo { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px rgba(10, 42, 77, 0.15); }
.svc-photo img { width: 100%; height: 360px; object-fit: cover; display: block; }
.svc-photo .svc-badge {
	position: absolute; left: 18px; bottom: 18px;
	width: 58px; height: 58px; border-radius: 12px;
	background: var(--nd-blue); color: #FFF; font-size: 26px;
	display: flex; align-items: center; justify-content: center;
}

/* Work tiles (home + gallery) */
.work-tile {
	position: relative; display: block; overflow: hidden; border-radius: 8px;
	aspect-ratio: 4 / 3; background: #DDE6EF; margin-bottom: 24px;
}
.work-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-tile .work-cap {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 40px 16px 14px;
	background: linear-gradient(transparent, rgba(6, 28, 52, 0.9));
	color: #FFF; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; line-height: 1.3;
	opacity: 0; transform: translateY(8px); transition: all .3s ease;
}
.work-tile .work-cap small { display: block; font-weight: 600; font-size: 12px; color: var(--nd-blue); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.work-tile:hover img { transform: scale(1.06); }
.work-tile:hover .work-cap, .work-tile:focus .work-cap { opacity: 1; transform: none; }
@media (hover: none) { .work-tile .work-cap { opacity: 1; transform: none; } }

.work-gallery { list-style: none; padding: 0; margin: 30px -12px 0; }
.work-gallery .item { width: 33.333%; padding: 0 12px; }
@media (max-width: 991px) { .work-gallery .item { width: 50%; } }
@media (max-width: 575px) { .work-gallery .item { width: 100%; } }

.portfolio .filter { list-style: none; padding: 0; }
.portfolio .filter li { display: inline-block; margin: 0 4px 10px; }
.portfolio .filter li a {
	display: inline-block; padding: 9px 18px; border-radius: 30px;
	border: 1px solid #D5E1EC; color: var(--nd-navy); font-weight: 600; font-size: 15px;
}
.portfolio .filter li a:hover { border-color: var(--nd-blue); color: var(--nd-blue-mid); }
.portfolio .filter li a.active { background: var(--nd-navy); border-color: var(--nd-navy); color: #FFF; }

/* Videos */
.video-card { margin: 0; }
.video-card video {
	width: 100%; aspect-ratio: 9 / 12; object-fit: cover; background: #000;
	border-radius: 10px; display: block; box-shadow: 0 18px 40px rgba(10, 42, 77, 0.18);
}
.video-card figcaption { margin-top: 12px; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--nd-navy); }

/* About photo */
.about-photo img { width: 100%; height: 340px; object-fit: cover; border-radius: 10px; display: block; }
.about-mission { margin: -60px 24px 0; padding: 36px 32px; }

/* Lightbox */
.nd-lightbox {
	position: fixed; inset: 0; z-index: 10000;
	background: rgba(6, 18, 34, 0.94);
	display: none; align-items: center; justify-content: center; flex-direction: column;
	padding: 60px 70px;
}
.nd-lightbox.open { display: flex; }
.nd-lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 6px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.nd-lightbox .lb-cap { color: #FFF; margin-top: 16px; font-family: 'Montserrat', sans-serif; font-weight: 600; text-align: center; }
.nd-lightbox button {
	position: absolute; background: rgba(255, 255, 255, 0.1); border: none; color: #FFF;
	width: 50px; height: 50px; border-radius: 50%; font-size: 26px; line-height: 50px; cursor: pointer;
}
.nd-lightbox button:hover { background: var(--nd-blue); }
.nd-lightbox .lb-close { top: 16px; right: 16px; }
.nd-lightbox .lb-prev { left: 14px; top: 50%; margin-top: -25px; }
.nd-lightbox .lb-next { right: 14px; top: 50%; margin-top: -25px; }
@media (max-width: 767px) {
	.nd-lightbox { padding: 70px 12px; }
	.nd-lightbox .lb-prev, .nd-lightbox .lb-next { top: auto; bottom: 14px; margin-top: 0; }
	.svc-photo img { height: 260px; }
	.about-mission { margin: -40px 10px 0; }
}

/* Polish */
.portfolio .filter:before,
.portfolio .filter li:after { display: none !important; content: none !important; }
.navbar-header .info li,
.navbar-header .info li a { color: rgba(255, 255, 255, 0.9) !important; }
.navbar-header .info li a:hover { color: var(--nd-blue) !important; }
.about-photo img { height: 400px; }
