/* ==========================================================================
   CONTACT US PAGE STYLESHEET (css/contact.css)
   S Group Companies - Singapore
   ========================================================================== */

/* --------------------------------------------------------------------------
   SECTION 1: HERO / BANNER SECTION
   -------------------------------------------------------------------------- */
.contact-banner-section {
	position: relative;
	width: 100%;
	min-height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url('../images/banner/banner-contact.png') no-repeat center center / cover;
	padding: 208px 20px 80px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-banner-content {
	text-align: center;
	max-width: 800px;
	z-index: 2;
}

.contact-banner-title {
	font-size: 48px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 16px;
	letter-spacing: -0.5px;
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb Styling */
.contact-breadcrumb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 15px;
	font-weight: 500;
	background: rgba(255, 255, 255, 0.08);
	padding: 8px 22px;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
}

.contact-breadcrumb a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.3s ease;
}

.contact-breadcrumb a:hover {
	color: #02c064;
}

.contact-breadcrumb .separator {
	color: rgba(255, 255, 255, 0.4);
	font-size: 13px;
}

.contact-breadcrumb .current {
	color: #02c064;
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   SECTION 2: INTRO TEXT SECTION
   -------------------------------------------------------------------------- */
body.contact-page {
	background-color: #ffffff;
}

.contact-intro-section {
	background: #ffffff;
	padding: 60px 20px 30px;
	text-align: center;
}

.contact-intro-container {
	max-width: 820px;
	margin: 0 auto;
}

.contact-sub-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #02c064;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.contact-intro-title {
	font-size: 36px;
	font-weight: 800;
	color: #0A1628;
	margin-bottom: 18px;
	line-height: 1.3;
}

.contact-intro-desc {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(10, 22, 40, 0.75);
	margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION 3: CONTACT MAIN SECTION (2-COLUMN LAYOUT)
   -------------------------------------------------------------------------- */
.contact-main-section {
	background: #ffffff;
	padding: 10px 0 90px;
}

.contact-grid-row {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

/* Left Column: Info Card */
/* Left Column: White Styled Info Card with Mixed Theme Colors (#0183c9, rgb(0, 224, 130), black) */
.contact-info-card {
	flex: 0 0 calc(45% - 20px);
	max-width: calc(45% - 20px);
	background: #ffffff;
	border-radius: 24px;
	padding: 42px 34px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 30px;
	position: relative;
	overflow: hidden;
}

.contact-info-card::before {
	content: '';
	position: absolute;
	top: -90px;
	right: -90px;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, rgba(1, 131, 201, 0.08) 0%, rgba(1, 131, 201, 0) 70%);
	pointer-events: none;
	border-radius: 50%;
}

.location-badge-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(1, 131, 201, 0.08);
	padding: 10px 20px;
	border-radius: 30px;
	border: 1px solid rgba(1, 131, 201, 0.25);
	width: fit-content;
	box-shadow: 0 4px 14px rgba(1, 131, 201, 0.08);
}

.location-badge-item span {
	color: #0183c9;
	font-weight: 700;
	font-size: 15px;
}

.info-block-title {
	color: #0f172a;
	font-size: 17px;
	font-weight: 800;
	margin-bottom: 16px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 10px;
}

.info-block-title i {
	color: rgb(0, 224, 130);
	font-size: 19px;
}

/* Services Tags */
.service-tags-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.service-tag {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #1e293b;
	font-size: 13.5px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 25px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-tag:hover {
	background: linear-gradient(135deg, #0183c9 0%, rgb(0, 224, 130) 100%);
	border-color: transparent;
	color: #ffffff;
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 8px 20px rgba(0, 224, 130, 0.25);
}

.service-tag i {
	color: #0183c9;
	font-size: 13px;
	transition: color 0.3s ease;
}

.service-tag:hover i {
	color: #ffffff;
}

/* Key Contacts Cards */
.key-contacts-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.key-contact-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #0183c9;
	border-radius: 16px;
	padding: 18px 20px;
	display: flex;
	align-items: center;
	gap: 18px;
	transition: all 0.3s ease;
}

.key-contact-card:hover {
	background: #ffffff;
	border-color: rgb(0, 224, 130);
	border-left-color: rgb(0, 224, 130);
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0, 224, 130, 0.18);
}

.contact-avatar-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgb(0, 224, 130);
	flex-shrink: 0;
	box-shadow: 0 4px 14px rgba(0, 224, 130, 0.25);
	position: relative;
}

.contact-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contact-details {
	flex: 1;
}

.contact-name {
	color: #0f172a;
	font-size: 16.5px;
	font-weight: 800;
	margin-bottom: 3px;
}

.contact-designation {
	color: #0183c9;
	font-size: 12.5px;
	font-weight: 700;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.contact-phone-link {
	color: #334155;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.3s ease;
}

.contact-phone-link i {
	color: rgb(0, 224, 130);
}

.contact-phone-link:hover {
	color: #0183c9;
}

/* Right Column: Contact Form */
.contact-form-card {
	flex: 0 0 calc(55% - 20px);
	max-width: calc(55% - 20px);
	background: linear-gradient(145deg, #03203e 0%, #02457a 100%);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 20px;
	padding: 40px 36px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.form-header-block {
	margin-bottom: 28px;
}

.form-title {
	font-size: 26px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 8px;
}

.form-subtitle {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

.contact-form .form-group {
	margin-bottom: 20px;
}

.contact-form label {
	display: block;
	color: #ffffff;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
	background-color: rgba(255, 255, 255, 0.07) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	color: #ffffff !important;
	border-radius: 10px;
	padding: 13px 18px;
	font-size: 14.5px;
	transition: all 0.3s ease;
}

.contact-form .form-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2302c064' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	background-size: 16px 16px !important;
	padding-right: 44px !important;
	cursor: pointer;
}

.custom-phone-group {
	display: flex;
	align-items: stretch;
	width: 100%;
	position: relative;
}

.country-code-dropdown-wrap {
	position: relative;
	display: flex;
	align-items: stretch;
	flex-shrink: 0;
}

.country-code-select {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 5;
	-webkit-appearance: none;
	appearance: none;
	color-scheme: dark !important;
	font-size: 16px !important;
	background: transparent !important;
}

.country-code-select option {
	background-color: #0a1628 !important;
	color: #ffffff !important;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.4;
}

.country-code-prefix {
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-right: none !important;
	color: #ffffff !important;
	font-weight: 700;
	font-size: 14px;
	padding: 0 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-top-left-radius: 10px !important;
	border-bottom-left-radius: 10px !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	white-space: nowrap;
	box-sizing: border-box;
	height: 100%;
	min-height: 48px;
	transition: all 0.3s ease;
	user-select: none;
}

.country-code-dropdown-wrap:hover .country-code-prefix {
	background: rgba(255, 255, 255, 0.18) !important;
	border-color: rgba(255, 255, 255, 0.3) !important;
}

.country-code-select:focus + .country-code-prefix,
.country-code-dropdown-wrap:focus-within .country-code-prefix {
	background: rgba(255, 255, 255, 0.18) !important;
	border-color: #02c064 !important;
	box-shadow: 0 0 0 3px rgba(2, 192, 100, 0.25);
	position: relative;
	z-index: 2;
}

.custom-phone-group .form-control {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	border-top-right-radius: 10px !important;
	border-bottom-right-radius: 10px !important;
	flex: 1;
	min-width: 0;
	min-height: 48px;
	height: 100%;
}

.contact-form .form-control::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.contact-form .form-select option {
	background: #0a1628;
	color: #ffffff;
	padding: 10px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
	background-color: rgba(255, 255, 255, 0.12) !important;
	border-color: #02c064 !important;
	box-shadow: 0 0 0 3px rgba(2, 192, 100, 0.25) !important;
	outline: none;
}

/* Green Gradient Submit Button */
.btn-gradient-submit {
	width: 240px;
	max-width: 100%;
	margin: 0 auto;
	background: linear-gradient(90deg, #00d26a 0%, #0096c7 50%, #0052cc 100%) !important;
	color: #ffffff !important;
	border: none;
	padding: 16px 28px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: all 0.3s ease;
	box-shadow: 0 6px 20px rgba(0, 210, 106, 0.25);
}

.btn-gradient-submit:hover {
	background: linear-gradient(90deg, #00e676 0%, #00b4d8 50%, #0066ff 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 210, 106, 0.35);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
	.contact-grid-row {
		flex-direction: column;
		gap: 30px;
	}
	.contact-info-card,
	.contact-form-card {
		flex: 0 0 100%;
		max-width: 100%;
		padding: 30px 24px;
	}
	.contact-banner-title {
		font-size: 36px;
	}
	.contact-intro-title {
		font-size: 28px;
	}
}

@media (max-width: 575px) {
	.contact-banner-section {
		min-height: 320px;
		padding: 80px 15px 60px;
	}
	.contact-banner-title {
		font-size: 30px;
	}
	.key-contact-card {
		flex-direction: column;
		text-align: center;
	}
	.contact-avatar-icon {
		margin: 0 auto;
	}
}

/* --------------------------------------------------------------------------
   SECTION 4: GOOGLE MAP SECTION
   -------------------------------------------------------------------------- */
.contact-map-section {
	background: #ffffff;
	padding: 10px 0 80px;
}

.contact-map-wrapper {
	width: 100%;
	overflow: hidden;
}

.contact-map-wrapper iframe {
	width: 100%;
	height: 450px;
	border: none;
	display: block;
}

@media (max-width: 767px) {
	.contact-map-wrapper iframe {
		height: 320px;
	}
}

/* --------------------------------------------------------------------------
   THANK YOU PAGE STYLING (SINGAPORE)
   -------------------------------------------------------------------------- */
.thankyou-page {
	min-height: 100vh !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: #f8fafc !important;
}

.thankyou-section {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
}

.thankyou-card {
	background: #ffffff !important;
	box-shadow: 0 15px 50px rgba(10, 37, 64, 0.08) !important;
	border: 1px solid rgba(0, 150, 199, 0.15) !important;
	margin: auto;
}

.thankyou-card-glow-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, #00d26a 0%, #0096c7 50%, #0052cc 100%);
}

.btn-primary-gradient {
	background: linear-gradient(135deg, #0096c7 0%, #00d26a 100%) !important;
	color: #ffffff !important;
	border: none !important;
	transition: all 0.3s ease !important;
}

.btn-primary-gradient:hover {
	background: linear-gradient(135deg, #0077b6 0%, #00b85c 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 210, 106, 0.35) !important;
	color: #ffffff !important;
}

.btn-call-gradient {
	background: linear-gradient(135deg, #0a1628 0%, #0077b6 100%) !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	transition: all 0.3s ease !important;
}

.btn-call-gradient:hover {
	background: linear-gradient(135deg, #050d1a 0%, #005f96 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(10, 22, 40, 0.35) !important;
	color: #ffffff !important;
}

