/* --- GENERAL --- */
body {
	font-family: "Manrope", sans-serif;
	background-color: #fff;
	color: #333;
}

h1,
h2,
h3,
h4,
h5 {
	font-family: "Manrope", sans-serif;
	font-weight: 700;
}

/* --- NAVBAR STYLING --- */
.navbar {
	padding: 15px 0;
	position:absolute;
	top:0px;
	width:100%;
}

.navbar>.container {align-items: flex-start;}
.btn-rbyacademy-header {
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 24px;
    transition: all 0.5s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand img {
	height: 110px;
	width: auto;
}

.nav-link {
	font-family: "Manrope", sans-serif;
	font-size: 16px;
    font-weight: normal;
	color: #fff !important;
	margin-left: 15px;
}

.nav-link:hover {
	color: #fff !important;
	text-decoration: none;
}

/* Dropdown menu */
.dropdown-menu {
	border: none;
	border-radius: 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	font-size: 0.85rem;
}

.dropdown-item {
	padding: 8px 20px;
	font-family: "Manrope", sans-serif;
}

.dropdown-item:hover {
	background-color: #f8f9fa;
}

.navbar-toggler {
	background-color:#fff;}



@media (max-width:991px){
.navbar-collapse {background-color: rgba(0,0,0,0.8);}
}

/* --- HERO --- */
.hero-section {
	position: relative;
	height:600px;
	background-image: url('/assets/images/ryb-academy-header.webp');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	background-attachment: fixed;
}

.hero-section-tnx {
	position: relative;
	height:250px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-box img {
	max-height: 140px;
}

.logo-text {
	font-family: "Manrope", sans-serif;
	font-weight: 700;
	font-size: 2.5rem;
	line-height: 1;
	color: #000;
}

/* --- FORM --- */
.page-heading {
	text-align: center;
	margin-top: 60px;
	margin-bottom: 50px;
}

.page-heading h2 {
	margin-bottom: 10px;
	font-size: clamp(26px, 3vw, 40px) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.page-heading p {
	font-size: 18px;
    line-height: 1.4;
}

/* --- LABEL --- */
.form-label {
	font-size: 14px;
	color: #000;
	margin-bottom: 4px;
}

/* --- INPUT --- */
.form-control,
.form-select {
	border: 1px solid #ccc;
	border-radius: 20px;
	padding: 10px 12px;
	font-size: 0.9rem;
	background-color: #fff;
	color: #000;
}

.form-control:focus,
.form-select:focus {
	box-shadow: none;
	border-color: #000;
}

/* --- ERRORS --- */
.form-control.is-invalid {
	border-color: #dc3545;
	background-image: none;
}

.invalid-feedback {
	font-size: 0.75rem;
	margin-top: 2px;
}

/* --- TITOLI --- */
.section-title {
	font-size: 18px;
    line-height: 1.4;
	text-transform: uppercase;
	font-weight: 700;
	margin-top: 40px;
	margin-bottom: 20px;
	color: #000;
}

/* --- CHECKBOX E RADIO --- */
.form-check-input {
	border-radius: 0;
	border-color: #999;
	cursor: pointer;
}

.form-check-input:checked {
	background-color: #000;
	border-color: #000;
}

/* --- CTA --- */
.btn-black {
	background-color: #000;
	color: #fff;
	border: 1px solid #000;
	border-radius: 20px;
	padding: 12px 50px;
	font-weight: 600;
	font-family: "Manrope", sans-serif;
	text-transform: uppercase;
	font-size: 0.9rem;
	transition: all 0.3s;
	text-decoration: none;
}

.btn-black:hover {
	background-color: #333;
	border-color: #333;
	color: #fff;
}

/* --- FOOTER --- */
footer {
	background-color: #000;
	color: #fff;
	padding: 70px 0 30px 0;
	margin-top: 100px;
	font-size: 0.8rem;
}

footer h5 {
	color: #fff;
	font-size: 0.9rem;
	margin-bottom: 20px;
}

footer ul {
	list-style: none;
	padding: 0;
}

footer li {
	margin-bottom: 10px;
}

footer a {
	color: #ccc;
	text-decoration: none;
}

footer a:hover {
	color: #fff;
}

.social-links a {
	margin-right: 15px;
	font-size: 1.1rem;
}

.pre-footer {
	text-align: center;
	margin-top: 80px;
}

.pre-footer h4 {
	font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.05;
    color: #000;
    margin: 0;
}

.pre-footer h4 span {
	font-size: clamp(18px, 2vw, 20px);
}

/* --- THANKYOU SPECIFIC STYLES --- */
.thankyou-content {
	text-align: center;
	margin-bottom: 80px;
}

.thankyou-content .icon-check {
	font-size: 4rem;
	color: #28a745;
	margin-bottom: 25px;
}

.thankyou-content h2 {
	font-size: 2rem;
	text-transform: uppercase;
	margin-bottom: 15px;
}

.thankyou-content p {
	color: #555;
	font-size: 1rem;
	margin: 0 auto 10px auto;
	line-height: 1.7;
}

.thankyou-content .valore-box {
	background-color: #f8f9fa;
	border: 1px solid #dee2e6;
	padding: 12px 30px;
	margin-top: 25px;
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	font-size: 1.1rem;
	font-weight: 600;
	color: #000;
}