:root {
	--blue: #49b2eb;
	--coral: #f86f65;
	--yellow: #fed346;
	--dark-blue: #395788;
	--bg-light: #f4f7f6;
	--base-brown: #a27e5a;
	--pastel-yellow: #ffe48f;
	--pastel-mint: #aaefcd;
	--pastel-blue: #aadaff;
	--pastel-pink: #ffb1b1;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Nunito', sans-serif;
}

/* Prevent scrolling globally */
body {
	display: flex;
	height: 100vh;
	/* Locked to viewport height */
	width: 100vw;
	overflow: hidden;
	/* Hide scrollbars */
	color: #333;
	background-color: var(--bg-light);
}

/* Split Layout - Reduced padding to fit screen */
.left-side {
	flex: 1;
	background-color: var(--dark-blue);
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: flex-start; /* Changed from space-between to fix the gap */
	padding: 2rem 3rem;
	position: relative;
	overflow: hidden;
}

.left-side::after {
	content: '';
	position: absolute;
	bottom: -10%;
	left: -10%;
	width: 300px;
	height: 300px;
	background-color: var(--blue);
	border-radius: 50%;
	opacity: 0.15;
	z-index: 0;
}

.left-side::before {
	content: '';
	position: absolute;
	top: 10%;
	right: -5%;
	width: 150px;
	height: 150px;
	background-color: var(--yellow);
	border-radius: 50%;
	opacity: 0.15;
	z-index: 0;
}

.right-side {
	flex: 1;
	background-color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem 3rem;
}

/* Left Content - Reduced margins and font sizes */
.logo-container {
	z-index: 1;
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.main-content {
	z-index: 1;
	max-width: 550px;
	margin-top: auto;    /* Pushes text to the vertical center */
	margin-bottom: auto; /* Pushes text to the vertical center */
}

.badge {
	display: inline-block;
	background-color: var(--coral);
	color: white;
	padding: 0.4rem 0.8rem;
	border-radius: 6px;
	font-weight: 800;
	font-size: 1rem;
	margin-bottom: 1rem;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 10px rgba(248, 111, 101, 0.3);
}

.title {
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.description {
	font-size: 1.05rem;
	line-height: 1.6;
	opacity: 0.9;
	margin-bottom: 1rem;
}

.read-more-btn {
	background-color: var(--yellow);
	border: 2px solid var(--yellow);
	color: var(--dark-blue);
	padding: 8px 20px;
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.read-more-btn:hover {
	background-color: transparent;
	color: var(--yellow);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(254, 211, 70, 0.2);
}

/* Left Footer */
.left-footer {
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1rem;
	flex-wrap: wrap;
	gap: 15px;
}

.footer-link {
	color: white;
	text-decoration: none;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: color 0.3s;
	font-size: 0.95rem;
}

.footer-link:hover {
	color: var(--blue);
}

.social-icons {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
}

.social-icons a {
	color: white;
	font-size: 1.1rem;
	transition: color 0.3s, transform 0.3s;
	display: inline-block;
}

.social-icons a:hover {
	color: var(--blue);
	transform: translateY(-2px);
}

/* Right Content - Form - Scaled down for vertical fit */
.form-container {
	width: 100%;
	max-width: 480px;
}

.form-title {
	color: var(--dark-blue);
	font-size: 2.2rem;
	font-weight: 800;
	margin-bottom: 0.2rem;
	text-align: center;
}

.form-subtitle {
	color: #666;
	text-align: center;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	line-height: 1.4;
}

.form-group {
	margin-bottom: 0.8rem;
}

.form-control {
	width: 100%;
	padding: 10px 14px;
	border: 2px solid #eef1f5;
	border-radius: 8px;
	font-size: 0.95rem;
	transition: all 0.3s;
	background-color: #f9fbfd;
	color: #333;
}

.form-control::placeholder {
	color: #a0aab8;
}

.form-control:focus {
	outline: none;
	border-color: var(--blue);
	background-color: white;
	box-shadow: 0 0 0 4px rgba(73, 178, 235, 0.1);
}

textarea.form-control {
	resize: none;
	min-height: 80px;
}

.submit-btn {
	width: 100%;
	padding: 12px;
	background-color: var(--coral);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1.05rem;
	font-weight: 800;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 5px;
	box-shadow: 0 4px 15px rgba(248, 111, 101, 0.2);
}

.submit-btn:hover {
	background-color: #e65a50;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(248, 111, 101, 0.3);
}

.submit-btn:active {
	transform: translateY(0);
}

.right-footer {
	margin-top: 1.5rem;
	color: #999;
	font-size: 0.85rem;
	text-align: center;
}

/* Right Side Contact Info Footer */
.right-contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 480px; /* Aligns perfectly with your form-container */
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eef1f5;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Overrides the original white color to dark blue for the right side */
.right-contact-info .footer-link {
    color: var(--dark-blue);
}

.right-contact-info .footer-link:hover {
    color: var(--blue);
}

.right-contact-info .social-icons a {
    color: var(--dark-blue);
}

.right-contact-info .social-icons a:hover {
    color: var(--blue);
    transform: translateY(-2px);
}

/* Modal */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(57, 87, 136, 0.85);
	/* Use rgba(0,0,0,0.8) if you are using the Dark Mode layout */
	backdrop-filter: blur(8px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	padding: 1rem;
	/* Adds breathing room around the edges on mobile */
}

.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.modal-content {
	background-color: white;
	/* Use #23344e if using the Dark Mode layout */
	border-radius: 16px;
	width: 100%;
	max-width: 900px;
	padding: 2.5rem;
	position: relative;
	transform: translateY(30px);
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
	/* NEW: Enables vertical scrolling inside the popup */
	max-height: 90vh;
	overflow-y: auto;
}

/* NEW: Clean, thin scrollbar styling for the modal */
.modal-content::-webkit-scrollbar {
	width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
	background-color: #cbd5e1;
	border-radius: 10px;
}

.modal-overlay.active .modal-content {
	transform: translateY(0);
}

.close-modal {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 1.5rem;
	color: #ccc;
	cursor: pointer;
	background: none;
	border: none;
	transition: color 0.3s;
	z-index: 10;
	/* Ensures the close button stays clickable above text */
}

.close-modal:hover {
	color: var(--coral);
}

.modal-title {
	color: var(--dark-blue);
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	text-align: center;
}

.modal-desc {
	text-align: center;
	color: #666;
	margin-bottom: 2rem;
	font-size: 1.05rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.icon-boxes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.icon-box {
	text-align: center;
	padding: 1.5rem 1rem;
	border-radius: 12px;
	background-color: var(--bg-light);
	border: 1px solid #edf1f5;
	transition: all 0.3s;
}

.icon-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
	border-color: var(--blue);
	background-color: white;
}

.ib-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.ib-1 {
	color: var(--blue);
}

.ib-2 {
	color: var(--yellow);
}

.ib-3 {
	color: var(--coral);
}

.ib-title {
	color: var(--dark-blue);
	font-weight: 800;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.ib-text {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.5;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
	body {
		flex-direction: column;
		height: auto;
		overflow-y: auto;
		min-height: 100vh;
	}

	.left-side,
	.right-side {
		padding: 2.5rem 2rem;
	}

	.title {
		font-size: 2.2rem;
	}

	.icon-boxes {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.left-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.social-icons {
		margin-top: 5px;
	}

.right-bottom-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
	
}

@media (max-width: 768px) {
	.title {
		font-size: 2.2rem;
	}

	.icon-boxes {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.modal-content {
		padding: 2rem 1.2rem;
		/* Tighter padding for mobile screens */
	}

	.modal-title {
		font-size: 1.8rem;
		padding-right: 30px;
		/* Prevents the title from hiding behind the close button */
		margin-top: 10px;
	}

	.left-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.contact-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.social-icons {
		margin-top: 5px;
	}
	.fi-1 {
	top: 15% !important;
	left: 75% !important;
}

.fi-2 {
	top: 25% !important;
	right: 5% !important;
}

.fi-3 {
	bottom: 1% !important;
	left: 65% !important;
}

.fi-4 {
	bottom: 10% !important;
	right: 5% !important;
}
}

/* Floating Animated Icons */
.floating-icon {
	position: absolute;
	z-index: 0;
	opacity: 0.7;
	animation: float 6s infinite ease-in-out alternate;
}

.fi-1 {
	top: 20%;
	left: 55%;
	color: var(--pastel-pink);
	font-size: 2.5rem;
	animation-delay: 0s;
	transform: rotate(15deg);
}

.fi-2 {
	top: 25%;
	right: 15%;
	color: var(--pastel-yellow);
	font-size: 2rem;
	animation-delay: -2s;
	transform: rotate(-20deg);
}

.fi-3 {
	bottom: 10%;
	left: 15%;
	color: var(--pastel-mint);
	font-size: 3rem;
	animation-delay: -4s;
	transform: rotate(10deg);
}

.fi-4 {
	bottom: 15%;
	right: 20%;
	color: var(--pastel-blue);
	font-size: 2.5rem;
	animation-delay: -1s;
	transform: rotate(-15deg);
}

@keyframes float {
	0% {
		transform: translateY(0) rotate(0deg);
	}

	100% {
		transform: translateY(-20px) rotate(10deg);
	}
}

/* Validation states */
.contact-four__input-box { position: relative; }

.contact-four__input-box input,
.contact-four__input-box textarea {
  transition: border-color .22s ease, box-shadow .22s ease;
}

.contact-four__input-box.wg-error input,
.contact-four__input-box.wg-error textarea {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.15) !important;
}

.contact-four__input-box.wg-success input,
.contact-four__input-box.wg-success textarea {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34,197,94,.12) !important;
}

.wg-field-error {
  display: block;
  color: #ef4444;
  font-size: 11.5px;
  font-weight: 500;
  margin-top: 5px;
  padding-left: 2px;
  animation: wgSlideDown .18s ease;
}
@keyframes wgSlideDown {
  from { opacity:0; transform: translateY(-4px); }
  to   { opacity:1; transform: translateY(0); }
}

/* Submit button states  */
.thm-btn.wg-loading {
  opacity: .75;
  pointer-events: none;
  cursor: not-allowed;
}
.wg-spinner {
  display: inline-block;
  width: 13px; height: 13px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wgSpin .65s linear infinite;
  margin-right: 7px;
  vertical-align: middle;
  position: relative; top: -1px;
}
@keyframes wgSpin { to { transform: rotate(360deg); } }

/* Result message */
.result { margin-top: 20px; text-align: center; font-size: 14px; font-weight: 500; min-height: 22px; }
.result.wg-success {
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 14px 20px;
  border-radius: 8px;
  animation: wgSlideDown .25s ease;
}
.result.wg-error {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 14px 20px;
  border-radius: 8px;
  animation: wgSlideDown .25s ease;
}

/* ── Hide reCAPTCHA badge (disclosure text is shown below button) ── */
.grecaptcha-badge { visibility: hidden !important; }
.wg-recaptcha-note { text-align:center; font-size:11px; color:#aaa; margin-top:10px; }
.wg-recaptcha-note a { color: #aaa; text-decoration: underline; }

/* Right Side Contact Info Footer */
.right-bottom-section {
    display: flex;
    justify-content: space-between; /* Forces Left, Center, Right layout */
    align-items: center;
    width: 100%;
    max-width: 480px; /* Matches the width of your form */
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eef1f5;
}

.right-bottom-section .footer-link {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.right-bottom-section .footer-link:hover {
    color: var(--blue);
}

.right-bottom-section .social-icons a {
    color: var(--dark-blue);
}

.right-bottom-section .social-icons a:hover {
    color: var(--blue);
    transform: translateY(-2px);
}