/* General Title Styles */
.title-heading {
    font-family: 'Roboto', sans-serif; /* A clean, modern font */
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

/* Style 1: Classic Underline */
.title-underline {
    border-bottom: 3px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
}

/* Style 2: Gradient Text */
.title-gradient-text {
    background: -webkit-linear-gradient(45deg, #007bff, #ff4b2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Style 3: Left Border Accent */
.title-left-border {
    border-left: 5px solid #ffc107;
    padding-left: 15px;
}

/* Style 4: Background Highlight */
.title-highlight {
    background-color: #f0f8ff; /* Light Alice Blue */
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Style 5: Double Line Underline */
.title-double-line::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #28a745;
    margin-top: 8px;
    position: relative;
}
.title-double-line::before {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background-color: #28a745;
    margin-top: 4px;
    position: relative;
}


/* Style 6: Text with Shadow */
.title-shadow {
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Style 7: Outline Text */
.title-outline {
    color: transparent;
    -webkit-text-stroke: 1px #dc3545;
    text-stroke: 1px #dc3545;
}

/* Style 8: Centered with Lines */
.title-centered-lines {
    text-align: center;
    overflow: hidden;
}
.title-centered-lines span {
    display: inline-block;
    position: relative;
    padding: 0 20px;
}
.title-centered-lines span::before,
.title-centered-lines span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 9999px; /* A very large width */
    height: 1px;
    background: #ccc;
}
.title-centered-lines span::before {
    right: 100%;
}
.title-centered-lines span::after {
    left: 100%;
}

/* Style 9: Ribbon Background */
.title-ribbon {
    display: inline-block;
    background-color: #6f42c1;
    color: #fff;
    padding: 10px 20px;
    position: relative;
    margin: 10px 0;
    border-radius: 3px;
}
.title-ribbon::before, .title-ribbon::after {
    content: '';
    position: absolute;
    top: 100%;
    width: 0;
    height: 0;
    border-style: solid;
}
.title-ribbon::before {
    left: 0;
    border-width: 0 15px 10px 0;
    border-color: transparent #4a2d80 transparent transparent;
}
.title-ribbon::after {
    right: 0;
    border-width: 0 0 10px 15px;
    border-color: transparent transparent transparent #4a2d80;
}

/* Style 10: Gradient Background with Border */
.title-gradient-bg {
    display: inline-block;
    color: #fff;
    background-image: linear-gradient(to right, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b12a5b 100%);
    padding: 15px 25px;
    border-radius: 50px;
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Style 11: Underline with Animated Sweep */
.title-sweep-underline {
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}
.title-sweep-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #fd7e14;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}
.title-sweep-underline:hover::after {
    transform: scaleX(1);
}

/* Style 12: Text with Icon */
.title-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}
.title-with-icon .icon { /* Use a span or i tag with this class */
    font-size: 1.2em;
    color: #17a2b8;
}

/* Style 13: 3D Text Effect */
.title-3d {
    color: #333;
    text-shadow: 
        1px 1px 0 #ccc,
        2px 2px 0 #ccc,
        3px 3px 0 #ccc,
        4px 4px 0 #ccc,
        5px 5px 0 #ccc,
        6px 6px 10px rgba(0,0,0,0.3);
}

/* Style 14: Background Image Text Clip */
.title-bg-clip {
    font-size: 3rem; /* Needs to be large to see the effect */
    font-weight: bold;
    background-image: url('https://images.unsplash.com/photo-1554034483-04fda0d3507b?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80');
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

/* Style 15: Neumorphic Style */
.title-neumorphic {
    display: inline-block;
    padding: 20px 30px;
    border-radius: 15px;
    background: #e0e0e0;
    color: #555;
    box-shadow: 9px 9px 16px #bebebe,
                -9px -9px 16px #ffffff;
}