
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}


body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff; /* White background for all pages */
  color: #111827; /* Dark text for readability */
  line-height: 1.6;
}


.custom-navbar {
  background-color: #0f172a; /* Dark navy */
  padding: 0.8rem 0;
}

.custom-navbar .navbar-brand {
  color: #ffffff !important;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.custom-navbar .navbar-brand img {
  height: 35px;
  margin-right: 10px;
}

.custom-navbar .nav-link {
  color: #f8fafc !important;
  margin-right: 15px;
  transition: 0.3s;
}

.custom-navbar .nav-link:hover {
  color: #38bdf8 !important;
}

.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #ffffff; /* White background */
}

.auth-card {
  background: #ffffff; /* White card */
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  padding: 2rem;
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #0f172a; /* Dark navy */
}

.auth-card label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #111827;
}

.auth-card input,
.auth-card textarea,
.auth-card select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #111827;
  background-color: #f9fafb;
}

.auth-card input:focus,
.auth-card textarea:focus,
.auth-card select:focus {
  outline: none;
  border-color: #2563eb;
  background-color: #ffffff;
}

.auth-card button {
  width: 100%;
  background-color: #0f172a;
  color: #ffffff;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.auth-card button:hover {
  background-color: #1e3a8a;
}

.auth-card .form-check {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.auth-card .form-check input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  accent-color: #2563eb;
  cursor: pointer;
}

.auth-card .form-check-label {
  color: #111827;
  font-size: 0.9rem;
  user-select: none;
}

.auth-card .forgot-password {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #2563eb;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.3s;
  width: 100%;
}

.auth-card .forgot-password:hover {
  text-decoration: underline;
}


.page-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #111827; /* Strong dark navy for visibility */
  margin: 2rem 0 1.5rem 0;
  letter-spacing: 0.5px;
  text-transform: capitalize; /* For better readability */
}


.hero-text {
    margin-bottom: 30px;
    text-align: center;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-text h4 {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
}


.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    height: 100%;      /* Ensures left column fills height */
}

@media (max-width: 768px) {
    .services-container {
        gap: 6px;
    }
}


.service-tile .card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-tile img {
    max-height: 40px;
    object-fit: contain;
    margin-bottom: 8px;
}

.service-tile .card-body {
    flex-grow: 1;
    text-align: center;
}

.service-tile .service-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.service-tile .service-desc {
    font-size: 0.65rem;
    color: #555;
    margin-bottom: 8px;
}


.service-tile .custom-btn {
    background-color: #333;
    color: #fff;
    font-size: 0.6rem;
    padding: 4px 8px;
    margin: 5px 0;
    letter-spacing: 1px;
    transition: 0.3s;
}

.service-tile .custom-btn:hover {
    background-color: #2563eb;
}


@media (max-width: 768px) {
    .service-tile .card {
        padding: 0.5rem;
    }
    .service-tile .service-title {
        font-size: 0.5rem;
        margin-bottom: 4px;
    }
    .service-tile .custom-btn {
        width: 100%;
        font-size: 0.5rem;
        padding: 6px 12px;
        margin: 0;
    }
    .service-tile img {
        max-height: 25px;
        margin-bottom: 4px;
    }
}


.images-right-column img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}


.left-services-column,
.images-right-column {
    display: flex;
    flex-direction: column;
}


section.my-5 {
    background-color: #f8f9fa;
    padding: 2rem 0;
    border-radius: 8px;
}

section.my-5 h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #111827;
}

section.my-5 form {
    max-width: 600px;
    margin: 0 auto;
}

section.my-5 textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333;
}

section.my-5 button {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    background-color: #0f172a;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

section.my-5 button:hover {
    background-color: #2563eb;
}



.mobile-hero {
    display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {

    /* Always show on mobile */
    .mobile-hero {
        display: block !important;
        margin-top: 12px !important;   /* This will ALWAYS apply */
        margin-bottom: 20px;
    }

    .mobile-hero img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 12px;
    }
}


@media (max-width: 768px) {
    .search-container .btn {
        background-color: black !important;
        color: white !important;
        border: none;
    }

    .search-container .btn:hover {
        opacity: 0.8;
    }
}


.bottom-nav-icon {
    width: 26px;
    height: 26px;
    display:block;
    margin: 4px auto;
}

.dropup .dropdown-menu {
    bottom: 40px;
    top: auto !important;
    transform: none !important;
    z-index: 9999;
}

.mobile-register-btn .btn {
    font-size: 12px;
    padding: 5px 8px;
}

@media (max-width: 767px) {
    .navbar .nav-item .d-flex { display: none !important; }
    .navbar .nav-item .btn-outline-light { display: none !important; }
}

.table-responsive { overflow-x:auto; }

@media (max-width: 576px) {
  .card .card-body { padding: 0.8rem; }
}


@media (max-width: 768px) {

  .d-md-none .card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 16px;
  }

  .d-md-none .card p {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #374151;
  }

  .d-md-none .card p:last-of-type {
    border-bottom: none;
    margin-bottom: 6px;
  }

  .d-md-none .card p strong {
    font-weight: 600;
    color: #111827;
    display: block;
    margin-bottom: 3px;
  }

  .d-md-none .card button {
    width: 100%;
    margin-top: 8px;
    padding: 6px;
    border-radius: 6px;
  }

  .d-md-none .collapse {
    margin-top: 10px;
  }

  .d-md-none .collapse .small {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.4;
  }

  .d-md-none .badge.bg-danger {
    font-size: 0.75rem;
    padding: 4px 8px;
    margin-bottom: 6px;
    display: block;
    text-align: center;
    letter-spacing: 0.5px;
  }
}


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

    .table-responsive table tbody tr {
        display: flex;
        flex-direction: column;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 12px;
        margin-bottom: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        background: #ffffff !important;
    }

    .table-responsive table tbody tr td {
        display: flex;
        flex-direction: column;
        padding: 6px 0;
        position: relative;
        background: transparent !important;
        color: #374151;
    }

    .table-responsive table tbody tr td:nth-child(1)::before { content: "Client"; font-weight: 600; margin-bottom: 6px; color:#111827; }
    .table-responsive table tbody tr td:nth-child(2)::before { content: "Service"; font-weight: 600; margin-bottom: 6px; color:#111827; }
    .table-responsive table tbody tr td:nth-child(3)::before { content: "Status"; font-weight: 600; margin-bottom: 6px; color:#111827; }
    .table-responsive table tbody tr td:nth-child(4)::before { content: "Booking Time"; font-weight: 600; margin-bottom: 6px; color:#111827; }
    .table-responsive table tbody tr td:nth-child(5)::before { content: "Client Status"; font-weight: 600; margin-bottom: 6px; color:#111827; }
    .table-responsive table tbody tr td:nth-child(6)::before { content: "Case Details"; font-weight: 600; margin-bottom: 6px; color:#111827; }

    .table-responsive table tbody tr td button,
    .table-responsive table tbody tr td .btn {
        margin-top: 8px;
        width: 100%;
        background: #000 !important;
        color: #fff !important;
        border: 0 !important;
        padding: 8px 10px !important;
        border-radius: 6px !important;
    }

    .table-responsive table tbody tr td .btn-outline-secondary {
        background: #000 !important;
        color: #fff !important;
        border-color: #000 !important;
    }

    .table-responsive table tbody tr td .collapse {
        padding-top: 8px;
        background: transparent !important;
    }

    .table-responsive table tbody tr td .collapse .small {
        background: transparent;
        color: #4b5563;
    }
}


.gallery-desktop {
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-viewport {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    transition: transform 0.4s ease;
}

.gallery-item {
    flex: 0 0 33.3333%;
    padding: 0 10px;
    box-sizing: border-box;
}

.gallery-img-desktop {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    display: block;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.gallery-arrow span {
    font-size: 18px;
    line-height: 1;
    color: #111827;
}

.gallery-arrow-left {
    left: -10px;
}

.gallery-arrow-right {
    right: -10px;
}

.gallery-arrow:disabled {
    opacity: 0.4;
    cursor: default;
}


.gallery-img-mobile {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

@media (max-width: 576px) {
    .gallery-img-mobile {
        height: 200px;
    }
}

.service-tile .card-body p {
    display: none !important;
}

.all-services-page .card .btn {
    padding: 4px 8px !important;  
    font-size: 0.8rem !important; 
    border-radius: 6px !important;
    margin-top: 4px !important;
}

.card-body {
    padding: 6px !important;
}

.service-category-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.service-category-block:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f1f1f;
    margin: 50px 0 25px;
    padding-bottom: 8px;
    position: relative;
    letter-spacing: 0.5px;
}

.category-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #4f46e5;
    border-radius: 4px;
}

.navbar {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.navbar + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


@media (min-width: 769px) {
    .navbar {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .navbar + * {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}


.mlc-hero-wrapper {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    width: 100vw;
    max-width: 100vw;

    padding: 0;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}


.mlc-hero-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;

    padding: 40px 50px;
}


.mlc-hero-item {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;

    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;

    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
}

.mlc-hero-item i {
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: #d29e45;
}

.mlc-hero-item p {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}


.mlc-hero-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    .mlc-hero-wrapper {
        display: none !important;
    }

    .mobile-hero-wrapper {
        margin-top: 12px !important; 
    }
}

.footer-section {
    background-color: #111;
    color: #fff !important;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-list li a {
    text-decoration: none;
    color: #d1d5db;
    transition: 0.3s;
}

.footer-list li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 15px;
    color: #bbb;
    font-size: 0.85rem;
}

.social-grid-2x3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 15px;
}

.social-grid-2x3 a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ddd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s ease;
    white-space: nowrap;
}

.social-grid-2x3 a:hover {
    color: #fff;
}

.social-grid-2x3 i {
    font-size: 18px;
}

.footer-section p,
.footer-section li,
.footer-section a {
    color: #fff !important;
}

.footer-section strong {
    color: #ff4da6 !important;
}

@media (max-width: 768px) {

    .footer-title {
        text-align: center !important;
    }


    .footer-list,
    .footer-list li,
    .footer-list li a {
        text-align: center !important;
    }

    .social-grid-2x3 {
        justify-items: center !important;
        align-items: center !important;
        width: 100%;
    }

    .social-grid-2x3 a {
        width: 100%;
        justify-content: center !important;
        text-align: center !important;
    }


    .footer-section p {
        text-align: center !important;
        width: 100%;
        margin: 0 auto;
    }
}

.footer-title {
    position: relative;
    padding-bottom: 6px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ff4da6;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.alert {
    transition: opacity 0.5s ease-in-out;
}

.urgent-btn {
    background: linear-gradient(135deg, #ff1e1e, #b30000);
    color: #fff !important;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.35);
    transition: 0.3s ease-in-out;
    letter-spacing: 0.5px;
}

.urgent-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 0, 0, 0.45);
    background: linear-gradient(135deg, #ff3b3b, #cc0000);
}
