:root {
    --primary: #002147;
    /* Deep Navy Blue */
    --accent: #B38600;
    /* Darker Gold for better contrast */
    --accent-light: #C5A021;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    touch-action: manipulation;
}

button, summary, details summary {
    touch-action: manipulation;
}

.btn-gold {
    background-color: var(--accent);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 33, 0.4);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a,
footer a {
    color: inherit;
    text-decoration: none;
}

.nav-links a {
    color: var(--primary);
    font-weight: 700;
}

.nav-links a:hover,
footer a:hover {
    color: var(--accent);
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    aspect-ratio: 180 / 50;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

/* Inner Pages */
.page-hero {
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.95), rgba(0, 20, 45, 0.88)), url('hero_bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 160px 0 90px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 18px;
}

.page-hero p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.15rem;
    opacity: 0.92;
}

.page-actions,
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.light-outline {
    border-color: rgba(255, 255, 255, 0.75);
    color: var(--white);
}

.light-outline:hover {
    border-color: var(--accent);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.content-card {
    background: var(--white);
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.content-card i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 16px;
}

.content-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.text-panel {
    background: var(--white);
    border-radius: 8px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.text-panel h2,
.text-panel h3 {
    color: var(--primary);
    margin-bottom: 14px;
}

.text-panel ul {
    margin-left: 20px;
}

.text-panel li {
    margin-bottom: 10px;
}

.contact-list {
    display: grid;
    gap: 16px;
}

.contact-list a {
    color: var(--primary);
    font-weight: 700;
}

/* Location Section */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.location-map {
    height: 350px;
    background: #eee;
    position: relative;
}

.location-info {
    padding: 40px;
    border-left: 2px solid rgba(0, 33, 71, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-info {
        border-left: none;
        border-top: 1px solid rgba(0, 33, 71, 0.1);
        padding: 30px 20px;
    }
    
    .location-map {
        height: 250px;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 33, 71, 0.7), rgba(0, 33, 71, 0.7)), url('hero_bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    margin-top: 0;
    content-visibility: auto;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 44px auto 0;
    max-width: 720px;
}

.hero-proof div {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 14px;
    backdrop-filter: blur(8px);
}

.hero-proof strong,
.trust-grid strong {
    display: block;
    color: var(--accent-light);
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    line-height: 1.1;
}

.hero-proof span,
.trust-grid span {
    display: block;
    font-size: 0.9rem;
    margin-top: 6px;
    opacity: 0.9;
}

/* Inspection Flow */
.inspection-flow {
    background: var(--white);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.flow-card {
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 8px;
    padding: 34px 28px;
    background: var(--bg-light);
    text-align: center;
    transition: var(--transition);
}

.flow-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.flow-card i {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.flow-card h3,
.coverage-item h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Expertise */
.expertise {
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.section-title .divider {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 20px auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.exp-card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.exp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.exp-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

/* Service Audit Grid */
.audit {
    background: var(--primary);
    color: var(--text-light);
}

.audit h2 {
    color: var(--text-light);
}

.audit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .audit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .audit-grid {
        grid-template-columns: 1fr;
    }
}

.audit-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.audit-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.audit-item h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

.audit-item ul {
    list-style: none;
}

.audit-item ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.audit-item ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Coverage */
.checklist-intro {
    background: var(--white);
}

.checklist-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 28px;
}

.checklist-panel,
.checklist-category,
.assessment-card {
    background: var(--white);
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.checklist-panel {
    padding: 32px;
}

.checklist-panel h2,
.signoff-section h2 {
    color: var(--primary);
    margin-bottom: 18px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.field-grid span,
.status-grid span,
.assessment-card span {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-radius: 6px;
    background: var(--bg-light);
    padding: 10px 14px;
    font-weight: 600;
    color: var(--primary);
}

.status-grid {
    display: grid;
    gap: 12px;
}

.status-grid i {
    color: var(--accent);
    margin-right: 10px;
}

.checklist-section {
    background: var(--bg-light);
}

.checklist-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.checklist-category {
    padding: 28px;
}

.checklist-category h3 {
    color: var(--primary);
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.checklist-category h3 i {
    color: var(--accent);
    width: 24px;
    text-align: center;
}

.checklist-category ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.checklist-category li {
    position: relative;
    padding-left: 22px;
}

.checklist-category li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.signoff-section {
    background: var(--white);
}

.signoff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.assessment-card {
    display: grid;
    gap: 12px;
    padding: 24px;
}

/* Coverage */
.coverage {
    background: var(--white);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.coverage-item {
    border-bottom: 3px solid var(--accent);
    background: var(--bg-light);
    border-radius: 8px;
    padding: 28px 22px;
}

.coverage-item i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 16px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.price-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card.featured {
    border: 2px solid var(--accent);
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.pricing-note {
    max-width: 680px;
    margin: 14px auto 0;
    color: #666;
    font-size: 0.95rem;
}

/* Use Cases */
.use-cases {
    background: var(--white);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.use-case-item {
    min-height: 150px;
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 8px;
    background: var(--bg-light);
    padding: 26px 20px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 16px;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
}

.use-case-item i {
    color: var(--accent);
    font-size: 2rem;
}

/* Patna Trust */
.patna-trust {
    background: var(--primary);
    color: var(--white);
}

.patna-trust h2 {
    color: var(--white);
}

.patna-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.patna-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 30px 24px;
}

.patna-card i {
    color: var(--accent-light);
    font-size: 2rem;
    margin-bottom: 16px;
}

.patna-card h3 {
    color: var(--accent-light);
    margin-bottom: 10px;
}

/* Buyer Focus */
.buyer-focus {
    background: var(--bg-light);
}

.buyer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.buyer-item {
    min-height: 132px;
    background: var(--white);
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.buyer-item i {
    color: var(--accent);
    font-size: 1.8rem;
    width: 34px;
    flex: 0 0 auto;
}

/* Tools */
.tools {
    background: var(--white);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.tool-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 28px 22px;
    border-bottom: 3px solid var(--accent);
}

.tool-card i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 16px;
}

.tool-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Sample Report */
.sample-report {
    background: var(--bg-light);
}

.report-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.report-page {
    background: var(--white);
    border-radius: 8px;
    padding: 28px;
    border: 1px solid rgba(0, 33, 71, 0.08);
    box-shadow: var(--shadow);
}

.report-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 14px;
    margin-bottom: 20px;
    color: var(--primary);
}

.report-header span,
.report-header strong {
    font-family: 'Outfit', sans-serif;
}

.report-row {
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 14px;
}

.report-row strong {
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.report-note {
    max-width: 760px;
    margin: 22px auto 0;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}
}

/* Team Section */
.team-section {
    background: var(--bg-light);
}

.team-container {
    margin-bottom: 0;
}

.team-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.team-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.team-image:hover img {
    transform: scale(1.03);
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.team-stat-item {
    text-align: center;
}

.team-stat-item strong {
    display: block;
    font-size: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--accent);
}

.team-stat-item span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .team-gallery {
        grid-template-columns: 1fr;
    }

    .team-image img {
        height: 240px;
    }

    .team-stats {
        gap: 36px;
    }

    .team-stat-item strong {
        font-size: 1.6rem;
    }
}

/* Process */
.process {
    background: var(--primary);
    color: var(--white);
}

.process h2 {
    color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-steps div {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 28px 22px;
}

.process-steps strong {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 18px;
}

.process-steps h3 {
    color: var(--accent-light);
    margin-bottom: 10px;
}

/* Monday Specialist */
.monday {
    background: linear-gradient(rgba(197, 160, 33, 0.1), rgba(197, 160, 33, 0.05));
}

.monday-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.monday-text {
    flex: 1;
}

.monday-badge {
    background: var(--primary);
    color: var(--accent);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.trust-band {
    background: var(--primary);
    color: var(--white);
    padding: 42px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

/* Testimonials */
.testimonials {
    background: var(--white);
}

.testimonial-carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 16px;
    align-items: center;
}

.testimonial-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 56px) / 3);
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 0 18px;
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background: var(--bg-light);
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
}

.testimonial-card p {
    margin-bottom: 24px;
}

.testimonial-card h3 {
    color: var(--primary);
    margin-bottom: 4px;
}

.testimonial-card span {
    color: #666;
    font-size: 0.95rem;
}

.saving {
    display: block;
    color: var(--primary);
    background: rgba(197, 160, 33, 0.14);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    padding: 10px 12px;
    margin-top: 18px;
    font-size: 0.95rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0, 33, 71, 0.12);
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.testimonial-note {
    max-width: 820px;
    margin: 18px auto 0;
    text-align: center;
    color: #666;
    font-size: 0.92rem;
}

/* Honesty Statement */
.honesty {
    background: var(--primary);
    color: var(--white);
}

.honesty-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
}

.honesty-badge {
    display: inline-block;
    background: rgba(197, 160, 33, 0.16);
    color: var(--accent-light);
    border: 1px solid rgba(197, 160, 33, 0.35);
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.honesty h2 {
    font-size: 2.3rem;
    margin-bottom: 18px;
}

.honesty p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.honesty-points {
    display: grid;
    gap: 16px;
}

.honesty-points div {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    font-weight: 700;
}

.honesty-points i {
    color: var(--accent-light);
}

/* FAQ */
.faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-list details {
    background: var(--white);
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-list summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
    padding: 20px 24px;
    list-style: none;
    position: relative;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.5rem;
}

.faq-list details[open] summary::after {
    content: '-';
}

.faq-list p {
    padding: 0 24px 22px;
    color: #555;
    animation: faqFadeIn 0.22s ease;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Booking Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.booking-modal {
    width: min(100%, 520px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: var(--white);
    border-radius: 8px;
    padding: 34px;
    position: relative;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.booking-modal h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 24px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.form-group {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.form-group label {
    color: var(--primary);
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(0, 33, 71, 0.18);
    border-radius: 5px;
    padding: 12px 14px;
    color: var(--text-dark);
    font: inherit;
    background: var(--white);
}

/* Custom select: removes iOS native grey picker, adds chevron */
.form-group select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23002147'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(197, 160, 33, 0.35);
    border-color: var(--accent);
}

.form-submit {
    width: 100%;
    text-align: center;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding: 64px 0;
    }

    header {
        padding: 14px 0;
    }

    .nav-container {
        gap: 16px;
    }

    .mobile-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .logo img {
        max-width: 150px;
        height: auto !important;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .hero {
        min-height: 100svh;
        height: auto;
        padding: 120px 0 72px;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .page-hero {
        padding: 130px 0 70px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .content-grid,
    .split-section {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-proof,
    .flow-grid,
    .coverage-grid,
    .checklist-layout,
    .checklist-categories,
    .signoff-grid,
    .use-case-grid,
    .patna-grid,
    .buyer-grid,
    .tools-grid,
    .report-preview,
    .process-steps,
    .trust-grid,
    .honesty-content {
        grid-template-columns: 1fr;
    }

    .testimonial-carousel {
        grid-template-columns: 1fr;
    }

    .testimonial-track {
        grid-auto-columns: min(88vw, 360px);
        gap: 18px;
    }

    .carousel-btn {
        display: none;
    }

    .hero-proof {
        margin-top: 34px;
    }

    .exp-card,
    .audit-item,
    .checklist-panel,
    .checklist-category,
    .price-card,
    .flow-card,
    .coverage-item,
    .testimonial-card,
    .tool-card,
    .patna-card,
    .report-page {
        padding: 28px 22px;
    }

    .checklist-category ul,
    .audit-item ul {
        margin-left: 10px;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .report-header {
        display: grid;
    }

    .use-case-item {
        min-height: 118px;
    }

    .buyer-item {
        min-height: 104px;
    }

    .honesty h2 {
        font-size: 1.85rem;
    }

    .faq-list summary {
        padding: 18px 46px 18px 18px;
    }

    .faq-list summary::after {
        right: 18px;
    }

    .faq-list p {
        padding: 0 18px 20px;
    }

    .pricing .section-title div[style] {
        display: grid;
        gap: 10px;
        justify-items: center;
        margin-bottom: 28px !important;
    }

    .pricing .section-title label {
        margin-right: 0 !important;
    }

    #city-select {
        width: min(100%, 280px);
    }

    .price {
        font-size: 2.15rem;
    }

    .monday-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .footer-grid {
        gap: 28px;
    }

    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
        font-size: 27px;
    }

    .modal-overlay {
        align-items: flex-end;
        padding: 14px;
    }

    .booking-modal {
        max-height: calc(100dvh - 28px);
        padding: 28px 20px 22px;
    }

    .booking-modal h2 {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 420px) {
    .nav-container {
        align-items: center;
    }

    .logo img {
        max-width: 132px;
    }

    nav .btn {
        padding: 10px 14px;
        font-size: 0.78rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .price {
        font-size: 1.95rem;
    }
}

/* Defect Gallery */
.defect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.defect-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.defect-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.defect-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.defect-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.defect-card:hover .defect-img img {
    transform: scale(1.1);
}

.severity {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    z-index: 1;
}

.severity.critical {
    background: #d32f2f;
}

.severity.high {
    background: #f57c00;
}

.severity.medium {
    background: #fbc02d;
    color: var(--text-dark);
}

.defect-info {
    padding: 20px;
}

.defect-info h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.defect-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.img-filename {
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: #999;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 5px;
    border: 1px solid #ddd;
    user-select: all;
    /* Allow users to copy the filename if they want */
}

/* Global image protection */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.defect-img img {
    user-select: none;
    pointer-events: auto;
    /* Ensure hover effects still work */
}

@media (max-width: 768px) {
    .defect-grid {
        grid-template-columns: 1fr;
    }

    .defect-img {
        height: 200px;
    }
}

/* Advantage & Savings */
.advantage {
    background: var(--primary);
    color: var(--text-light);
}

.advantage-panel {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.advantage-panel h2 {
    color: var(--accent-light) !important;
}

.savings-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.savings-card .stat {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}

.savings-card ul {
    list-style: none;
    text-align: left;
    display: grid;
    gap: 12px;
    margin-top: 25px;
}

.savings-card li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.savings-card li i {
    color: var(--accent);
}

.custom-quote-box {
    margin-top: 50px;
    text-align: center;
    background: rgba(0, 33, 71, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px dashed var(--accent);
}

.custom-quote-box h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.custom-quote-box p {
    color: #666;
    margin-bottom: 20px;
}

/* Floating Quote Button */
.quote-float {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background-color: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(179, 134, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: float-pulse 3s infinite ease-in-out;
}

.quote-float:hover {
    background-color: var(--accent-light);
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(179, 134, 0, 0.4);
    color: var(--white);
}

.quote-float i {
    font-size: 1.2rem;
}

@keyframes float-pulse {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .quote-float {
        bottom: 100px;
        left: 20px;
        right: auto;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Gallery Disclaimer */
.gallery-disclaimer {
    text-align: center;
    margin-top: 2rem;
    padding: 0 1rem;
}

.gallery-disclaimer p {
    font-size: 0.65rem;
    color: #999;
    font-style: italic;
    opacity: 0.5;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.2;
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-green 2.5s infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08) translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-btn i {
    font-size: 1.8rem;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float-btn {
        bottom: 25px;
        right: 25px;
        padding: 14px;
        border-radius: 50%;
        width: 54px;
        height: 54px;
        justify-content: center;
    }

    .whatsapp-float-btn span {
        display: none;
    }

    .whatsapp-float-btn i {
        font-size: 1.8rem;
    }
}

/* Team Gallery Styles */

/* --- Team Section --- */
.team-section {
    background: var(--white);
    overflow: hidden;
}

.team-container {
    display: block !important;
    text-align: center;
}

.team-gallery {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.team-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.team-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-content {
    max-width: 900px;
    margin: 0 auto;
}

.team-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.team-stat-item {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    border-bottom: 3px solid var(--accent);
}

.team-stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.team-stat-item span {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
}

.team-content .btn {
    margin-top: 30px;
    display: inline-block;
}

@media (max-width: 992px) {
    .team-gallery {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .team-container {
        gap: 60px;
    }

    .team-content .btn {
        margin-bottom: 60px !important;
    }
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-content h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    margin-top: auto;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent);
    gap: 12px;
}

/* Blog Post Styles */
.post-hero {
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.95), rgba(0, 20, 45, 0.88)), url('hero_bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 160px 0 80px;
    text-align: center;
}

.post-meta {
    color: var(--accent-light);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-container {
    max-width: 900px;
    margin: -60px auto 60px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.post-hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.post-inner-content {
    padding: 50px;
}

.post-content h2 {
    color: var(--primary);
    margin: 40px 0 20px;
}

.post-content h3 {
    color: var(--primary);
    margin: 30px 0 15px;
}

.post-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

.post-content ul,
.post-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cta-box {
    background: var(--bg-light);
    border-left: 5px solid var(--accent);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.cta-box h3 {
    margin-top: 0;
}

.author-box {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: var(--primary);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-hero {
        padding: 120px 0 60px;
    }

    .post-hero h1 {
        font-size: 2rem;
    }

    .post-container {
        margin-top: -30px;
        border-radius: 0;
    }

    .post-hero-img {
        height: 250px;
    }

    .post-inner-content {
        padding: 25px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   INTERACTIVE CHECKLIST STYLES (400+ CHECKS)
   ========================================== */
.checklist-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checklist-dashboard {
    background: var(--white);
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--accent);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.dashboard-header h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-metric {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 33, 71, 0.04);
    transition: var(--transition);
}

.dashboard-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

/* Metric Colors */
.metric-progress {
    border-bottom: 4px solid var(--accent);
}
.metric-progress .metric-value {
    color: var(--accent);
}

.metric-ok {
    border-bottom: 4px solid #2e7d32;
}
.metric-ok .metric-value {
    color: #2e7d32;
}

.metric-defect {
    border-bottom: 4px solid #d32f2f;
}
.metric-defect .metric-value {
    color: #d32f2f;
}

.metric-na {
    border-bottom: 4px solid #616161;
}
.metric-na .metric-value {
    color: #616161;
}

/* Progress bar inside metric */
.progress-bar-container {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    height: 8px;
    width: 100%;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    background: var(--accent);
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 0.4s ease-out;
}

/* Control Panel */
.checklist-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 33, 71, 0.08);
    padding-top: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
    max-width: 60%;
}

@media (max-width: 992px) {
    .search-filter-group {
        max-width: 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}

.checklist-search-wrapper {
    position: relative;
    flex-grow: 1;
}

.checklist-search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.checklist-search-input {
    width: 100%;
    padding: 12px 15px 12px 42px;
    border-radius: 8px;
    border: 1px solid rgba(0, 33, 71, 0.15);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    color: var(--text-dark);
}

.checklist-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(179, 134, 0, 0.15);
}

/* Toggle Switch */
.defect-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
    cursor: pointer;
    white-space: nowrap;
}

.switch-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.switch-control {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch-control input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: #d32f2f;
}

input:checked + .switch-slider:before {
    transform: translateX(24px);
}

/* Action Buttons group */
.checklist-actions-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .checklist-actions-btns {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.btn-ctrl {
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-ctrl-danger {
    background: rgba(211, 47, 47, 0.08);
    color: #d32f2f;
    border: 1px solid rgba(211, 47, 47, 0.2);
}

.btn-ctrl-danger:hover {
    background: #d32f2f;
    color: var(--white);
    border-color: #d32f2f;
}

.btn-ctrl-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-ctrl-primary:hover {
    background: #001229;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 33, 71, 0.2);
}

.btn-ctrl-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-ctrl-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(179, 134, 0, 0.2);
}

/* Category Tab Panel */
.category-tabs-wrapper {
    width: 100%;
    overflow-x: auto;
    background: var(--white);
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    /* Hide scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.category-tabs-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.category-tab {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    border: 1px solid rgba(0, 33, 71, 0.02);
}

.category-tab i {
    color: var(--accent);
    font-size: 1.1rem;
    transition: var(--transition);
}

.category-tab:hover {
    background: rgba(179, 134, 0, 0.05);
    transform: translateY(-1px);
}

.category-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.15);
}

.category-tab.active i {
    color: var(--accent-light);
}

.category-badge {
    background: rgba(0, 33, 71, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    min-width: 44px;
    text-align: center;
}

.category-tab.active .category-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* Checklist Items List */
.checklist-list-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checklist-empty-state {
    background: var(--white);
    border: 1px dashed rgba(0, 33, 71, 0.2);
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    color: #666;
}

.checklist-empty-state i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

.checklist-item-card {
    background: var(--white);
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checklist-item-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(179, 134, 0, 0.2);
}

.item-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

@media (max-width: 768px) {
    .item-main-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
}

.item-meta-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.item-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.item-id-badge {
    background: var(--bg-light);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 33, 71, 0.1);
}

.item-severity-badge {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 4px;
    color: var(--white);
}

.severity-low {
    background: #4a90e2;
}

.severity-medium {
    background: #f5a623;
}

.severity-high {
    background: #e65100;
}

.severity-critical {
    background: #c62828;
}

.item-subcategory {
    font-size: 0.8rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
}

.item-description-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.5;
}

/* 3-State Action Pills Group */
.status-pill-group {
    display: flex;
    border-radius: 8px;
    background: var(--bg-light);
    border: 1px solid rgba(0, 33, 71, 0.1);
    overflow: hidden;
    padding: 3px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .status-pill-group {
        width: 100%;
    }
}

.status-btn {
    border: none;
    background: transparent;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
    user-select: none;
}

@media (max-width: 768px) {
    .status-btn {
        flex: 1;
        padding: 12px 10px;
    }
}

.status-btn i {
    font-size: 0.95rem;
}

/* Active Status Button Styles */
.status-btn.active-ok {
    background: #2e7d32;
    color: var(--white);
    box-shadow: 0 2px 6px rgba(46, 125, 50, 0.2);
}

.status-btn.active-defect {
    background: #d32f2f;
    color: var(--white);
    box-shadow: 0 2px 6px rgba(211, 47, 47, 0.2);
}

.status-btn.active-na {
    background: #616161;
    color: var(--white);
    box-shadow: 0 2px 6px rgba(97, 97, 97, 0.2);
}

/* Notes Textarea Section */
.item-notes-section {
    width: 100%;
    border-top: 1px dashed rgba(0, 33, 71, 0.08);
    padding-top: 15px;
    display: none;
}

.item-notes-section.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.notes-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notes-input-wrapper label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.item-notes-textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(0, 33, 71, 0.1);
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 70px;
    resize: vertical;
    outline: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.item-notes-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(179, 134, 0, 0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Save Toast */
.floating-save-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 9999;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-save-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.floating-save-toast i {
    color: #4caf50;
    font-size: 1.1rem;
    animation: beat 0.3s ease-out;
}

@keyframes beat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* print-only details container */
.print-only-container {
    display: none;
}

@media print {
    body {
        background: white;
        color: black;
    }
    
    header, footer, .page-hero, .page-actions, .checklist-intro, .signoff-section, .rights-section, .guide-section, .gallery, .whatsapp-float-btn, .checklist-controls, .category-tabs-wrapper {
        display: none !important;
    }
    
    main, .checklist-section, .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .checklist-dashboard {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-bottom: 30px !important;
    }

    .print-only-container {
        display: block !important;
        margin-bottom: 25px;
        border-bottom: 2px solid black;
        padding-bottom: 15px;
    }

    .print-only-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .print-only-header h1 {
        color: #002147 !important;
        font-size: 2rem !important;
    }

    .print-only-details {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 15px;
        font-size: 0.9rem;
    }

    .checklist-item-card {
        page-break-inside: avoid;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        margin-bottom: 10px !important;
        padding: 15px !important;
    }

    .status-pill-group {
        border: 1px solid #777 !important;
    }

    .status-btn {
        padding: 6px 12px !important;
    }
}