body {
	font-family: 'Open Sans', sans-serif;
}
.site-name {
	font-family: 'Raleway', sans-serif;
}
html,
body {
	height: 100%;
}
body {
	font-size: 15px;
	line-height: 1.50;
	color: #333333;
	background-color: #ffffff;
	position: relative;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #333333;
}
h1 {
	font-size: 38px;
	font-weight: 700;
	margin-bottom: 20px;
}
h2 {
	font-size: 28px;
	margin-bottom: 15px;
}
h3 {
	font-size: 22px;
}
h4 {
	font-size: 18px;
	font-weight: 700;
}
h5 {
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
}
h6 {
	font-weight: 700;
}
h1 span,
h2 span,
h3 span,
h4 span {
	color: #E0610A;
}
.text-colored {
	color: #0E7878;
}
a {
	color: #0E7878;
}
a:hover {
	color: #E0610A;
}
a:focus,
a:active {
	outline: none;
}
.large {
	font-size: 18px;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
.list-unstyled li {
	padding: 5px 0;
}
.list-horizontal {
	padding: 15px 0;
}
.list-horizontal-item img {
	display: block;
	margin: 0 auto;
}
.list-icons {
	padding: 0;
	margin: 20px 0;
	list-style: none;
	font-size: 18px;
}
.list-icons li {
	padding: 0 0 15px 0;
}
blockquote {
	border-left: none;
	padding-left: 0;
	padding-right: 0;
}
.title {
	margin-top: 0;
}

/* Layout
----------------------------------------------------------------------------- */
.header {
	color: #ffffff;
	background-color: rgba(0, 0, 0, 0.10);
	padding: 10px 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}


/************************************* START OF BANNER SECTION *******************************************/
.banner {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  height: 300px;
  background-color: #0E7878;
  color: #fff;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.banner-image {
  width: 50%;
  height: 100%;
  background-image: url("../images/banner.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  flex-shrink: 0;
}

.banner-caption {
  width: 50%;
  position: relative;
  z-index: 2;
  color: #fff;
}

.banner-caption h1 {
  font-size: 40px;
  margin: 0 0 10px;
}

.banner-caption p.lead {
  font-size: 18px;
  margin: 0 0 20px;
}

/* Download buttons styling */
.download-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.download-buttons a img {
  height: 50px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.download-buttons a:hover img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .banner {
    flex-direction: column;
    height: auto;
    padding: 30px 20px;
  }

  .banner-image {
    width: 80%;
    height: 200px;
    background-size: contain;
    margin-top: 20px;
  }

  .banner-caption {
    width: 100%;
    text-align: center;
  }

  .download-buttons {
    justify-content: center;
  }
}

/************************************** END OF BANNER SECTION ********************************************/

.subfooter {
	background-color: #fafafa;
	border-top: 1px solid #f3f3f3;
	border-bottom: 1px solid #f3f3f3;
	padding: 40px 0;
}

/****** SECTIONS **************************/
.section {
  background-color: #ffffff;  /* your existing bg */
  padding: 20px 0;            /* your existing vertical padding */
  
  max-width: 100%;
  margin: 0 auto;             /* center content horizontally */
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;     /* ensure padding is included in width */
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #0E7878;
  text-align: center;
}

/* === FEATURES SECTION === */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  justify-items: center;
}

.feature {
  background: #f8fafa;
  border-radius: 12px;
  padding: 25px 20px;
  width: 280px; /* Match .step width */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.feature:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.feature h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
  margin-bottom: 10px;
  color: #0E7878;
}

.feature h3 .icon {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
}

.feature p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* === MOBILE LAYOUT FIX === */
@media (max-width: 480px) {
  .feature h3 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature h3 .icon {
    width: 80px;      /* larger icon for mobile */
    height: 80px;
    margin-bottom: 10px;
  }

  .feature {
    width: 90%;
    text-align: center;
  }

  .feature p {
    margin: 10px 0 0;
  }
}




/* HOW IT WORKS SECTION */
.how-it-works {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.step {
  background: #e0f0f0;
  border-radius: 12px;
  padding: 25px 20px;
  width: 280px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.step:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0E7878;
}

.step-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.step-icon {
  width: 88px; /* Slightly larger */
  height: 88px;
  object-fit: contain;
}

.step p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

@media (max-width: 480px) {
  .how-it-works {
    flex-direction: column;
    align-items: center;
  }

  .step {
    width: 90%;
    padding: 20px 15px;
  }

  .step-icon {
    width: 90px;
    height: 90px;
  }

  .step p {
    text-align: center;
  }
}





/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.testimonial {
  background: #fafafa;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  color: #444;
}

.testimonial p:first-child {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.testimonial p:last-child {
  font-weight: 600;
  font-style: normal;
  color: #0E7878;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .how-it-works {
    flex-direction: column;
    align-items: center;
  }

  .step {
    width: 90%;
    max-width: 350px;
  }
}

/******************************************/

/*********************** Screenshots Section ************************/
.screenshots-gallery {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
  overflow: hidden;
}

.screenshot-display {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  padding: 40px 20px;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

/* Desktop: horizontal row with overlap */
@media (min-width: 992px) {
  .screenshot-display {
    flex-wrap: nowrap;
    gap: 0;
  }

  .screenshot {
    width: 220px !important;
    margin-left: -50px !important;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
  }

  .screenshot:first-child {
    margin-left: 0;
  }

  .tilt-left {
    transform: rotate(-10deg);
  }

  .tilt-right {
    transform: rotate(10deg);
  }

  .screenshot:hover {
    transform: scale(1.1);
    z-index: 3;
  }
}

/* Mobile: use CSS Grid for exact 2 rows, 3 + 2 layout */
@media (max-width: 991px) {
  .screenshot-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    grid-gap: 15px 10px;
    justify-items: center;
    max-width: 90vw;
    margin: 0 auto;
  }

  .screenshot {
    width: 90%;
    max-width: 160px !important;
    margin-left: 0;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
  }

  /* Place screenshots explicitly in grid cells */
  .screenshot:nth-child(1) { grid-column: 1; grid-row: 1; }
  .screenshot:nth-child(2) { grid-column: 2; grid-row: 1; }
  .screenshot:nth-child(3) { grid-column: 3; grid-row: 1; }
  .screenshot:nth-child(4) { grid-column: 1; grid-row: 2; }
  .screenshot:nth-child(5) { grid-column: 2; grid-row: 2; }

  /* Keep tilt on mobile */
  .tilt-left {
    transform: rotate(-10deg);
  }

  .tilt-right {
    transform: rotate(10deg);
  }

  .screenshot:hover {
    transform: scale(1.05);
    z-index: 3;
  }
}

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

/************************************************************/


/* Backgrounds
----------------------------------------------------------------------------- */
.default-bg {
	background-color: #222222;
	color: #ffffff;
}
.default-bg.blue {
	background-color: #0E7878;
}
.translucent-bg {
	color: #ffffff;
}
.default-bg h1,
.default-bg h2,
.default-bg h3,
.default-bg h4,
.default-bg h5,
.default-bg h6,
.translucent-bg h1,
.translucent-bg h2,
.translucent-bg h3,
.translucent-bg h4,
.translucent-bg h5,
.translucent-bg h6 {
	color: #ffffff;
}
.default-bg blockquote footer,
.translucent-bg blockquote footer {
	color: #cccccc;
}
.default-bg a,
.translucent-bg a {
	color: #ffffff;
	text-decoration: underline;
}
.default-bg a:hover,
.translucent-bg a:hover {
	text-decoration: none;
}
.translucent-bg {
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
	background-position: 50% 0;
	background-repeat: no-repeat;
	z-index: 1;
	position: relative;
}
.translucent-bg .translucent-bg {
	margin-top: 80px;
	z-index: 3;
}
.translucent-bg:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
}
.translucent-bg.blue:after {
	background-color: rgba(85, 172, 238, 0.7);
}
.translucent-bg .container {
	z-index: 3;
	position: relative;
}
.bg-image-1 {
	background-image: url("../images/banner.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}
.bg-image-2 {
	background: url("../images/banner_2.jpg") 50% 0px no-repeat;
}

/* Misc
----------------------------------------------------------------------------- */
.object-non-visible {
	opacity: 0;
	filter: alpha(opacity=0);
}
.object-visible,
.touch .object-non-visible {
	opacity: 1 !important;
	filter: alpha(opacity=100) !important;
}

/* Targeting only Firefox for smoothest animations */
@-moz-document url-prefix() {
	.object-visible,
	.touch .object-non-visible {
		-webkit-transition: opacity 0.6s ease-in-out;
		-moz-transition: opacity 0.6s ease-in-out;
		-o-transition: opacity 0.6s ease-in-out;
		-ms-transition: opacity 0.6s ease-in-out;
		transition: opacity 0.6s ease-in-out;
	}
}
.space {
	padding: 20px 0;
}
.pr-10 {
	padding-right: 10px;
}
.pl-10 {
	padding-left: 10px;
}
.pb-clear {
	padding-bottom: 0;
}

/* Sections
----------------------------------------------------------------------------- */
.banner-caption h1,
.banner-caption h2,
.banner-caption h3,
.banner-caption h4,
.banner-caption h5,
.banner-caption h6 {
	color: #ffffff;
}
.banner-caption h1 {
	font-size: 40px;
}


/********************* FOOTER SECTION *************************************/
.site-footer {
  background-color: #0E7878; /* Match your header */
  padding: 40px 20px 20px;
  color: white;
  font-family: inherit;
}

/* Footer container layout */
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  align-items: flex-start;
}

/* Each footer column */
.footer-column {
  flex: 1 1 220px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Headings */
.footer-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

/* Links */
.footer-column a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* Social links container */
.social-links {
  padding: 0;
  list-style: none;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Language switching style */
.language-switcher {
  margin-top: 30px;
  text-align: center;
}

.language-switcher .flag-link {
  display: inline-block;
  margin: 0 6px;
  opacity: 0.6;
  border-radius: 50%;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.language-switcher .flag-link:hover {
  opacity: 1;
  transform: scale(1.1);
}

.language-switcher .flag-link.active {
  opacity: 1;
}

.flag-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%; /* makes the flag circular */
  object-fit: cover;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); /* optional soft shadow */
}



/* Social icon size */
.social-links li i {
  font-size: 32px;
}

/* Social icon hover colors */
.social-links li a {
  color: white;
  transition: color 0.3s ease;
}

.social-links li.facebook a:hover { color: #3b5998; }
.social-links li.twitter a:hover { color: #1da1f2; }
.social-links li.instagram a:hover { color: #e4405f; }
.social-links li.youtube a:hover { color: #ff0000; }

/* App badges container */
.app-badges {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: center;
  margin-top: 5px;
}

/* App badge images */
.app-badges img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Footer bottom text */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 15px;
  color: white;
}

/* ========================= Responsive Fixes ========================= */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: stretch; /* fix stretch behavior */
    gap: 0;
  }

  .footer-column {
    align-items: center;
    flex: none !important;
    width: 100%;
    padding: 10px 0;
  }

  .footer-column p,
  .footer-column ul,
  .footer-column .app-badges {
    margin-bottom: 8px;
  }

  .footer-column > *:last-child {
    margin-bottom: 0;
  }

  .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .app-badges {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-column:not(:last-child) {
    margin-bottom: 15px;
  }
}

/********************* END FOOTER *****************************************/


.store-badge {
  height: 40px;
  margin: 8px;
}



/* Template Components
----------------------------------------------------------------------------- */
/* Buttons
---------------------------------- */
.btn {
	padding: 8px 15px;
	font-size: 14px;
	line-height: 1.42857143;
	min-width: 160px;
	text-align: center;
	border-radius: 0;
	text-transform: uppercase;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.btn-default {
	color: #0E7878;
	border: 1px solid #cccccc;
}
.btn-default:hover {
	color: #ffffff;
	background-color: #0E7878;
	border-color: #0E7878;
}

/* Collapse
---------------------------------- */
.panel-group .panel {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	border: none;
}
.panel-default > .panel-heading {
	padding: 0;
	outline: none;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
	width: 100%;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
	border: 1px solid #f0f0f0;
	border-top: none;
	background-color: #fafafa
}
.panel-heading a {
	font-weight: 400;
	padding: 12px 35px 12px 15px;
	display: inline-block;
	width: 100%;
	background-color: #0E7878;
	color: #ffffff;
	position: relative;
	text-decoration: none;
}
.panel-heading a.collapsed {
	color: #ffffff;
	background-color: #333333;
}
.panel-heading a:after {
	font-family: "FontAwesome";
	content: "\f147";
	position: absolute;
	right: 15px;
	font-size: 14px;
	font-weight: 300;
	top: 50%;
	line-height: 1;
	margin-top: -7px;
}
.panel-heading a.collapsed:after {
	content: "\f196";
}
.panel-heading a:hover {
	text-decoration: none;
	background-color: #0E7878;
	color: #ffffff;
}
.panel-title a i {
	padding-right: 10px;
	font-size: 20px;
}

/* Pills
---------------------------------- */
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus,
.nav-pills > li > a:hover {
	background-color: #0E7878;
	border-color: #0E7878;
	color: #ffffff;
}
.nav-pills > li > a {
	border-radius: 0;
	padding: 8px 20px;
	border: 1px solid #cacaca;
	color: #666666;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 300;
}

/* Forms
---------------------------------- */
.form-control {
	height: 45px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.form-control-feedback {
	color: #cccccc;
}
.has-feedback label.sr-only ~ .form-control-feedback {
	top: 15px;
}
textarea {
	resize: vertical;
}

/* Modals
---------------------------------- */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
}

.modal-content {
  background: #ffffff;   /* solid white */
  margin: 5vh auto 20px auto;
  padding: 20px;
  max-width: 800px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 1001;         /* above modal */
  opacity: 1;
}

@media (max-width: 600px) {
  .modal-content {
    margin-top: 15vh;
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #0E7878;
  color: #ffffff !important;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  position: relative;
  z-index: 1002;         /* above modal-content */
  opacity: 1;
}

.modal-header h4,
.modal-header .close {
  color: #ffffff !important;
}

.modal-close {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
  background: none;
  border: none;
  opacity: 1;
  text-shadow: none;
  cursor: pointer;
  transition: color 0.3s ease;
  appearance: none;
}

.modal-close:hover,
.modal-close:focus {
  color: #ff4d4d;
  outline: none;
}

.modal-body {
  padding: 20px;
}

/* Media
---------------------------------- */
.media .fa {
	font-size: 24px;
	width: 40px;
	height: 25px;
	line-height: 25px;
	padding: 0 5px;
	text-align: center;
}

/* Navigations
----------------------------------------------------------------------------- */
.header .navbar {
	margin-bottom: 0;
}
.main-navigation .navbar-default {
	background-color: transparent;
	border: none;
}
.main-navigation .navbar-default .navbar-nav > li > a {
	color: #fff;
	padding: 10px 20px;
	font-size: 18px;
	font-weight: 300;
}
.main-navigation .navbar-default .navbar-nav > li.active > a {
	background-color: transparent;
	color: #0E7878;
}
.main-navigation .navbar-default .navbar-nav > li > a:hover,
.main-navigation .navbar-default .navbar-nav > li.active > a:hover {
	color: #0E7878;
}
@media (min-width:768px) {
	.main-navigation .navbar-default .navbar-nav > li > a {
		padding-top: 30px;
		padding-bottom: 30px;
		-webkit-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		-ms-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
}
@media (min-width:768px) and (max-width:991px) {
	.main-navigation .container-fluid {
		padding-left: 0;
		padding-right: 0;
	}
	.navbar-nav {
		float: left !important;
	}
}
@media (max-width:767px) {
	.header.navbar-fixed-top {
		position: absolute;
	}
}

/* Fixed Header
----------------------------------------------------------------------------- */
.fixed-header-on .header {
	background-color: #0E7878;
	padding: 5px 0;
}
.fixed-header-on .site-name {
	font-size: 24px;
}
.fixed-header-on .logo {
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
	margin-top: 0;
	margin-bottom: 0;
}
@media (min-width:768px) {
	.fixed-header-on .navbar-default .navbar-nav > li > a {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}
@media (max-width:991px) {
	.fixed-header-on .logo,
	.fixed-header-on .site-name,
	.fixed-header-on .site-slogan {
		display: none;
	}
}

/* Blocks/Widgets
----------------------------------------------------------------------------- */
/* Logo, Site Name, Site Slogan
---------------------------------- */
.logo {
	margin: 10px 10px 10px 0;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.logo,
.site-name-and-slogan {
	float: left;
}
.site-name {
	font-size: 36px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.site-name a {
	color: #ffffff;
}
.site-name a:hover {
	text-decoration: none;
}
.site-slogan {
	font-size: 12px;
}

/* Testimonials
---------------------------------- */
.testimonial .media-left {
	width: 60px;
}

/* Isotope Items
---------------------------------- */
.filters {
	margin: 0 0 30px 0;
}
.filters .nav-pills > li {
	margin-right: 2px;
	margin-bottom: 2px;
}
.filters .nav-pills > li + li {
	margin-left: 0px;
}
.text-center.filters .nav-pills > li {
	margin-right: 2px;
	margin-left: 2px;
	margin-bottom: 2px;
	display: inline-block;
	float: none;
}
.isotope-container {
	overflow: hidden;
}
.isotope-item {
	margin-bottom: 20px;
}
.isotope-item .btn-default {
	color: #999999;
}
.isotope-item .btn-default:hover {
	color: #ffffff;
}
@media (max-width:480px) {
	.filters .nav-pills > li {
		width: 100%;
		display: block;
	}
}

/* Images Overlay
----------------------------------------------------------------------------- */
.overlay-container {
	position: relative;
	display: block;
	overflow: hidden;
}
.overlay {
	position: absolute;
	top: 0;
	bottom: -1px;
	left: 0;
	right: -1px;
	background-color: rgba(85, 172, 238, 0.9);
	cursor: pointer;
	overflow: hidden;
	opacity: 0;
	filter: alpha(opacity=0);
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
	-webkit-transition: all linear 0.2s;
	-moz-transition: all linear 0.2s;
	-ms-transition: all linear 0.2s;
	-o-transition: all linear 0.2s;
	transition: all linear 0.2s;
}
.overlay:hover {
	text-decoration: none;
}
.overlay span {
	position: absolute;
	display: block;
	bottom: 10px;
	text-align: center;
	width: 100%;
	color: #ffffff;
	font-size: 13px;
	font-weight: 300;
}
.overlay i {
	position: absolute;
	left: 50%;
	top: 50%;
	font-size: 18px;
	line-height: 1x;
	color: #ffffff;
	margin-top: -8px;
	margin-left: -8px;
	text-align: center;
}
.overlay-container:hover .overlay {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transform: scale(1);
	transform: scale(1);
}

.two-column {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 6px 0;
}

.two-column span:first-child {
  flex: 1;
}

.two-column span:last-child {
  flex: 0 0 300px; /* fixed width for the legal basis, adjust as needed */
  text-align: right;
}
@media (max-width: 600px) {
  .two-column {
    flex-direction: column;
    align-items: flex-start;
  }

  .two-column span:last-child {
    text-align: left;
    flex: unset;
  }
}

/***** Inline Error Messaging **********/
.error-message {
  font-size: 0.875rem;
  margin-top: 4px;
}

/* =========================
   REGISTRATION FORM FIXES v2
   (fixes width/length issues)
   ========================= */

#registrationSection #registerForm .form-group {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;

  flex-wrap: wrap;          /* IMPORTANT: allows error message to go below */
}

/* Bigger icons + fixed column width */
#registrationSection #registerForm .form-group > i {
  flex: 0 0 36px;
  width: 36px;
  text-align: center;
  font-size: 22px;
  line-height: 1;
  color: #fff;
}

/* Make the control take all remaining width */
#registrationSection #registerForm .form-group > input.form-control,
#registrationSection #registerForm .form-group > select.form-control,
#registrationSection #registerForm .form-group > textarea.form-control,
#registrationSection #registerForm .form-group > div {
  flex: 1 1 calc(100% - 48px);   /* 36 icon + ~12 gap */
  min-width: 0;                  /* prevents flex overflow weirdness */
}

/* If the input is wrapped (postal address), the wrapper must behave like the input */
#registrationSection #registerForm .form-group > div {
  width: auto !important;
}
#registrationSection #registerForm .form-group > div > input.form-control {
  width: 100% !important;
}

/* Normalize height across inputs + selects (override your inline 60px) */
#registrationSection #registerForm .form-control {
  height: 48px !important;
  padding: 10px 12px !important;
  font-size: 16px;
}

/* Put error messages on their own line and align under the input, not under the icon */
#registrationSection #registerForm .error-message {
  flex: 0 0 100%;
  margin-left: 48px;       /* icon width + gap */
  margin-top: 4px;
}

/* Optional: on mobile reduce the huge padding */
@media (max-width: 768px) {
  #registrationSection {
    padding: 0 20px !important;
  }
}

/* =========================
   Registration section width control
   ========================= */

#registrationSection {
  max-width: 1200px;     /* prevents ultra-wide form on big screens */
  margin: 0 auto;        /* centers it */
  padding-left: 10em;
  padding-right: 10em;
}

/* Tablet */
@media (max-width: 992px) {
  #registrationSection {
    padding-left: 3em;
    padding-right: 3em;
  }
}

/* Mobile */
@media (max-width: 576px) {
  #registrationSection {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ===== DOB row: keep icon + input + info button on ONE line ===== */
#registrationSection #registerForm #dobRow {
  flex-wrap: nowrap !important;
}

/* Override the global "calc(100% - 48px)" rule for THIS row only */
#registrationSection #registerForm #dobRow > input.form-control {
  flex: 1 1 0 !important;     /* key line: allows button to fit */
  width: auto !important;
  min-width: 0;
}

/* Keep the info button fixed size and aligned */
#registrationSection #registerForm #dobRow > .dob-help {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 6px;

  color: #fff;
  cursor: pointer;
  padding: 0;
}

/* Info icon size */
#registrationSection #registerForm #dobRow > .dob-help i {
  font-size: 20px;
  line-height: 1;
}

/* Hover style like your theme */
#registrationSection #registerForm #dobRow > .dob-help:hover {
  background: #fff;
  color: #0E7878;
  border-color: #fff;
}

/* DoB overlay */
.dob-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  padding: 20px;
}

.dob-overlay.is-open{
  display: flex;
}

.dob-modal{
  width: min(520px, 100%);
  background: #0E7878;
  border-radius: 14px;
  padding: 18px 18px 16px 18px;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.dob-close{
  position: absolute;
  right: 10px;
  top: 6px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
}

.dob-body{
  font-size: 15px;
  line-height: 1.4;
}

#tandcs {
  accent-color: #0E7878;
}

/* Slightly rounded buttons */
button,
.btn,
.btn-default {
  border-radius: 10px !important;
}