/* Base styles for mobile (smaller screens) */
header {
    position: relative;
    background: url('../images/background.jpg') no-repeat center center/cover;
    color: #c18cc1;
    text-align: center;
    height: 190px; /* Mobile height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 15px auto; /* Adds a small amount of space above and below */
    width: 95%; /* Slightly larger width on mobile */
    max-width: 650px; /* Increase max width slightly on mobile */
    border-radius: 15px;
    overflow: hidden;
}

/* Tablet screen adjustments */
@media (min-width: 768px) {
    header {
        max-width: 700px; /* Adjust to match slider width on tablets */
    }
}

/* Medium desktop screens adjustments */
@media (min-width: 992px) {
    header {
        height: 460px; /* Desktop height */
        max-width: 900px; /* Adjust as needed to match slider */
        width: 100%; /* Full width on desktop */
    }
}

/* Large desktop screen adjustments */
@media (min-width: 1200px) {
    header {
        max-width: 1692px; /* Exact width to match slider on larger screens */
    }
}

/* Header text styling */
header h1,
header p {
    margin: 0;
    padding: 0;
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

header p {
    font-size: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    margin-top: 10px;
}

header .btn {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #DDA0DD;
    color: #870E85;
    font-weight: bold;
    border-radius: 20px;
    margin-top: 10px;
}

/* Large desktop text styling */
@media (min-width: 1200px) {
    header h1 {
        font-size: 3.8rem;
    }

    header p {
        font-size: 1.4rem;
    }

    header .btn {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}
.cool-heading {
    font-size: 3em; /* Adjust size as needed */
    font-weight: bold; /* Makes the text bold */
    color: #d27ad2;
    background: linear-gradient(90deg, #ac5bac, #e5c8e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Creates a gradient text effect */
    text-align: center; /* Center aligns the text */
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4); /* Slightly bolder shadow for better readability */
    margin: 20px 0; /* Adds space around the element */
}
