/* public/css/style.css */
/* Primary Brand Color — MMHAQ Theme */
:root {
    --primary: #294E79;
    --bs-primary: #294E79;
    --bs-primary-rgb: 41, 78, 121;
    --secondary: #65b8dfed;
    /* --primary_dark: #E65100;
    --primary_light: #FFA726; */

    /* --accent: #0066ff;
    --muted: #9aa4b2; */

    --background: #F0F0F0;

    --onPrimary: #FAFAFA;

    --onSecondary: #FAFAFA;
    --onBackground: #FAFAFA;
    /* --card-text: #000000; */

    /* --surface: #FAFAFA;
    --card: #FFFFFF; */
}

/* :root { --bs-primary: #294E79; --bs-primary-rgb: 41,78,121; }
.btn-primary { background-color:#294E79 !important; border-color:#294E79 !important; }
.premium-nav { background: rgba(255,255,255,0.60); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: all .3s; }
.premium-nav.scrolled { background: rgba(255,255,255,0.98) !important; box-shadow: 0 2px 18px rgba(0,0,0,0.08); } */

body {
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: #f8fafc;
    color: #0f1724;
}

/* === navbar === */
/* -----------------------------
   🔥 Global Hover + Active
------------------------------*/
.nav-link:hover,
.nav-item .active.nav-link {
    color: var(--primary) !important;
}

/* -----------------------------
   🌐 Premium Glass Navbar
------------------------------*/
.premium-nav {
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease-in-out;
}

/* -----------------------------
   🧭 Navbar Links
------------------------------*/
.premium-nav .nav-link {
    color: #222 !important;
    font-weight: 500;
    padding: 10px 16px;
    display: block;
    transition: color 0.2s ease;
}

.premium-nav .nav-link:hover {
    color: var(--primary) !important;
}

/* -----------------------------
   📌 On Scroll (Shrink Effect)
------------------------------*/
.premium-nav.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

/* -----------------------------
   ✅ RESPONSIVE FIXES
------------------------------*/

/* ✅ Extra Small Screens (Mobile Portrait < 576px) */
@media (max-width: 575.98px) {
    .premium-nav {
        padding: 6px 0;
    }

    .premium-nav .nav-link {
        padding: 10px 10px;
        text-align: center;
    }

    .navbar-brand img {
        height: 36px;
    }

    .btn-sm {
        padding: 6px 12px !important;
        font-size: 0.85rem;
    }

    /* Reduce gap in collapsed menu */
    .navbar-nav {
        padding: 10px 0;
    }
}

/* ✅ Small Devices (Phones Landscape / Small Tablets: 576px–767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .premium-nav .nav-link {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .navbar-brand img {
        height: 40px;
    }
}

/* ✅ Medium Devices (Tablets: 768px–991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .premium-nav .nav-link {
        padding: 10px 16px;
        font-size: 1rem;
    }
}

/* ✅ Large Devices (Laptop: 992px–1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .premium-nav .nav-link {
        padding: 10px 18px;
    }
}

/* ✅ Extra Large Devices (Desktop + Ultra-wide: ≥ 1200px) */
@media (min-width: 1200px) {
    .premium-nav {
        padding: 10px 0;
    }

    .premium-nav .nav-link {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* ===== Primary Button (Corporate Theme) ===== */
.breadcrumb .breadcrumb-item a {
    color: var(--primary) !important;
    text-decoration: none;
}

/* ===== Primary Button (Corporate Theme) ===== */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

/* ===== Outline Primary Button (Corporate Theme) ===== */
.btn-outline-primary {
    color: var(--primary);
    /* Bootstrap primary blue */
    border: 1.5px solid var(--primary);
    background-color: transparent;
    font-weight: 500;
    border-radius: 4px;
    /* padding: 8px 18px; */
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 3px 8px rgba(101, 185, 223, 0.3);
    text-decoration: none;
}

.btn-outline-primary:active {
    transform: scale(0.97);
    box-shadow: 0 2px 5px rgba(101, 185, 223, 0.4);
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

/* === home-cover === */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.hero .feature-card {
    border-radius: 12px;
}

.service-card {
    border-radius: 12px;
    transition: all .28s ease;
    overflow: hidden;
}

.service-card .icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.08);
}

.team-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease;
}

.team-card img {
    transition: transform .5s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.08);
}

.team-card:hover img {
    transform: scale(1.03);
}

.icon-circle i {
    font-size: 18px;
}

.badge {
    font-size: 14px;
}

@media (max-width:767px) {
    .hero {
        padding: 3rem 0;
        min-height: 60vh;
    }

    .service-card {
        margin-bottom: 1rem;
    }
}

/* ===== Right Section ===== */
.phone-img-slider {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 180px;
}

.phone-img-slider .phone {
    margin-top: 10px;
    max-width: 200px;
    max-height: 400px;
    border-radius: 20px;
    background-color: transparent;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #333333bd;
    position: relative;
}

.phone-img-slider .screen {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.phone-img-slider .screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    user-select: none;
}

/* Badge (optional) */
.phone-img-slider .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #007bff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .header-con {
        flex-direction: column;
        text-align: center;
    }

    .header-con .wrap {
        flex-direction: column;
    }

    .phone-img-slider {
        margin-top: 2rem;
    }
}


.lead {
    line-height: 1.6;
}

.fa-star {
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4));
}

/* Star Rating Styles */
.star-rating {
    direction: rtl;
    /* reverse for proper hover effect */
    display: inline-flex;
    font-size: 1.8rem;
}

.star-rating input {
    display: none;
    /* hide radio buttons */
}

.star-rating label {
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #ffca08;
    /* gold star */
}

/* ===== Feedback Slider ===== */
#feedback-slider {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    overflow: hidden;
}

.feedback-slider-wrapper {
    display: flex;
    transition: transform 0.7s ease-in-out;
    will-change: transform;

}

.feedback-slide {
    flex: 0 0 100%;
    opacity: 0.3;
    transform: scale(0.95);
    transition: all 0.5s ease;
    pointer-events: none;
}

.feedback-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.feedback-slide .card {
    transition: transform 0.3s ease;
}

.feedback-slide.active .card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    #feedback-slider {
        height: auto;
    }
}


@media (min-height: 700px) {
    .section-container {
        display: flex;
        align-items: center;
    }
}


.fa-star {
    font-size: 1.1rem;
    margin: 0 1px;
}

.stars {
    display: inline-block;
    font-size: 1rem;
    color: #ccc;
    position: relative;
}

.star {
    display: inline-block;
    transition: color 0.4s, transform 0.3s;
    cursor: pointer;
}

/* Glow on load animation */
@keyframes glow {
    0% {
        color: #ccc;
        transform: scale(1);
    }

    50% {
        color: gold;
        transform: scale(1.2);
    }

    100% {
        color: gold;
        transform: scale(1);
    }
}

.star.glow {
    animation: glow 0.8s ease forwards;
}

/* Hover effect */
.star:hover {
    color: gold;
    transform: scale(1.2);
}

/* ---- end-feedback-page ---- */


/* ================================
   🌙 Footer (Always Dark + Stable)
================================ */
footer .footer,
.footer {
    text-decoration: none;
}

.footer a,
.footer a:hover {
    text-decoration: none;
}


.footer {
    background: var(--primary);           /* solid dark */
    color: #fff !important;     /* force white */
    width: 100%;
}

.footer a {
    color: #fff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer a:hover,
.footer a:active,
.footer a:focus {
    color: #fff !important;     /* no color change */
    opacity: 0.85;              /* slight fade only */
}

.footer h5,
.footer h6 {
    font-weight: 600;
    margin-bottom: 12px;
}

/* Divider color stays white */
.footer hr {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* ================================
   ✅ RESPONSIVE OPTIMIZATION
================================ */

/* ✅ Mobile: Stack columns & center text */
@media (max-width: 575.98px) {
    .footer {
        text-align: center;
        padding: 40px 0 !important;
    }

    .footer .col-md-4,
    .footer .col-md-3,
    .footer .col-md-2 {
        margin-bottom: 20px;
    }

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

    .footer .d-flex {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ✅ Tablets (Better spacing) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .footer {
        padding-top: 50px;
        padding-bottom: 40px;
    }
    .footer p,
    .footer li {
        font-size: 0.9rem;
    }
}

/* ✅ Desktop (More breathing space) */
@media (min-width: 992px) {
    .footer {
        padding-top: 60px;
        padding-bottom: 40px;
    }
}
