﻿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;
}





/* GLOBAL */
.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
}

/* HERO */
.hero-section {
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    padding: 100px 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-buttons a {
    margin: 10px;
}

.hero-badges {
    margin-top: 20px;
    opacity: 0.9;
}

/* STATS */
.stats-section {
    padding: 60px 0;
}

.stat-box h2 {
    color: #0d6efd;
    font-weight: 700;
}

/* ABOUT */
.about-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.about-img {
    max-width: 90%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* SERVICES */
.services-section {
    padding: 80px 0;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.3s;
}

    .service-card:hover {
        transform: translateY(-8px);
    }

/* WHY US */
.whyus-section {
    background: linear-gradient(135deg, #0d6efd, #084298);
    padding: 70px 0;
    color: #fff;
}

/* INQUIRY */
.inquiry-section {
    background: #f1f3f5;
    padding: 80px 0;
}

.inquiry-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .inquiry-form input,
    .inquiry-form textarea {
        width: 100%;
        padding: 12px;
        margin-bottom: 15px;
        border-radius: 8px;
        border: 1px solid #ddd;
    }

    .inquiry-form button {
        width: 100%;
        padding: 12px;
        background: #0d6efd;
        border: none;
        color: #fff;
        border-radius: 8px;
        font-size: 1.1rem;
    }
/* FINAL CTA MODERN */
.final-cta-modern {
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    padding: 80px 20px;
    color: #fff;
}

    .final-cta-modern h2 {
        font-weight: 700;
        margin-bottom: 10px;
    }

    .final-cta-modern p {
        font-size: 1.05rem;
        opacity: 0.95;
    }

    .final-cta-modern .btn {
        min-width: 170px;
        border-radius: 50px;
        font-weight: 600;
        margin-top: 10px;
    }

    .final-cta-modern .btn-outline-light:hover {
        background: #fff;
        color: #0d6efd;
        margin-top:10px;
    }


/* MODERN SERVICE CARDS */
.service-card-modern {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: 0.3s ease;
}

    .service-card-modern:hover {
        transform: translateY(-10px);
    }

    .service-card-modern img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

.service-content {
    padding: 20px;
}

    .service-content h5 {
        font-weight: 700;
        color: #0d6efd;
    }

    .service-content p {
        font-size: 0.95rem;
        color: #6c757d;
    }

    .service-content ul {
        list-style: none;
        padding-left: 0;
        margin-top: 10px;
    }

        .service-content ul li {
            font-size: 0.85rem;
            color: #495057;
            margin-bottom: 6px;
        }



/* INQUIRY & CONTACT SECTION */
.inquiry-section-modern {
    background: linear-gradient(135deg, #f8f9fa, #eef2f7);
    padding: 90px 0;
}

.inquiry-card,
.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    height: 100%;
}

    .inquiry-card h5,
    .contact-card h5 {
        color: #0d6efd;
    }

    .contact-card p {
        font-size: 0.95rem;
        color: #495057;
    }

    .contact-card a {
        text-decoration: none;
    }

        .contact-card a:hover {
            text-decoration: underline;
        }



/* HERO SLIDER */
/* HERO SLIDER */
/*.hero-slider {
    position: relative;
}*/

/* SLIDE */
/*.hero-slide {
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}*/

/* OVERLAY – thoda dark for readability */
/*.hero-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35) );
}*/

/* CONTENT */
/*.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: #ffffff;*/ /* ✅ TEXT VISIBLE */
    /*text-align: center;
}*/

/* TITLE */
/*.hero-title {
    font-size: 3.4rem;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}*/

/* SUBTITLE */
/*.hero-subtitle {
    font-size: 1.25rem;
    margin-top: 15px;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}*/

/* BUTTONS */
/*.hero-buttons {
    margin-top: 30px;
}

    .hero-buttons .btn {
        padding: 14px 34px;
        border-radius: 50px;
        font-weight: 600;
    }*/

/* FEATURES */
/*.hero-features {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 0.95rem;
    opacity: 0.95;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}*/

/* MOBILE */
/*@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }
}*/


/* VIDEO HERO SECTION */
.hero-video-section {
    position: relative;
    height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* VIDEO */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* OVERLAY */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75) );
    z-index: 1;
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: #fff;
    text-align: center;
}

/* TEXT */
.hero-title {
    font-size: 3.4rem;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-top: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* BUTTONS */
.hero-buttons {
    margin-top: 30px;
}

    .hero-buttons .btn {
        padding: 14px 34px;
        border-radius: 50px;
        font-weight: 600;
    }

/* FEATURES */
.hero-features {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-video-section {
        height: 75vh;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }
}

.contact-card p {
    line-height: 1.6;
}

.contact-card a {
    text-decoration: none;
    font-weight: 500;
}



/* ADMIN LOGIN PAGE */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.login-header h4 {
    font-weight: 700;
    margin-top: 15px;
}

.login-header p {
    font-size: 0.9rem;
    color: #6c757d;
}

.login-logo {
    height: 55px;
}

.login-card .form-control {
    padding: 12px;
    border-radius: 10px;
}

.login-card button {
    border-radius: 50px;
    font-weight: 600;
}


table td {
    font-size: 0.9rem;
}

table th {
    font-size: 0.9rem;
    white-space: nowrap;
}

td {
    vertical-align: middle;
}



/* DASHBOARD STATS */
.stats-card {
    border-radius: 14px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.stats-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.stats-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

/* Color Variants */
.stats-today {
    background: linear-gradient(135deg, #0d6efd, #5aa2ff);
    color: #fff;
}

.stats-month {
    background: linear-gradient(135deg, #198754, #42c98d);
    color: #fff;
}

.stats-total {
    background: linear-gradient(135deg, #212529, #495057);
    color: #fff;
}

.stats-card .stats-label {
    color: rgba(255,255,255,0.85);
}



/* ================= FOOTER ================= */
.site-footer {
    background: linear-gradient(135deg, #1f2933, #111827);
    color: #d1d5db;
}

    .site-footer h5,
    .site-footer h6 {
        color: #ffffff;
        font-weight: 600;
    }

    .site-footer p {
        color: #cbd5e1;
    }

.footer-title {
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
}

    .footer-links a:hover,
    .footer-contact a:hover {
        color: #ffffff;
        text-decoration: underline;
    }

.footer-cta .btn {
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
}

.footer-divider {
    border-color: rgba(255,255,255,0.15);
    margin: 30px 0 15px;
}

.footer-bottom {
    color: #9ca3af;
}



/* ================= GLOBAL RESPONSIVE FIXES ================= */

/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Better font scaling on small devices */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
}

/* ================= HERO / VIDEO RESPONSIVE ================= */

@media (max-width: 768px) {

    .hero-section,
    .hero-video-section {
        height: auto;
        padding: 80px 15px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
        margin: 6px auto;
        display: block;
    }
}

/* ================= SERVICE CARDS ================= */

@media (max-width: 768px) {
    .service-card,
    .service-card-modern {
        margin-bottom: 20px;
    }

        .service-card-modern img {
            height: 160px;
        }
}

/* ================= ABOUT SECTION ================= */

@media (max-width: 768px) {
    .about-section {
        padding: 60px 15px;
    }

    .about-img {
        max-width: 100%;
        margin-top: 25px;
    }
}

/* ================= INQUIRY & CONTACT ================= */

@media (max-width: 768px) {

    .inquiry-section,
    .inquiry-section-modern {
        padding: 60px 15px;
    }

    .inquiry-card,
    .contact-card {
        padding: 22px;
        margin-bottom: 20px;
    }

    .inquiry-form input,
    .inquiry-form textarea {
        font-size: 0.95rem;
    }
}

/* ================= FINAL CTA ================= */

@media (max-width: 768px) {
    .final-cta-modern {
        padding: 60px 15px;
        text-align: center;
    }

        .final-cta-modern .btn {
            width: 100%;
            max-width: 260px;
        }
}

/* ================= ADMIN DASHBOARD ================= */

@media (max-width: 768px) {

    .stats-card {
        margin-bottom: 15px;
    }

    .stats-number {
        font-size: 1.8rem;
    }

    .card-body h6 {
        font-size: 0.9rem;
    }
}

/* ================= TABLE RESPONSIVE ================= */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    min-width: 900px; /* admin table safe */
}

@media (max-width: 768px) {
    table {
        font-size: 0.85rem;
    }
}

/* ================= FOOTER RESPONSIVE ================= */

@media (max-width: 768px) {

    .site-footer {
        text-align: center;
    }

    .footer-cta {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-links,
    .footer-contact {
        padding-left: 0;
    }

    .footer-divider {
        margin: 20px 0;
    }
}

/* ================= BUTTON TOUCH FRIENDLY ================= */

@media (max-width: 768px) {
    .btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}



/* DATE FILTER */
form .form-label {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    form .btn {
        margin-top: 5px;
    }
}
