/* General Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stacks header, main, and footer */
    background: #fffeef !important; /* Beige */
    color: #333;
    font-family: 'Agrandir', sans-serif !important;
}

/* Header */
header {
    background: #1d6d0d; /* Light Green */
    padding: 20px;
    text-align: center; /* Ensure text stays centered */
    z-index: 1000;
}

/* Navbar */
/* General Navigation */
/* =========================
   NAV + BURGER STYLES
========================= */
nav {
  text-align: center;
  position: relative;
  z-index: 1000;
}

/* --- NEW BURGER BUTTON --- */
.burger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 44px;
  background: #1d6d0d;
  border: 2px solid #fffeef;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: transform 0.3s ease;
}

.burger span {
  width: 20px;
  height: 2px;
  background: #fffeef;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* --- Animate burger into X --- */
.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- NAV MENU OVERLAY --- */
nav ul {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 80px 0 0 0;
  list-style: none;
  background: rgba(29, 109, 13, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
}

/* Show overlay when active */
nav.active ul {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

nav ul li {
  margin: 10px 0;
}

nav ul li a {
  text-decoration: none;
  color: #fffeef;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 18px;
  padding: 5px 8px;
  border-radius: 5px;
  display: inline-block;
}

nav ul li a:hover {
  transform: scale(1.1);
  color: #fffeef;
}

/* --- MOBILE MENU ITEM BORDERS --- */
@media (max-width: 768px) {
  nav ul li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    margin-top: 0;
  }
}

/* --- DESKTOP VIEW --- */
@media (min-width: 769px) {
  nav ul {
    position: static;
    flex-direction: row;
    opacity: 1;
    pointer-events: all;
    transform: none;
    background: transparent;
    margin-top: 14px;
    justify-content: center; /* centers the list itself */
    height: auto;
    padding: 0;
  }

  nav ul li {
    margin: 0 15px;
  }

  .burger {
    display: none; /* hide burger on desktop */
  }

  .membership-grid {
    margin-bottom: 74px !important;
  }
}

@media (max-width: 769px) {
  .mobile-hidden {
    display: none;
}
}

.no-margin-bottom {
    margin-bottom: 0;
}

.topp {
    margin-bottom: 10px;
}

/* Small screen adjustments */
@media (max-width: 480px) {
    nav ul { gap: 5px; }
    nav ul li { margin: 0 5px; }
}

@media (max-width: 380px) {
    nav ul { gap: 2px; }
}

.top2 {
    margin-top: 0 !important;
}

/* Ensure all headings stay centered */
h1, h2, h3, h4, h5, h6 {
    text-align: center !important;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    font-weight: 700 !important;
}

h1, h2 {
    padding-bottom: 10px;
}

#track {
   Padding-top: 15px;
}
/* Fix Bootstrap's container layout */
.container {
    text-align: center !important;
    background: #fffeef !important;
}

/* Remove Bootstrap default margins on headings */
h1, h2, h3 {
    margin-bottom: 0 !important;
}

/* Main Content */
/* Make main take up remaining space and center content */
main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
    padding-left: 2% !important;
    padding-right: 2% !important;
}

/* Free Tip */
.free-tip {
    background: white;
    padding: 15px;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    max-width: 600px;
    border-left: 5px solid #43A047; /* Green accent */
    text-align: center;
    
}

@media (max-width: 660px) {
    .free-tip {
        max-width: 90%; /* Ensure it doesn’t touch edges */
    }
}

.past-tips {
    background: white;
    padding: 15px;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    min-width:400px;
    border-left: 5px solid #1d6d0d; /* Green accent */
    text-align: center;
}

@media (max-width: 660px) {
    .past-tips {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .past-tips {
        max-width: 90%;
        min-width: 300px;
    }
}

.past-tips2 {
    background: white;
    padding: 15px;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    min-width:400px;
    border-left: 5px solid #1d6d0d; /* Green accent */
    text-align: center;
}

@media (max-width: 660px) {
    .past-tips2 {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .past-tips2 {
        max-width: 90%;
        min-width: 300px;
    }
}

/* Premium Tips Section */
.premium-tips, .tips {
    text-align: center;
}

.notice {
    font-style: italic;
    color: #4CAF50;
}


/* Membership Options*/

/* Membership text styles */
.membership-option p {
    font-size: 18px;  /* Make text larger */
    font-weight: bold; /* Make text stand out */
    color: #333; /* Darker color for better contrast */
    margin-bottom: 10px; /* Add spacing between text and button */
    letter-spacing: 1px; /* Slight spacing for a modern feel */
}

/* Locked Content */
.locked {
    background: white;
    padding: 15px;
    max-width: 1200px;
    margin: 10px auto;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #1d6d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between buttons */
}

@media (max-width: 780px) {
    .locked {
        max-width: 90%; /* Ensure it doesn’t touch edges */
    }
}

.membership-option {
    text-align: center;
}

@media (max-width: 480px) {
    .membership-option p {
        font-size: 14px;
    }
}

.no-margin-bottom {
  margin-bottom: 0 !important;
}


/* Gold Button */
/* ===== Base Button Styling ===== */
.membership-btn {
    color: #ffffff;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    transition:
        background-color 0.25s ease,
        transform 0.15s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* ===== Gold (Premium Tier) ===== */
/* ===== GOLD (Premium Tier) ===== */
.gold-btn {
    background-color: #c9a400;
    border-color: #b38f00;
    color: #000000;
}
.gold-btn:hover {
    background-color: #d4af37;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}
.gold-btn:active {
    background-color: #a98200;
    transform: translateY(0);
}

/* ===== PLATINUM (Mid Tier) ===== */
.platinum-btn {
    background-color: #d0d0d0;
    border-color: #b6b6b6;
    color: #000000;
}
.platinum-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(180, 180, 180, 0.3);
}
.platinum-btn:active {
    background-color: #b6b6b6;
    transform: translateY(0);
}

/* ===== DIAMOND (Top Tier) ===== */
.diamond-btn {
    background-color: #5da8e0;  /* refined lighter blue */
    border-color: #4b94c9;
    color: #000000;
}
.diamond-btn:hover {
    background-color: #74b7e8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(93, 168, 224, 0.3);
}
.diamond-btn:active {
    background-color: #4b94c9;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .membership-btn {
        padding: 10px 22px;
        font-size: 14px;
        border-radius: 8px;
    }
}

.history-p {
    margin-bottom: 10px;
}

.free-tip-button {
    background-color: #1d6d0d; /* deep professional green */
    color: #ffffff;
    padding: 12px 28px;
    border: 1px solid #155408; /* subtle darker border */
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    transition:
        background-color 0.25s ease,
        transform 0.15s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
}

.free-tip-button:hover {
    background-color: #217b0f; /* slightly lighter green */
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(29, 109, 13, 0.25);
}

.free-tip-button:active {
    background-color: #155408;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .free-tip-button {
        padding: 10px 22px;
        font-size: 14px;
    }
}

/* Footer Section */
/* Footer */
footer {
    text-align: center;
    padding: 0;
    background: #1d6d0d;
    color: white;
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 3;
}
/* Socials Bar */
.socials-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    text-decoration: none;
    font-size: 26px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

@media (max-width: 480px) {
    footer p {
        display: none;
    }

    .social-icon {
        font-size: 18px; /* Smaller icons on mobile */
        margin-bottom: 10px;
    }
}

@media (max-height: 1079px) {
    footer p {
        display: none;
    }

    .social-icon {
        font-size: 18px; /* Smaller icons on mobile */
        margin-bottom: 10px;
    }
}

footer p {
        display: none;
    }

@media (max-width: 680px) {

    .social-icon {
        font-size: 18px; /* Smaller icons on mobile */
        margin-bottom: 10px;
    }
    footer p {
        display: none;
    }
}


/* Twitter */
.twitter {
    color: #fffeef;
}

.twitter:hover {
    transform: scale(1.1);
    color: #fffeef;
}

.tiktok {
    color: #fffeef;
}

.tiktok:hover {
    transform: scale(1.1);
    color: #fffeef;
}

.discord {
    color: #fffeef;
}

.discord:hover {
    transform: scale(1.1);
    color: #fffeef;
}

.instagram {
    color: #fffeef;
}

.instagram:hover {
    transform: scale(1.1);
    color: #fffeef;
}

/* LOGO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Adjust spacing */
}

.logo {
    width: 180px; /* Adjust size */
    height: auto;
}

@media (max-width: 480px) {
    .logo {
        width: 120px; /* Slightly smaller logo on small screens */
    }
}

/* CONTACT FORM PAGE */
/* Contact Form Container */
.contact-container {
    max-width: 500px;
    padding: 30px;
    padding-bottom: 10px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    border-left: 5px solid #1d6d0d;
    margin: 10px auto;
}

@media (max-width: 660px) {
    .contact-container {
        max-width: 90%; /* Ensure it doesn’t touch edges */
       margin: 10 auto;    
    }
}

/* Contact Form Heading */
.contact-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.contact-container p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Input Fields */
.input-group {
    text-align: left;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #1d6d0d; /* Green border */
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s ease;
    background: #f2f2f2; /* Light beige background to match theme */
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #3e8e41;
}

/* Contact Form Button */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: #1d6d0d;
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #3e8e41;
}

#form-response {
    margin-top: 15px; /* Adds space below the button */
    font-size: 16px;
    font-weight: bold;
}

/*About Us Section */
.about {
    background: white;
    padding: 15px;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    border-left: 5px solid #1d6d0d; /* Green accent */
    text-align: center;
}

@media (max-width: 940px) {
    .about {
        max-width: 90%;
    }
}
#about-section {
    margin-top: 15px;
 }

.no-margin {
  margin-top: 0 !important;
}

.dis {
    padding-bottom: 15px;
}

#about-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content towards the top */
    align-items: center;
    min-height: calc(100vh - 100px); /* Adjusts height to fit screen */
    margin-top: 20px; /* Moves content slightly higher */
    padding-bottom: 1200px;
} 

/* MODAL STYLING */
.modal-content {
    background: white;
    padding: 15px;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    min-width: 400px;
    border-left: 5px solid #1d6d0d !important; /* Green accent */
    text-align: center;
    top: -20px;
    pointer-events: auto; /* allows interaction inside the modal */
}

@media (min-width: 276px) {
    .modal-dialog {
        max-width: var(--bs-modal-width);
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 90%;
        min-width: unset;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: none !important;
    }
}

@media (max-width: 450px) {
    #content2 {
        max-width: 90% !important;
        min-width: unset;
    }
    .about {
        max-width: 90%;
    }
}

@media (max-width: 350px) {
    #content2 {
        max-width: 95% !important;
        min-width: unset;
    }
}

@media (max-width: 550px) {
    #content2 {
        max-width: 90% !important;
        min-width: unset;
    }
}

@media (max-width: 550px) {
    #content3 {
        max-width: 90% !important;
        min-width: unset;
    }
}

@media (max-width: 450px) {
    #content3 {
        max-width: 90% !important;
        min-width: unset;
    }
}

@media (max-width: 350px) {
    #content3 {
        max-width: 95% !important;
        min-width: unset;
    }
}

@media (max-width: 350px) {
    .modal-content {
        max-width: 95%;
        min-width: unset;
    }
}
/* Centering the modal on larger screens */
.modal-dialog { 
  display: flex; 
  align-items: flex-start; 
  justify-content: center; 
  height: 100vh !important; 
  align-items: center; /* Centers vertically */ 
  margin-bottom: 20px; 
  position: fixed; 
  pointer-events: auto; /* allows interaction inside the modal */
}

body.modal-open {
  overflow: hidden;
  touch-action: none; /* disables touch drag on mobile */
}

/* Adjust modal header to look cleaner */
.modal-header {
    border-bottom: none; /* Removes default Bootstrap header border */
    padding-bottom: 10px;
}

/* Style the close button */
.modal-header .btn-close {
    filter: brightness(0.5); /* Makes the close button more subtle */
    transition: 0.3s ease;
}

.modal-header .btn-close:hover {
    filter: brightness(0); /* Darkens on hover for better UX */
}

/* Style the modal table for better readability */
.modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.modal-body th, .modal-body td {
    padding: 10px;
    border: 1px solid #ddd;
}

.modal-body th {
    background-color: #f8f9fa;
    font-weight: bold;
}


/* Preloader Styles */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white; /* Matches site background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Ensures it stays on top */
}

/* Spinner Animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #43A047; /* Green border */
    border-top: 5px solid transparent; /* Creates spinning effect */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Preloader Container (Initially Hidden) */
#form-preloader {
    display: none; /* Hide by default */
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* Spinner Animation */
.spinner2 {
    width: 30px;
    height: 30px;
    border: 4px solid #1d6d0d; /* Green border */
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Show preloader when needed */
.show {
    display: flex !important;
}

/* Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#small-text {
    font-size: 10px;
}

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

.horse-colours {
    width: 40px; /* Adjusted for better balance */
    height: auto; /* Keeps aspect ratio */
    margin: 0 8px; /* Space around the image */
    display: inline-block; /* Ensures proper inline behavior */
    vertical-align: middle; /* Aligns image with text */
    margin-bottom: .5rem;
}
.locked {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.membership-container {
    display: flex;
    gap: 5px; /* Reduce gap for better fit on small screens */
    justify-content: center;
    flex-wrap: nowrap; /* Prevents stacking */
}

.membership-option {
    flex: 0 0 48%; /* Ensures both divs take 48% of the container */
    min-width: 140px; /* Prevents divs from shrinking too much */
    text-align: center;
}

/* Ensure they stay side by side even on very small screens */
@media (max-width: 580px) {
    .membership-container {
        flex-wrap: nowrap; /* Forces them to stay side by side */
        gap: 0;
    }

    .membership-option {
        flex: 0 0 50%; /* Forces each div to take half the width */
      width: 80px !important;
    }
}

@media (max-width: 480px) {
    .membership-container {
        flex-wrap: nowrap; /* Forces them to stay side by side */
        gap: 0;
    }
    .about {
        max-width: 90%;
    }
}

@media (max-width: 780px) {
    .membership-container {
        flex-direction: column; /* stack vertically */
        gap: 10px; /* more space between buttons */
        align-items: center; /* center the buttons */
    }
}

@media (max-width: 576px) {
    .container2 {
        margin-left: 40px;
        margin-right: 40px;
    }
}

@media (max-width: 480px) {
    .container2 {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.locked > div:last-child {
    margin-top: 5px; /* Reduce space between membership options and final div */
    text-align: center;
    font-size: 14px;
}

@media (max-width: 580px) {
  .locked > div:last-child {
    font-size: 10px;
    }
}

#Free {
    font-weight: bold;
    margin-top: 5px; /* Reduce space between membership options and final div */
    text-align: center;
    font-size: 16px;
}

@media (max-width: 580px) {
  #Free {
    font-size: 14px;
    }
}



/*SINCE INITIAL RELEASE*/

#price {
  font-weight: normal;
  font-size: 14px;
}

#media {
  margin-bottom: 1px !important;
}

#history-font {
  font-size: 20px !important;
}

.smaller {
    font-size: 15px !important; /* Adjust size as needed */
}

.TCC {
  text-align: Center;
}

@media (max-height: 1079px) {
    #TCs {
        margin-bottom: 80px !important;
    }

@media (max-width: 580px) {
    #TCs {
        margin-bottom: 80px !important;
    }
}

.lower {
  font-size: 14px;
  }
  
  
  .scroll-box {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: auto;
}

.scroll-box table {
  width: 100%;  /* Force table to fit container width */
  border-collapse: collapse;
  font-size: 0.75rem; /* Smaller font size */
}

.scroll-box th,
.scroll-box td {
  white-space: nowrap;
  padding: 0.25rem 0.5rem; /* Reduced padding */
  border: 1px solid #dee2e6;
}
.scroll-box table {
  border-collapse: collapse;
}

  
  
  
  #sheet-tabs button {
  color: black !important;
  background-color: transparent !important;
  border: 1px solid #1d6d0d !important;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: background-color 0.2s ease;
}

#sheet-tabs button:hover {
  background-color: rgba(67, 160, 71, 0.1) !important; /* subtle green highlight */
}

#sheet-tabs button:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(67, 160, 71, 0.25);
}

#sheet-tabs button.active {
  background-color: #1d6d0d !important;
  color: white !important;
  border-color: #1d6d0d !important;
}
  
  #sheet-tabs button {
  background: transparent !important;
  background-image: none !important;
  color: black !important;
  border: 1px solid #1d6d0d !important;
}

  #sheet-tabs button:focus {
  outline: none !important;
  box-shadow: none !important;
}

@media (max-width: 1079px) {
  .hide-mobile-col-3,
  .hide-mobile-col-4,
  .hide-mobile-col-6,
  .hide-mobile-col-7,
  .hide-mobile-col-8,
  .hide-mobile-col-10 {
    display: none !important;
  }
}


  
.modal .table-wrapper {
    max-height: 300px;     /* remove !important if possible */
    overflow-y: auto;
}

.modal .table {
    text-align: center;
    vertical-align: middle;
}

.modal .table th,
.modal .table td {
    text-align: center;
    vertical-align: middle;
}

  .my-5 { margin-top: 2rem !important;
  }
}

.bottom {
    margin-bottom: 0 !important;
  }


/*------------*/
/*REVIEW CSS*/

.testimonials-section {
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 1rem;
  position: relative;
  overflow: hidden;
  padding-left: 0 !important;
  margin-top: 15px !important;
}

.testimonial-heading {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

/* --- DOTS --- */
.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
  gap: 8px;
}

.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.testimonial-dots .dot.active {
  background-color: #1d6d0d; /* brand green */
  transform: scale(1.2);
}

/* --- SLIDER --- */
.testimonial-container {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex: 0 0 calc(33.333% - 1rem);
  margin: 0 0.5rem;
  border-left: 5px solid #1d6d0d;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 10px;
}

.testimonial-header i {
  font-size: 1.4rem;
  color: #1d6d0d;
}

.testimonial-name {
  font-weight: 700;
  color: #222;
  margin-left: 2px;
}

.testimonial-text {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: 10px;
  text-align: left;
}

.testimonial-text-head {
  color: #444;
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 10px;
  text-align: left;
  margin-bottom: 0;
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  .testimonial-container {
    overflow-x: auto;                  /* allow horizontal scroll */
    -webkit-overflow-scrolling: touch; /* smooth swipe on iOS */
    scroll-snap-type: x mandatory;     /* snap cards */
    display: flex;
    gap: 1rem;                         /* space between cards */
    box-sizing: border-box;
    margin-top: 15px !important;
  }

  .testimonial-track {
    display: flex;
    gap: 1rem;
  }

  .testimonial-card {
    flex: 0 0 75%;                     /* smaller width on mobile */
    max-width: 450px;
    scroll-snap-align: center;         /* snap to center */
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 0;                          /* remove desktop margin */
    box-sizing: border-box;
    height: 250px;
  }
  .testimonials-section {
    max-width: 90%;
    padding-right: 0 !important;
    margin: 0;
    margin-top: 15px;
    margin-bottom: 50px;
}
.testimonial-dots {
    display: none !important;
}
}

/* Extra small phones */
@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 85%;
    max-width: 85%;
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 560px) {
  .testimonial-card {
    max-width: 400px;
  }
}

@media (max-width: 500px) {
  .testimonial-card {
    max-width: 350px;
    height: 200px;
  }
}

@media (max-width: 440px) {
  .testimonial-card {
    max-width: 300px;
    height: 230px !important;
  }
}

@media (max-width: 580px) {
    .about p {
        font-size: 14px;
    }
    .testimonial-text {
        font-size: 12px;
    }
    .testimonial-text-head {
        font-size: 13px;
    }
    .testimonial-card {
        height: 200px;
    }
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.testimonial-profile {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;       /* ensures the image fills the circle */
  object-position: center; /* center by default */
  display: block;
  border: 0.1px solid black;   /* 2px black border */
}

#no-margin2 {
    margin-top: 0 !important;
}

#no-margin3 {
    margin-bottom: 0 !important;
}

.trustpilot-widget {
    margin-bottom: 29px;
    margin-top: 19px;
}

@media (max-width: 404px) {
    .trustpilot-widget {
    margin-bottom: 14px;
    }
}


/* MEMBERSHIP PAGE */

/* Container */
#memberships {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
}

/* Grid */
#memberships .membership-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 10px;
  margin-bottom: 0;
}

/* Card base styles */
.membership-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  padding: 30px 20px;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Tier borders */
.membership-card-gold { border-left: 5px solid #d4af37; }
.membership-card-platinum { border-left: 5px solid #d0d0d0; }
.membership-card-diamond { border-left: 5px solid #5da8e0; }

/* Titles & Price */
.membership-card h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #111;
  text-align: left !important;
  margin-left: 10px;
}

.membership-card .price {
  font-size: 1.2em;
  color: #1d6d0d;
  margin-bottom: 15px;
  text-align: left !important;
  margin-left: 10px;
}

.membership-card .price span {
  font-size: 0.8em;
  color: #666;
}

/* List */
.membership-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
   border-top: 1px solid #000;   /* ← thin black line */
  padding-top: 10px;            /* space between line and list items */
}

.membership-card ul li {
  margin: 8px 0;
  position: relative;
  padding-left: 22px;
}

.membership-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1d6d0d;
  font-weight: bold;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Tier-colored buttons */
.button-gold-tier {
  background: linear-gradient(45deg, #d4af37, #f0d76c);
  color: #111;
  margin-bottom: 20px;
}

.button-gold-tier:hover { transform: translateY(-2px); opacity: 0.9; }

.button-platinum-tier {
  background: linear-gradient(45deg, #e0e0e0, #bdbdbd);
  color: #111;
  margin-bottom: 20px;
}

.button-platinum-tier:hover { transform: translateY(-2px); opacity: 0.9; }

.button-diamond-tier {
  background: linear-gradient(45deg, #5da8e0, #0083b0);
  color: #111;
  margin-bottom: 20px;
}

.button-diamond-tier:hover { transform: translateY(-2px); opacity: 0.9; }

/* Responsive */
@media (max-width: 1000px) {
  #memberships .membership-grid { flex-direction: column; align-items: center; gap: 30px; }
}

/* Most Popular badge */
.membership-card .badge {
  position: absolute;
  background-color: #ffd166;  /* bright accent color */
  color: #111;
  font-weight: 700;
  font-size: 0.6em;
  padding: 6px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 2;
  right: 20px;
}

/* Prevent Bootstrap from changing text color or background on hover */
.button-gold-tier:hover,
.button-platinum-tier:hover,
.button-diamond-tier:hover {
    color: inherit !important;            /* keep the text color */
    background-color: unset !important;   /* remove Bootstrap bg hover */
    border-color: unset !important;       /* remove Bootstrap border hover */
    opacity: 0.9;                         /* optional, subtle hover effect */       /* keep your hover lift */
}

.best-for {
    text-align: left !important;
}

@media (max-width: 1000px) {
  #memberships .membership-card { 
    width: 90%
}
}
@media (max-width: 1000px) {
    #memberships .membership-card-diamond {
        margin-bottom: 72px;
}
}


@media (max-width: 520px) {
    .modal-title {
        font-size: 18px;
    }

      #freeTipModal .table th,
     #freeTipModal .table td {
    font-size: 12px; /* adjust this size as you like */
     }

     #freeTipModal .text-center.mt-3 h5 {
    font-size: 18px;
    margin-bottom: 0;
  }
}

#freeTipModal .text-center.mt-3 h5 {
    margin-top: 30px;
  }


/* FAQ SECTION */

.faq-section {
    background: white;
    padding: 15px;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 976px;
    border-left: 5px solid #1d6d0d; /* Green accent */
    text-align: center;
    margin-bottom: 80px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-category h3 {
  margin-bottom: 20px !important;
  margin-top: 20px !important;
  font-size: 22px;
  color: #333;
  padding-left: 10px;
  text-align: left !important;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 17px;
  font-weight: 400;
  padding: 15px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222; /* dark grey, close to black */
}

.faq-icon {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  transition: padding 0.3s ease;
  background: #f9f9f9;
  padding: 0 15px;
}

.faq-answer p {
  margin-top: 0;
  margin-bottom: 0;  
}

.faq-item:hover {
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

/* Active (open) state */
.faq-item.active .faq-answer {
  padding: 15px;
  max-height: 300px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* turns + into × (close symbol) */
}


@media (max-width: 576px) {
  .faq-section h2 {
    font-size: 26px;
  }

  .faq-category h3 {
    font-size: 20px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-icon {
    font-size: 20px;
  }
}

#firstH {
    margin-top: 5px !important;
}


@media (max-width: 1040px) {
  .faq-section {
    width: 90%;
  }
}