/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

:root {
	--primary: #23b3a5;
	--primary-dark: #1a5a8a;
	--secondary: #ff6b6b;
	--light: #f8f9fa;
	--dark: #343a40;
	--gray: #6c757d;
	--success: #28a745;
	--border-radius: 8px;
	--box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background-color: #f5f7fa;
	color: var(--dark);
	line-height: 1.6;
}

.container {
	max-width: 1200px;
	margin: 50px auto 50px;
	padding: 0 20px;
}

.donation-container {
	display: flex;
	background: white;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	overflow: hidden;
}

.donation-form {
	flex: 2;
	padding: 32px;
}

.donation-summary {
	flex: 1;
	background-color: var(--light);
	padding: 42px 30px 30px;
	border-left: 1px solid #e9ecef;
}

.form-header {
	text-align: left;
	margin-bottom: 40px;
}

.form-header h1 {
	color: #23b3a5;
	margin: 0 0 14px;
	font-weight: 600;
	position: relative;
	padding-bottom: 20px;
}

.form-header p {
	color: var(--gray);
}

.progress-bar {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
	position: relative;
}

.progress-bar::before {
	content: '';
	position: absolute;
	top: 15px;
	left: 0;
	height: 4px;
	width: 100%;
	background-color: #e9ecef;
	z-index: 1;
}

.progress-bar .progress {
	position: absolute;
	top: 15px;
	left: 0;
	height: 4px;
	width: 10.33%;
	background-color: #28a745;
	z-index: 2;
	transition: var(--transition);
}

.progress-step {
	width: 30px;
	height: 30px;
	background-color: #e9ecef;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: #111;
	position: relative;
	z-index: 3;
	transition: var(--transition);
}

.progress-step.active {
	background-color: #28a745;
	color: #fff;
}

.progress-step.completed {
	background-color: #28a745;
	color: #fff;
}

.step {
	display: none;
}

.step.active {
	display: block;
	animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.form-group {
	margin-bottom: 20px;
	position: relative;
}

.form-group label {
	display: block;
	margin: 0 4px 7px;
	font-weight: 500;
	color: var(--dark);
	font-size: 14px;
}

.form-control {
	width: 100% !important;
	padding: 8px 15px !important;
	border: 1px solid #ced4da !important;
	border-radius: var(--border-radius) !important;
	font-size: 16px;
	transition: var(--transition) !important;
	border-left: 3px solid #23b3a5 !important;
}

.form-control:focus {
	border-color: var(--primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(44, 127, 184, 0.2);
}

.amount-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-bottom: 20px;
}

.amount-option {
	padding: 15px;
	border: 2px solid #e9ecef;
	border-radius: var(--border-radius);
	text-align: center;
	cursor: pointer;
	transition: var(--transition);
	font-weight: 500;
}

.amount-option:hover {
	border-color: var(--primary);
}

.amount-option.selected {
	border-color: var(--primary);
	background-color: rgba(44, 127, 184, 0.1);
}

.payment-methods {
	display: flex;
	margin-bottom: 35px;
	border-radius: var(--border-radius);
	overflow: hidden;
	gap: 16px;
	padding: 10px 3px;
}

.payment-method {
	flex: 1;
	padding: 15px;
	text-align: center !important;
	cursor: pointer;
	transition: var(--transition);
	background-color: white;
	border: 1px solid #e9ecef;
	border-radius: 12px;
}

.payment-method:hover {
	background-color: var(--light);
}

.payment-method.active {
	background-color: #23b3a5;
	color: white;
	outline: 2px solid #111;
	outline-offset: 1px;
}

.payment-method i {
	font-size: 26px;
	display: block;
	margin: 0 auto 10px;
}

.card-form {
	display: none;
}

.card-form.active {
	display: block;
	animation: fadeIn 0.5s ease;
}

.form-row {
	display: flex;
	gap: 15px;
}

.form-row .form-group {
	flex: 1;
}

.btn {
	padding: 10px 32px;
	border: none;
	border-radius: var(--border-radius);
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-primary {
	background-color: var(--primary);
	color: white;
}

.btn-primary:hover {
	background-color: #111 !important;
}

.btn-outline {
	background-color: transparent;
	border: 1px solid var(--primary);
	color: var(--primary);
}

.btn-outline:hover {
	background-color: #111 !important;
	border-color: #111 !important;
}

.btn-block {
	width: 100%;
}

.btn-group {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

.summary-header {
	font-size: 25px;
	font-weight: 600;
	margin-bottom: 38px;
	color: var(--primary);
	text-align: center;
}

.summary-item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
	border-bottom: none;
	font-weight: 600;
	font-size: 18px;
	margin-top: 10px;
}

.summary-label {
	color: var(--gray);
}

.summary-value {
	font-weight: 500;
}

.secure-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 30px;
	color: var(--gray);
	font-size: 14px;
}

.secure-badge i {
	color: #FF9800;
	margin-right: 8px;
}

.notification {
	position: fixed;
	top: 60px;
	right: 20px;
	padding: 15px 20px;
	background-color: white;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	display: none;
	align-items: center;
	z-index: 1000;
}

.notification.success {
	border-left: 4px solid var(--success);
}

.notification.error {
	border-left: 4px solid var(--secondary);
}

.notification i {
	margin-right: 10px;
	font-size: 18px;
}

.notification.success i {
	color: var(--success);
}

.notification.error i {
	color: var(--secondary);
}

.form-header h1::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    left: 0;
    bottom: 0;
    background: #111;
    border-radius: 100px;
}

.btn i {
    font-size: 14px;
}

.payment-method span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}


div#step-3 h2 {
    font-size: 1.5em;
}

.step h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
	.donation-container {
		flex-direction: column;
	}

	.donation-summary {
		border-left: none;
		border-top: 1px solid #e9ecef;
	}

	.amount-options {
		grid-template-columns: repeat(2, 1fr);
	}

	.form-row {
		flex-direction: column;
	}
	.form-header h1 {
    font-size: 1.8em;
}

.donation-form {
    padding: 20px;
}

.step h2 {
    font-size: 1.2em;
}

.form-row {
    gap: 0;
}

.form-control {
    padding: 8px 12px !important;
    font-size: 13px !important;
}

.btn {
    padding: 10px 18px !important;
    font-size: 14px !important;
}

.form-header p {
    font-size: 13px;
}

.form-header {
    margin-bottom: 25px;
}

.summary-value {
    font-size: 13px;
}

.summary-label {
    font-size: 14px;
}

.donation-summary {
    padding: 20px;
}

.summary-header {
    font-size: 1.5em;
}

.amount-option {
    padding: 10px;
    font-size: 15px;
}

.form-group label {
    font-size: 14px;
}
}

.thank-you-content {
    text-align: center;
    padding: 0;
    width: 75%;
    margin: 0 auto;
}

.thank-you-content p {
    margin-bottom: 12px;
}

.thank-you-content  h2 {
    color: green;
}

.thank-you-content ~ .btn-group {
    margin: 25px auto;
    justify-content: center;
}

div.paypal-form.active {
    display: block !important;
}
.payment-icon {
    background: #ffffff;
    border-radius: 8px;
    margin: 14px 0 0;
    padding: 10px 0 0;
}

.payment-icon img {
    height: 100px;
    object-fit: cover;
    width: 100%;
}

.paypal-buttons-context-iframe[style="height: 1079px; transition: 0.2s ease-in-out;"] {
    height: 920px !important;
}

.card-types {
    position: absolute;
    bottom: 6px;
    right: 10px;
}

.card-types i {
    font-size: 25px !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s; /* prevents flashing */
}
