/**
 * COSECURE Contact Info — Widget Styles
 * Scoped under .cci- prefix for the widget.
 * Also contains .cosecure-form — the CSS class you assign to your
 * Elementor Pro Form widget to make it match this design.
 */

/* ============================================================
   ELEMENTOR WRAPPER NORMALIZATION
   ============================================================ */
.elementor-widget-cs_contact_info .elementor-widget-container {
	padding: 0;
	max-width: 100%;
}

.elementor-widget-cs_contact_info {
	max-width: 100%;
}

/* ============================================================
   SECTION ROOT
   ============================================================ */
.cci-section {
	display: block;
	background: #f8f8f8;
	color: #0f1820;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	padding: 64px 0 96px;
	max-width: 100%;
	overflow-x: hidden;
}

.cci-section,
.cci-section *,
.cci-section *::before,
.cci-section *::after {
	box-sizing: border-box;
}

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

@media (min-width: 768px) {
	.cci-container {
		padding: 0 40px;
	}
}

/* ============================================================
   SHARED EYEBROW
   ============================================================ */
.cci-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #0f7c7b;
}

/* ============================================================
   HERO BLOCK
   ============================================================ */
.cci-hero {
	text-align: center;
	max-width: 780px;
	margin: 0 auto 56px;
}

.cci-hero-heading {
	margin: 16px 0 16px !important;
	padding: 0 !important;
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0f1820;
	word-wrap: break-word !important;
	overflow-wrap: anywhere !important;
}

.cci-hero-subtext {
	color: #5a6b7a;
	font-size: 17px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}

/* ============================================================
   LEFT COLUMN
   ============================================================ */
.cci-left-col {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 100%;
}

/* ============================================================
   DIRECT CONTACT CARD
   ============================================================ */
.cci-contact-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	padding: 32px;
	max-width: 100%;
}

.cci-info-list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cci-info-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.cci-contact-icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	color: #0f7c7b;
	margin-top: 2px;
	display: inline-flex;
}

.cci-contact-icon svg {
	width: 20px;
	height: 20px;
}

.cci-item-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1 1 0%;
}

.cci-item-label {
	font-size: 14px;
	font-weight: 600;
	color: #0f1820;
	display: block;
}

.cci-item-value {
	font-size: 14px;
	color: #5a6b7a;
	display: block;
	word-wrap: break-word !important;
	overflow-wrap: anywhere !important;
	text-decoration: none;
}

a.cci-item-value:hover {
	color: #0f7c7b !important;
	text-decoration: underline !important;
}

/* ============================================================
   QUOTE CARD
   ============================================================ */
.cci-quote-card {
	background: linear-gradient(135deg, #0f1820 0%, #1a2832 100%);
	color: #fff;
	border-radius: 24px;
	padding: 32px;
	position: relative;
	overflow: hidden;
	max-width: 100%;
}

.cci-quote-glow {
	position: absolute;
	top: -80px;
	right: -80px;
	width: 224px;
	height: 224px;
	border-radius: 50%;
	background: rgba(15, 124, 123, 0.4);
	filter: blur(60px);
	pointer-events: none;
}

.cci-quote-inner {
	position: relative;
}

.cci-quote-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #4fb8b3;
}

.cci-quote-text {
	margin: 16px 0 0 !important;
	padding: 0 !important;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.65;
	font-size: 15px;
	word-wrap: break-word !important;
	overflow-wrap: anywhere !important;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.c-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.c-reveal.in {
	opacity: 1;
	transform: none;
}

/* ============================================================
   ELEMENTOR EDITOR — FORCE VISIBILITY
   ============================================================ */
body.elementor-editor-active .c-reveal,
body.elementor-editor-preview .c-reveal,
.cci-section--editor .c-reveal {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.c-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ============================================================
   ELEMENTOR PRO FORM OVERRIDES
   ─────────────────────────────────────────────────────────────
   How to use:
   1. Drop Elementor Pro's Form widget in the right column.
   2. In the widget's Advanced tab → CSS Classes → type:
        cosecure-form
   3. The styles below will make it match this design.

   NOTE: The inquiry-type tab bar (Consultation / Speaking /
   Training / Other Inquiry) is not replicable with Pro's native
   fields. The closest match is a radio field styled as pills.
   Name the field "Inquiry Type" and add 4 options matching the
   prototype. The CSS below styles it as pill chips.
   ============================================================ */

/* Card wrapper */
.cosecure-form .elementor-form-fields-wrapper {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	padding: 32px;
	box-shadow: 0 4px 16px -4px rgba(15, 24, 32, 0.08);
}

@media (min-width: 768px) {
	.cosecure-form .elementor-form-fields-wrapper {
		padding: 40px;
	}
}

/* Field labels */
.cosecure-form .elementor-field-label {
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	color: #5a6b7a !important;
	margin-bottom: 8px !important;
}

/* Text inputs + select */
.cosecure-form .elementor-field-textual,
.cosecure-form .elementor-field-type-select select {
	border: 1px solid #e5e7eb !important;
	background: #f8f8f8 !important;
	border-radius: 12px !important;
	padding: 12px 16px !important;
	font-size: 14px !important;
	color: #0f1820 !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
	width: 100% !important;
	font-family: inherit !important;
	-webkit-appearance: none;
}

.cosecure-form .elementor-field-textual:focus,
.cosecure-form .elementor-field-type-select select:focus {
	outline: none !important;
	border-color: #0f7c7b !important;
	box-shadow: 0 0 0 3px rgba(15, 124, 123, 0.2) !important;
}

/* Textarea */
.cosecure-form textarea.elementor-field-textual {
	resize: vertical !important;
	min-height: 130px !important;
	line-height: 1.5 !important;
}

/* Radio field styled as pill chips (for Inquiry Type) */
.cosecure-form .elementor-field-type-radio .elementor-radio-item {
	display: inline-flex !important;
	margin: 0 8px 8px 0 !important;
}

.cosecure-form .elementor-field-type-radio input[type="radio"] {
	display: none !important;
}

.cosecure-form .elementor-field-type-radio label {
	border: 1px solid #e5e7eb !important;
	background: transparent !important;
	border-radius: 9999px !important;
	padding: 8px 16px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	color: #0f1820 !important;
	font-family: inherit !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.cosecure-form .elementor-field-type-radio label:hover {
	border-color: rgba(15, 124, 123, 0.4) !important;
}

.cosecure-form .elementor-field-type-radio input[type="radio"]:checked + label {
	background: #0f7c7b !important;
	color: #ffffff !important;
	border-color: #0f7c7b !important;
	box-shadow: 0 4px 16px -4px rgba(15, 24, 32, 0.08) !important;
}

/* Submit button */
.cosecure-form .elementor-button {
	background: #0f7c7b !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 9999px !important;
	padding: 16px 28px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-family: inherit !important;
	box-shadow: 0 10px 30px -10px rgba(15, 124, 123, 0.45) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.cosecure-form .elementor-button:hover {
	background: #0a5958 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 14px 36px -10px rgba(15, 124, 123, 0.55) !important;
	color: #ffffff !important;
}

/* Success / error messages */
.cosecure-form .elementor-message.elementor-message-success {
	border: 1px solid rgba(15, 124, 123, 0.3) !important;
	background: rgba(15, 124, 123, 0.05) !important;
	color: #0a5958 !important;
	border-radius: 12px !important;
	padding: 16px !important;
	font-size: 14px !important;
	margin-top: 16px !important;
}

.cosecure-form .elementor-message.elementor-message-danger {
	border: 1px solid rgba(220, 38, 38, 0.3) !important;
	background: rgba(220, 38, 38, 0.05) !important;
	color: #991b1b !important;
	border-radius: 12px !important;
	padding: 16px !important;
	font-size: 14px !important;
	margin-top: 16px !important;
}

/* Field error state */
.cosecure-form .elementor-field-textual.elementor-error {
	border-color: #dc2626 !important;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.cosecure-form .elementor-field-group .elementor-error ~ .elementor-message-danger,
.cosecure-form .help-inline.elementor-message-danger {
	color: #dc2626 !important;
	font-size: 12px !important;
	margin-top: 4px !important;
}
