/*
 * Styles for the WebDev Landing Page template (webdev-template.php).
 * Only enqueued on that template, so selectors are kept broad/simple on purpose.
 * Palette matches the main theme (navy #283188 / cyan #13a8da) with a brighter,
 * higher-contrast cyan used for primary call-to-action buttons.
 */

:root {
	--wd-navy: #283188;
	--wd-navy-dark: #1b2166;
	--wd-cyan: #13a8da;
	--wd-cyan-bright: #00c3ff;
	--wd-cyan-bright-2: #17e0ff;
	--wd-light-bg: #f8f9fa;
	--wd-text: #353535;
}

body {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	color: var(--wd-text);
}

img {
	max-width: 100%;
	height: auto;
}

.wd-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.wd-container-narrow {
	max-width: 820px;
}

/* Buttons — brighter, higher-contrast CTAs */
.wd-btn,
.wd-btn:link,
.wd-btn:visited {
	display: inline-block;
	padding: 16px 34px;
	border-radius: 50px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	text-align: center;
	border: 2px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	cursor: pointer;
}

.wd-btn-bright,
.wd-btn-bright:link,
.wd-btn-bright:visited {
	background: linear-gradient(135deg, var(--wd-cyan-bright-2), var(--wd-cyan));
	color: #ffffff;
	box-shadow: 0 10px 28px rgba(0, 195, 255, 0.5);
	animation: wd-pulse 2.6s ease-in-out infinite;
}

.wd-btn-bright:hover,
.wd-btn-bright:visited:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(0, 195, 255, 0.65);
	color: #ffffff;
}

.wd-btn-navy,
.wd-btn-navy:link,
.wd-btn-navy:visited {
	background: var(--wd-navy);
	color: #ffffff;
}

.wd-btn-navy:hover,
.wd-btn-navy:visited:hover {
	background: var(--wd-navy-dark);
	color: #ffffff;
}

.wd-btn-outline,
.wd-btn-outline:link,
.wd-btn-outline:visited {
	background: transparent;
	color: #ffffff;
	border-color: #ffffff;
}

.wd-btn-outline:hover,
.wd-btn-outline:visited:hover {
	background: #ffffff;
	color: var(--wd-navy);
}

.wd-btn-outline-light,
.wd-btn-outline-light:link,
.wd-btn-outline-light:visited {
	background: transparent;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.7);
}

.wd-btn-outline-light:hover,
.wd-btn-outline-light:visited:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: #ffffff;
	color: #ffffff;
}

@keyframes wd-pulse {
	0%, 100% { box-shadow: 0 10px 28px rgba(0, 195, 255, 0.5); }
	50% { box-shadow: 0 10px 34px rgba(0, 195, 255, 0.85); }
}

/* Site header: logo + call / WhatsApp / email */
.wd-header {
	position: sticky;
	top: 0;
	z-index: 950;
	background: #ffffff;
	padding: 14px 0;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.wd-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.wd-header-logo img {
	max-width: 190px;
	display: block;
}

.wd-header-contacts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wd-header-contact-link,
.wd-header-contact-link:link,
.wd-header-contact-link:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--wd-light-bg);
	color: var(--wd-navy);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	padding: 9px 16px;
	border-radius: 50px;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.wd-header-contact-link:hover {
	background: linear-gradient(135deg, var(--wd-cyan-bright-2), var(--wd-cyan));
	color: #ffffff;
	transform: translateY(-2px);
}

.wd-header-contact-icon {
	display: inline-flex;
}

.wd-header-contact-icon svg {
	width: 16px;
	height: 16px;
}

/* Hero */
.wd-hero {
	background-position: center;
	background-size: cover;
	padding: 64px 0;
	color: #ffffff;
}

.wd-hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.wd-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.4);
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 20px;
}

.wd-hero h1 {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 20px;
}

.wd-hero-subtitle {
	font-size: 19px;
	opacity: 0.92;
	max-width: 520px;
	margin: 0 0 24px;
}

.wd-usp-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.wd-usp-list li {
	font-weight: 600;
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.wd-usp-icon {
	color: var(--wd-cyan-bright-2);
	display: inline-flex;
	flex-shrink: 0;
}

.wd-usp-icon svg {
	width: 20px;
	height: 20px;
}

.wd-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.wd-form-card {
	background: #ffffff;
	color: var(--wd-text);
	border-radius: 16px;
	padding: 36px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.wd-form-card h2 {
	color: #000000;
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 8px;
}

.wd-form-subtext {
	font-size: 15px;
	color: #666666;
	margin: 0 0 20px;
}

.wd-form-card-centered {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}

.wd-form-card-centered .wd-form-card-inner-align {
	text-align: left;
}

/* Contact Form 7 styling inside the landing page cards */
.wd-form-card .wpcf7-form p {
	margin-bottom: 4px;
	text-align: left;
}

.wd-form-card .wpcf7-form label {
	font-weight: 600;
	font-size: 14px;
	color: #333333;
}

.wd-form-card .wpcf7-form input:not([type="submit"]),
.wd-form-card .wpcf7-form textarea,
.wd-form-card .wpcf7-form select {
	width: 100%;
	padding: 13px 14px;
	margin-top: 6px;
	border: 1px solid #dcdcdc;
	border-radius: 8px;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	box-sizing: border-box;
}

.wd-form-card .wpcf7-form input.wpcf7-submit {
	width: 100%;
	background: linear-gradient(135deg, var(--wd-cyan-bright-2), var(--wd-cyan));
	color: #ffffff;
	font-weight: 700;
	font-size: 18px;
	border: 0;
	border-radius: 50px;
	padding: 16px;
	margin-top: 10px;
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(0, 195, 255, 0.5);
}

.wd-form-card .wpcf7-form input.wpcf7-submit:hover {
	box-shadow: 0 14px 34px rgba(0, 195, 255, 0.65);
}

.wd-form-card .wpcf7-spinner {
	display: block;
	margin: 10px auto 0;
}

/* Generic sections */
.wd-section {
	padding: 72px 0;
}

.wd-section-light {
	background: var(--wd-light-bg);
}

.wd-eyebrow {
	display: inline-block;
	color: var(--wd-cyan);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

/* Case studies */
.wd-case-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
	margin-bottom: 80px;
}

.wd-case-grid:last-child {
	margin-bottom: 0;
}

.wd-case-copy h3 {
	color: #000000;
	font-size: 30px;
	font-weight: 700;
	margin: 0 0 16px;
}

.wd-case-content p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--wd-text);
}

.wd-case-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 24px;
}

.wd-showcase-image {
	display: block;
	width: 100%;
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

@media (min-width: 992px) {
	.wd-case-row-reverse .wd-case-showcase {
		order: -1;
	}
}

/* Section headings */
.wd-section-heading {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 44px;
}

.wd-section-heading h2 {
	color: #000000;
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 10px;
}

.wd-section-heading p {
	font-size: 17px;
	color: #666666;
	margin: 0;
}

.wd-section-cta {
	text-align: center;
	margin-top: 40px;
}

/* Feature grid */
.wd-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.wd-feature-card {
	background: #ffffff;
	border: 1px solid #eaeaea;
	border-radius: 14px;
	padding: 32px 26px;
	text-align: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wd-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.wd-feature-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--wd-cyan-bright-2), var(--wd-cyan));
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wd-feature-icon svg {
	width: 26px;
	height: 26px;
}

.wd-feature-card h3 {
	color: #000000;
	font-size: 19px;
	font-weight: 700;
	margin: 0 0 8px;
}

.wd-feature-card p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--wd-text);
	margin: 0;
}

/* CTA band */
.wd-cta-band {
	background: linear-gradient(135deg, var(--wd-navy), var(--wd-navy-dark));
	color: #ffffff;
	text-align: center;
	padding: 64px 0;
}

.wd-cta-band h2 {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 12px;
}

.wd-cta-band p {
	font-size: 18px;
	opacity: 0.9;
	margin: 0 0 28px;
}

.wd-cta-band-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

/* Footer */
.wd-footer {
	background: var(--wd-navy-dark);
	color: #ffffff;
	text-align: center;
	padding: 48px 0 88px;
}

.wd-footer-logo {
	max-width: 200px;
	background: #ffffff;
	padding: 10px 18px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.wd-footer-contact {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 28px;
	margin-bottom: 16px;
}

.wd-footer-contact a,
.wd-footer-contact a:link,
.wd-footer-contact a:visited {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
}

.wd-footer-copy {
	font-size: 13px;
	opacity: 0.7;
	margin: 0;
}

.wd-footer-copy a,
.wd-footer-copy a:link,
.wd-footer-copy a:visited {
	color: #ffffff;
	text-decoration: underline;
}

.wd-footer-logo {
	cursor: pointer;
}

/* Industries */
.wd-industry-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	max-width: 900px;
	margin: 0 auto;
}

.wd-industry-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1px solid #e2e2e2;
	color: var(--wd-navy);
	font-weight: 600;
	font-size: 15px;
	padding: 12px 22px;
	border-radius: 50px;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.wd-industry-pill:hover {
	border-color: var(--wd-cyan);
	transform: translateY(-2px);
}

.wd-industry-pill svg {
	width: 16px;
	height: 16px;
	color: var(--wd-cyan);
	flex-shrink: 0;
}

/* Reviews slider */
.wd-reviews-swiper {
	padding-bottom: 50px;
}

.wd-review-card {
	background: #ffffff;
	border: 1px solid #eaeaea;
	border-radius: 14px;
	padding: 32px 28px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	height: 100%;
	box-sizing: border-box;
}

.wd-review-quote {
	display: inline-block;
	color: var(--wd-cyan);
	opacity: 0.5;
	margin-bottom: 12px;
}

.wd-review-quote svg {
	width: 28px;
	height: 28px;
}

.wd-review-text {
	font-size: 15px;
	line-height: 1.7;
	color: var(--wd-text);
	font-style: italic;
	margin: 0 0 18px;
}

.wd-review-author {
	color: var(--wd-navy);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin: 0;
}

.wd-reviews-swiper .swiper-pagination-bullet-active {
	background: var(--wd-cyan-bright-2);
}

/* Sticky mobile CTA bar */
.wd-mobile-bar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 900;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.wd-mobile-bar .wd-btn {
	flex: 1;
	border-radius: 0;
	padding: 18px 10px;
	font-size: 16px;
	animation: none;
}

@media (max-width: 991px) {
	.wd-hero-grid,
	.wd-case-grid {
		grid-template-columns: 1fr;
	}

	.wd-hero h1 {
		font-size: 34px;
	}

	.wd-case-showcase {
		order: -1;
	}

	.wd-feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.wd-feature-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.wd-mobile-bar {
		display: flex;
	}

	.wd-footer {
		padding-bottom: 96px;
	}

	.wd-hero {
		padding: 40px 0;
	}

	.wd-section {
		padding: 48px 0;
	}

	.wd-form-card {
		padding: 24px;
	}

	.wd-header-inner {
		justify-content: center;
		text-align: center;
	}

	.wd-header-logo img {
		max-width: 150px;
		margin: 0 auto;
	}

	/* The sticky bottom bar already provides Call/Enquire CTAs on mobile. */
	.wd-header-contacts {
		display: none;
	}
}
