  /* Retro Windows 95 style basic reset and style */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;

}
.splink:link{color: blue;
  text-decoration: none;
}
.splink:visited{color: blue;
  text-decoration: none;
}
.splink:hover{color: purple;
  text-decoration: underline;
} 
/* Add this to your CSS */
.section-highlight {
  animation: highlight-fade 1.5s ease-out;
}

@keyframes highlight-fade {
  0% {
    background-color: lightskyblue;
  }
  100% {
    background-color: transparent;
  }
}

/* Ensure the body takes up the full height of the viewport */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: black;
  font-size: 18px;
  line-height:1.5;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
header {
  position: fixed;
  width: 100%;
  border-bottom: 2px solid black;
    z-index: 9999;

}
main {
  flex-grow: 1;
  margin-top: 50px; /* Match the height of the fixed header */
  padding: 10px;
  background: #e0e0e0;
  border: 2px solid #808080;
  box-shadow: inset 1px 1px 1px #fff, inset -1px -1px 1px #404040;
}
.logo {
  font-weight: bold;
  font-size: 28px;
  color: navy;
  text-shadow: 1px 1px 0 white;
  letter-spacing: 1px;
}
nav{
  background: linear-gradient(to top, #c0c0c0 0%, #808080 100%);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #404040;
}
nav ul{

  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav li{
  height: 50px;
}
nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
}
nav a:hover{
  background-color: #2929297c;
}
nav li:first-child{
  margin-right: auto;
}
nav a.sideactive:not(.logo) {
  color: white !important;
  background-color: #2929297c;
  outline: 2px solid black;
  transition: background-color 0.3s, color 0.3s;
}
.sidebar{
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.sidebar.active {
  transform: translateX(0);
}
.sidebar li{
  width: 100%;
}
.sidebar a{
  width: 100%;
  color: black;
}
.sidebar a:hover{
  background-color: #2929297c;
}
.sidebar a.active {
  background-color: #2929297c;
  color: white;
}
.menu-button{
  display: none;
}
 blockquote {
      font-style: italic;
      text-align: right;
      padding-right: 50px;
    }
@import url(https://fonts.googleapis.com/css?family=Roboto:700);


.button {
  position: relative;
  background: linear-gradient(to bottom, #f0f0f0 0%, #d0d0d0 100%);
  border: 2px solid #808080;
  box-shadow:
    1px 1px 0 #fff,
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 #808080;
  padding: 10px 0;
  max-width: 200px;
  overflow: hidden;
  text-align: center;
  justify-content: center;
  transition: .2s;
  cursor: pointer;
  border-radius: 5px;
  color: black;
  height: 50px;
  display: flex;
  align-items: center;
  /* Center content horizontally */
  margin: 0 auto;
}

.btnText {
  color: black;
  text-decoration: none;
  transition: .3s;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s, transform 0.3s;
}

.btnText2 {
  color: #FFF;
  background: navy;
  border-radius: 5px;
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(120%);
  opacity: 0;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(.42,0,.44,1.68), opacity 0.4s cubic-bezier(.42,0,.44,1.68);
}

.button:hover .btnText {
  opacity: 0;
  transform: translateX(-60%);
}

.button:hover .btnText2 {
  transform: translateX(-50%);
  opacity: 1;
}
/* ...existing code... */

:root {
  --bd-gap-and-dash-length: 18px;
  --bd-border-width: 6px;
  --bd-border-color: #292929;
  --bd-dash-percent: 60%;
  --bd-speed: 360px;
}

.latest-updates-box {
  margin: 32px auto;
  
  padding: 24px 32px;
  max-width: 100%;
  background: #fffbe6 ;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  font-family: inherit;
  border: none;
  color: navy;


  /* Animated border using 4 gradients */
  background:
    linear-gradient(90deg, var(--bd-border-color) var(--bd-dash-percent), transparent calc(100% - var(--bd-dash-percent))),
    linear-gradient(90deg, var(--bd-border-color) var(--bd-dash-percent), transparent calc(100% - var(--bd-dash-percent))),
    linear-gradient(0deg, var(--bd-border-color) var(--bd-dash-percent), transparent calc(100% - var(--bd-dash-percent))),
    linear-gradient(0deg, var(--bd-border-color) var(--bd-dash-percent), transparent calc(100% - var(--bd-dash-percent)));
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size:
    var(--bd-gap-and-dash-length) var(--bd-border-width),
    var(--bd-gap-and-dash-length) var(--bd-border-width),
    var(--bd-border-width) var(--bd-gap-and-dash-length),
    var(--bd-border-width) var(--bd-gap-and-dash-length);
  background-position:
    0 0,                      /* top */
    0 100%,                   /* bottom */
    0 0,                      /* left */
    100% 0;                   /* right */
  animation: border-dance 6s linear infinite;
}

@keyframes border-dance {
  0% {
    background-position:
      0 0,                    /* top */
      0 100%,                 /* bottom */
      0 0,                    /* left */
      100% 0;                 /* right */
  }
  100% {
    background-position:
      var(--bd-speed) 0,                    /* top moves right */
      calc(-1 * var(--bd-speed)) 100%,      /* bottom moves left */
      0 calc(-1 * var(--bd-speed)),         /* left moves up */
      100% var(--bd-speed);                 /* right moves down */
  }
}

.latest-updates-box:hover {
  --bd-border-color: navy;
  animation-play-state: paused;
}

/* Optional: Style the heading and list for better appearance */
.latest-updates-box h2 {
  margin-top: 0;
  font-size: 1.5em;
  letter-spacing: 1px;
  color: black;
}
.latest-updates-box h3 {
  padding-left: 0;
}

.latest-updates-box ul {
  margin: 0;
  padding-left: 15px;
  
}

.latest-updates-box li {
  margin-bottom: 8px;
  font-size: 1.1em;
}
.explore-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    
}

.explore-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.explore-section-title h1 {
    /* Use relative sizing so headings scale with <main> font-size */
    font-family: inherit;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    transition: font-size 160ms ease;
}

.explore-section-title h1::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: black;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.explore-section-title p {
    font-family: inherit;
    font-size: 1em;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
} 

.explore {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
}

.explore-card {
    flex: 0 0 calc(33.33% - 20px);
    background-color: rgba(255, 255, 255, 0.699);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.explore-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: navy;
}

.explore-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 20px;
}

.explore-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
        border: 2px solid navy;

}
.explore-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
        border: 2px solid navy;

}

.explore-card:hover .explore-image img {
    transform: scale(1.05);
}
.explore-card:hover .explore-image video {
    transform: scale(1.05);
}
.explore-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.explore-card p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    background: linear-gradient(to bottom, #f0f0f0 0%, #d0d0d0 100%);
    border: 2px solid #808080;
    box-shadow:
    1px 1px 0 #fff,
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 #808080;
    color: black;
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.read-more .arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    padding-right: 25px;
}

.read-more:hover .arrow {
    transform: translateX(5px);
}

.card{
    flex: 0 0 calc(33.33% - 20px);
    background-color: rgba(255, 255, 255, 0.699);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
    margin-right: 20px;
}
.card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.card p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}
.cardbutton {
    background: linear-gradient(to bottom, #f0f0f0 0%, #d0d0d0 100%);
    border: 2px solid #808080;
    box-shadow:
    1px 1px 0 #fff,
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 #808080;
    color: black;
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cardbutton .arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.cardbutton:hover {
    padding-right: 25px;
}

.cardbutton:hover .arrow {
    transform: translateX(5px);
}
  /* Import Poppins font */
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
  
  :root {
    --color-bg: #ffffff;
    --color-primary: #111827;
    --color-gray: #6b7280;
    --color-accent: #000000;
    --color-shadow: rgba(0,0,0,0.05);
    --color-star-on: #fbbf24;
    --color-star-off: #d1d5db;
  }

  /* Reset */
  *, *::before, *::after { 
    box-sizing: border-box; 
  }
 
  .ratecontainer {
    max-width: 1200px;
    width: 100%;
    padding: 0 1rem;
    margin: 4rem auto 2rem auto;
  }
  .ratecontainer h1 {
    font-weight: 700;
    font-size: clamp(36px, 4vw, 48px);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.25rem;
    line-height: 1.1;
  }
  p.subtitle {
    color: var(--color-gray);
    font-size: clamp(16px, 2vw, 18px);
    text-align: center;
    margin: 0 0 1rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  section.rating-card {
    background: var(--color-bg);
    box-shadow: 0 4px 8px var(--color-shadow);
    border-radius: 0.75rem;
    padding: clamp(24px, 4vw, 48px);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #rating-summary {
    font-weight: 600;
    color: var(--color-primary);
    font-size: clamp(18px, 2vw, 20px);
    margin-bottom: 2rem;
    min-height: 24px;
    user-select: none;
    text-align: center;
    width: 100%;
  }

  form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 32px);
  }

  fieldset {
    border: none;
    padding: 0;
    margin: 0;
  }
  legend {
    font-weight: 600;
    font-size: clamp(16px, 2vw, 18px);
    color: var(--color-primary);
    margin-bottom: clamp(12px, 1.5vw, 20px);
  }

  .stars {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-direction: row-reverse;
    user-select: none;
  }
 
  .stars input[type="radio"] {
    display: none;
  }
  .stars label {
    cursor: pointer;
    width: clamp(40px, 5vw, 48px);
    height: clamp(40px, 5vw, 48px);
    fill: var(--color-star-off);
    transition: transform 0.2s ease, fill 0.2s ease;
  }
  .stars label svg {
    width: 100%;
    height: 100%;
  }
  
  .stars input[type="radio"]:checked + label,
  .stars input[type="radio"]:checked + label ~ label {
    fill: var(--color-star-on);
    transform: scale(1.25);
    filter: drop-shadow(0 0 1.2px #000000);
    color:gold;
  }
  .stars label:hover,
  .stars label:hover ~ label {
    fill: var(--color-star-on);
    transform: scale(1.3);
  }
  .stars label:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }

  label[for="name-input"],
  label[for="feedback-input"],
  label[for="approve-checkbox"] {
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
  }
  /* Make inputs inherit the chosen font and scale with <main> */
  input[type="text"], textarea {
    font-family: inherit;
    font-size: 1em; /* follow the main font-size so placeholders scale */
    border-radius: 0.75rem;
    border: 1.5px solid #d1d5db;
    padding: clamp(12px, 1.5vw, 16px);
    width: 100%;
    transition: border-color 0.25s ease;
  }
  input[type="text"]:focus, textarea:focus {
    outline: none;
    border-color: var(--color-accent);
  }
  textarea {
    min-height: clamp(80px, 10vw, 120px);
    resize: vertical;
  }
textarea#feedback-input,
textarea[name="feedback"],
textarea.feedback-input {
    min-height: 120px;
    max-height: none;
    height: 140px;
    resize: vertical;
    overflow-y: auto;
    width: 100%;
}
  .checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray);
    user-select: none;
  }
  .checkbox-container input[type="checkbox"] {
    width: clamp(16px, 2vw, 18px);
    height: clamp(16px, 2vw, 18px);
    cursor: pointer;
  }

  button.submit-btn {
    font-weight: 600;
    font-size: clamp(16px, 2vw, 18px);
    background-color: var(--color-accent);
    color: white;
    padding: clamp(12px, 2vw, 16px);
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
  }
  button.submit-btn:hover:not(:disabled) {
    background-color: var(--color-primary);
  }
  button.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  #thank-you-message {
    font-weight: 600;
    font-size: clamp(18px, 2vw, 20px);
    color: var(--color-primary);
    margin-top: 2rem;
    text-align: center;
    display: none;
  }

  section.feedback-slider-container {
    max-width: 900px;
    margin: 4rem auto 0 auto;
    padding: 0 1rem;
  }
  h2.feedback-slider-header {
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px);
    text-align: center;
    color: var(--color-primary);
    margin-bottom: clamp(24px, 3vw, 32px);
  }
  .feedback-slider {
    overflow: hidden;
    position: relative;
  }
  .slides {
    display: flex;
    gap: clamp(16px, 2vw, 24px);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  .slides::-webkit-scrollbar {
    display: none;
  }

  article.feedback-card {
    flex: 0 0 clamp(260px, 25vw, 280px);
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px var(--color-shadow);
    padding: clamp(20px, 2vw, 32px) clamp(20px, 2vw, 32px) clamp(28px, 3vw, 40px) clamp(20px, 2vw, 32px);
    display: flex;
    flex-direction: column;
    min-height: clamp(160px, 18vw, 180px);
  }
  article.feedback-card:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  }
  .feedback-name {
    font-weight: 700;
    color: var(--color-primary);
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: clamp(8px, 1vw, 12px);
  }
  .feedback-rating {
    margin-bottom: clamp(12px, 1.5vw, 16px);
  }
  .feedback-message {
    color: var(--color-gray);
    font-size: clamp(17px, 1.5vw, 18px);
    white-space: pre-wrap;
    flex-grow: 1;
    height: 120px;
    width:  290px;
    max-height: 120px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #bbb #f5f5f5;
    word-break: break-word;
  }


@media (max-width: 400px) {
  .feedback-message {
    font-size: 13px;
    height: 80px;
    max-height: 120px;
    width: 100%;
  }
}
  svg.feedback-star {
    width: clamp(16px, 1.5vw, 20px);
    height: clamp(16px, 1.5vw, 20px);
    fill: var(--color-star-on);
    margin-right: 3px;
    vertical-align: middle;
    display: inline-block;
  }
  .slider-controls {
    margin-top: clamp(16px, 2vw, 24px);
    display: flex;
    justify-content: center;
    gap: clamp(18px, 3vw, 28px);
  }
  button.slider-btn {
    background: var(--color-accent);
    border: none;
    border-radius: 50%;
    width: clamp(36px, 4vw, 44px);
    height: clamp(36px, 4vw, 44px);
    color: white;
    font-size: clamp(20px, 3vw, 28px);
    line-height: clamp(36px, 4vw, 44px);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    transition: background-color 0.25s ease;
  }

/* --- Accessibility/Reading Settings overrides ---
   Ensure headings, card content and feedback cards inherit the chosen
   font style and scale with the font-size applied to <main> by `customfont.js`.
   These rules are intentionally placed at the end so they override
   earlier fixed/clamped font-size declarations. */

/* Apply chosen font to common blocks */
.card,
.explore-card,
.latest-updates-box,
.card h3,
.explore-card h3,
.card p,
.explore-card p,
.cardbutton,
.read-more,
.ratecontainer,
.ratecontainer h1,
section.rating-card,
#rating-summary,
legend,
label[for="name-input"],
label[for="feedback-input"],
label[for="approve-checkbox"],
.feedback-slider,
.slides,
article.feedback-card,
.feedback-name,
.feedback-message,
h2.feedback-slider-header,
h1,
.explore-section-title h1,
p.subtitle,
button.submit-btn {
  /* Use the font chosen by the user (applied to <main>) */
  font-family: inherit;
}

/* Headings and section titles scale with main font */
.explore-section-title h1,
.ratecontainer h1 {
  /* Stronger multiplier so headings are noticeably larger even at small main sizes */
  font-size: 1.8em; /* larger section/title size */
  font-family: inherit;
  transition: font-size 160ms ease;
}

/* Card headings and feedback headers slightly larger */
.card h3,
.explore-card h3,
h2.feedback-slider-header {
  font-size: 1.15em; /* slightly larger than body text */
}

/* Body-level text matches main text size */
.card p,
.explore-card p,
.feedback-message,
.feedback-name,
#rating-summary,
p.subtitle,
legend,
label[for="name-input"],
label[for="feedback-input"],
label[for="approve-checkbox"] {
  font-size: 1em; /* match main text size */
}

/* Small-screen tweak (keeps layout stable while remaining scalable) */
@media (max-width: 480px) {
  .feedback-message { font-size: 0.95em; }
  label[for="name-input"],
  label[for="feedback-input"],
  label[for="approve-checkbox"] { font-size: 0.95em; }
}

  button.slider-btn:hover {
    background: var(--color-primary);
  }
  button.slider-btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
  }

  @media (max-width: 640px) {
    h1 {
      font-size: 36px;
    }
    section.rating-card {
      padding: 24px 24px 32px;
      max-width: 100%;
    }
    button.submit-btn {
      font-size: 18px;
    }
    section.feedback-slider-container {
      max-width: 100%;
    }
    article.feedback-card {
      flex: 0 0 240px;
      padding: 20px 20px 28px;
      min-height: 160px;
    }
    button.slider-btn {
      width: 40px;
      height: 40px;
      font-size: 24px;
      line-height: 40px;
    }
  }
  @media (max-width: 400px) {
    .stars label {
      width: 2.5rem;
      height: 2.5rem;
    }
    label[for="name-input"],
    label[for="feedback-input"],
    label[for="approve-checkbox"] {
      font-size: 14px;
    }
    input[type="text"], textarea {
      font-size: 14px;
    }
    button.submit-btn {
      font-size: 16px;
      padding: 12px 16px;
    }
    .feedback-name {
      font-size: 16px;
    }
    .feedback-message {
      font-size: 14px;
    }
  }
  @media (max-width: 325px) {
  .stars label {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 1.7rem;
  }
  .stars {
    gap: 0.25rem;
  }
}
.guidelines{
  margin-left: 5px;

}
.guidelines ul{
  padding-left: 20px;
}
footer {
  background: linear-gradient(to top, #3a3939  0%, #3a3939 100%);
  color: white;
  text-align: center;
  padding: 1px 2px 2px;
}

.socials-container {
  display: flex;
  gap: 14px;
  padding: 1em;
  justify-content: center;
}

.socials-container a {
  background-color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: background-color 0.3s;
}

.socials-container a svg {
  height: 20px;
  width: 20px;
}

.socials-container a::before {
  content: attr(data-social);
  position: absolute;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  padding: 0.3em 0.7em;
  font-size: 0.75rem;
  border-radius: 100px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-26px) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
}

.socials-container a:hover {
  background-color: var(--accent-color);
  fill: white;
}

.socials-container a::after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--accent-color);
  transform: translateY(0) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
}

.socials-container a:hover::before {
  transform: translateY(-52px) rotate(0);
  opacity: 1;
}

.socials-container a:hover::after {
  transform: translateY(-32px) rotate(0);
  opacity: 1;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav li {
  margin: 0 15px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #aaa;
}

footer p {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

footer span {
  font-weight: bold;
  color: #bbb;
}

@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}
@media(max-width: 400px){
  .sidebar{
    width: 250px;
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  .socials-container {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0.8em;
  }

  .socials-container a {
    width: 40px;
    height: 40px;
  }

  .socials-container a svg {
    height: 18px;
    width: 18px;
  }

  .socials-container a::before {
    font-size: 0.65rem;
    padding: 0.25em 0.6em;
    transform: translateY(-22px) rotate(25deg);
  }

  .socials-container a:hover::before {
    transform: translateY(-45px) rotate(0);
  }

  .socials-container a::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--accent-color);
  }

  .socials-container a:hover::after {
    transform: translateY(-28px) rotate(0);
  }
}
/* Responsive styles */
@media (max-width: 992px) {
    .explore-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .explore-card {
        flex: 0 0 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title h1 {
        font-size: 30px;
    }
    
    .section-title p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }
    
    .explore-image {
        height: 180px;
    }
}

/* Ensure form controls inherit the chosen font set on <main> (customfont.js applies font to <main>) */
input,
textarea,
select {
  font-family: inherit;
  font-size: 1em; /* scale with <main> font-size */
}

/* Placeholder styles should also inherit the font and have a consistent color */
input::placeholder,
textarea::placeholder {
  font-family: inherit;
  color: #666;
  opacity: 0.8;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder { font-family: inherit; color: #666; opacity: 0.8; }
input::-moz-placeholder,
textarea::-moz-placeholder { font-family: inherit; color: #666; opacity: 0.8; }
input:-ms-input-placeholder,
textarea:-ms-input-placeholder { font-family: inherit; color: #666; opacity: 0.8; }
input:-moz-placeholder,
textarea:-moz-placeholder { font-family: inherit; color: #666; opacity: 0.8; }

/* Make submit button inherit font too */
button.submit-btn,
button[type="submit"],
input[type="submit"] {
  font-family: inherit;
  font-size: 1em;
}

