/* ========== RESET & BASE ========== */
html,
body {
	font-family: 'Lato', sans-serif;
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

.page-container {
	width: 100%;
	max-width: 100vw;
	margin: 0 auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

/* ========== HEADER & MARQUEE ========== */
.header {
  background: #B2C8D2;
  width: 100%;
  max-width: 1200px;
  margin: 10px auto;
  box-sizing: border-box;
}

.scrolling-text {
  font-family: "Allura", cursive;
  font-size: 25px;
  color: #2F3A4C;
  text-align: center;
  background: #B2C8D2;
  padding: 10px 10px;
  overflow: hidden;
  white-space: nowrap;
  animation: marquee 12s linear infinite;
  box-sizing: border-box;
}

@keyframes marquee {
  0% { text-indent: 100%; }
  100% { text-indent: -100%; }
}

/* ========== NAVIGATION ========== */
.main-nav {
  background: #2F3A4C;
  padding: 15px 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  position: relative;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 35px;
  position: relative;
}

.logo {
  height: 80px;
  width: auto;
  margin-left: 16px;
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  margin: 5px 0;
  transition: 0.3s;
}

.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  box-sizing: border-box;
}

nav a.apply-now {
  background: #B09375;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 18px;
  font-weight: bold;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

nav a.apply-now:hover {
  background: #8c735d;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
}

nav a {
  color: #F6F5F1;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  background: #2F3A4C;
  border-radius: 50px;
  padding: 12px;
  transition: color 0.2s;
}

nav a:hover {
  background: none;
  color: #8c735d;
}
@media (max-width: 1000px) {
  .nav-container { padding-right: 15px; }
  .logo { height: 60px; margin-left: 8px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #2F3A4C;
    width: 100vw;
    left: 0;
    right: 0;
    position: absolute;
    top: 100%;
    z-index: 1000;
    font-family: 'Lato', sans-serif;
    padding-bottom: 30px;
  }
  .nav-links.active { display: flex; }
}

/* ========== BLOG SECTION ========== */
.blog-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  max-width: 1200px;
  margin: 10px auto;
  box-sizing: border-box;
  padding: 20px 10px 40px 10px;
}

.blog-title {
  font-family: 'Lato', sans-serif;
  font-size: 2.3rem;
  color: #2F3A4C;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 16px;
  text-transform: uppercase;
  text-align: center;
}

.blog-message {
  font-family: 'Lato', sans-serif;
  font-size: 1.25rem;
  color: #2F3A4C;
  margin-bottom: 30px;
  margin-top: -10px;
  text-align: center;
}

.blog-list {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.blog-post {
  display: flex;
  background: #F6F5F1;
  overflow: hidden;
  box-sizing: border-box;

}

.blog-post:hover {
  box-shadow: 0 4px 18px rgba(47,58,76,0.13);
}

.blog-post-body {
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-post-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2F3A4C;
  margin: 0 0 8px 0;
  font-family: 'Lato', sans-serif;
}

.blog-post-meta {
  font-size: 1rem;
  color: #8c735d;
  margin-bottom: 14px;
  font-style: italic;
}

.blog-post-excerpt {
  font-size: 1.05rem;
  color: #2F3A4C;
  margin-bottom: 18px;
}

.blog-read-more {
  font-family: 'Lato', sans-serif;
  font-size: 1.02rem;
  color: #fff;
  background: #B2C8D2;
  border-radius: 30px;
  padding: 8px 22px;
  text-decoration: none;
  transition: background 0.18s;
  align-self: flex-start;
  font-weight: bold;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(47,58,76,0.06);
}

.blog-read-more:hover {
  background: #8c735d;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* Responsive for blog */
@media (max-width: 700px) {
  .blog-post {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-post-img {
    width: 100%;
    height: 170px;
  }
  .blog-post-body {
    padding: 17px 13px;
  }
}

.blog-post-full {
  display: none;
  font-size: 1.05rem;
  color: #2F3A4C;
  margin-bottom: 18px;
  margin-top: -8px;
  transition: max-height 0.3s ease;
}

.blog-post-full.expanded {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.blog-read-more {
  border: none;
}
.blog-read-more[aria-expanded="true"]::after {
  content: "▲";
  margin-left: 10px;
  font-size: 0.85em;
}
.blog-read-more[aria-expanded="false"]::after {
  content: "▼";
  margin-left: 10px;
  font-size: 0.85em;
}

/* ========== FOOTER ========== */
.main-footer {
  background: #2F3A4C;
  color: #fff;
  text-align: left;
  padding: 15px 12px 12px 10px;
  font-family: 'Lato', sans-serif;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: auto;
  height: 80px;
  margin-bottom: 10px;
  margin-right: 150px;
  margin-top: 45px;
  margin-left: 25px;
}

.footer-family {
  font-family: "Allura", cursive;
  font-size: 24px;
  color: #fff;
  margin-left: 35px;
}

.footer-right {
  flex: 1 1 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-links-touch {
  display: flex;
  align-items: flex-start;
}

.footer-links {
  min-width: 130px;
}

.footer-section-title {
  font-family: "Allura", cursive;
  font-size: 24px;
  color: #fff;
  letter-spacing: 1px;
  margin-top: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 1.0rem;
}

.footer-links a:hover,
.apply-now-footer {
  color: #F6F5F1;
  text-decoration: none;
}

.footer-divider {
  width: 2px;
  background: #B2C8D2;
  min-height: 230px;
  margin: 0 44px 0 -10px;
}

.footer-get-in-touch {
  min-width: 200px;
}

.footer-contact-info {
  font-size: 1.03rem;
  color: #fff;
  margin-top: 10px;
}

.footer-contact-info div {
  margin-bottom: 8px;
}

.footer-heart {
  color: #2F3A4C !important;
  font-size: 1.3em;
  vertical-align: middle;
  margin: 0 4px 0 4px;
}

.footer-designer {
  font-family: "Allura", cursive;
  font-size: 18px;
  color: #2F3A4C;
  letter-spacing: 1px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-bar {
  background: #B2C8D2;
  color: #2F3A4C;
  text-align: center;
  font-family: 'Lato', sans-serif;
  padding: 15px 12px 12px 10px;
  font-size: 15px;
  letter-spacing: 0.02em;
  max-width: 1200px;
  margin: 10px auto;
  box-sizing: border-box;
  width: 100%;
}

.footer-bar a.footer-legal-link {
  color: #2F3A4C !important;
  text-decoration: underline;
  font-family: 'Lato', sans-serif;
  font-size: 1em;
  margin: 0 2px;
  transition: color 0.2s;
  display: inline;
}
.footer-bar a.footer-legal-link:hover {
  color: #8c735d !important;
}

@media (max-width: 1000px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 5px;
    margin-left: 15px;
  }
  .footer-logo {
    margin-bottom: 7px;
    margin-top: 5px;
    margin-left: 5px;
  }
  .footer-family {
    font-size: 1.1rem;
    margin-left: 5px;
    margin-bottom: 10px;
  }
  .footer-links-touch {
    flex-direction: column;
    gap: 18px;
  }
  .footer-divider { display: none; }
  .footer-right {
    width: 100%;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .main-footer {
    padding: 18px 0 10px 0;
  }
  .footer-logo {
    margin-bottom: 7px;
    margin-top: 5px;
    margin-left: 5px;
  }
  .footer-family {
    font-size: 1.1rem;
    margin-left: 5px;
  }
  .footer-bar {
    font-size: 0.93rem;
  }
  .footer-contact-info {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* ========== CONSENT BANNER ========== */
#consent-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	background: #2F3A4C;
	color: #fff;
	padding: 15px 0;
	z-index: 2000;
	text-align: center;
	font-size: 1rem;
}

#consent-banner a {
	color: #B2C8D2;
	text-decoration: underline;
	margin: 0 4px;
}

#consent-banner button {
	background: #B09375;
	color: #fff;
	border: none;
	padding: 7px 22px;
	border-radius: 5px;
	margin-left: 15px;
	cursor: pointer;
	font-size: 1em;
	transition: background 0.18s;
}

#consent-banner button:hover {
	background: #8c735d;
}