:root {
	/* --- Backgrounds --- */
	--bg-linen: #fbeede;              /* Light cream background (Bangalore Cafe --cream) */
	--bg-card: #ffffff;               /* Pure white for cards and surfaces */
	
	/* --- Primary Brand Colors (Deep Maroon/Burgundy) --- */
	--primary-burgundy: #6e0f24;      /* Brand deep maroon (Bangalore Cafe --maroon) */
	--primary-hover: #560a1b;         /* Darker maroon for hover states (--maroon-dark) */
	--primary-dark: #3f0714;          /* Deepest maroon (Ideal for Header/Footer backgrounds --maroon-deep) */
	
	/* --- Accent Brand Colors (Warm Orange/Gold) --- */
	--accent-orange: #f5a623;         /* Brand warm orange/gold (Bangalore Cafe --orange) */
	--accent-orange-light: #e8951a;   /* Darker warm orange for highlights and gradients (--orange-d) */
	
	/* --- Typography Colors --- */
	--text-dark: #2a1410;             /* Deep dark brown/ink for primary text and headings (--ink) */
	--text-muted: #6f5d54;            /* Muted brown for secondary/descriptive text (--muted) */
	
	/* --- Borders & Dividers --- */
	--border-light: #f6e3cf;          /* Light cream border (Bangalore Cafe --cream-2) */
	
	/* --- Status & Feedback Colors --- */
	--error: #e74c3c;                 /* Standard error red */
	--error-bg: #fdecec;              /* Light error background */
	--success: #3c7d2e;               /* Pure Vegetarian Green (Bangalore Cafe --green) */
	--success-bg: rgba(60, 125, 46, 0.1); /* Light green success background */
	--success-light: #3c7d2e;         /* Light green accent */
	--warning: #e8951a;               /* Warm orange warning */
	
	/* --- Opacity & Utilities --- */
	--white-85: rgba(255, 255, 255, 0.85);
	--white-80: rgba(255, 255, 255, 0.80);
	--white-60: rgba(255, 255, 255, 0.60);
	--white-10: rgba(255, 255, 255, 0.10);
	
	/* --- Shadows (Maroon & Orange themed) --- */
	--shadow-success: 0 10px 25px rgba(245, 166, 35, 0.25);   /* Orange glow shadow */
	--shadow-card: 0 10px 30px rgba(63, 7, 20, 0.08);         /* Subtle maroon tint shadow */
	--shadow-burgundy: 0 4px 12px rgba(63, 7, 20, 0.2);       /* Maroon shadow */
	--shadow-burgundy-hover: 0 8px 20px rgba(63, 7, 20, 0.3); /* Maroon hover shadow */
	
	/* --- Bangalore Cafe Specific Utilities --- */
	--ff-head: 'Archivo Black', sans-serif;
	--ff-body: 'Rubik', sans-serif;
	--shadow: 0 16px 40px rgba(63, 7, 20, 0.14);
	--shadow-lg: 0 26px 60px rgba(63, 7, 20, 0.22);
	--r: 22px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', sans-serif;
	background-color: var(--bg-linen);
	color: var(--text-dark);
	line-height: 1.6;
	min-height: 100vh;
}

h1,
h2,
h3,
h4 {
	font-family: 'Inter', sans-serif;
}

/* Animation keyframes */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(93, 31, 31, 0.4);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(93, 31, 31, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(93, 31, 31, 0);
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes bounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}

	40% {
		transform: translateY(-20px);
	}

	60% {
		transform: translateY(-10px);
	}
}

@keyframes floatIn {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Animation classes */
.animate-fade {
	animation: fadeIn 0.6s ease-out forwards;
}

.animate-pulse {
	animation: pulse 2s infinite;
}

.animate-slide-in {
	animation: slideIn 0.7s ease-out forwards;
}

.animate-bounce {
	animation: bounce 1s ease-out;
}

.animate-float-in {
	animation: floatIn 0.6s ease-out forwards;
}

/* Delay classes */
.delay-100 {
	animation-delay: 0.1s;
}

.delay-200 {
	animation-delay: 0.2s;
}

.delay-300 {
	animation-delay: 0.3s;
}

.delay-400 {
	animation-delay: 0.4s;
}

.delay-500 {
	animation-delay: 0.5s;
}

.delay-600 {
	animation-delay: 0.6s;
}

.delay-700 {
	animation-delay: 0.7s;
}

.delay-800 {
	animation-delay: 0.8s;
}

.delay-900 {
	animation-delay: 0.9s;
}

/* Animation on scroll */
.scroll-animate {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Header styles */
.site-header {
  background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--primary-hover) 100%);
  padding: 15px 0;
  border-bottom: 3px solid var(--accent-orange);
  box-shadow: 0 4px 12px rgba(93, 31, 31, 0.15);
  
  /* Add these 3 lines to make it sticky */
  position: sticky;
  top: 0;
  z-index: 1000; 
}

.header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.header-left {
	flex: 1;
	color: rgba(255, 255, 255, 0.95);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.header-center {
	flex: 1;
	display: flex;
	justify-content: center;
}

.header-center img {
	height: 55px;
	/* filter: brightness(0) invert(1); */
	transition: transform 0.3s ease;
}

.header-center img:hover {
	transform: scale(1.05);
}

.header-right {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

.header-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: rgba(255, 255, 255, 0.15);
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header-btn i {
	font-size: 16px;
}

.main-layout {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 30px;
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 20px;
}

.form-panel {
	background: var(--bg-card);
	border-radius: 16px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	border: 1px solid var(--border-light);
	padding: 35px;
}

.section {
	margin-bottom: 25px;
	position: relative;
}

.section-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--border-light);
}

.section-icon {
	width: 32px;
	height: 32px;
	background: var(--primary-burgundy);
	color: white;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.section-title {
	font-size: 16px;
	color: var(--primary-burgundy);
	font-weight: 600;
}

.branch-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.branch-card {
	position: relative;
	padding: 5px 5px;
	border: 2px solid var(--border-light);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s;
	text-align: center;
	background: #FAFAFA;
}

.branch-card:hover {
	border-color: var(--accent-orange);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.branch-card.active {
	border-color: var(--primary-burgundy);
	background: linear-gradient(135deg, #FFF5F5, #FFFFFF);
	box-shadow: 0 4px 12px rgba(93, 31, 31, 0.15);
}

.branch-card.active::after {
	content: "\f00c";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	top: 8px;
	right: 8px;
	background: var(--primary-burgundy);
	color: white;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.branch-card input {
	display: none;
}

.branch-name {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: var(--primary-burgundy);
	font-weight: 600;
	margin-bottom: 2px;
}

.branch-addr {
	font-size: 14px;
	color: var(--text-muted);
}

.date-input {
	width: 100%;
	padding: 12px;
	border: 2px solid var(--border-light);
	border-radius: 10px;
	font-size: 14px;
	background: #FAFAFA;
	cursor: pointer;
	transition: all 0.3s;
}

.date-input:focus {
	outline: none;
	border-color: var(--accent-orange);
	background: #fff;
}
/* =========================================
   FIX: Remove Blue Background on Date Input
   ========================================= */
.date-input::-webkit-datetime-edit,
.date-input::-webkit-datetime-edit-fields-wrapper,
.date-input::-webkit-datetime-edit-text,
.date-input::-webkit-datetime-edit-month-field,
.date-input::-webkit-datetime-edit-day-field,
.date-input::-webkit-datetime-edit-year-field,
.date-input::-webkit-date-and-time-value {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--text-dark) !important;
    outline: none !important;
    box-shadow: none !important;
}

.date-input::-webkit-datetime-edit-month-field:focus,
.date-input::-webkit-datetime-edit-day-field:focus,
.date-input::-webkit-datetime-edit-year-field:focus,
.date-input::-webkit-datetime-edit:focus,
.date-input::-webkit-date-and-time-value:focus {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--text-dark) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure the whole input has a clean custom focus state */
.date-input:focus {
    outline: none !important;
    border-color: var(--accent-orange) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

/* Clean up the calendar icon background just in case */
.date-input::-webkit-calendar-picker-indicator {
    background: transparent !important;
    cursor: pointer;
}
.time-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.time-pill {
	padding: 10px 18px;
	border: 2px solid var(--border-light);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	transition: all 0.2s;
	font-weight: 500;
	font-size: 14px;
	color: rgb(10 14 14 / 70%);
}

.time-pill:hover {
	border-color: var(--accent-orange);
	color: var(--accent-orange);
}

.time-pill.active {
	background: var(--primary-burgundy);
	color: white;
	border-color: var(--primary-burgundy);
}

.time-pill input {
	display: none;
}

.empty-state {
	width: 100%;
	text-align: center;
	padding: 20px;
	color: var(--text-muted);
	font-style: italic;
	background: #FAFAFA;
	border-radius: 8px;
	border: 2px dashed var(--border-light);
}

.input-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.input-group {
	margin-bottom: 18px;
	position: relative;
}

.input-group label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.input-group label i {
	color: var(--primary-burgundy);
	font-size: 14px;
}

.input-wrapper {
	position: relative;
	transition: all 0.3s;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
	width: 100%;
	padding: 11px 45px 11px 14px;
	border: 2px solid var(--border-light);
	border-radius: 10px;
	font-size: 14px;
	background: #fff;
	transition: all 0.3s;
	font-family: 'Inter', sans-serif;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
	outline: none;
	border-color: var(--accent-orange);
}

.input-wrapper select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.input-group.valid .input-wrapper input,
.input-group.valid .input-wrapper select,
.input-group.valid .input-wrapper textarea {
	border-color: var(--success);
	background-color: var(--success-bg);
}

.input-group.invalid .input-wrapper input,
.input-group.invalid .input-wrapper select,
.input-group.invalid .input-wrapper textarea {
	border-color: var(--error);
	background-color: var(--error-bg);
}

.validation-icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
	z-index: 10;
}

.input-group.valid .validation-icon.valid {
	opacity: 1;
	color: var(--success);
}

.input-group.invalid .validation-icon.invalid {
	opacity: 1;
	color: var(--error);
}

.error-hint {
	display: block;
	color: var(--error);
	font-size: 14px;
	margin-top: 6px;
	font-weight: 500;
	min-height: 18px;
}

.btn-reserve {
	width: 100%;
	padding: 15px;
	background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-hover));
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(93, 31, 31, 0.2);
}

.btn-reserve:hover:not(:disabled) {
	background: linear-gradient(135deg, var(--primary-hover), var(--primary-burgundy));
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(93, 31, 31, 0.3);
}

.btn-reserve:disabled {
	background: #D1D5DB;
	color: #9CA3AF;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.btn-reserve:active {
	transform: translateY(0);
}

.info-sidebar {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.info-card {
	background: var(--bg-card);
	border-radius: 12px;
	padding: 22px;
	border: 1px solid var(--border-light);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s;
}

.info-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-card h4 {
	font-size: 16px;
	color: var(--primary-burgundy);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.info-card h4 i {
	color: var(--accent-orange);
}

.info-card p {
	color: var(--text-muted);
	font-size: 14px;
	margin-bottom: 8px;
	line-height: 1.5;
}

.info-card a {
	color: var(--primary-burgundy);
	text-decoration: none;
	font-weight: 600;
}

.info-card a:hover {
	color: var(--accent-orange);
}

.info-card.highlight {
	background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-hover));
	color: white;
	border: none;
}

.info-card.highlight h4 {
	color: var(--accent-orange-light);
}

.info-card.highlight h4 i {
	color: var(--accent-orange-light);
}

.info-card.highlight p {
	color: rgba(255, 255, 255, 0.95);
}

.info-card.highlight a {
	color: var(--accent-orange-light);
}

.map-container {
	width: 100%;
	height: 520px;
	border-radius: 10px;
	overflow: hidden;
	margin-top: 12px;
	border: 2px solid var(--border-light);
}

.map-container iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(93, 31, 31, 0.6);
	backdrop-filter: blur(5px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.modal-overlay.active {
	display: flex;
}

.modal-box {
	background: #fff;
	border-radius: 14px;
	padding: 32px;
	max-width: 400px;
	width: 90%;
	text-align: center;
	border-top: 5px solid var(--primary-burgundy);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	transform: translateY(30px);
	transition: transform 0.4s ease;
}

.modal-overlay.active .modal-box {
	transform: translateY(0);
}

.modal-icon {
	font-size: 45px;
	margin-bottom: 12px;
}

.modal-title {
	font-size: 21px;
	color: var(--primary-burgundy);
	margin-bottom: 10px;
}

.modal-msg {
	color: var(--text-muted);
	font-size: 14px;
	margin-bottom: 22px;
}

.modal-btn {
	padding: 11px 28px;
	background: var(--primary-burgundy);
	color: white;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.modal-btn:hover {
	background: var(--primary-hover);
	transform: translateY(-2px);
}

.modal-overlay.warning .modal-box {
	border-top-color: var(--warning);
}

.modal-overlay.success .modal-box {
	border-top-color: var(--success);
}

.sec-title.centred {
	text-align: center;
	padding: 10px 20px 0;
	display: flex;
	justify-content: center;
}

.sec-title.centred h2 {
	font-size: 30px;
	font-weight: 800;
	color: var(--primary-burgundy);
	padding: 10px 0;
	text-align: center;
	font-family: 'Inter', sans-serif;
	display: inline-block;
}

.sec-title.centred h2::after {
	content: '' !important;
	display: block !important;
	width: 280px !important;
	height: 4px !important;
	background: linear-gradient(90deg, var(--primary-burgundy) 0%, var(--primary-hover) 65%, transparent 100%) !important;
	margin: 15px auto 0 auto !important;
	border-radius: 4px !important;
}

/* Animation for form elements */
.form-panel .section {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-panel .section.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Form input focus animation */
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
	box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.3);
}

/* Success animation */
.success-animation {
	animation: bounce 0.8s;
}

/* Responsive styles */
@media (max-width: 992px) {
	.main-layout {
		grid-template-columns: 1fr;
	}

	.map-container {
		height: 400px;
	}
}

@media (max-width: 768px) {
	.form-panel {
		padding: 25px 20px;
	}

	.branch-grid {
		grid-template-columns: 1fr;
	}

	.input-row {
		grid-template-columns: 1fr;
	}

	.time-pill {
		padding: 9px 16px;
		font-size: 14px;
	}

	.map-container {
		height: 350px;
	}

	.header-left {
		display: none;
	}

	.header-right {
		gap: 8px;
	}

	.header-btn {
		padding: 8px 14px;
		font-size: 13px;
	}

	.header-btn span {
		display: none;
	}
}

@media (max-width: 480px) {
	.site-header {
		padding: 12px 0;
	}

	.header-center img {
		height: 45px;
	}

	.section-title {
		font-size: 17px;
	}

	.branch-name {
		font-size: 14px;
	}

	.time-grid {
		gap: 6px;
	}

	.time-pill {
		padding: 8px 14px;
		font-size: 14px;
		flex: 1 1 calc(33.33% - 6px);
		text-align: center;
	}

	.sec-title.centred h2 {
		font-size: 18px;
	}
}

/* Success Page Specific Styles (Using CSS Variables) */
.success-wrapper {
	max-width: 750px;
	margin: 50px auto;
	padding: 0 20px;
	animation: fadeIn 0.8s ease-out forwards;
}
.success-card {
	background: var(--bg-card);
	border-radius: 16px;
	box-shadow: var(--shadow-card);
	border: 1px solid var(--border-light);
	padding: 50px 40px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.success-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--success) 0%, var(--accent-orange) 100%);
}
.success-icon-wrap {
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 50px;
	margin: 0 auto 30px;
	box-shadow: var(--shadow-success);
	animation: bounce 1.2s ease-out;
}
.success-title {
	font-size: 32px;
	font-weight: 700;
	color: var(--primary-burgundy);
	margin-bottom: 15px;
}
.success-subtitle {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 30px;
	max-width: 550px;
	margin-left: auto;
	margin-right: auto;
}
.info-alert {
	background: var(--success-bg);
	border-left: 4px solid var(--success);
	padding: 18px 22px;
	border-radius: 8px;
	text-align: left;
	margin-bottom: 35px;
	display: flex;
	align-items: flex-start;
	gap: 15px;
	color: var(--text-dark);
	font-size: 15px;
	line-height: 1.6;
}
.info-alert i {
	color: var(--success);
	font-size: 22px;
	margin-top: 2px;
}
.info-alert strong {
	color: var(--primary-burgundy);
}
.action-btns {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
}
.btn-primary-custom {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 32px;
	background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-hover));
	color: white;
	text-decoration: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s;
	box-shadow: var(--shadow-burgundy);
}
.btn-primary-custom:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-burgundy-hover);
}
.btn-outline-custom {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 32px;
	background: transparent;
	color: var(--primary-burgundy);
	text-decoration: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	border: 2px solid var(--border-light);
	transition: all 0.3s;
}
.btn-outline-custom:hover {
	border-color: var(--primary-burgundy);
	background: rgba(93, 31, 31, 0.05);
	transform: translateY(-2px);
}

/* =========================================
   FOOTER STYLES (Using CSS Variables)
   ========================================= */
.site-footer {
	background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--primary-dark) 100%);
	color: var(--white-85);
	margin-top: 60px;
	padding: 50px 0 0;
	border-top: 4px solid var(--accent-orange);
}
.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 40px;
}
.footer-col h3 {
	color: var(--accent-orange-light);
	font-size: 24px;
	margin-bottom: 10px;
}
.footer-col h4 {
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	padding-bottom: 10px;
}
.footer-col h4::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background: var(--accent-orange);
}
.footer-col p {
	font-size: 14px;
	line-height: 1.8;
	margin-bottom: 10px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.footer-col p i {
	color: var(--accent-orange);
	width: 16px;
	margin-top: 4px;
}
.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-col ul li {
	margin-bottom: 12px;
}
.footer-col ul li a {
	color: var(--white-80);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.footer-col ul li a:hover {
	color: var(--accent-orange-light);
	transform: translateX(5px);
}
.footer-col ul li a::before {
	content: '\f105';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 12px;
	color: var(--accent-orange);
}
.footer-bottom {
	text-align: center;
	padding: 20px;
	margin-top: 40px;
	border-top: 1px solid var(--white-10);
	font-size: 13px;
	color: var(--white-60);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.success-wrapper {
		margin: 30px auto;
	}
	.success-card {
		padding: 40px 25px;
	}
	.success-title {
		font-size: 26px;
	}
	.success-icon-wrap {
		width: 80px;
		height: 80px;
		font-size: 40px;
	}
	.action-btns {
		flex-direction: column;
	}
	.btn-primary-custom, .btn-outline-custom {
		width: 100%;
		justify-content: center;
	}
	.footer-container {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}
/************************************/
/***  Single Branch – Full Width ***/
/************************************/
.branch-grid.single-branch {
  grid-template-columns: 1fr;
}
.branch-grid.single-branch .branch-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  text-align: left;
  padding: 16px 18px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-burgundy);
}
/* ❌ Remove the duplicate map icon (header already has one) */
.branch-grid.single-branch .branch-card::before {
  content: none;
  display: none;
}
.branch-grid.single-branch .branch-name {
  grid-column: 1;
  grid-row: 1;
  font-size: 16px;
}
.branch-grid.single-branch .branch-addr {
  grid-column: 1;
  grid-row: 2;
  font-size: 13px;
}
/* Keep the green check badge on the right when selected */
.branch-grid.single-branch .branch-card input {
  display: none;
}

/* =========================================
   MARKETING OPT-IN BOX (Fixed & Professional)
========================================= */
.marketing-optin-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--success-bg);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-orange);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    margin-bottom: 18px; /* Matches other form groups */
}

.marketing-optin-box:hover {
    background: #E8F3F0;
    border-color: var(--accent-orange);
    box-shadow: 0 4px 12px rgba(217, 166, 46, 0.12);
    transform: translateY(-1px);
}

/* Hide the actual default checkbox */
.marketing-optin-box input[type="checkbox"] {
    display: none;
}

/* The custom checkbox square */
.optin-checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--text-muted);
    border-radius: 5px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    margin-top: 2px;
    position: relative;
}

/* Pure CSS checkmark - HIDDEN by default (opacity: 0) */
.optin-checkmark::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0; /* Crucial: Hidden when unchecked */
    transition: all 0.25s ease;
    top: 4px;
}

/* ONLY change background when explicitly checked */
.marketing-optin-box input[type="checkbox"]:checked + .optin-checkmark {
    background: var(--primary-burgundy);
    border-color: var(--primary-burgundy);
    box-shadow: 0 2px 6px rgba(21, 60, 51, 0.2);
}

/* ONLY show checkmark when explicitly checked */
.marketing-optin-box input[type="checkbox"]:checked + .optin-checkmark::after {
    transform: rotate(45deg) scale(1);
    opacity: 1; /* Visible when checked */
}

/* Content styling */
.optin-content {
    flex: 1;
}

.optin-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-burgundy);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.optin-title i {
    color: var(--accent-orange);
    font-size: 13px;
}

.optin-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Active/Checked state highlight for the whole box */
.marketing-optin-box:has(input:checked) {
    background: #E0EFEA;
    border-left-color: var(--primary-burgundy);
}

/* Responsive */
@media (max-width: 480px) {
    .marketing-optin-box {
        padding: 14px 14px;
        gap: 10px;
    }
    .optin-title {
        font-size: 13px;
    }
    .optin-desc {
        font-size: 12px;
    }
}
