/* ==========================================
   CONTACT SECTION - ULTRA PREMIUM CA DESIGN
   Andhavarapu Sridhar & Co.
========================================== */

.dr1059contact {
	position: relative;
	padding: 120px 20px;
	font-family: 'Poppins', sans-serif;
	overflow: hidden;
	color: #fff;

	background:
		radial-gradient(circle at top left, rgba(201, 161, 74, 0.18), transparent 45%),
		radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.10), transparent 45%),
		linear-gradient(135deg, #020617 0%, #0b1c2c 50%, #020617 100%);
}

/* subtle animated glow layer */
.dr1059contact::before {
	content: "";
	position: absolute;
	inset: -40%;
	background: radial-gradient(circle, rgba(212,175,55,0.08), transparent 60%);
	animation: slowGlow 10s ease-in-out infinite alternate;
	pointer-events: none;
}

/* CONTAINER */
.dr1059contact .contact-container {
	max-width: 1200px;
	margin: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: center;

	animation: fadeUp 1s ease forwards;
	opacity: 0;
	transform: translateY(40px);
}

/* IMAGE WRAP */
.dr1059contact .img-wrap {
	border-radius: 28px;
	overflow: hidden;

	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.08);

	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.6),
		0 0 60px rgba(201, 161, 74, 0.12);

	transition: all 0.5s ease;
	transform: perspective(1000px) rotateY(0deg);
}

/* 3D hover */
.dr1059contact .img-wrap:hover {
	transform: perspective(1000px) rotateY(-6deg) scale(1.03);
	box-shadow:
		0 40px 100px rgba(0, 0, 0, 0.75),
		0 0 80px rgba(201, 161, 74, 0.18);
}

.dr1059contact .img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* CONTENT */
.dr1059contact .contact-content {
	color: #fff;
}

/* TAG */
.dr1059contact .contact-tag {
	display: inline-block;
	padding: 9px 18px;
	border-radius: 50px;

	font-size: 12px;
	letter-spacing: 2px;
	font-weight: 700;
	text-transform: uppercase;

	color: #e6c36a;
	background: rgba(201, 161, 74, 0.10);
	border: 1px solid rgba(201, 161, 74, 0.35);

	box-shadow: 0 0 25px rgba(201, 161, 74, 0.15);
}

/* HEADING */
.dr1059contact h2 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	margin-top: 18px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.dr1059contact h2 span {
	display: block;
	color: #d4af37;
	font-size: 1.2rem;
	font-weight: 600;
	margin-top: 6px;
}

/* DESCRIPTION */
.dr1059contact .contact-desc {
	margin-top: 18px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.75);
	max-width: 520px;
}

/* INFO BOX GRID */
.dr1059contact .contact-info {
	margin-top: 30px;
	display: grid;
	gap: 18px;
}

/* GLASS CARDS */
.dr1059contact .info-box {
	padding: 18px 20px;
	border-radius: 16px;

	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(12px);

	border: 1px solid rgba(255, 255, 255, 0.10);

	transition: all 0.4s ease;
}

/* hover lift */
.dr1059contact .info-box:hover {
	transform: translateY(-4px);
	border-color: rgba(201, 161, 74, 0.35);
	box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.dr1059contact .info-box h4 {
	color: #d4af37;
	margin-bottom: 8px;
	font-size: 14px;
	letter-spacing: 0.5px;
}

/* LINKS */
.dr1059contact a {
	color: #f5d27a;
	text-decoration: none;
	transition: 0.3s ease;
}

.dr1059contact a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* SERVICES */
.dr1059contact .contact-services {
	margin-top: 28px;
}

.dr1059contact .contact-services h3 {
	margin-bottom: 10px;
	font-size: 16px;
	color: #d4af37;
}

.dr1059contact .contact-services ul {
	list-style: none;
	padding: 0;
}

.dr1059contact .contact-services li {
	margin-bottom: 8px;
	color: rgba(255, 255, 255, 0.8);
	position: relative;
	padding-left: 18px;
}

.dr1059contact .contact-services li::before {
	content: "✦";
	position: absolute;
	left: 0;
	color: #d4af37;
}

/* MAP */
.dr1059contact .contact-map {
	margin-top: 60px;
	border-radius: 22px;
	overflow: hidden;

	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.6),
		0 0 40px rgba(201, 161, 74, 0.12);

	animation: fadeUp 1.2s ease forwards;
}

/* MAP iframe */
.dr1059contact .contact-map iframe {
	width: 100%;
	height: 380px;
	border: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
	.dr1059contact .contact-container {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 40px;
	}

	.dr1059contact .contact-desc {
		margin: auto;
	}
}

/* ================= ANIMATIONS ================= */

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slowGlow {
	from {
		transform: translateY(-10px) scale(1);
	}
	to {
		transform: translateY(10px) scale(1.1);
	}
}

/* ==========================================
   MOBILE FIX - CONTACT SERVICES (ULTRA CLEAN)
========================================== */

@media (max-width: 900px) {

	.dr1059contact .contact-services {
		margin-top: 26px;
		padding: 0 10px;
		text-align: left; /* keeps readability even in centered layout */
	}

	.dr1059contact .contact-services h3 {
		text-align: center;
		font-size: 15px;
		margin-bottom: 14px;
		letter-spacing: 0.5px;
	}

	/* convert list into soft 2-column grid */
	.dr1059contact .contact-services ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px 14px;
		padding: 0;
	}

	.dr1059contact .contact-services li {
		font-size: 12.5px;
		line-height: 1.5;

		background: rgba(255, 255, 255, 0.06);
		border: 1px solid rgba(255, 255, 255, 0.08);

		padding: 10px 12px;
		border-radius: 12px;

		backdrop-filter: blur(8px);

		display: flex;
		align-items: center;
		gap: 6px;
	}

	.dr1059contact .contact-services li::before {
		content: "✦";
		color: #d4af37;
		font-size: 12px;
		flex-shrink: 0;
	}
}

/* extra small devices */
@media (max-width: 480px) {

	.dr1059contact .contact-services ul {
		grid-template-columns: 1fr; /* single column for small phones */
	}

	.dr1059contact .contact-services li {
		font-size: 13px;
		padding: 12px;
	}
}