/* ===========================
   ANUJ MOTORS - Main Stylesheet
   Brand Color: #1BAE70
   =========================== */

/* Google Fonts (Local) */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/pxiEyp8kv8JHgFVrJJbecmNE.woff2') format('woff2');
    unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/pxiEyp8kv8JHgFVrJJnecmNE.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/pxiByp8kv8JHgFVrLGT9Z11lFc-K.woff2') format('woff2');
    unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2') format('woff2');
    unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/pxiByp8kv8JHgFVrLCz7Z11lFc-K.woff2') format('woff2');
    unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2') format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./fonts/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./fonts/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./fonts/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2') format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./fonts/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Logo Theme Swap ────────────────────────────────────────────── */
/* Dark mode (default): show dark logo, hide light logo */
.logo-dark {
    display: block;
}

.logo-light {
    display: none;
}

/* Light mode: flip */
body.light-mode .logo-dark {
    display: none !important;
}

body.light-mode .logo-light {
    display: block !important;
}

/* ===== CSS Variables ===== */
:root {
    --primary: #1BAE70;
    --primary-dark: #159a5f;
    --primary-light: #23d68a;
    --primary-glow: rgba(27, 174, 112, 0.25);
    --dark-bg: #0B1C2D;
    --section-bg: #111827;
    --card-bg: #1a2535;
    --border-color: #233044;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --white: #ffffff;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;
    --font: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.2);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
    --navbar-h: 75px;
}

/* Light Mode */
body.light-mode {
    --dark-bg: #f0f4f8;
    --section-bg: #ffffff;
    --card-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    transition: background-color 0.3s, color 0.3s;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* ===== Selection ===== */
::selection {
    background: var(--primary);
    color: #fff;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

/* ===== Utility Classes ===== */
.text-primary-brand {
    color: var(--primary) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-dark-custom {
    background-color: var(--dark-bg) !important;
}

.bg-section {
    background-color: var(--section-bg) !important;
}

.bg-card {
    background-color: var(--card-bg) !important;
}

/* Section Padding */
.section-pad {
    padding: 90px 0;
}

.section-pad-sm {
    padding: 60px 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.section-divider {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    margin: 15px auto;
}

/* ===== Buttons ===== */
.btn-brand {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff !important;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn-brand:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--primary-glow);
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-brand-outline {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-brand-outline:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-white-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* Override Bootstrap primary */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 28px;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 28px;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* ===== Cards ===== */
.glass-card {
    background: rgba(26, 37, 53, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

body.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.85);
}

/* ===== Navbar ===== */
.main-navbar {
    background: rgba(11, 28, 45, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 174, 112, 0.15);
    padding: 10px 0;
    min-height: var(--navbar-h);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.main-navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: var(--primary);
}

.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.main-navbar .brand-logo,
.footer-logo-img-wrap {
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: var(--transition);
}

.footer-logo-img-wrap {
    display: inline-flex;
    padding: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    /* subtle backing to catch the shadow */
}

.main-navbar .brand-logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-heading);
}

.main-navbar .brand-text {
    line-height: 1.1;
}

.main-navbar .brand-text .brand-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.main-navbar .brand-text .brand-sub {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: var(--transition);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    left: 10%;
    right: 10%;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary) !important;
}

.navbar-nav-btn {
    padding: 8px 22px !important;
}

.theme-toggle-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.theme-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Navbar User (Profile) Button ===== */
.navbar-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(27, 174, 112, 0.1);
    border: 1px solid rgba(27, 174, 112, 0.3);
    border-radius: 50px;
    padding: 6px 14px 6px 6px;
    color: var(--text-primary);
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    max-width: 200px;
}

.navbar-user-btn:hover {
    background: rgba(27, 174, 112, 0.2);
    border-color: var(--primary);
}

.navbar-user-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.navbar-dropdown-menu {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow) !important;
    min-width: 200px;
    padding: 4px 0;
}

.navbar-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--text-secondary) !important;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.navbar-dd-item:hover {
    background: rgba(27, 174, 112, 0.08) !important;
    color: var(--primary) !important;
}

.navbar-dd-item i {
    width: 16px;
    text-align: center;
    color: var(--primary);
    font-size: 0.85rem;
}

/* Mobile Navbar */
@media (max-width: 991px) {

    /* Collapsed menu drops below the top bar as a full-width panel */
    .main-navbar .navbar-collapse {
        background: var(--section-bg);
        border: 1px solid var(--border-color);
        border-radius: var(--radius);
        padding: 12px 15px 15px;
        margin-top: 10px;
        box-shadow: var(--shadow);
        flex-basis: 100%;
        width: 100%;
        /* allow vertical scrolling for long menus */
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .main-navbar .nav-link::after {
        display: none;
    }

    .mobile-menu {
        position: relative;
        overflow: visible;
        /* allow dropdown to expand naturally */
    }

    /* Action bar (theme toggle + user/call btn) sits below the nav links */
    .mobile-action-bar {
        margin-top: 0.85rem;
        padding-top: 0.85rem;
        border-top: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: space-between;
    }

    /* Profile button — full width on mobile so name doesn't overflow */
    .navbar-user-btn {
        flex: 1;
        max-width: none;
        padding: 6px 12px 6px 6px;
        gap: 6px;
        font-size: 0.82rem;
        overflow: hidden;
    }

    /* Name label inside profile button: always visible on mobile */
    .navbar-user-btn .d-none.d-lg-inline {
        display: inline !important;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Profile dropdown: static, full-width, no floating */
    .mobile-menu .dropdown {
        flex: 1;
    }

    .mobile-menu .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 6px;
        background: var(--card-bg) !important;
        border: 1px solid var(--border-color) !important;
        box-shadow: none;
        transform: none !important;
        border-radius: var(--radius-sm) !important;
    }

    /* Compact "Call Now" button on mobile */
    .mobile-menu .call-btn,
    a.call-btn.d-lg-none {
        width: auto;
        max-width: 160px;
        flex-shrink: 0;
        padding: 7px 16px !important;
        font-size: 0.78rem !important;
        border-radius: 25px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        line-height: 1.3;
        margin: 0 auto;
    }

    .mobile-menu .call-btn i,
    a.call-btn.d-lg-none i {
        font-size: 0.75rem;
    }

    .hero-section {
        padding-top: 90px;
    }
}

/* ── Desktop: reduce top gap in hero section (navbar is fixed, 75px) ── */
@media (min-width: 992px) {
    .hero-section {
        padding-top: 40px;
    }
}

/* ── Mobile: hide floating cards to prevent button overlap ── */
@media (max-width: 991px) {
    .floating-card {
        display: none !important;
    }

    .hero-glow-ring {
        width: 260px;
        height: 260px;
    }

    .hero-center-icon {
        width: 130px;
        height: 130px;
        font-size: 3.5rem;
    }
}

/* Navbar spacer */
.navbar-spacer {
    height: var(--navbar-h);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #061422 0%, #0B1C2D 50%, #0d2238 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(27, 174, 112, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(27, 174, 112, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(27, 174, 112, 0.04) 0%, transparent 40%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(27, 174, 112, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 174, 112, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 174, 112, 0.12);
    border: 1px solid rgba(27, 174, 112, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    /* slightly smaller padding for mobile comfort */
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 25px;
    height: auto;
    max-width: 100%;
    /* Force it to stay strictly inside parent */
    white-space: normal;
    text-align: left;
    line-height: 1.5;
    /* Better line height for wrapped text readability */
    word-wrap: break-word;
}

.hero-badge span:last-child {
    flex: 1;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    flex-shrink: 0;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-stats {
    display: flex;
    gap: 35px;
    margin-top: 45px;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-item .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: var(--font-heading);
}

.hero-stat-item .lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow-ring {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 174, 112, 0.12) 0%, transparent 70%);
    border: 1px solid rgba(27, 174, 112, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.hero-glow-ring::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px dashed rgba(27, 174, 112, 0.25);
    animation: rotate 20s linear infinite;
}

.hero-center-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(27, 174, 112, 0.2), rgba(27, 174, 112, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border: 2px solid rgba(27, 174, 112, 0.3);
}

.floating-card {
    position: absolute;
    background: rgba(26, 37, 53, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.floating-card .fc-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-glow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.floating-card-1 {
    top: 15%;
    left: -10%;
    animation: float 3s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 20%;
    left: -15%;
    animation: float 3.5s ease-in-out 0.5s infinite;
}

.floating-card-3 {
    top: 10%;
    right: -5%;
    animation: float 4s ease-in-out 1s infinite;
}

/* ===== Service Cards ===== */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 35px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .service-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.service-card .service-link {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-card .service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* ===== Why Choose Us ===== */
.why-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    margin-bottom: 20px;
}

.why-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.why-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: var(--primary-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
}

.why-icon-alt {
    background: var(--primary);
    color: #fff;
}

.why-text h5 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.why-text p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 0;
}

/* ===== Stats Counter ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-box {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-box .stat-num {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    height: 60px;
    margin: 0 auto;
}

/* ===== Emergency Section ===== */
.emergency-section {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 100%);
    border-top: 1px solid rgba(231, 76, 60, 0.3);
    border-bottom: 1px solid rgba(231, 76, 60, 0.3);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.emergency-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(231, 76, 60, 0.05) 0%, transparent 70%);
}

.emergency-pulse {
    width: 80px;
    height: 80px;
    background: rgba(231, 76, 60, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.emergency-pulse::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(231, 76, 60, 0.4);
    animation: pulse 1.5s infinite;
}

.emergency-phone {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #e74c3c;
    font-family: var(--font-heading);
}

/* Emergency section — keep dark so white text is always readable */
body.light-mode .emergency-section {
    background: linear-gradient(135deg, #1a0a0a 0%, #2d0606 100%) !important;
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 35px;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.testimonial-card .stars {
    color: #f39c12;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .reviewer-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-card .reviewer-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-card .reviewer-loc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 15px;
    font-family: serif;
}

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 28, 45, 0.85), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--primary);
}

/* ===== Contact ===== */
.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-info-text h6 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-info-text p {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0;
}

.contact-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px;
}

.form-control,
.form-select {
    background: var(--dark-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm) !important;
    padding: 12px 18px !important;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
    border-color: var(--primary) !important;
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ===== Footer ===== */
.main-footer {
    background: #060f1a;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 0;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-heading);
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--card-bg);
    /* keep background unchanged */
    border-color: var(--primary);
    color: var(--primary);
    /* color changed to primary for visibility on light backgrounds */
    transform: scale(1.1);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary);
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links li a::before {
    content: '›';
    color: var(--primary);
    font-size: 1rem;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 3px;
    min-width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom span {
    color: var(--primary);
}

/* ===== Page Hero ===== */
.page-hero {
    background: linear-gradient(135deg, #061422 0%, var(--dark-bg) 100%);
    padding: 120px 0 70px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(27, 174, 112, 0.08) 0%, transparent 60%);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-hero p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted);
}

/* ===== About Page ===== */
.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 20px 25px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.experience-badge .num {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-heading);
}

.experience-badge .lbl {
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.offer-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* ===== Services Page ===== */
.service-process-step {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-process-step:hover {
    border-color: var(--primary);
}

.step-num {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-heading);
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--primary);
}

.faq-question {
    padding: 18px 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer-inner {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Blog ===== */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.blog-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--dark-bg), var(--section-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 25px;
}

.blog-tag {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-card-title:hover {
    color: var(--primary);
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-meta i {
    color: var(--primary);
}

/* ===== Appointment ===== */
.appointment-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.appointment-feature i {
    color: var(--primary);
    font-size: 1rem;
    width: 16px;
}

.appointment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/* ===== Map ===== */
.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    display: block;
    filter: grayscale(30%) invert(5%);
}

/* ===== Animations ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* AOS-like reveal */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delay helpers */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* ===== Bottom Nav (Mobile) ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(6, 15, 26, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    padding: 8px 0 4px;
}

.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 0;
    transition: var(--transition);
}

.mobile-nav-item i {
    font-size: 1.35rem;
    transition: var(--transition);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary);
}

.mobile-nav-item.active i {
    color: var(--primary);
}

.mobile-nav-fab {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-top: -20px;
    box-shadow: 0 4px 20px var(--primary-glow);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 75px;
    }

    .floating-card-3,
    .floating-card-1,
    .floating-card-2 {
        display: none;
    }

    .hero-glow-ring {
        width: 280px;
        height: 280px;
    }

    .hero-center-icon {
        width: 130px;
        height: 130px;
        font-size: 3.5rem;
    }
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 85px;
        right: 15px;
    }
}

/* ===== Scrolltop ===== */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 88px;
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    z-index: 997;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.scroll-top.show {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .scroll-top {
        right: 80px;
        bottom: 85px;
    }
}

/* ===== Alert ===== */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(27, 174, 112, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.alert-danger {
    background: rgba(231, 76, 60, 0.12);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .section-pad {
        padding: 70px 0;
    }

    .hero-visual {
        display: none;
    }

    .hero-section {
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto 35px;
    }

    .hero-btns {
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .experience-badge {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 20px;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .section-pad {
        padding: 55px 0;
    }

    .offer-banner {
        padding: 30px 20px;
    }

    .contact-form-wrap {
        padding: 25px;
    }

    .about-image-wrap {
        margin-bottom: 30px;
    }
}

/* ===== Preloader (Car Animation) ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.car-loader-container {
    width: 200px;
    height: 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--border-color);
}

.car-loader {
    width: 60px;
    height: 30px;
    position: relative;
    animation: driveCar 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.car-body {
    width: 100%;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px 20px 5px 5px;
    position: absolute;
    bottom: 5px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.car-top {
    width: 35px;
    height: 15px;
    background: var(--primary);
    position: absolute;
    bottom: 20px;
    left: 10px;
    border-radius: 10px 15px 0 0;
}

.car-window {
    width: 15px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    bottom: 20px;
    left: 20px;
    border-radius: 2px 10px 0 0;
}

.wheel {
    width: 14px;
    height: 14px;
    background: #111;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: absolute;
    bottom: 0px;
    animation: spinWheel 0.5s linear infinite;
}

.wheel-front {
    right: 8px;
}

.wheel-back {
    left: 8px;
}

.wind {
    position: absolute;
    height: 3px;
    background: rgba(27, 174, 112, 0.5);
    border-radius: 3px;
    right: -20px;
    animation: windBlow 1s linear infinite;
}

.wind-1 {
    bottom: 10px;
    width: 40px;
    animation-delay: 0s;
}

.wind-2 {
    bottom: 20px;
    width: 20px;
    animation-delay: 0.3s;
}

.wind-3 {
    bottom: 15px;
    width: 30px;
    animation-delay: 0.6s;
}

@keyframes driveCar {
    0% {
        transform: translateX(-80px);
    }

    100% {
        transform: translateX(200px);
    }
}

@keyframes spinWheel {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes windBlow {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-150px);
        opacity: 0;
    }
}

/* ===== Light mode overrides ===== */
body.light-mode .main-navbar {
    background: rgba(240, 244, 248, 0.97);
}

body.light-mode .main-footer {
    background: #f0f4f8;
}

body.light-mode .hero-section {
    background: linear-gradient(135deg, #e0f5ec 0%, #f0f4f8 50%, #e8f5ee 100%);
}

body.light-mode .page-hero {
    background: linear-gradient(135deg, #e0f5ec, #f0f4f8);
}

body.light-mode .mobile-bottom-nav {
    background: rgba(240, 244, 248, 0.97);
}

body.light-mode .form-control,
body.light-mode .form-select {
    background: #fff !important;
}

/* ===== Navbar User Avatar / Dropdown ===== */
.navbar-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    white-space: nowrap;
    flex-shrink: 0;
    background: rgba(27, 174, 112, 0.1);
    border: 1px solid rgba(27, 174, 112, 0.3);
    border-radius: 50px;
    padding: 6px 14px 6px 6px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.navbar-user-btn:hover {
    background: rgba(27, 174, 112, 0.18);
    border-color: var(--primary);
}

.navbar-user-btn::after {
    display: none;
}

/* Remove BS caret */
.navbar-user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.navbar-dropdown-menu {
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    min-width: 220px;
    padding: 0;
    overflow: hidden;
    margin-top: 10px !important;
}

.navbar-dd-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 18px !important;
    font-size: 0.87rem;
    color: var(--text-secondary) !important;
    transition: var(--transition) !important;
}

.navbar-dd-item:hover {
    background: rgba(27, 174, 112, 0.08) !important;
    color: var(--primary) !important;
}

.navbar-dd-item i {
    width: 16px;
    font-size: 0.85rem;
    color: var(--primary);
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--card-bg);
    /* keep background unchanged */
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

/* ===== Global Icon-Input Overlap Fix =====
   Fixes icon overlapping text in ALL forms sitewide:
   login, register, contact, appointment, profile, settings
   ================================================== */

/* Step 1: Any .position-relative wrapper with an icon gives the input room */
.position-relative>.form-control,
.position-relative>.form-select {
    padding-left: 46px !important;
}

/* Step 2: Inputs with BOTH a left icon AND a right button */
.position-relative>.form-control.has-right-btn {
    padding-right: 46px !important;
}

/* Step 3: Position all Font Awesome icons inside wrappers correctly */
.position-relative>i.fas,
.position-relative>i.fab,
.position-relative>i.far,
.position-relative>i.fa {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5;
    pointer-events: none;
    /* icon never blocks typing/clicking */
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Step 4: Right-side toggle buttons (e.g. eye icon on password fields) */
.position-relative>button[type="button"] {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 6;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* Step 5: Fix form-control base styling for all dark inputs */
.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm) !important;
    padding: 12px 16px;
    transition: border-color 0.25s, box-shadow 0.25s;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
    outline: none !important;
    background-color: rgba(27, 174, 112, 0.04) !important;
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Light-mode form controls */
body.light-mode .form-control,
body.light-mode .form-select {
    background-color: #fff !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}

/* =================================================================
   LIGHT MODE — Complete Section-by-Section Theme Overrides
   Targets every hardcoded dark color class by name
   ================================================================= */

/* ── 1. Body & Root ── */
body.light-mode {
    background-color: #f0f4f8;
    color: #1e293b;
}

/* ── 2. Navbar ── */
body.light-mode .main-navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .main-navbar .nav-link {
    color: #475569 !important;
}

body.light-mode .main-navbar .nav-link:hover,
body.light-mode .main-navbar .nav-link.active {
    color: var(--primary) !important;
}

body.light-mode .main-navbar .brand-name {
    color: #1e293b !important;
}

body.light-mode .main-navbar .navbar-collapse {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

/* Mobile hamburger icon — green tinted in light mode */
body.light-mode .navbar-toggler {
    border-color: var(--primary) !important;
    background: rgba(27, 174, 112, 0.08) !important;
}

body.light-mode .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231BAE70' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ── 3. Hero Section ── */
body.light-mode .hero-section {
    background: linear-gradient(135deg, #eef2f7 0%, #e8f4f0 50%, #edfbf5 100%) !important;
}

body.light-mode .hero-bg-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(27, 174, 112, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(27, 174, 112, 0.04) 0%, transparent 40%) !important;
}

body.light-mode .hero-grid-pattern {
    opacity: 0.4 !important;
}

body.light-mode .hero-title {
    color: #0f172a !important;
}

body.light-mode .hero-subtitle {
    color: #475569 !important;
}

body.light-mode .hero-stat-item .lbl {
    color: #64748b !important;
}

/* Floating Hero Cards */
body.light-mode .floating-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
    color: #1e293b !important;
}

body.light-mode .floating-card>div:first-of-type {
    color: #1e293b !important;
}

/* ── 4. Section Headings & Text (universal) ── */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
    color: #0f172a;
}

body.light-mode p {
    color: #475569;
}

body.light-mode .section-header p {
    color: #64748b;
}

body.light-mode .section-badge {
    color: var(--primary);
    background: rgba(27, 174, 112, 0.1);
    border-color: rgba(27, 174, 112, 0.3);
}

/* ── 5. Service Cards ── */
body.light-mode .service-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .service-card h4 {
    color: #0f172a !important;
}

body.light-mode .service-card p {
    color: #64748b !important;
}

body.light-mode .service-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

/* ── 6. Why Choose Us ── */
body.light-mode .why-item {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body.light-mode .why-text h5 {
    color: #0f172a !important;
}

body.light-mode .why-text p {
    color: #64748b !important;
}

body.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: #e2e8f0 !important;
}

/* ── 7. Stats Counter — Keep dark/green bg so white text is visible ── */
body.light-mode .stats-section {
    /* Keep the green gradient background — white numbers are readable */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

/* ── 8. Emergency Section — Keep dark bg so white text is always visible ── */
body.light-mode .emergency-section {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 100%) !important;
    /* Text inside already has explicit color:#fff / rgba(255,255,255,0.7) — keep those */
}

/* ── 9. Appointment Features ── */
body.light-mode .appointment-feature {
    color: #475569 !important;
}

/* ── 10. Contact & Form Cards ── */
body.light-mode .contact-form-wrap {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .contact-form-wrap h4,
body.light-mode .contact-form-wrap h5,
body.light-mode .contact-form-wrap h6 {
    color: #0f172a !important;
}

body.light-mode .contact-info-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body.light-mode .contact-info-icon {
    background: rgba(27, 174, 112, 0.12) !important;
}

body.light-mode .contact-info-text h6 {
    color: #0f172a !important;
}

body.light-mode .contact-info-text p {
    color: #64748b !important;
}

/* ── 11. Gallery Items ── */
body.light-mode .gallery-item {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

/* ── 12. Testimonials ── */
body.light-mode .testimonial-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .testimonial-card p {
    color: #64748b !important;
}

body.light-mode .quote-icon {
    color: var(--primary) !important;
    opacity: 0.3;
}

body.light-mode .reviewer-name {
    color: #0f172a !important;
}

/* ── 13. Blog Cards ── */
body.light-mode .blog-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .blog-card-title a {
    color: #0f172a !important;
}

body.light-mode .blog-meta {
    color: #94a3b8 !important;
}

body.light-mode .blog-card-img {
    background: linear-gradient(135deg, #e8f4f0, #d1fae5) !important;
}

/* ── 14. Page Hero (inner pages) ── */
body.light-mode .page-hero {
    background: linear-gradient(135deg, #eef2f7 0%, #e8f4f0 100%) !important;
}

body.light-mode .page-hero h1,
body.light-mode .page-hero h2,
body.light-mode .page-hero p {
    color: #0f172a !important;
}

/* ── 15. Form Controls ── */
body.light-mode .form-control,
body.light-mode .form-select,
body.light-mode input:not([type=checkbox]):not([type=radio]):not([type=submit]),
body.light-mode textarea,
body.light-mode select {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

body.light-mode .form-label {
    color: #334155 !important;
}

body.light-mode .form-control::placeholder,
body.light-mode textarea::placeholder {
    color: #94a3b8 !important;
}

body.light-mode .form-control:focus,
body.light-mode .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(27, 174, 112, 0.15) !important;
}

/* ── 16. Buttons ── */
body.light-mode .btn-brand-outline {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

body.light-mode .btn-brand-outline:hover {
    color: #fff !important;
}

/* ── 17. Alerts ── */
body.light-mode .alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

body.light-mode .alert-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

/* ── 18. Footer — always dark bg ── */
body.light-mode footer,
body.light-mode .site-footer {
    background: #0f172a !important;
    color: #cbd5e1 !important;
}

body.light-mode footer h5,
body.light-mode footer h6 {
    color: #f0f4f8 !important;
}

body.light-mode footer a {
    color: #94a3b8 !important;
}

body.light-mode footer a.btn-brand {
    color: #fff !important;
}

body.light-mode footer a:hover {
    color: var(--primary) !important;
}

/* ── 19. Inline dark-bg style attributes ── */
body.light-mode [style*="background:var(--dark-bg)"],
body.light-mode [style*="background: var(--dark-bg)"] {
    background: #f8fafc !important;
    color: #1e293b !important;
}

/* ── 20. Map wrapper border ── */
body.light-mode .map-wrapper {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
}

/* ── 21. Scrollbar for light mode ── */
body.light-mode ::-webkit-scrollbar-track {
    background: #f0f4f8;
}

/* ── 22. WhatsApp float button — stays green ── */
body.light-mode .whatsapp-float {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

/* ================================================================
   SELECT <option> FIX — options are native-rendered by browser;
   they don't inherit CSS from <select> so we must target them
   explicitly with solid backgrounds in both dark & light mode.
   ================================================================ */

/* Dark mode: options get a solid dark panel background */
select option,
.apinput option,
.qbinput option,
.form-select option {
    background-color: #1a2535;
    color: #e2e8f0;
}

/* Light mode: options get a plain white background */
body.light-mode select option,
body.light-mode .apinput option,
body.light-mode .qbinput option,
body.light-mode .form-select option {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

/* Force the select element itself to have a readable text color in dark mode */
select,
.apinput,
.qbinput,
.form-select {
    color: var(--text-primary);
}

/* In dark mode, give selects a proper solid background so native
   dropdown panel doesn't show garbled colours */
select:not(.form-select):not(.apinput):not(.qbinput) {
    background-color: #1a2535;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 10px 14px;
}

/* Light mode select explicit clean override */
body.light-mode select,
body.light-mode .apinput,
body.light-mode .qbinput,
body.light-mode .form-select {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border-color: #cbd5e1 !important;
}

/* ================================================================
   MOBILE & LIGHT MODE FIXES
   ================================================================ */

/* Hide logo text on mobile */
@media (max-width: 768px) {
    .brand-text {
        display: none !important;
    }
}

/* Fix hamburger menu contrast in Light Mode (overrides text-white) */
body.light-mode .navbar-toggler.text-white,
body.light-mode .navbar-toggler i {
    color: var(--text-primary) !important;
}

/* ── Comprehensive Mobile Alignment Fixes ── */
@media (max-width: 768px) {

    /* Center align section headers and descriptions */
    .section-header,
    .section-header p,
    .about-content,
    .contact-form-card .card-body {
        text-align: center !important;
    }

    /* Ensure About and Service lists are readable and aligned properly */
    .about-content ul li,
    .service-process-step,
    .service-process-step p {
        text-align: left !important;
    }

    /* Fix button overlaps and spacing; enforce full width on mobile */
    .btn-brand,
    .btn-brand-outline {
        display: inline-block;
        width: 100%;
        margin-bottom: 15px !important;
        margin-right: 0 !important;
        text-align: center;
        box-sizing: border-box;
    }

    /* Target specific inline wrappers that break the grid */
    .d-flex.gap-3 {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Add spacing between stacked columns */
    .row>.col-lg-6,
    .row>.col-md-6,
    .row>.col-lg-4,
    .row>.col-lg-8 {
        margin-bottom: 30px;
    }

    /* Reset order to flow naturally down the page */
    .order-lg-1,
    .order-lg-2 {
        order: unset !important;
    }

    /* Gallery & Image Card Spacing */
    .gallery-item {
        margin-bottom: 20px;
    }

    /* About Feature Image */
    .about-image-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px;
    }

    /* Contact Form & Appointment Booking Overlap Fix */
    .contact-form-wrap,
    .glass-card {
        padding: 25px 20px !important;
        margin-top: 15px;
    }

    .appointment-feature {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
        gap: 5px !important;
    }

    .qbfield {
        margin-bottom: 10px;
    }

    /* Hero Buttons */
    .hero-btns {
        justify-content: center !important;
    }

    .hero-stat-item {
        margin-bottom: 15px;
    }

    /* Blog Card Overrides */
    .blog-card {
        flex-direction: column !important;
        text-align: center;
    }

    .blog-card .blog-card-img {
        width: 100% !important;
        min-width: 100% !important;
        height: 180px !important;
    }

    .blog-card .blog-meta {
        justify-content: center !important;
    }

    /* Adjust specific text overrides */
    h1,
    h2,
    h3 {
        text-align: center !important;
    }
}

/* <--- Closes @media (max-width: 768px) */

/* ================================================================
   BLOG STRUCTURED COMPONENTS
   ================================================================ */

/* Blog Custom Tables */
.blog-custom-table th {
    background: rgba(27, 174, 112, 0.1);
    color: var(--primary);
    font-weight: 700;
}

.blog-custom-table td,
.blog-custom-table th {
    border-color: var(--border-color);
    vertical-align: middle;
}

body.light-mode .blog-custom-table {
    background: #ffffff;
}

/* Blog FAQs (Using details/summary) */
.blog-faq {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--section-bg);
    overflow: hidden;
}

.blog-faq summary {
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-primary);
    background: var(--dark-bg);
    transition: background 0.2s;
}

.blog-faq summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    color: var(--primary);
}

.blog-faq[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.blog-faq summary::-webkit-details-marker {
    display: none;
}

.blog-faq .faq-content {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Gutenberg-equivalent Alignments */
.blog-content .alignwide {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.blog-content .alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: block;
    max-width: none;
}

/* ===== Partners & Supported Brands Section ===== */
.partners-section {
    background: var(--section-bg);
}

.partner-category-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.partner-category-title i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    border-radius: 10px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.partner-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: rgba(27, 174, 112, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(27, 174, 112, 0.15);
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.08);
}

.partner-logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(27, 174, 112, 0.12), rgba(27, 174, 112, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo-placeholder {
    transform: scale(1.08);
}

.partner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.partner-card:hover .partner-name {
    color: var(--primary);
}

/* Light Mode */
body.light-mode .partner-card {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

body.light-mode .partner-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(27, 174, 112, 0.15);
}

body.light-mode .partner-logo {
    background: #f8fafc;
}

/* Responsive */
@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 14px;
    }

    .partner-card {
        padding: 18px 12px;
    }

    .partner-logo,
    .partner-logo-placeholder {
        width: 56px;
        height: 56px;
    }

    .partner-name {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .partner-card {
        padding: 14px 8px;
        gap: 8px;
    }

    .partner-logo,
    .partner-logo-placeholder {
        width: 48px;
        height: 48px;
        padding: 6px;
    }

    .partner-name {
        font-size: 0.72rem;
    }
}

/* ================================================================
   DASHBOARD & THEME STABILIZATION (2026-04-04)
   ================================================================ */

/* User Dashboard Components */
.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.contact-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 auto 16px;
    box-shadow: 0 5px 15px var(--primary-glow);
}

/* Bootstrap Tabs Theme Overrides */
.nav-tabs {
    border-bottom: 2px solid var(--border-color);
    gap: 5px;
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    border: none;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 10px 10px 0 0;
    transition: var(--transition);
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    border: none;
    background: rgba(27, 174, 112, 0.05);
}

.nav-tabs .nav-link.active {
    background: transparent !important;
    color: var(--primary) !important;
    border: none;
    border-bottom: 3px solid var(--primary);
}

/* Service History Table Theme Overrides */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--border-color);
    margin-bottom: 0;
    width: 100%;
}

.table thead th {
    background-color: rgba(27, 174, 112, 0.05);
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 15px;
    border-bottom: 2px solid var(--border-color);
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.table code {
    background: var(--dark-bg);
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

body.light-mode .table thead th {
    background-color: #f8fafc;
}

/* Badge Stabilization */
.badge.bg-secondary {
    background-color: var(--border-color) !important;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 6px 12px;
}

/* ── Mobile Layout Fixes ── */
@media (max-width: 991px) {
    /* Center text content (headings, paragraphs, badges) on mobile */
    .section-divider {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    .section-header.text-start,
    .col-lg-6 h1, .col-lg-6 h2, .col-lg-6 h3, .col-lg-6 h4, .col-lg-6 h5,
    .col-lg-6 p,
    .col-lg-4 h1, .col-lg-4 h2, .col-lg-4 h4 {
        text-align: center !important;
    }

    /* Keep lists left-aligned but centered in their container if possible, 
       or just center the text if it looks disjointed */
    .col-lg-6 p {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Force section badges to center as well when not in a centered header */
    .section-badge {
        display: table !important; /* best for auto margin centering inline-block style */
        margin-left: auto !important;
        margin-right: auto !important;
    }
}