html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}




/*----------------------------komla css---------------------------------------*/

.hero {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
    }



.hero-slide {
    position: relative;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Make text more readable on dark overlay */
.carousel-caption {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}



.hero-slide {
    position: relative;
}

.hover-card {
    transition: all 0.3s ease;
}

    .hover-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    }

.card-img-top {
    transition: transform 0.4s ease;
}

.hover-card:hover .card-img-top {
    transform: scale(1.05);
}

.hover-card {
    transition: all 0.3s ease;
}

    .hover-card:hover {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12) !important;
        transform: translateY(-8px);
    }

.card {
    transition: all 0.3s ease;
}



/* Smooth scroll and better navbar */
html {
    scroll-behavior: smooth;
}

.navbar {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero {
    position: relative;
}

    .hero::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100px;
        background: linear-gradient(transparent, #f8fafc);
    }

