/*======================================
Theme Name: Sito Avvocato
Theme URI: https://sitoavvocato.it
Version: 1.1.1
Author: Syrus Industry
Author URI: https://syrusindustry.com/
Template: syrus
======================================*/
/* FONT import */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap");

/* FONT */

.ibm-plex-sans {
	font-family: "IBM Plex Sans", sans-serif !important;
	font-optical-sizing: auto !important;
	font-weight: 400 !important;
	font-style: normal !important;
	font-variation-settings: "wdth" 100 !important;
	font-display: swap;
}
.ibm-plex-sans-medium {
	font-family: "IBM Plex Sans", sans-serif !important;
	font-optical-sizing: auto !important;
	font-weight: 500 !important;
	font-style: normal !important;
	font-variation-settings: "wdth" 100 !important;
	font-display: swap;
}
.ibm-plex-sans-bold {
	font-family: "IBM Plex Sans", sans-serif !important;
	font-optical-sizing: auto !important;
	font-weight: 800 !important;
	font-style: normal !important;
	font-variation-settings: "wdth" 100 !important;
	font-display: swap;
}

:root {
	--avv-better-white: #f2f2f8;
	--avv-primary-color: #c8a24d;
	--avv-secondary-color: #0c1b2a;
	--avv-thirdary-color: #f7f8fc;
	--avv-green-color: #63e6be;
}

body {
	font-family: "IBM Plex Sans", sans-serif !important;
	font-optical-sizing: auto !important;
	font-weight: 400 !important;
	font-style: normal !important;
}

.avv-primary-color {
	color: var(--avv-primary-color) !important;
}

.section-landing {
	height: 70vh !important;
	background-size: cover;
	background-position: center;
}

@media (max-width: 767.98px) {
	.section-landing {
		height: 90vh !important;
		background-size: cover;
		background-position: center;
	}
}

.text-better-white {
	color: var(--avv-better-white) !important;
}

.section-landing .overlay {
	background: #384d70;
	background: linear-gradient(90deg, #384d70 0%, #384d70 25%, #384d7000 100%);
}

.avv-primary-btn {
	background-color: var(--avv-primary-color) !important;
	color: var(--avv-better-white) !important;
	transition: all 0.3s ease !important;
}

.avv-primary-btn:hover {
	background-color: var(--avv-secondary-color) !important;
	transform: translateY(-2px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.avv-secondary-btn {
	background-color: var(--avv-secondary-color) !important;
	color: var(--avv-better-white) !important;
	transition: all 0.3s ease !important;
}

.avv-secondary-btn:hover {
	background-color: var(--avv-primary-color) !important;
	transform: translateY(-2px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.avv-hr {
	border-width: 0.3rem;
	border-color: var(--avv-primary-color);
	opacity: 0.8;
}
.card-example a div img {
	aspect-ratio: 5/4;
	object-fit: cover;
	object-position: top;
}

.card-hover {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
	transform: translateY(-8px);
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.img-zoom {
	transition: transform 0.4s ease;
}

.card-hover:hover .img-zoom {
	transform: scale(1.05);
}

.section-review .container {
	background-color: var(--avv-thirdary-color);
	border-radius: 2rem !important;
}

.card-flow div span {
	background-color: var(--avv-secondary-color);
	width: 2.5rem;
	height: 2.5rem;
}

.timeline-line {
	position: absolute;
	top: 1.75rem;
	left: 8%;
	right: 8%;
	height: 3px;
	background: linear-gradient(90deg, var(--avv-primary-color) 0%, var(--avv-primary-color) 100%);
	z-index: 1;
}

.timeline-line-vertical {
	position: absolute;
	top: 1.75rem;
	left: 6.5%;
	top: 5%;
	width: 3px;
	height: 85%;
	background: linear-gradient(180deg, var(--avv-primary-color) 0%, var(--avv-primary-color) 100%);
	z-index: 1;
}

.card-price {
	background: linear-gradient(135deg, var(--avv-secondary-color) 0%, #2a3d56 100%);
	border: 3px solid var(--avv-primary-color) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 1.5rem !important;
}

.card-price:hover {
	transform: translateY(-10px);
	box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.3) !important;
}

.btn-price {
	color: var(--avv-secondary-color) !important;
	background-color: var(--avv-primary-color) !important;
	border: 2px solid var(--avv-primary-color) !important;
	transition: all 0.3s ease;
}

.btn-price:hover {
	color: var(--avv-primary-color);
	background-color: transparent;
	border-color: var(--avv-primary-color);
	transform: scale(1.02);
}

.btn-price:active {
	transform: scale(0.98);
}
.btn-recall {
	color: var(--avv-primary-color) !important;
	background-color: var(--avv-secondary-color) !important;
	border: 2px solid var(--avv-primary-color) !important;
	transition: all 0.3s ease;
}

.btn-recall:hover {
	color: var(--avv-secondary-color);
	background-color: transparent;
	border-color: var(--avv-secondary-color);
	transform: scale(1.02);
}

.btn-recall:active {
	transform: scale(0.98);
}

.widget-recall {
	background-color: var(--avv-thirdary-color) !important;
	border-radius: 0.5rem;
}
/* Form Container */

.card-why {
	background: linear-gradient(135deg, var(--avv-secondary-color) 0%, #2a3d56 100%);
}

.title-characteristic {
	font-size: 1.25em;
	font-weight: 600;
}

.avv-contact-form-container .form-control:focus {
	border-color: var(--avv-primary-color);
	box-shadow: 0 0 0 0.25rem rgba(200, 162, 77, 0.15);
}

.avv-contact-form-container .form-check-input:checked {
	background-color: var(--avv-primary-color);
	border-color: var(--avv-primary-color);
}

.avv-contact-form-container .btn-dark:hover {
	background-color: var(--avv-secondary-color);
	border-color: var(--avv-secondary-color);
	transform: translateY(-2px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.avv-footer {
	background-color: var(--avv-secondary-color);
}

.footer-link:hover {
	color: var(--avv-primary-color) !important  ;
}

.footer-love {
	background-color: var(--avv-secondary-color) !important;
}

.footer-love div p,
.footer-love div p a {
	color: var(--avv-better-white) !important;
	text-decoration: none;
}

.section-faq {
	background-color: var(--avv-thirdary-color) !important;
}

.accordion {
	/* --bs-accordion-btn-color: ghostwhite; */
	--bs-accordion-btn-bg: var(--avv-thirdary-color) !important;
	--bs-accordion-active-color: var(--avv-better-white) !important;
	--bs-accordion-active-bg: var(--avv-primary-color) !important;
}

.accordion-heading .accordion-toggle.collapsed {
	background-color: transparent !important;
}

.faq-accordion-body {
	background-color: var(--avv-thirdary-color) !important;
}

.btn-modal-submit {
	color: var(--avv-primary-color) !important;
	background-color: var(--avv-secondary-color) !important;
	border: 2px solid var(--avv-primary-color) !important;
	transition: all 0.3s ease;
}

.btn-modal-submit:hover {
	color: var(--avv-secondary-color);
	background-color: transparent;
	border-color: var(--avv-secondary-color);
	transform: scale(1.02);
}

.btn-modal-submit:active {
	transform: scale(0.98);
}

.avv-modal-width {
	max-width: 600px !important;
}

@media (min-width: 768px) {
	.avv-modal-width {
		max-width: 700px !important;
	}
}

@media (min-width: 1200px) {
	.avv-modal-width {
		max-width: 700px !important;
	}
}

.avv-modal-input {
	height: 3rem !important;
	padding: 16px 12px 16px 12px !important;
}

.badge-email-warn {
	/* padding: 0.5rem !important; */
	border: solid;
	border-color: var(--avv-primary-color);
	background-color: #f7f8fc;
	border-radius: 0.5rem !important;
}

.badge-bank-warn {
	color: #1e40af;
	background-color: #eff6ff;
	border-radius: 0.5rem;
	border: solid 1px;
	border-color: #bfdbfe;
}

/* Modal / purchase form improvements */
.modal .modal-content {
	border-radius: 1rem;
	overflow: hidden;
}

.modal .modal-header {
	background: transparent;
	border-bottom: 0;
	padding: 1.25rem 1.5rem 0.5rem 1.5rem;
}

.modal .modal-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--avv-secondary-color);
}

.modal-body {
	padding: 0 1.25rem 1.25rem 1.25rem;
}

.modal-section-title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0.75rem 0 0.5rem 0;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid rgba(12, 27, 42, 0.06);
	color: var(--avv-secondary-color);
}

.avv-contact-form-container .col-12,
.avv-contact-form-container .col-6 {
	margin-bottom: 0.75rem;
}

.avv-contact-form-container .form-control {
	border-radius: 0.6rem;
	padding: 0.6rem 0.9rem;
}

.avv-contact-form-container .form-text {
	font-size: 0.85rem;
	color: #6b7280;
}

.badge-email-warn p .fw-bold {
	color: var(--avv-primary-color);
}

.btn-modal-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.6rem 1.1rem;
	border-radius: 0.6rem;
}

/* Reduce excessive row gutters inside the modal form on small screens */
@media (max-width: 575.98px) {
	.avv-contact-form-container .container-lg {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
}

.modalIcon {
	font-size: 7rem !important;
}

.shake-error {
	animation: shake 0.5s;
	padding: 5px;
}

@keyframes shake {
	0%,
	100% {
		transform: translateX(0);
	}
	10%,
	30%,
	50%,
	70%,
	90% {
		transform: translateX(-10px);
	}
	20%,
	40%,
	60%,
	80% {
		transform: translateX(10px);
	}
}

.avv-btn-thirdiary {
	color: black !important;
	background-color: var(--avv-thirdary-color) !important;
	transition: all 0.3s ease;
}

.avv-btn-thirdiary:hover {
	color: var(--avv-better-white);
	background-color: var(--avv-secondary-color);
	transform: scale(1.02);
}

.avv-btn-thirdiary:active {
	transform: scale(0.98);
}
