body {
    background-color: #f0f8ff;
}

.number {
    font-size: 2rem;
    font-weight: bold;
    color: #0056b3;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    animation: counting 2s ease-in-out forwards;
}

@keyframes counting {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1.1);
    }
}

.form-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.order-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.radio-group {
    display: flex;
    gap: 10px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    color: #fff;
    background-color: #007bff;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #0056b3;
}

.alert-success {
    padding: 10px;
    margin-bottom: 20px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

.navbar {
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.box {
    padding: 20px;
    width: fit-content;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1;
    transform: 0.5s;
    color: #fff;
}

@media screen and (max-width: 400px) {
    .box {
        width: 90vw;
        /* Adjust width for better responsiveness */
        text-align: center;
        margin: 20px auto;
        /* Add margin for spacing */
        min-height: 60vh;
        /* Adjust min-height for better fit */
        background: rgba(255, 255, 255, 0.155);
        /* Semi-transparent background */
        backdrop-filter: blur(4px);
        /* Blur effect */
        padding: 20px;
        /* Add padding */
        border-radius: 15px;
        /* Rounded corners */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        /* Shadow for depth */
        color: #333;
        /* Text color */
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .box {
        width: fit-content;
        /* Adjust width for better fit on larger screens */
        text-align: center;
        margin: 20px auto;
        /* Add margin for spacing */
        min-height: fit-content;
        /* Adjust min-height for better fit */
        background: rgba(255, 255, 255, 0.2);
        /* Slightly more opaque background */
        backdrop-filter: blur(6px);
        /* Slightly stronger blur effect */
        padding: 25px;
        /* Increased padding for more space */
        border-radius: 20px;
        /* Larger border-radius for a more prominent rounded effect */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        /* Deeper shadow for more depth */
        color: #333;
        /* Text color */
    }
}

/* From Uiverse.io by StealthWorm */
.btn1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 13rem;
    overflow: hidden;
    height: 3rem;
    background-size: 300% 300%;
    cursor: pointer;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
    transition: 0.5s;
    animation: gradient_301 5s ease infinite;
    border: double 4px transparent;
    background-image: linear-gradient(#212121, #212121),
        linear-gradient(137.48deg,
            #ffdb3b 10%,
            #fe53bb 45%,
            #8f51ea 67%,
            #0044ff 87%);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

#container-stars {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 0.5s;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
}

strong {
    z-index: 2;
    font-family: "Avalors Personal Use";
    font-size: 12px;
    letter-spacing: 5px;
    color: #ffffff;
    text-shadow: 0 0 4px white;
}

#glow {
    position: absolute;
    display: flex;
    width: 12rem;
}

.circle {
    width: 100%;
    height: 30px;
    filter: blur(2rem);
    animation: pulse_3011 4s infinite;
    z-index: -1;
}

.circle:nth-of-type(1) {
    background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
    background: rgba(142, 81, 234, 0.704);
}

.btn1:hover #container-stars {
    z-index: 1;
    background-color: #212121;
}

.btn1:hover {
    transform: scale(1.1);
}

.btn1:active {
    border: double 4px #fe53bb;
    background-origin: border-box;
    background-clip: content-box, border-box;
    animation: none;
}

.btn1:active .circle {
    background: #fe53bb;
}

#stars {
    position: relative;
    background: transparent;
    width: 200rem;
    height: 200rem;
}

#stars::after {
    content: "";
    position: absolute;
    top: -10rem;
    left: -100rem;
    width: 100%;
    height: 100%;
    animation: animStarRotate 90s linear infinite;
}

#stars::after {
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
}

#stars::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 170%;
    height: 500%;
    animation: animStar 60s linear infinite;
}

#stars::before {
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes animStar {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-135rem);
    }
}

@keyframes animStarRotate {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0);
    }
}

@keyframes gradient_301 {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse_3011 {
    0% {
        transform: scale(0.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}


#about {

    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.bg {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: url("https://github.com/Brigli-The-Coder/Projects-Files/blob/main/beautiful-car-washing-service.jpg?raw=true") no-repeat center center;
    background-size: cover;
    background-position: center;
    width: 100%;
    color: white;
    text-align: center;
}

@media (max-width: 768px) {
    .bg {
        background-position: center top;
    }
}

.bg2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: url("https://raw.githubusercontent.com/Brigli-Bushati/Fundamentals3/main/2149172891.jpg") no-repeat center center;
    background-size: cover;
    width: 100%;
    color: white;
    text-align: center;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 1.5rem;
}

.show {
    text-align: center;
}

.collapsing {
    text-align: center;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.card {
    border-radius: 8px;
}

.card-img-top {
    border-bottom: 2px solid #ddd;
}

.btn-primary {
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-primary {
    transition: color 0.3s, border-color 0.3s;
}

.btn-outline-primary:hover {
    color: #0056b3;
    border-color: #0056b3;
}
/* --- Responsive fixes for About & Contact --- */
/* Fix for mobile overlapping */
@media (max-width: 768px) {
    .bg2 {
        height: auto !important;  /* hiq 100vh tek mobile */
        padding: 40px 15px;       /* pak ajër rreth përmbajtjes */
    }

    #about .row {
        flex-direction: column-reverse; /* foto sipër, tekst poshtë */
    }

    #about img {
        max-width: 100%;
        margin: 0 auto 20px;
        display: block;
    }
}
