@charset "ISO-8859-1";

/* BODY */
body {
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', sans-serif;
	min-height: 100vh;
	overflow-x: hidden;
}

/* HERO SECTION (Main Layout) */
.hero-section {
	min-height: 100vh;
	display: block;
	align-items: center;
}

.hero-title {
	font-size: 42px;
	font-weight: 700;
	color: #fff;
}

.hero-subtitle {
	font-size: 18px;
	color: #ddd;
}

.hero-section h3 {
	font-weight: bold;
	color: #fff;
}

.hero-section p {
	color: #ddd;
}

.left-content {
	color: #ffffff;
	max-width: 500px;
}

.left-content h1 {
	font-size: 42px;
	font-weight: 700;
}

.left-content p {
	font-size: 18px;
	margin-top: 15px;
}

/* RIGHT SIDE FORM CONTAINER */
.form-container {
	max-width: 500px;
	margin-left: auto;
}

.registration-modal {
	background: transparent;
	padding: 0;
	border-radius: 0;
}

.form-glass {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(12px);
	border-radius: 15px;
	padding: 25px;
	margin-left: auto;
	transition: 0.3s;
}

/* Desktop only right push */

@media (min-width: 992px) {
    .form-glass {
        transform: translateX(-20px);
    }

    .form-glass:hover {
        transform: translateX(80px) translateY(-5px);
    }
}

input, select, textarea {
	font-size: 14px;
}

input::placeholder, textarea::placeholder {
	font-size: 12px;
	color: #555;
}

input[type="date"] {
	font-size: 12px;
	color: #4169E1;
}

.form-glass input, .form-glass select, .form-glass button {
	min-height: 44px;
}

/* SECTION TITLE */
.section-title {
	font-weight: 600;
	border-bottom: 2px solid #FFC40C;
	margin-bottom: 20px;
	padding-bottom: 6px;
}

/* BUTTONS */
.gender-btn button, button.btn-secondary {
	border-radius: 20px;
	padding: 6px 20px;
	background-color: #9A9AEB;
	color: #FFC40C;
	border: none;
}

button.btn-secondary:hover {
	background-color: #8A8ADB;
}

input, select, textarea {
	font-size: 14px;
}

input::placeholder, textarea::placeholder {
	font-size: 12px;
	color: #555;
}

input[type="date"] {
	font-size: 12px;
	color: #4169E1;
}

/* Background Image Slider */
.bg-overlay {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: -1;
	pointer-events: none;
}

.bg-slider {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position: center;
	z-index: -2;
	transition: background-image 1s ease-in-out;
}

/* Dark Overlay */
.bg-overlay {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.25);
	z-index: -1;
	pointer-events: none; /* ⭐ THIS FIXES EVERYTHING */
}

/* Terms & Conditions modal: fit in viewport, readable, buttons always visible and clickable */
#termsModal.modal {
	padding: 0.5rem;
}

#termsModal.modal.show {
	z-index: 1060 !important;
	pointer-events: auto;
}

/* Dialog: strict max-height so it never goes off-screen; ensure it receives clicks */
#termsModal .terms-modal-dialog {
	margin: auto;
	max-height: min(calc(100vh - 1rem), 90vh);
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: auto !important;
}

#termsModal .modal-content {
	width: 100%;
	max-height: min(calc(100vh - 1rem), 90vh);
	display: flex;
	flex-direction: column;
	background: #fff;
	color: #212529;
	border-radius: 0.5rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
	pointer-events: auto !important;
	position: relative;
	z-index: 1;
}

#termsModal .modal-header {
	flex-shrink: 0;
	background: #fff;
	border-bottom: 1px solid #dee2e6;
	padding: 1rem 1.25rem;
}

#termsModal .modal-title {
	color: #212529;
	font-weight: 600;
}

#termsModal .modal-body {
	overflow-y: auto;
	flex: 1 1 auto;
	min-height: 0;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 1.25rem;
	background: #fff;
	color: #212529;
}

#termsModal .modal-body h6, #termsModal .modal-body p, #termsModal .modal-body li
	{
	color: #212529;
}

#termsModal .modal-footer {
	flex-shrink: 0;
	background: #fff;
	border-top: 1px solid #dee2e6;
	padding: 0.75rem 1.25rem;
	pointer-events: auto !important;
}

#termsModal .modal-footer button, #termsModal .modal-header .btn-close {
	pointer-events: auto !important;
	cursor: pointer;
}

#termsModal .modal-content {
	border-radius: 8px;
}

/* Darker backdrop when modal is open so page behind is clearly dimmed */
body.modal-open .modal-backdrop {
	background-color: rgba(0, 0, 0, 0.5);
}

.floating-search-btn {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background-color: #dc3545;
	color: white;
	border: none;
	padding: 15px 22px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: bold;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	transition: 0.3s;
}

.floating-search-btn:hover {
	background-color: #bb2d3b;
	transform: scale(1.05);
}

.search-modal-right {
	position: fixed;
	right: 0;
	top: 70px;
	margin: 0;
	width: 40%;
	max-width: 70%;
}

.search-modal-right .modal-content {
	border-radius: 10px;
}

.image-box {
	width: 100%;
	height: 250px; /* fixed height */
	overflow: hidden;
	border-radius: 10px;
}

.profile-img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* fills box */
	object-position: center; /* 👈 IMPORTANT (fix for your issue) */
}

.profile-square {
	width: 220px; /* adjust size */
	height: 220px;
	margin: auto;
	overflow: hidden;
	border-radius: 12px; /* small curve like modern UI */
	border: 3px solid #343a40;
	background: #f8f9fa;
	object-position: top right;
}

.profile-img-reveal {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.profile-box {
	width: 260px; /* square size */
	height: 260px;
	margin: auto;
	border-radius: 16px; /* rounded square like screenshot */
	overflow: hidden;
	border: 4px solid #343a40;
	background: #eee;
	display: flex;
	align-items: center;
	justify-content: center;
}

.container h3 {
	font-weight: bold;
}

.container p {
	color: #ddd;
}

.form-container {
	max-width: 500px;
	margin-left: auto;
}

.btn-primary, .btn-danger {
	border-radius: 25px;
	padding: 8px 20px;
}

.whatsapp-btn {
	position: absolute;
	top: 80px;
	right: 20px;
	z-index: 10;
}

.whatsapp-container {
	position: absolute;
	top: 0;
	left: 20px;
	z-index: 10;
}

@media ( max-width : 768px) {
	.hero-section {
		min-height: auto;
		padding: 20px !important;
		text-align: center;
		display: block;
	}
	.form-container {
		width: 100%;
		padding: 0 15px;
		margin: 0 auto !important;
	}
	.hero-title {
		font-size: 26px;
	}
	.hero-subtitle {
		font-size: 14px;
	}
	.form-glass {
		transform: none !important;
		margin-top: 20px !important;
		margin-bottom: 40px !important;
		padding: 20px !important;
		width: 100%;
	}
	
	.col-lg-5, .col-lg-4 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.whatsapp-btn, .whatsapp-container {
		position: fixed !important;
		bottom: 20px !important;
		right: 20px !important;
		top: auto !important;
		left: auto !important;
		z-index: 1000 !important;
	}
	.container-fluid {
		padding-left: 10px;
		padding-right: 10px;
	}
	
.left-content {
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }
.search-modal-right {
        top: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 100dvh;   /* full screen */
    }

.search-modal-right .modal-content {
        height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

.search-modal-right .modal-body {
        overflow-y: auto;          /* 🔥 enables scroll */
        flex: 1;
        min-height: 0;
        -webkit-overflow-scrolling: touch;
    }
	
}

.hero-top-container {
	position: relative;
	margin: 0;
	padding: 0;
}

/* Push hero slightly below button */