/* =========================
   Global Custom Properties
   ========================= */
:root {
    /* Colors & Accents */
    --primary-color: #490eee;       /* unified accent */
    --accent-2: #7b5cff;
    --accent-color: var(--accent);

    /* Backgrounds */
    --bg-1: linear-gradient(135deg,#eafaff 0%, #f7e8ff 100%);
    --page-bg: #f6f7fb;
    --card-bg: rgba(255, 255, 255, 0.795);
    --dark-bg: #1c1c1c;
    --light-bg: #222;
    --input-bg: #181818;

    /* Borders & Shadows */
    --glass-border: rgba(255,255,255,0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 6px 30px rgba(12,12,14,0.08);
    --shadow-color: rgba(0, 0, 0, 0.4);

    /* Navigation & Footer */
    --nav-bg: rgba(255,255,255,0.18);
    --nav-border: rgba(255,255,255,0.2);
    --footer-bg: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));

    /* Text & Fonts */
    --text: #111314;
    --muted: #666b72;
    --text-color: #f4f4f4;
    --font-stack: 'Poppins', Arial, sans-serif;
    --header-font: 'Georgia', serif;

    /* Layout */
    --glass-radius: 12px;
    --glass-padding: 12px;
    --transition: 250ms cubic-bezier(.2,.9,.3,1);
}

/* =========================
   Dark mode overrides
   ========================= */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-1: linear-gradient(135deg,#0f1114 0%, #0b0a0f 100%);
        --page-bg: #0b0b0d;
        --card-bg: rgba(233, 227, 227, 0.068);
        --glass-border: rgba(255,255,255,0.035);
        --text: #e7eef0;
        --muted: #b7c2c7;
        --glass-shadow: 0 8px 40px rgba(0,0,0,0.6);
        --nav-bg: rgba(255,255,255,0.03);
        --nav-border: rgba(255,255,255,0.03);
        --footer-bg: linear-gradient(145deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    }
}

/* =========================
   General Body Styling
   ========================= */
body {
    font-family: var(--font-stack);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-1);
    color: var(--text-color);
    line-height: 1.6;
    text-align: center;
    box-shadow: inset 0 0 10px var(--shadow-color);
    overflow-x: hidden;
}


/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* =========================
   Header Styling
   ========================= */
.main-header {
    background:
        url("images/main-page.JPG") no-repeat center center / cover;
    border-radius: 14px;
    padding: 34px;
    max-width: 900px;
    margin: 28px auto;
    text-align: center;
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 40px rgba(2,6,10,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: fade-in 1s ease-in-out;
}

/* Optional overlay behind text for readability */
.header-content {
    position: relative;
    z-index: 1;
    padding: 0.5em 1em;
    border-radius: 10px;
}

/* Main Header Title with gradient + stroke */
.main-header h1 {
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;

    /* Gradient text */
    background: linear-gradient(60deg, #be2edd, #00a8ff, #F79F1F);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Stroke outline */
    -webkit-text-stroke: 2px #130f40;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Optional gradient fill + subtle stroke for spans inside H1 */
.main-header h1.grad-stroke,
.main-header h1 span {
    background: linear-gradient(90deg, #8be9d6 0%, #7b5cff 60%, #ffd36b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.2px rgba(0,0,0,0.12);
}

/* Optional subtitle / paragraph with gradient + outline */
.main-header p {
    margin-top: 12px;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    max-width: 78ch;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;

    /* Gradient fill */
    background: linear-gradient(60deg, #be2edd, #00a8ff, #F79F1F);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Outline / stroke */
    -webkit-text-stroke: 1.5px rgba(0,0,0,0.35); /* blackish outline for visibility */
    text-shadow: 1.5px rgba(0,0,0,0.35); /* fallback for some browsers */
}


/* =========================
   Animations
   ========================= */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes text-pop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================
   Navigation Bar
   ========================= */
.horizontal-nav {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  scrollbar-width: none;
}

.horizontal-nav::-webkit-scrollbar { display: none; }

.nav-list {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.nav-list li { display: flex; }

.nav-list a {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease-in-out;
  color: #f0f0f0;
}

.nav-list a i {
  margin-right: 8px;
  font-size: 20px;
  color: #f0f0f0;
  transition: color 0.3s ease;
}

.nav-list a:hover i {
  color: #32f2f8; /* optional gradient effect handled via text above */
}

.nav-list a:hover {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(60deg, #be2edd, #00a8ff, #F79F1F);
  background-clip: text;
  box-shadow: 0 0 10px rgba(50, 242, 248, 0.3);
}

.nav-list img {
  margin-right: 8px;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.4));
}

/* Navbar Buttons Styling */
.btn {
    background-color: #623af3;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #080808;
}

.scrollable-box {
    width: 100%;
    max-height: 200px;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: #f4f4f4;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    white-space: nowrap;
    font-family: monospace;
}

.tutorial-section {
    margin-top: 20px;
}

header p {
    font-size: 18px;
    color: white;
}

/* Content Section Styling */
.content {
    padding: 20px;
}

/* Markdown Container Styling */
.markdown-container {
    background: #181818;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
    max-width: 800px;
    width: 80%;
}

/* Markdown Heading Styling */
.markdown-container h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: white;
}

.markdown-container h3 {
    font-size: 22px;
    margin-top: 20px;
    color: white;
}

/* Fancy Paragraph Styling */
.markdown-container p {
    font-size: 18px;
    line-height: 1.8;
    color: #f0f0f0;
    margin: 20px 0;
    text-shadow: 0 0 5px rgba(64, 241, 253, 0.6),
        0 0 10px rgba(159, 81, 248, 0.6);
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(159, 81, 248, 0.5);
    transition: all 0.3s ease-in-out;
}

.markdown-container p:hover {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 25px rgba(159, 81, 248, 1),
        0 0 35px rgba(64, 241, 253, 1);
    transform: scale(1.02);
}

/* Image Styling */
.markdown-container img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    margin-top: 10px;
}

/* Video Styling */
.markdown-container video {
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
    border-radius: 10px;
}

/* General styling for the grid container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
    background-color: #000000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 95%;
    margin: 20px auto;
    overflow: hidden;
}

/* Styling for each individual grid item */
.grid-item {
    background-color: #1a1919;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(73, 5, 231, 0.699);
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Specific styling for images or media inside grid items */
.grid-item img,
.grid-item video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 200px;
    display: block;
    margin: 0 auto;
    border-radius: 5px; /* Use a consistent border-radius */
}

.grid-item h3,
.grid-item h2 {
    color: #cfcbcb;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.grid-item p {
    font-size: 1rem;
    color: #e9e7e7;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(64, 241, 253, 0.6),
        0 0 10px rgba(159, 81, 248, 0.6);
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(159, 81, 248, 0.5);
    transition: all 0.3s ease-in-out;
}

.grid-item p:hover {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 25px rgba(159, 81, 248, 1),
        0 0 35px rgba(64, 241, 253, 1);
    transform: scale(1.02);
}

/* Styling for the dropdown container */
.code-select {
    margin-bottom: 20px;
    text-align: center;
}

/* Styling for the select dropdown */
#codeSections {
    padding: 10px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--input-bg);
    cursor: pointer;
    color: var(--text-color);
}

#codeSections:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px var(--secondary-color);
}

/* Dropdown toggle button */
.dropdown-toggle {
    background-color: #222;
    color: rgb(86, 221, 255);
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    /* Use button style from your file for consistency */
    padding: 12px 24px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(159, 81, 248, 0.8),
        0 0 20px rgba(64, 241, 253, 0.8);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    animation: glowing 3s infinite alternate;
    margin: 10px;
}

.dropdown-toggle:hover {
    background-color: #111;
    transform: scale(1.05);
}

/* Dropdown content */
.dropdown-content {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
}

.dropdown-content.show {
    display: block;
}

/* Textarea for code */
.dropdown-content textarea {
    width: 100%;
    min-height: 150px;
    font-family: monospace;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    resize: vertical;
    background-color: var(--input-bg);
    color: var(--text-color);
}

/* Copy button */
.copy-button {
    align-self: center; /* Center the button */
    background-color: var(--accent-color);
    color: #000;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background-color: rgb(86, 221, 255);
}


/* Button Styling (General) */
button {
    padding: 12px 24px;
    background: linear-gradient(45deg, #40f1fd, #9f51f8);
    background-size: 200% 200%;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
    box-shadow: 0 0 10px rgba(159, 81, 248, 0.8),
        0 0 20px rgba(64, 241, 253, 0.8);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    animation: glowing 3s infinite alternate;
    margin: 10px;
}

button:hover {
    background-position: 100% 100%;
    box-shadow: 0 0 20px rgba(159, 81, 248, 1),
        0 0 30px rgba(64, 241, 253, 1);
    transform: scale(1.05);
}

/* Glowing Animation */
@keyframes glowing {
    0% {
        box-shadow: 0 0 10px rgba(159, 81, 248, 0.8),
            0 0 20px rgba(64, 241, 253, 0.8);
    }

    100% {
        box-shadow: 0 0 20px rgba(159, 81, 248, 1),
            0 0 40px rgba(64, 241, 253, 1);
    }
}

/* Return Button Styling */
.return-button button {
    padding: 12px 24px;
    background: linear-gradient(45deg, #555, #222);
    background-size: 200% 200%;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.return-button button:hover {
    background-position: 100% 100%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

/* Centering Buttons */
.center-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

/* Styling for the heading */
h2.video-grid2-heading {
    text-align: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    margin: 0 auto;
    background-color: #222;
    padding: 10px;
    border-radius: 10px;
    max-width: 300px;
}

/* Flexbox layout for video grid */
.video-grid2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Styling for each video container */
.video-container {
    text-align: center;
    color: white;
    max-width: 300px;
}

/* Video styling */
video {
    width: 100%;
    height: auto;
    background: #000;
    margin-top: 10px;
    border-radius: 5px;
}

/* File input styling */
input[type="file"] {
    margin-top: 10px;
    color: white;
    background-color: #444;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}



/* Responsive adjustments for desktop/tablet sizes */
@media screen and (max-width: 992px) {
    .nav-header {
        max-width: 700px;
        width: 90%;
        padding: 12px 20px;
    }

    .navbar li.right {
        margin-left: auto;
    }

    .navbar a {
        font-size: 16px;
        padding: 8px 12px;
    }

    .markdown-container {
        width: 90%;
        padding: 15px;
    }

    .grid-container {
        grid-template-columns: 1fr; /* Updated to 1 column for better mobile experience */
        width: 90%;
    }
}

/* Responsive adjustments for smaller desktop screens (e.g., typically laptops) */
@media screen and (max-width: 1200px) {
}

/* Responsive adjustments for mobile devices (portrait) */
@media screen and (max-width: 480px) {
    .main-header h1 {
        font-size: 28px;
    }

    .nav-header {
        max-width: 100%;
        width: 95%;
        padding: 10px 5px;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .navbar li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .navbar li.right {
        margin-left: 0;
    }

    .navbar a {
        font-size: 16px;
        padding: 8px 12px;
        display: block;
    }

    .markdown-container {
        width: 90%;
        padding: 15px;
    }

    .markdown-container h2 {
        font-size: 22px;
    }

    .markdown-container h3 {
        font-size: 18px;
    }

    .markdown-container p {
        font-size: 16px;
    }

    .grid-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .grid-item h3,
    .grid-item h2 {
        font-size: 1.25rem;
    }

    .grid-item p {
        font-size: 0.95rem;
    }

    .scrollable-box {
        font-size: 14px;
        padding: 5px;
    }

    textarea {
        height: 150px;
        font-size: 0.95rem;
    }

    .copy-button {
        font-size: 0.95rem;
        padding: 8px 16px;
    }

    .btn {
        font-size: 0.95rem;
        padding: 8px 16px;
    }
}

/* Responsive adjustments for mobile landscape mode */
@media screen and (max-height: 480px) and (orientation: landscape) {
    .main-header h1 {
        font-size: 24px;
    }

    .nav-header {
        max-width: 100%;
        width: 95%;
        padding: 10px;
    }

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        flex-direction: row;
    }

    .navbar li {
        width: auto;
        text-align: inherit;
    }

    .navbar a {
        font-size: 15px;
        padding: 6px 10px;
    }

    .markdown-container {
        width: 95%;
        padding: 10px;
    }

    .markdown-container h2,
    .markdown-container h3 {
        font-size: 20px;
    }

    .markdown-container p {
        font-size: 15px;
    }

    .grid-container {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
        padding: 10px;
        width: 95%;
    }

    .grid-item p {
        font-size: 0.9rem;
    }

    textarea {
        height: 150px;
        font-size: 0.9rem;
    }

    .copy-button,
    .btn {
        font-size: 0.9rem;
        padding: 8px 14px;
    }
}
/* =========================
   Sleek Glassy Footer (Refined)
   ========================= */
.site-footer {
    background: rgba(20, 20, 20, 0.164);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #eaeaea;
    font-weight: 500;
    text-align: center;
    padding: 8px 10px;
    position: fixed;
    bottom: 0; /* always visible */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 115px;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.4s ease;
    z-index: 9999;
    border-radius: 12px 12px 0 0;
}

.site-footer:hover {
    background: rgba(30, 30, 30, 0.7); /* optional hover effect */
}


/* Footer Container */
.footer-content {
    width: 100%;
    max-width: 550px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column; /* stacked for better mobile layout */
    gap: 6px;
    margin: 0 auto;
    position: relative;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-content p {
    margin: 0;
    font-weight: 300;
    font-size: 12px;
    color: #cfcfcf;
    opacity: 0.85;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color, #ccc);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color, #54eec7);
    text-shadow: 0 0 8px rgba(84, 238, 199, 0.6);
}

/* --- Responsive Design for Footer --- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* =========================
   Glassy Modal Styles (FIXED)
   ========================= */
.modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex; /* flex for centering */
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none; /* disable clicks when hidden */
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

/* Show the modal */
.modal.show {
    opacity: 1;
    pointer-events: auto; /* enable clicks */
}


.modal-content {
    background: rgba(30,30,30,0.8); /* glassy */
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
    /* Removed 'margin: 50px auto;' and relying on flex centering */
    padding: 25px 35px 30px; /* Increased padding */
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh; /* Increased max-height for better centering */
    overflow-y: auto; /* scroll for long content */
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    color: #eaeaea; /* Set base text color */
    text-align: left; /* Default text alignment */
    transform: scale(0.9); /* Start small for animation */
    transition: transform 0.3s ease, opacity 0.3s ease;
    
    /* Ensure close button is positioned relative to this container */
    position: relative; 
}

/* Animate the content when active */
.modal.active .modal-content {
    transform: scale(1);
}

/* Close button (FIXED positioning) */
.modal-content .close {
    color: #ccc;
    position: absolute; /* Absolute positioning */
    top: 10px;
    right: 15px;
    font-size: 32px;
    font-weight: 300; /* Made it lighter */
    cursor: pointer;
    line-height: 1; /* Adjust to ensure better vertical alignment */
    transition: color 0.3s ease;
    z-index: 10;
}

.modal-content .close:hover {
    color: var(--accent-color, #54EEC7);
}



/* Main H2 Title (Terms of Service / Privacy Policy) */
.modal-content h2 {
    color: var(--accent-color, #40e0d0);
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 25px; /* Added separation */
}

/* Section Headings (H3) */
.modal-content h3 {
    color: var(--accent-color, #40e0d0); /* Used the same accent color */
    text-align: center; /* Centered as per the image */
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 30px; /* Generous space above */
    margin-bottom: 12px; /* Space below */
}

/* Paragraphs */
.modal-content p {
    margin-top: 0;
    margin-bottom: 15px; /* Added separation between paragraphs */
    line-height: 1.6; /* Improved readability */
    font-size: 0.95rem;
}

/* Unordered Lists (Fixes the 'smushed' bullet points) */
.modal-content ul {
    list-style-type: disc;
    padding-left: 30px; /* Adds indentation and space for the bullets */
    margin-top: 10px;
    margin-bottom: 15px;
}

/* List Items */
.modal-content ul li {
    margin-bottom: 8px; /* Separates list items */
    line-height: 1.5;
}

/* Special styling for the Effective Date/Last Updated */
.modal-content p strong {
    display: block;
    text-align: center;
    margin-top: 25px;
    font-size: 1rem;
    color: #54EEC7;
}


.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(84,238,199,0.5); /* Semi-transparent accent color */
    border-radius: 4px;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 20px 20px 25px;
        max-height: 95vh;
    }
}
