
/* =========================================================
   DR. ROOPA SESHADRI
   PREMIUM MEDICAL CONTACT & APPOINTMENT FORM
   Scoped to .dr1065contactform2
   ========================================================= */

.dr1065contactform2,
.dr1065contactform2 *,
.dr1065contactform2 *::before,
.dr1065contactform2 *::after {
	box-sizing: border-box;
}

.dr1065contactform2 {
	--dr1065-cf-navy: #081625;
	--dr1065-cf-navy-light: #10283B;
	--dr1065-cf-panel: #112B3D;
	--dr1065-cf-teal: #20B7B0;
	--dr1065-cf-teal-light: #8DE2DB;
	--dr1065-cf-gold: #D7B777;
	--dr1065-cf-white: #F3F5F7;
	--dr1065-cf-muted: #B8C7D6;
	--dr1065-cf-border: rgba(184, 199, 214, 0.16);

	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(64px, 9vw, 120px) 20px;

	font-family: 'Plus Jakarta Sans', sans-serif;
	color: var(--dr1065-cf-white);
	background:
		radial-gradient(
			ellipse at 12% 5%,
			rgba(32, 183, 176, 0.13),
			transparent 34%
		),
		radial-gradient(
			ellipse at 95% 90%,
			rgba(215, 183, 119, 0.09),
			transparent 33%
		),
		linear-gradient(
			155deg,
			#07131F 0%,
			#0A1C2C 48%,
			#081522 100%
		);
}

/* BACKGROUND ATMOSPHERE */

.dr1065contactform2::before,
.dr1065contactform2::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
	border-radius: 50%;
	filter: blur(85px);
	opacity: 0.3;
	animation: dr1065contactpulse 12s ease-in-out infinite;
}

.dr1065contactform2::before {
	width: 300px;
	height: 300px;
	top: -120px;
	left: -100px;
	background: rgba(32, 183, 176, 0.5);
}

.dr1065contactform2::after {
	width: 280px;
	height: 280px;
	right: -120px;
	bottom: -100px;
	background: rgba(215, 183, 119, 0.28);
	animation-delay: 5s;
}

/* MAIN GLASS PANEL */

.dr1065contactform2 .contact-card {
	position: relative;
	z-index: 1;
	isolation: isolate;
	overflow: hidden;

	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 60px);

	border: 1px solid rgba(215, 183, 119, 0.2);
	border-radius: 30px;

	background:
		linear-gradient(
			145deg,
			rgba(20, 47, 65, 0.97),
			rgba(8, 22, 37, 0.96)
		);

	box-shadow:
		0 35px 90px rgba(0, 0, 0, 0.34),
		0 10px 35px rgba(0, 0, 0, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.07);

	animation: dr1065contactfadeup 0.8s ease both;
	transition:
		border-color 0.35s ease,
		box-shadow 0.35s ease;
}

.dr1065contactform2 .contact-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	pointer-events: none;

	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.055),
			transparent 35%
		);
}

@media (hover: hover) {
	.dr1065contactform2 .contact-card:hover {
		border-color: rgba(215, 183, 119, 0.34);
		box-shadow:
			0 40px 100px rgba(0, 0, 0, 0.4),
			0 0 35px rgba(32, 183, 176, 0.07),
			inset 0 1px 0 rgba(255, 255, 255, 0.08);
	}
}

/* HEADER */

.dr1065contactform2 .dr1065contact-header {
	position: relative;
	margin: 0 0 38px;
	text-align: left;
}

.dr1065contactform2 .contact-tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	margin-bottom: 20px;
	padding: 10px 15px;

	border: 1px solid rgba(32, 183, 176, 0.27);
	border-radius: 50px;

	background: rgba(32, 183, 176, 0.075);
	color: var(--dr1065-cf-teal-light);

	font-size: 10px;
	font-weight: 800;
	line-height: 1.6;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.dr1065contactform2 .contact-tag::before {
	content: "";
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	border-radius: 50%;
	background: var(--dr1065-cf-teal);
	box-shadow: 0 0 12px rgba(32, 183, 176, 0.5);
}

.dr1065contactform2 .contact-title {
	margin: 0 0 15px;
	color: var(--dr1065-cf-white);

	font-size: clamp(30px, 4.5vw, 43px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -1.3px;
}

.dr1065contactform2 .contact-title span {
	display: block;
	margin-top: 7px;

	background: linear-gradient(
		100deg,
		#F0E2C2 0%,
		#D7B777 48%,
		#8DE2DB 100%
	);

	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.dr1065contactform2 .contact-subtitle-main {
	margin: 0 0 18px;
	color: #DFE8ED;

	font-size: clamp(17px, 2.4vw, 21px);
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: -0.25px;
}

.dr1065contactform2 .contact-subtitle-main::after {
	content: "";
	display: block;
	width: 78px;
	height: 3px;
	margin-top: 17px;
	border-radius: 20px;

	background: linear-gradient(
		90deg,
		var(--dr1065-cf-teal),
		var(--dr1065-cf-gold)
	);
}

.dr1065contactform2 .dr1065contact-header-description {
	max-width: 610px;
	margin: 0;

	color: var(--dr1065-cf-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.9;
}

/* FORM FIELDS */

.dr1065contactform2 .contact-form {
	position: relative;
	width: 100%;
}

.dr1065contactform2 .field {
	position: relative;
	min-width: 0;
	margin-bottom: 22px;
}

.dr1065contactform2 input:not([type="hidden"]),
.dr1065contactform2 textarea,
.dr1065contactform2 select {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 59px;
	margin: 0;
	padding: 21px 17px 12px;

	border: 1px solid var(--dr1065-cf-border);
	border-radius: 14px;
	outline: none;

	background: rgba(4, 17, 29, 0.56);
	color: var(--dr1065-cf-white);

	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;

	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);

	transition:
		border-color 0.25s ease,
		background 0.25s ease,
		box-shadow 0.25s ease;
}

.dr1065contactform2 input::placeholder,
.dr1065contactform2 textarea::placeholder {
	color: transparent;
}

.dr1065contactform2 input:hover,
.dr1065contactform2 textarea:hover,
.dr1065contactform2 select:hover {
	border-color: rgba(32, 183, 176, 0.35);
}

.dr1065contactform2 input:focus,
.dr1065contactform2 textarea:focus,
.dr1065contactform2 select:focus {
	border-color: var(--dr1065-cf-teal);

	background: rgba(5, 21, 34, 0.94);

	box-shadow:
		0 0 0 3px rgba(32, 183, 176, 0.11),
		0 8px 24px rgba(0, 0, 0, 0.1);
}

/* TEXTAREA */

.dr1065contactform2 textarea {
	min-height: 145px;
	padding-top: 25px;
	resize: vertical;
}

.dr1065contactform2 textarea + label {
	top: 23px;
	transform: none;
}

/* SELECT */

.dr1065contactform2 select {
	padding-right: 46px;
	cursor: pointer;

	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;

	background-image:
		linear-gradient(45deg, transparent 50%, #8DE2DB 50%),
		linear-gradient(135deg, #8DE2DB 50%, transparent 50%);

	background-position:
		calc(100% - 23px) 27px,
		calc(100% - 17px) 27px;

	background-size: 6px 6px;
	background-repeat: no-repeat;
}

.dr1065contactform2 select:invalid {
	color: transparent;
}

.dr1065contactform2 select option {
	background: #10283B;
	color: #F3F5F7;
}

.dr1065contactform2 select option:disabled {
	color: #B8C7D6;
}

/* FLOATING LABELS */

.dr1065contactform2 .field label {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 13px;
	max-width: calc(100% - 50px);
	padding: 0 6px;

	transform: translateY(-50%);
	pointer-events: none;

	border-radius: 5px;
	background: #10283B;
	color: #AFC0CD;

	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;

	transition:
		top 0.2s ease,
		color 0.2s ease,
		font-size 0.2s ease;
}

.dr1065contactform2 input:focus + label,
.dr1065contactform2 input:not(:placeholder-shown) + label,
.dr1065contactform2 textarea:focus + label,
.dr1065contactform2 textarea:not(:placeholder-shown) + label,
.dr1065contactform2 select:focus + label,
.dr1065contactform2 select:valid + label {
	top: 0;
	color: var(--dr1065-cf-teal-light);
	font-size: 10px;
	font-weight: 700;
}

/* SUBMIT BUTTON */

.dr1065contactform2 .submit-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;

	width: 100%;
	min-height: 58px;
	margin-top: 7px;
	padding: 17px 22px;
	overflow: hidden;

	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;

	background: linear-gradient(
		110deg,
		#168F8C 0%,
		#20B7B0 48%,
		#A88B53 100%
	);

	color: #FFFFFF;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.25px;

	cursor: pointer;

	box-shadow:
		0 12px 30px rgba(32, 183, 176, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);

	transition:
		transform 0.25s ease,
		filter 0.25s ease,
		box-shadow 0.25s ease,
		opacity 0.25s ease;
}

.dr1065contactform2 .submit-btn::after {
	content: "↗";
	font-size: 19px;
	font-weight: 500;
	line-height: 1;
	transition: transform 0.25s ease;
}

@media (hover: hover) {
	.dr1065contactform2 .submit-btn:hover {
		transform: translateY(-2px);
		filter: brightness(1.08);

		box-shadow:
			0 17px 38px rgba(32, 183, 176, 0.25),
			inset 0 1px 0 rgba(255, 255, 255, 0.24);
	}

	.dr1065contactform2 .submit-btn:hover::after {
		transform: translate(2px, -2px);
	}
}

.dr1065contactform2 .submit-btn:focus-visible {
	outline: 3px solid var(--dr1065-cf-gold);
	outline-offset: 4px;
}

.dr1065contactform2 .submit-btn:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

/* STATUS MESSAGE */

.dr1065contactform2 .form-status {
	min-height: 0;
	margin: 14px 0 0;
	padding: 0;

	font-size: 13px;
	font-weight: 600;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.dr1065contactform2 .form-status:not(:empty) {
	padding: 12px 14px;
	border: 1px solid rgba(184, 199, 214, 0.12);
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.035);
}

/* CONTACT NOTES */

.dr1065contactform2 .contact-note {
	margin-top: 18px;
	padding: 18px 20px;

	border: 1px solid rgba(184, 199, 214, 0.12);
	border-radius: 14px;

	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.045),
		rgba(255, 255, 255, 0.015)
	);

	color: var(--dr1065-cf-muted);
	text-align: center;

	font-size: 12px;
	font-weight: 600;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.dr1065contactform2 .contact-note a {
	display: inline-block;
	margin-top: 4px;

	color: var(--dr1065-cf-teal-light);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;

	transition: color 0.2s ease;
}

.dr1065contactform2 .contact-note a:focus-visible {
	outline: 2px solid var(--dr1065-cf-gold);
	outline-offset: 4px;
	border-radius: 3px;
}

@media (hover: hover) {
	.dr1065contactform2 .contact-note a:hover {
		color: var(--dr1065-cf-gold);
	}
}

/* HONEYPOT — KEEP FOR EXISTING ANTI-SPAM LOGIC */

.dr1065contactform2 .hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;

	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;

	opacity: 0 !important;
	pointer-events: none !important;
}

/* ANIMATIONS */

@keyframes dr1065contactpulse {
	0%, 100% {
		transform: scale(1);
		opacity: 0.24;
	}
	50% {
		transform: scale(1.08);
		opacity: 0.38;
	}
}

@keyframes dr1065contactfadeup {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* TABLET */

@media (max-width: 768px) {
	.dr1065contactform2 {
		padding: 76px 18px;
	}

	.dr1065contactform2 .contact-card {
		max-width: 620px;
		padding: 34px 27px;
		border-radius: 24px;
	}

	.dr1065contactform2 .dr1065contact-header {
		margin-bottom: 30px;
	}

	.dr1065contactform2 .contact-title {
		font-size: clamp(29px, 5.5vw, 39px);
	}
}

/* MOBILE */

@media (max-width: 480px) {
	.dr1065contactform2 {
		padding: 58px 13px;
	}

	.dr1065contactform2 .contact-card {
		padding: 26px 17px;
		border-radius: 20px;
	}

	.dr1065contactform2 .contact-tag {
		gap: 8px;
		margin-bottom: 17px;
		padding: 9px 11px;
		font-size: 9px;
		letter-spacing: 1px;
	}

	.dr1065contactform2 .contact-title {
		font-size: clamp(27px, 8vw, 34px);
		letter-spacing: -0.8px;
	}

	.dr1065contactform2 .contact-subtitle-main {
		font-size: 16px;
		line-height: 1.65;
	}

	.dr1065contactform2 .dr1065contact-header-description {
		font-size: 12px;
		line-height: 1.85;
	}

	.dr1065contactform2 .field {
		margin-bottom: 18px;
	}

	.dr1065contactform2 input:not([type="hidden"]),
	.dr1065contactform2 textarea,
	.dr1065contactform2 select {
		font-size: 13px;
	}

	.dr1065contactform2 .contact-note {
		padding: 15px 12px;
	}
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
	.dr1065contactform2 *,
	.dr1065contactform2 *::before,
	.dr1065contactform2 *::after {
		animation: none !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}