/* ============================================
   ONE HEALTH MENA CONFERENCE - CUSTOM STYLES
   Converted from Elementor to Bootstrap 5
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
	/* Layout */
	--container-max-width: 1285px;
	--main-gutter: 15px;

	/* Colors */
	--primary-green: #00b949;
	--primary-dark: #006809;
	--accent-orange: #ff9024;
	--dark-text: #3b3b3b;
	--neutral-dark: #212529;
	--body-bg: #ffffff;
	--error-red: #ca2424;
	--success-green: #0e7c18;
	--success-bg: #d4e6d5;
	--error-bg: #e8dada;
	--gray-border: rgba(59, 59, 59, 0.2);
	--gray-border-strong: rgba(59, 59, 59, 0.3);
	--gray-border-alt: rgba(56, 56, 56, 0.3);
	--lang-switcher-hover: #d9d9d9;
	--tab-border: rgba(232, 232, 232, 0.3);

	/* Typography */
	--font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	--font-medium: "Inter", sans-serif;
	--font-bold: "Inter", sans-serif;
	--font-black: "Inter", sans-serif;
	--font-ultra: "Inter", sans-serif;
	--font-cairo: "Cairo", sans-serif;
	--font-inter: "Inter", sans-serif;

	/* Spacing */
	--section-padding: 80px 0;
	--section-padding-mobile: 50px 0;
	--header-padding-y: 10px;
	--header-padding-x: 48px;
	--header-nav-x-spacing: 0.6rem;
	--header-shadow: 0 0 36px 0 rgba(0, 0, 0, 0.1);
}

/* ===== CUSTOM FONTS ===== */

/* ===== BASE STYLES ===== */
body {
	font-family: "Inter", sans-serif;
	color: var(--dark-text);
	background-color: var(--body-bg);
	overflow-x: hidden;
}

strong {
	font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-bold);
}

a {
	text-decoration: none;
	transition: all 0.3s ease;
}

img {
	max-width: 100%;
	height: auto;
}

/* ===== NAVIGATION ===== */
.navbar {
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	padding: 0rem 0;
	transition: all 0.3s ease;
}

.navbar.scrolled {
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.navbar-nav .nav-link {
	font-family: "Inter", sans-serif;
	font-weight: bold;
	font-size: 13.56px !important;
	text-transform: uppercase;
	color: var(--dark-text);
	padding: 0.5rem 1rem;
	transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
	color: var(--primary-green);
}

.btn-primary {
	background-color: var(--primary-green);
	border-color: var(--primary-green);
	color: white;
	font-family: var(--font-inter);
	font-size: 12.39px;
	font-weight: 900;
	text-transform: uppercase;
	padding: 12px 30px;
	border-radius: 50px;
	transition: all 0.3s ease;
}

/* Language Switcher */
.language-switcher {
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 400 !important;
	border: 1px solid rgba(59, 59, 59, 0.3);
	border-radius: 4px;
	padding: 5px 10px;
	margin-left: 15px;
}

.language-switcher .dropdown-menu {
	background-color: #ffffff;
}

.language-switcher .dropdown-item:hover,
.language-switcher .dropdown-item:focus {
	background-color: var(--lang-switcher-hover);
}

.language-switcher img {
	width: 20px;
	height: 20px;
	border-radius: 30px;
	margin-right: 5px;
}

/* ===== LOGOS CAROUSEL ===== */

#logos .carousel-item img {
	max-height: 80px;
	object-fit: contain;
	margin: 0 auto;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: all 0.3s ease;
}

#logos .carousel-item img:hover {
	filter: grayscale(0%);
	opacity: 1;
}

/* ===== THANK YOU BANNER ===== */
#thank-you-banner {
	background-image: url("../../wp-content/uploads/bkg-timer.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	color: white;
	padding: 60px 0;
	text-align: center;
	position: relative;
}

#thank-you-banner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 0;
}

#thank-you-banner > * {
	position: relative;
	z-index: 1;
}

#thank-you-banner h2 {
	font-family: var(--font-bold);
	font-size: 2.5rem;
	margin-bottom: 2rem;
}

#thank-you-banner .btn-light {
	background-color: white;
	color: var(--primary-green);
	font-family: var(--font-medium);
	padding: 12px 40px;
	border-radius: 50px;
	transition: all 0.3s ease;
}

#thank-you-banner .btn-light:hover {
	background-color: #f8f9fa;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== SPEAKERS SECTION ===== */
#speakers {
	padding: var(--section-padding);
	background-color: #f8f9fa;
}

#speakers h2 {
	font-family: var(--font-black);
	font-size: 3rem;
	text-align: center;
	margin-bottom: 1rem;
}

#speakers .section-subtitle {
	text-align: center;
	font-size: 1.2rem;
	color: #666;
	margin-bottom: 4rem;
}

#speakers .speaker-category {
	margin-bottom: 4rem;
}

#speakers .category-divider {
	text-align: center;
	margin: 4rem 0 3rem;
}

#speakers .category-divider hr {
	width: 100px;
	height: 2px;
	background-color: var(--primary-green);
	opacity: 1;
	margin: 1rem auto;
}

#speakers .category-title {
	font-family: var(--font-bold);
	font-size: 1.5rem;
	color: var(--primary-green);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.speaker-card {
	text-align: center;
	margin-bottom: 2rem;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.speaker-card:hover {
	transform: translateY(-5px);
}

.speaker-card img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 15px;
	margin-bottom: 1rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.speaker-card:hover img {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.speaker-card h5 {
	font-family: var(--font-bold);
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
	color: var(--dark-text);
}

.speaker-card .speaker-title {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.4;
}

.speaker-card .speaker-role {
	color: var(--accent-orange);
	font-family: var(--font-medium);
}

@media (max-width: 768px) {
	#speakers {
		padding: var(--section-padding-mobile);
	}

	#speakers h2 {
		font-size: 2.2rem;
	}
}

/* ===== PROGRAM SECTION ===== */
#program {
	padding: var(--section-padding);
	background-image: url("../../wp-content/uploads/bkg-scaled.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

#program h2 {
	font-family: var(--font-black);
	font-size: 3rem;
	text-align: center;
	margin-bottom: 3rem;
}

.program-tabs .nav-tabs {
	border-bottom: 2px solid var(--tab-border);
	justify-content: center;
	margin-bottom: 3rem;
}

.program-tabs .nav-tabs .nav-link {
	font-family: var(--font-bold);
	font-size: 1.3rem;
	color: #666;
	border: none;
	padding: 15px 40px;
	transition: all 0.3s ease;
}

.program-tabs .nav-tabs .nav-link:hover {
	color: var(--primary-green);
	border-color: transparent;
}

.program-tabs .nav-tabs .nav-link.active {
	color: var(--primary-green);
	background-color: transparent;
	border-bottom: 3px solid var(--primary-green);
}

.program-item {
	background: white;
	padding: 25px;
	border-radius: 15px;
	margin-bottom: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.program-item:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.program-item .time {
	font-family: var(--font-bold);
	color: var(--primary-green);
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

.program-item .session-type {
	font-family: var(--font-bold);
	color: var(--primary-dark);
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}

.program-item .session-title {
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

.program-item .speakers {
	font-size: 0.9rem;
	color: var(--accent-orange);
	font-family: var(--font-medium);
}

.program-item ul {
	margin: 10px 0;
	padding-left: 20px;
}

.program-item ul li {
	margin-bottom: 5px;
}

@media (max-width: 768px) {
	#program {
		padding: var(--section-padding-mobile);
	}

	#program h2 {
		font-size: 2.2rem;
	}

	.program-tabs .nav-tabs .nav-link {
		font-size: 1.1rem;
		padding: 12px 25px;
	}
}

#lang-mobile li[data-lang] {
	cursor: pointer;
	padding: 4px 0;
	transition: 0.2s ease;
	border-bottom: 2px solid transparent;
}

/* Hover underline */
#lang-mobile li[data-lang]:hover {
	border-bottom-color: currentColor;
}

/* Active language underline */
#lang-mobile li.--active {
	font-weight: 600;
	border-bottom-color: currentColor;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background-color: var(--primary-green);
	color: white;
	border: 2px solid white;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 1000;
	box-shadow: 0 4px 15px rgba(0, 185, 73, 0.3);
}

.scroll-to-top:hover {
	background-color: var(--primary-dark);
	transform: translateY(-5px);
	box-shadow: 0 6px 20px rgba(0, 185, 73, 0.4);
}

.scroll-to-top.show {
	display: flex;
}

/* ===== SPEAKER MODAL ===== */
.speaker-modal .modal-content {
	border-radius: 20px;
	border: none;
}

.speaker-modal .modal-body {
	padding: 40px;
}

.speaker-modal img {
	border-radius: 15px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.speaker-modal h3 {
	font-family: var(--font-bold);
	font-size: 2rem;
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

.speaker-modal .speaker-role {
	color: var(--accent-orange);
	font-family: var(--font-medium);
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

/* ===== UTILITIES ===== */
.text-green {
	color: var(--primary-green);
}

.text-orange {
	color: var(--accent-orange);
}

.bg-green {
	background-color: var(--primary-green);
}

.section-divider {
	width: 100px;
	height: 3px;
	background-color: var(--primary-green);
	margin: 3rem auto;
	border: none;
}

/* ===== RTL SUPPORT (if needed) ===== */
[dir="rtl"] .navbar-nav {
	margin-right: 0;
	margin-left: auto;
}

[dir="rtl"] .language-switcher {
	margin-left: 0;
	margin-right: 15px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	animation: fadeIn 0.8s ease-out;
}

/* Switcher css */
.custom-select-wrapper {
	width: 130px;
	position: relative;
}

.custom-select {
	border: 1px solid #ccc;
	cursor: pointer;
	box-sizing: border-box; /* important to include padding/border in width */
	overflow: hidden; /* hide overflow text */
	white-space: nowrap; /* keep text in single line */
	text-overflow: ellipsis; /* add "..." if text is too long */
}

.custom-select .selected {
	display: flex;
	align-items: center;
	justify-content: center; /* optional: text starts from left */
	padding: 5px;
	overflow: hidden; /* prevent text from overflowing */
}

.custom-select .selected img {
	width: 20px;
	height: 20px;
	margin-right: 5px;
	flex-shrink: 0; /* image will not shrink */
}

.custom-select .selected span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.custom-select .options {
	display: none;
	list-style: none;
	padding: 0;
	margin: 0;
	border: 1px solid #ccc;
	position: absolute;
	width: 100%;
	background: white;
	z-index: 10;
}

.custom-select .options li {
	display: flex;
	align-items: center;
	padding: 5px;
}

.custom-select .options li img {
	width: 20px;
	height: 20px;
	margin-right: 5px;
}

.custom-select.open .options {
	display: block;
}

#lang-mobile {
	display: flex;
	align-items: center;
	img {
		width: 20px;
		height: 20px;
	}
}

.wrapper-container {
	width: 100%;
	height: auto;
}
.follow-video-wrapper {
	margin: 20px auto;
	max-width: 680px;
}

@media (max-width: 1024px) {
	.follow-video-wrapper {
		max-width: 100%;
		padding: 0 15px;
	}
}
.follow-video-wrapper .video {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	position: relative;
	padding-top: 56.25%;
	height: 0;
}

.follow-video-wrapper .video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hero-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	padding-bottom: 100px;
	padding-top: 80px;
}

.hero {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(-50vw + 50%);
	text-align: center;
}

.hero-content p {
	max-width: 1400px;
	color: white;
	font-size: 16px;
	margin-top: 20px;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	max-width: 1000px;
}

.hero-content h1 {
	max-width: 800px;
	color: white;
	font-size: 45px;
	text-transform: uppercase;
	font-family: "Inter", sans-serif;
	font-weight: bold;
}
.hero-btns {
	margin-top: 30px;
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
	justify-content: center;
}

/* Mobile */
@media (max-width: 1024px) {
	.hero-content h1 {
		font-size: 32px;
	}
	.hero-content p {
		font-size: 14px;
		padding-left: 15px;
		padding-right: 15px;
	}
	.hero-btns {
		margin-top: 0;
		gap: 20px;
	}
	.btn-primary {
		font-size: 14px;
		padding: 8px;
	}
	.hero-content {
		/* padding: 150px 10px; */
		padding-top: 130px;
		padding-left: 10px;
		padding-right: 10px;
		padding-bottom: 150px;
	}
}
.btn-primary {
	background-color: #ffd816 !important;
	border: 1px solid #ffd816 !important;
	font-size: 12px;
	border-radius: 10px;
	padding: 10px;
	color: black;
	font-family: "Inter", sans-serif;
	font-weight: bold;
}

.bloc-cards {
	background: linear-gradient(to right, #d93434, #003c6e);
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(-50vw + 50%);
	padding: 60px 20px;
}

@media (max-width: 768px) {
	.bloc-cards {
		display: flex;
		flex-direction: column;
		height: auto;
		padding: 40px 10px;
	}
}
.bloc-cards-inner {
	max-width: 1200px;
	width: 100%;
	display: flex;
	gap: 10px;
}
@media (max-width: 768px) {
	.bloc-cards-inner {
		flex-direction: column;
	}
}

/* Card wrapper */
.bloc-cards .card {
	background: #ffffff;
	padding: 0; /* image touches the edges */
	overflow: hidden; /* important so image follows rounded corners */
	flex: 1; /* makes both cards the same width */
	max-width: 100%; /* prevents overflow */
}

/* Image at the top */
.card-img {
	width: 100%;
	height: 150px; /* adjust if needed */
	object-fit: cover; /* same style as your screenshot */
	display: block;
}

/* Text section */
.bloc-cards .card p {
	padding: 25px 30px;
	font-size: 18px;
	line-height: 1.6;
	color: #075e66;
	margin: 0;
	font-weight: 500;
}

#Content strong {
	color: #003c6e;
	font-weight: bold;
}

#Co-Leads > .e-con-inner,
#Content-color > .e-con-inner {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
#Content-color {
	background: linear-gradient(to right, #d93434, #003c6e);
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(-50vw + 50%);
	padding: 60px 20px;

	p,
	div.elementor-widget-container {
		color: white;
		font-size: 14px;
		font-family: "Inter", sans-serif;
		font-weight: 400;
	}
}
div.content-text-cervical {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
#Content-color ul > li {
	list-style-type: disc;
	margin-left: 20px;
	margin-bottom: 10px;
}
#Content-color h2 {
	color: #ca2424;
	font-size: 26px;
	margin-top: 20px;
	font-family: "Inter", sans-serif;
	font-weight: bold;
}

@media (max-width: 1024px) {
	#Content-color h2 {
		font-size: 22px;
	}
	#Content-color p,
	li,
	div.elementor-widget-container {
		font-size: 16px;
	}
	#Content-color ul > li {
		margin-left: 0;
	}
	.form-container {
		width: 100% !important;
	}
}

/* FORM */
.form-container {
	width: 60%;
	margin: 0 auto;
	h2 {
		color: #003c6e;
		text-align: center;
		font-family: "Inter", sans-serif;
		font-weight: bold;
		font-size: 4em;
		margin-bottom: 15px;
		text-transform: uppercase;
	}
	p {
		text-align: center;
		font-size: 1em;
		color: #3b3b3bb3; /* Dark text */
		margin-bottom: 40px;
		font-family: "Inter", sans-serif;
		font-weight: 400;
	}
}
@media (max-width: 768px) {
	.form-container > h2 {
		font-size: 2.5em !important;
	}
}

form {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

label {
	color: #2e4a42; /* Dark text */
	font-size: 1.1em;
	display: block;
	font-weight: bold;
}

input[type="text"],
input[type="email"],
select,
textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 0; /* Removing default border-radius */
	box-sizing: border-box;
	background-color: #ffffff;
	color: #2e4a42; /* Dark text */
	font-size: 1em;
	appearance: none; /* For select/dropdown consistency */
}

textarea {
	resize: vertical;
	min-height: 80px;
}

/* Styling for the Name Group (First Name & Last Name) */
.name-group {
	display: flex;
	gap: 20px;
	margin-bottom: -1em; /* Adjust spacing since inputs are inside this group */
}

.input-pair {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
}

.sub-label {
	font-size: 0.8em;
	color: #2e4a42; /* Dark text */
	margin-top: 5px;
	font-weight: normal;
}

/* Specifically style the quote sub-label */
#quote + .sub-label {
	order: -1; /* Place the sub-label before the textarea */
	margin-bottom: 5px;
	margin-top: -10px;
}

/* --- Button Styling --- */
button.sign-on-btn {
	background-color: #003c6e;
	color: #ffffff;
	border: none;
	padding: 15px 30px;
	font-size: 1.2em;
	cursor: pointer;
	border-radius: 300px;
	width: 150px;
	align-self: center;
}
button.sign-on-btn:hover {
	background-color: #ffd816;
}

.input-error {
	border: 2px solid red;
}
.error-text {
	margin-top: 2px;
}

#submitBtn.disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
