

:root {
  --body-bg-color: #ffffff;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #88c8bc;
  --hero-gradient2: #ffffff;
  --footer-bg-color: #88c8bc;
  --link-color: #8bb3bb;
  --header-bg-color: #ffffff;
  --font-family: 'Book Antiqua', Palatino, serif;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffff;
}

body {
  background-color: var(--body-bg-color) !important;
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
    font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
    font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}
  
  section {
  padding: 15px 0;
}


h2, h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}

.footer a {
  text-decoration: none;
  color: var(--link-color) !important;
}

  
  .sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
}

.sidebar-page-list li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--heading-color);
}

.sidebar-page-list li::marker {
  color: var(--link-color);
  font-size: 1.2em;
}
.sidebar-page-list li:last-child {
  border-bottom: none;
}

.sidebar-page-list li a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--link-color);
}

.sidebar-page-list li a:hover {
  padding-left: 11px;
}
  .twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}
.error_page {
  min-height: 70vh;
}


 .navbar {
  background-color: var(--header-bg-color) !important;
  
}

.hero-section {
 padding: 205px 0 80px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.gradient-bg {
  background: #88C8BC;
}

.hero-section.with-bg {
  background-image: url('/images/coast-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section.with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(238, 229, 187, 0.836));
  opacity: 0.5;
  z-index: 1;
}


.hero-section h1 {
  font-weight: 800;
  text-align: center;
  margin: 0;
  padding: 20px 30px;
  line-height: 1.2;
  position: relative;
  display: inline-block;

  background: rgba(234, 223, 203, 0.7); 
  backdrop-filter: blur(4px);
  border-radius: 12px;

  color: #2f2f2f;
  letter-spacing: 2px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  animation: floatText 5s ease-in-out infinite;
}


@keyframes floatText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-section h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: #88C8BC;
  border-radius: 4px;
  animation: underlinePulse 3s ease-in-out infinite;
}

@keyframes underlinePulse {
  0%, 100% { width: 60%; opacity: 0.7; }
  50% { width: 80%; opacity: 1; }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.8rem;
    padding: 10px 15px;
  }
}


.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
  
  .navbar-light .navbar-nav .nav-link {
    color: var(--nav-link-color, #141414) !important;
  }

  .navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
  /* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(in srgb, var(--header-bg-color) 65%, transparent);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

@media screen and (min-width: 1199.98px) {
.dropdown-menu {
    top: 100%;
    left: 50% !important;
    transform: translateX(-50%);
  }
}

.navbar .dropdown-toggle::after {
  transition: transform .3s ease
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg)
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
  border-radius: 12px;
  padding: .5rem 0;
  margin-top: .5rem;
  min-width: 220px;
  background: color-mix(in srgb, var(--header-bg-color) 65%, transparent) !important;
  backdrop-filter: blur(12px)
}

.custom-dropdown .dropdown-item {
  padding: .75rem 1.5rem;
  transition: all .3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(in srgb, var(--header-bg-color) 95%, transparent) !important;
}

.custom-dropdown .dropdown-item i {
  width: 16px;
  color: #6c757d;
  transition: color .3s ease
}

.custom-dropdown .dropdown-item:hover i {
  color: #fff
}

.dropdown-menu {
  opacity: 0;
  transition: all .3s ease;
  display: block;
  visibility: hidden
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible
}

@media (min-width:1199.98px) {
  .custom-dropdown {
    max-width: 200px
  }
}

@media (max-width:1199.98px) {
  .custom-dropdown {
    display: none;
    background: #f8f9fa;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    border-top: 1px solid #dee2e6
  }

  .custom-dropdown .dropdown-item:hover {
    margin: 0;
    border-radius: 0;
    transform: none
  }
}

.dropdown-menu:hover,
.dropdown:hover .dropdown-menu {
  display: block !important;
  visibility: visible;
  opacity: 1
}
.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #91919131 !important;
}

.floating-rounded-navbar {
  background-color: rgba(221, 217, 207, 0.534)!important;
  position: absolute !important;
  top: 15px !important;
  left: 7px !important;
  right: 7px !important;
  width: calc(100% - 11px) !important;
  z-index: 2000;
  border-radius: 0px;
  transition: all 0.3s ease;
}


@media (max-width: 1199.98px) {
  .floating-rounded-navbar .navbar-collapse {
    top: 85px !important;
  }
}

.navbar-brand {
  margin-right: 0 !important;
}
            



.styled-section {
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    background: linear-gradient(135deg, #88C8BC, #4F8C9D);
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.styled-section::before,
.styled-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: float 15s ease-in-out infinite;
    z-index: 1;
}

.styled-section::before {
    width: 250px;
    height: 250px;
    background: #ffffff33;
    top: -100px;
    left: -100px;
}

.styled-section::after {
    width: 400px;
    height: 400px;
    background: #ffffff22;
    bottom: -150px;
    right: -150px;
    animation-duration: 20s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-30px) translateX(50px) rotate(45deg); }
    50% { transform: translateY(20px) translateX(-50px) rotate(90deg); }
    75% { transform: translateY(-10px) translateX(30px) rotate(135deg); }
}

.styled-section h2 {
    display: inline-block;
    background: rgba(245, 230, 211, 0.8); 
    color: #5C4B3C;
    padding: 15px 20px;
    border-radius: 15px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 4px #FFF;
    z-index: 2;
    position: relative;
    animation: h2Float 4s ease-in-out infinite alternate;
}

.styled-section h3 {
    display: inline-block;
    background: rgba(243, 220, 193, 0.8);
    color: #6B553F;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 3px #FFF;
    z-index: 2;
    position: relative;
    animation: h3Slide 5s ease-in-out infinite alternate;
}



.styled-section p {
    line-height: 1.8;
    z-index: 2;
    position: relative;
    margin-bottom: 20px;
}

.newsletter-section {
    background: linear-gradient(135deg, #88C8BC, #4F8C9D);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-container h2 {
    font-weight: 900;
    color: #F5E6D3;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-radius: 15px;
    background: rgba(245, 230, 211, 0.8);
    display: inline-block;
    animation: h2Float 4s ease-in-out infinite alternate;
}

.newsletter-container p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    padding: 15px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    background: rgba(255,255,255,0.9);
    color: #333;
}

.newsletter-form button {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: #F5E6D3;
    border: none;
    border-radius: 10px;
    cursor: default; 
    transition: transform 0.3s;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

@keyframes h2Float {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-1deg); }
    50% { transform: translateY(5px) rotate(1deg); }
    75% { transform: translateY(-5px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}



.styled-titles h2 {
    display: inline-block;
    background: rgba(245, 230, 211, 0.85); 
    color: #5C4B3C; 
    padding: 15px 30px;
    border-radius: 18px;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 6px #FFF;
    position: relative;
    z-index: 2;
    
}

.styled-titles h3 {
    display: inline-block;
    background: rgba(243, 220, 193, 0.8); 
    color: #6B553F; 
    padding: 12px 25px;
    border-radius: 15px;
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    text-shadow: 0 0 4px #FFF;
    position: relative;
    z-index: 2;
    animation: h3Float 5s ease-in-out infinite alternate;
}




  .tw-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .twitter-tweet {
    max-width: 100%;
    margin: 0 auto;
  }
  

.video-container,
.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


.video-container iframe,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.sidebar {
  box-sizing: border-box;
}
.sidebar .video-container {
  max-width: 100%;
}


@media (max-width: 320px) {
  .sidebar .video-container { padding-top: 66.66%; /* ~3:2, a bit taller for narrow sidebars */ }
}

@media (min-width: 1200px) {
  .sidebar .video-container { padding-top: 50%; /* 2:1 for a wider look */ }
}
