/* Define CSS variables for easy color changes */
:root {
    --primary-color: #ff6347;
    --secondary-color: #4caf50;
    --background-color: #f0f0f0;
    --text-color: #333;
}

/* Global styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    background-color: var(--secondary-color);
    padding: 10px 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2em;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Main content */
main {
    padding: 20px 0;
}

main h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

main p {
    line-height: 1.6;
}

/* Cards */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.card-content p {
    margin: 0;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav a {
        margin: 10px 0;
    }

    .card {
        margin-bottom: 20px;
    }
}

/* 3D Button */
.button-3d {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin: 10px 2px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 5px;
}

.button-3d:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.grid-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: translateY(-10px);
}

.grid-item img {
    width: 100%;
    height: auto;
}

.grid-item-content {
    padding: 20px;
}

.grid-item-content h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.grid-item-content p {
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 60px;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
/* Form Styles */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 5px;
}

form button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: var(--text-color);
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the tooltip element */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Accordion */
.accordion {
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.3s;
    border-radius: 5px;
    margin-bottom: 10px;
}

.accordion:hover {
    background-color: var(--secondary-color);
}

.accordion-content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f9f9f9;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accordion-content p {
    padding: 18px;
    margin: 0;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar-fill {
    height: 20px;
    width: 0;
    background-color: var(--primary-color);
    text-align: center;
    line-height: 20px;
    color: #fff;
    transition: width 0.3s;
    border-radius: 5px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table th,
table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: var(--primary-color);
    color: #fff;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 20px;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 10px 0;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.breadcrumb li {
    margin: 0 10px;
}

.breadcrumb li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: var(--secondary-color);
}

.breadcrumb li::after {
    content: '>';
    margin-left: 10px;
    color: #ccc;
}

.breadcrumb li:last-child::after {
    content: '';
    margin: 0;
}
/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.tab:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.tab-active {
    background-color: var(--primary-color);
    color: #fff;
    border-bottom: 2px solid var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content-active {
    display: block;
}

/* Notification */
.notification {
    padding: 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
}

.notification .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.pagination a {
    color: var(--primary-color);
    padding: 10px 15px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 5px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.pagination a.active {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.carousel .prev,
.carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border: none;
    border-radius: 50%;
}

.carousel .prev {
    left: 10px;
}

.carousel .next {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    padding: 10px 0;
}

.carousel-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dots .dot.active {
    background-color: var(--primary-color);
}

/* Loader */
.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid var(--primary-color);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 50px auto;
}

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

/* Tooltip with Arrow */
.tooltip-arrow .tooltiptext {
    position: relative;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
}

.tooltip-arrow .tooltiptext::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--text-color) transparent transparent transparent;
}
/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Sidebar */
.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    padding-top: 20px;
    transition: width 0.3s;
    overflow-x: hidden;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 1.2em;
    color: #fff;
    display: block;
    transition: background-color 0.3s;
}

.sidebar a:hover {
    background-color: var(--secondary-color);
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border: none;
}

.openbtn:hover {
    background-color: var(--secondary-color);
}

/* Tooltip with Arrow */
.tooltip-arrow .tooltiptext {
    position: relative;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
}

.tooltip-arrow .tooltiptext::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--text-color) transparent transparent transparent;
}

/* Card Flip */
.flip-card {
    background-color: transparent;
    width: 300px;
    height: 200px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-front {
    background-color: #fff;
    color: var(--text-color);
}

.flip-card-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}
/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -16px;
}

.timeline-item-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-item-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.timeline-item-content p {
    margin: 0;
}

/* Star Rating */
.star-rating {
    display: flex;
    direction: row-reverse;
    font-size: 2em;
    justify-content: center;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s;
}

.star-rating input:checked ~ label,
.star-rating input:hover ~ label,
.star-rating label:hover ~ label {
    color: var(--primary-color);
}

/* Chat Bubble */
.chat-bubble {
    max-width: 300px;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    margin: 10px 0;
}

.chat-bubble.sent {
    background-color: var(--primary-color);
    color: #fff;
    align-self: flex-end;
}

.chat-bubble.received {
    background-color: #f1f1f1;
    color: var(--text-color);
    align-self: flex-start;
}

.chat-bubble::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.chat-bubble.sent::after {
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--primary-color);
    top: 10px;
    right: -10px;
}

.chat-bubble.received::after {
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--f1f1f1) transparent transparent;
    top: 10px;
    left: -10px;
}

/* Image Gallery */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-gallery img {
    width: calc(33.333% - 10px);
    border-radius: 10px;
    transition: transform 0.3s;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Vertical Tabs */
.vertical-tabs {
    display: flex;
    flex-direction: row;
}

.vertical-tabs .tab {
    flex: 1;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.vertical-tabs .tab:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.vertical-tabs .tab-active {
    background-color: var(--primary-color);
    color: #fff;
    border-right: 2px solid var(--primary-color);
}

.vertical-tabs .tab-content {
    flex: 3;
    padding: 20px;
    display: none;
}

.vertical-tabs .tab-content-active {
    display: block;
}
/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Image Slider */
.image-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-slider img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.image-slider .prev,
.image-slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border: none;
    border-radius: 50%;
}

.image-slider .prev {
    left: 10px;
}

.image-slider .next {
    right: 10px;
}

.image-slider-dots {
    text-align: center;
    padding: 10px 0;
}

.image-slider-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.image-slider-dots .dot.active {
    background-color: var(--primary-color);
}

/* Notification Badge */
.notification-badge {
    position: relative;
    display: inline-block;
}

.notification-badge .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 0.8em;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.fab:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Breadcrumb with Icons */
.breadcrumb-icon {
    display: flex;
    list-style: none;
    padding: 10px 0;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.breadcrumb-icon li {
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.breadcrumb-icon li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.breadcrumb-icon li a:hover {
    color: var(--secondary-color);
}

.breadcrumb-icon li a svg {
    margin-right: 5px;
}

.breadcrumb-icon li::after {
    content: '>';
    margin-left: 10px;
    color: #ccc;
}

.breadcrumb-icon li:last-child::after {
    content: '';
    margin: 0;
}

/* Responsive Table */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.responsive-table th,
.responsive-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.responsive-table th {
    background-color: var(--primary-color);
    color: #fff;
}

.responsive-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.responsive-table tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 10px;
    }

    .responsive-table td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }
}
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 60px;
}

.lightbox-content {
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 700px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lightbox img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox .close:hover,
.lightbox .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 0;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sticky-header h1 {
    margin: 0;
    font-size: 1.5em;
    text-align: center;
}

/* Parallax Effect */
.parallax {
    background-image: url('path/to/image.jpg');
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Masonry Layout */
.masonry {
    column-count: 3;
    column-gap: 1em;
}

.masonry-item {
    background-color: #fff;
    margin-bottom: 1em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    break-inside: avoid;
}

.masonry-item img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

.masonry-item-content {
    padding: 20px;
}

.masonry-item-content h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.masonry-item-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .masonry {
        column-count: 1;
    }
}

/* Floating Label Form */
.floating-label {
    position: relative;
    margin-bottom: 20px;
}

.floating-label input,
.floating-label textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.floating-label label {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8em;
    color: var(--primary-color);
}

/* Image Overlay */
.image-overlay {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.image-overlay img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.image-overlay .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.image-overlay:hover .overlay {
    opacity: 1;
}

.image-overlay .text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color);
    z-index: 1000;
}

.scroll-indicator-progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 0;
    transition: width 0.25s;
}

/* Custom Checkbox */
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1em;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
/* Breadcrumb with Icons */
.breadcrumb-icon {
    display: flex;
    list-style: none;
    padding: 10px 0;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.breadcrumb-icon li {
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.breadcrumb-icon li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.breadcrumb-icon li a:hover {
    color: var(--secondary-color);
}

.breadcrumb-icon li a svg {
    margin-right: 5px;
}

.breadcrumb-icon li::after {
    content: '>';
    margin-left: 10px;
    color: #ccc;
}

.breadcrumb-icon li:last-child::after {
    content: '';
    margin: 0;
}

/* Responsive Table */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.responsive-table th,
.responsive-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.responsive-table th {
    background-color: var(--primary-color);
    color: #fff;
}

.responsive-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.responsive-table tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 10px;
    }

    .responsive-table td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 60px;
}

.lightbox-content {
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 700px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lightbox img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox .close:hover,
.lightbox .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 0;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sticky-header h1 {
    margin: 0;
    font-size: 1.5em;
    text-align: center;
}

/* Parallax Effect */
.parallax {
    background-image: url('path/to/image.jpg');
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Masonry Layout */
.masonry {
    column-count: 3;
    column-gap: 1em;
}

.masonry-item {
    background-color: #fff;
    margin-bottom: 1em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    break-inside: avoid;
}

.masonry-item img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

.masonry-item-content {
    padding: 20px;
}

.masonry-item-content h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.masonry-item-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .masonry {
        column-count: 1;
    }
}

/* Floating Label Form */
.floating-label {
    position: relative;
    margin-bottom: 20px;
}

.floating-label input,
.floating-label textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.floating-label label {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8em;
    color: var(--primary-color);
}

/* Image Overlay */
.image-overlay {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.image-overlay img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.image-overlay .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.image-overlay:hover .overlay {
    opacity: 1;
}

.image-overlay .text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color);
    z-index: 1000;
}

.scroll-indicator-progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 0;
    transition: width 0.25s;
}

/* Custom Checkbox */
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1em;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}