/* Reset & Base Styles */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

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

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    font-family: 'Outfit', sans-serif;
    color: #2b2b2b;
    background-color: #ffffff;
    line-height: 1.6;
    padding-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.text-center {
    text-align: center;
}

/* Header (Sticky Top On Scroll) */
.header {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 80px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo Image */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 16px;
}

/* Header Right Alignment */
.header-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu {
    display: flex;
    gap: 22px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: #333333;
    transition: all 0.25s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c83232;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #c83232;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #c83232;
    font-weight: 700;
}

.nav-link.active::after {
    width: 100%;
    background: #c83232;
    box-shadow: 0 0 6px rgba(200, 50, 50, 0.5);
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 6px 12px;
    background: #fafafa;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 110px;
}

.search-box button {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 13px;
}

.btn-contact {
    background: #c83232;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
    text-align: center;
    display: inline-block;
}

.btn-contact:hover {
    background: #a82626;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: #1e4a38;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Sidebar Drawer (Right-to-Left) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1004;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 1005;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-close {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-close:hover {
    background: #d93838;
    color: #ffffff;
    border-color: #d93838;
}

.sidebar-body {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
    overflow-y: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-link {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f5f9;
    transition: color 0.2s ease;
}

.sidebar-link:hover {
    color: #d93838;
}

.sidebar-search {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 14px;
    background: #f8fafc;
}

.sidebar-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    width: 100%;
}

.sidebar-search button {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
}

.btn-sidebar-contact {
    margin-top: 10px;
    padding: 12px;
}

/* Hero Banner Section */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: clamp(320px, 52vw, 680px);
    overflow: hidden;
    background: #0d0d0d;
}

/* All slides stacked smoothly */
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

/* Active slide visible */
.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: rgba(200, 50, 50, 0.8);
    border-color: #c83232;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Dot Indicators */
.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-dot.active {
    background: #c83232;
    width: 22px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(200, 50, 50, 0.6);
}

.hero-bottom-bar {
    height: 10px;
    background: #b52a2a;
    width: 100%;
}

/* Our Services Section */
.services-section {
    padding: 70px 0 40px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.section-title {
    margin-bottom: 70px;
    position: relative;
}

.red-triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #b52a2a;
    margin: 0 auto 12px auto;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: #111827;
}

/* Service Item Row */
.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    margin-bottom: 90px;
    position: relative;
    padding: 10px 0;
}

.service-item.last-service {
    margin-bottom: 10px;
}

/* Ambient Background Blobs */
.bg-blob-left::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(240, 244, 249, 0.85) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.bg-blob-right::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(240, 244, 249, 0.85) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.service-col {
    flex: 1;
    position: relative;
    z-index: 1;
    width: 100%;
}

.text-col {
    max-width: 480px;
}

.service-num {
    color: #d93838;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    display: block;
}

.service-title {
    font-size: 40px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.service-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.btn-readmore {
    display: inline-block;
    background: #1b4332;
    color: #ffffff;
    padding: 11px 26px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-readmore:hover {
    background: #122e22;
    transform: translateY(-2px);
}

.img-col {
    display: flex;
    justify-content: center;
}

.img-frame {
    width: 100%;
    max-width: 520px;
    height: 330px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    background: #f1f5f9;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-item:hover .img-frame img {
    transform: scale(1.03);
}

/* Service Detail Page Styles (Tight Top Padding Flush with Header) */
.service-hero {
    background: linear-gradient(135deg, #112a1f, #1b4332);
    color: #ffffff;
    padding: 40px 0 50px;
    margin-top: 0;
    border-bottom: 10px solid #b52a2a;
}

.page-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 16px;
    color: #e2e8f0;
    max-width: 700px;
    line-height: 1.5;
}

.service-detail-section {
    padding: 60px 0 100px;
    background: #ffffff;
}

.service-layout {
    display: block;
    width: 100%;
}

.service-main-content {
    width: 100%;
}

/* Service Top Intro Row (Image Left, Text Right on Desktop) */
.service-top-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 45px;
    align-items: center;
    margin-bottom: 50px;
}

.service-top-img .main-img-box {
    width: 100%;
    height: 380px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-top-img .main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-top-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 18px;
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.service-top-text p {
    color: #4b5563;
    font-size: 15.5px;
    line-height: 1.75;
    margin-bottom: 0;
}

.section-subheading {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin: 40px 0 22px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.feature-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 14px;
    display: flex;
    gap: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #1b4332;
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

.service-cta-box {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    margin-top: 45px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(27, 67, 50, 0.2);
}

.service-cta-box h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.service-cta-box p {
    color: #e2e8f0;
    font-size: 14px;
    margin-bottom: 22px;
}

.service-cta-box .btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 16px;
}

.service-cta-box .btn-contact i {
    font-size: 20px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.sidebar-widget h4 {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.widget-services ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    background: #f8fafc;
    color: #334155;
    transition: all 0.3s ease;
}

.widget-services ul li a.active,
.widget-services ul li a:hover {
    background: #1b4332;
    color: #ffffff;
}

.widget-help {
    text-align: center;
    background: #fdf2f2;
    border-color: #fecaca;
}

.help-icon {
    font-size: 36px;
    color: #c83232;
    margin-bottom: 12px;
}

.widget-help h4 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 8px;
}

.widget-help p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
}

.phone-link {
    display: inline-block;
    font-weight: 700;
    color: #c83232;
    font-size: 15px;
}

/* Contact Us Page Styles (Flush Top Hero) */
.contact-hero {
    background: linear-gradient(135deg, #112a1f, #1b4332);
    color: #ffffff;
    padding: 35px 0 45px;
    margin-top: 0;
    text-align: left;
    border-bottom: 10px solid #b52a2a;
}

.contact-hero-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.contact-hero-subtitle {
    font-size: 16px;
    color: #e2e8f0;
    max-width: 700px;
    line-height: 1.5;
}

.contact-main-section {
    padding: 60px 0 100px;
    background: #ffffff;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 35px 28px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
}

.info-icon {
    width: 52px;
    height: 52px;
    background: #f0fdf4;
    color: #166534;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.icon-red {
    background: #fef2f2;
    color: #dc2626;
}

.icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.info-details h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.info-details p {
    font-size: 15px;
    color: #334155;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-details p a {
    color: #0f172a;
    transition: color 0.2s ease;
}

.info-details p a:hover {
    color: #c83232;
}

.info-details small {
    color: #64748b;
    font-size: 12px;
}

/* Centered Form Wrapper */
.contact-form-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

.contact-form-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.form-badge {
    color: #c83232;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.contact-form-container h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.form-intro {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 35px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 22px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.contact-form .required {
    color: #dc2626;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #1b4332;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.12);
}

.btn-submit-form {
    width: 100%;
    background: #1b4332;
    color: #ffffff;
    border: none;
    padding: 15px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit-form:hover {
    background: #122e22;
    transform: translateY(-2px);
}

/* Legal Pages Styles */
.legal-page-section {
    padding: 60px 0 100px;
    background: #ffffff;
}

.legal-container {
    max-width: 900px;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 35px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.legal-content p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.legal-content ul {
    margin: 0 0 25px 25px;
    list-style: disc;
    color: #4b5563;
}

.legal-content ul li {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-contact-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
}

.legal-contact-box p {
    margin-bottom: 6px;
}

.legal-contact-box a {
    color: #1b4332;
    font-weight: 700;
}

/* Why Choose Fit Out Solution Section */
.why-choose-section {
    padding: 50px 0 40px;
    background: #ffffff;
    overflow: hidden;
}

.why-choose-header {
    margin-bottom: 50px;
}

.why-choose-subtitle {
    color: #d93838;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.why-choose-header .section-heading {
    margin-bottom: 0;
}

.section-heading {
    font-size: 34px;
    font-weight: 800;
    color: #111827;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.choose-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #1b4332;
    padding: 42px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-top-color: #d93838;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.choose-card:hover .card-icon {
    transform: scale(1.1);
}

.icon-shield { background: #eff6ff; color: #2563eb; }
.icon-user { background: #f0fdf4; color: #166534; }
.icon-bolt { background: #fef2f2; color: #dc2626; }

.choose-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.choose-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

/* Testimonials Section (Authentic Real Client Cards) */
.testimonials-section {
    padding: 30px 0 90px;
    background: #f8faf9;
    overflow: hidden;
}

.testimonials-header {
    margin-bottom: 45px;
}

.testimonials-header .subtitle {
    color: #d93838;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.testimonial-card {
    background: #ffffff;
    padding: 38px 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.star-rating {
    color: #f59e0b;
    font-size: 14px;
    display: flex;
    gap: 3px;
}

.quote-icon {
    font-size: 22px;
    color: #cbd5e1;
}

.testimonial-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
    flex: 1;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-2 {
    background: linear-gradient(135deg, #c83232, #dc2626);
}

.avatar-3 {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.author-info h5 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.author-info small {
    color: #64748b;
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

.verified-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #166534;
    font-weight: 600;
    margin-top: 4px;
}

.verified-tag i {
    font-size: 11px;
}

/* Main Footer Section */
.footer {
    background: #1a4231;
    color: #e2e8f0;
    padding: 70px 0 50px;
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 2.4fr 1fr 1fr 1.5fr;
    gap: 25px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo .logo-fit { color: #ffffff; }
.footer-logo .logo-out { color: #68d391; }

.footer-desc {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.75;
    max-width: 440px;
    text-align: justify;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a {
    font-size: 13px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.links-col ul li a i { font-size: 8px; transition: color 0.3s ease; }
.links-col ul li a:hover { color: #c83232; }
.links-col ul li a:hover i { color: #c83232; }

.qr-code {
    width: 110px;
    height: 110px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.qr-code:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.whatsapp-qr-img {
    width: 104%;
    height: 104%;
    object-fit: cover;
    display: block;
}

.contact-col ul li {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-col ul li i {
    color: #c83232;
    font-size: 17px;
    width: 22px;
    flex-shrink: 0;
    margin-top: 1px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    transform: translateY(-4px);
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 8px 18px rgba(24, 119, 242, 0.4);
}

.social-icon.twitter:hover {
    background: #000000;
    border-color: #ffffff;
    box-shadow: 0 8px 18px rgba(255, 255, 255, 0.25);
}

.social-icon.linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 8px 18px rgba(10, 102, 194, 0.4);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    box-shadow: 0 8px 18px rgba(220, 39, 67, 0.4);
}

/* Bottom Black Copyright Bar */
.footer-bottom-bar {
    background: #0b0f19;
    color: #94a3b8;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright-text a {
    color: #c83232;
    font-weight: 700;
    transition: color 0.2s ease;
}

.copyright-text a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-links a {
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #68d391;
}

.legal-links .divider {
    color: #475569;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    html, body {
        padding-top: 0;
    }

    .header {
        height: 70px;
    }

    .header-container {
        height: 70px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
    }

    .service-item {
        flex-direction: column !important;
        gap: 25px;
        text-align: left;
        margin-bottom: 70px;
    }

    .img-col {
        order: 1 !important;
    }

    .text-col {
        order: 2 !important;
        max-width: 100%;
    }

    .service-title {
        font-size: 32px;
    }

    .img-frame {
        max-width: 100%;
        height: 260px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-desc {
        max-width: 100%;
    }

    .service-layout {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .header-container {
        height: 70px;
    }

    .section-heading, .section-title h2 {
        font-size: 28px;
    }

    .service-title, .page-title, .contact-hero-title {
        font-size: 26px;
    }

    .img-frame, .service-main-content .main-img-box {
        height: 220px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Service Sub-Categories Gallery & Installation Procedure Styles
   ========================================================================== */

.service-gallery-block {
    margin-top: 45px;
    margin-bottom: 50px;
}

.gallery-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 22px;
}

/* Sub-Services Image Grid */
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.sub-service-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.sub-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.sub-service-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.sub-service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sub-service-card:hover .sub-service-img-wrapper img {
    transform: scale(1.08);
}

.sub-service-info {
    padding: 18px 20px;
    text-align: center;
    background: #ffffff;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-service-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
}

/* Installation & Execution Procedure Steps */
.installation-procedure-block {
    margin-top: 55px;
    margin-bottom: 45px;
    background: #f8faf9;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #e2e8f0;
}

.procedure-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.procedure-step-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 18px;
    border: 1px solid #e2e8f0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.procedure-step-card:hover {
    transform: translateY(-4px);
    border-color: #c83232;
}

.step-num-badge {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-card-red .step-num-badge {
    background: linear-gradient(135deg, #c83232, #dc2626);
}

.procedure-step-card h5 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.procedure-step-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Quality & Safety Guarantee Box (Clean Border, No Green Left Accent) */
.procedure-quality-box {
    margin-top: 35px;
    background: #ffffff;
    padding: 22px 26px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.procedure-quality-box i {
    font-size: 28px;
    color: #c83232;
    flex-shrink: 0;
}

.procedure-quality-box p {
    font-size: 14px;
    color: #334155;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .service-top-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .service-top-img .main-img-box {
        height: 280px;
    }
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .procedure-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sub-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .sub-service-img-wrapper {
        height: 150px;
    }

    .installation-procedure-block {
        padding: 24px 18px;
    }

    .procedure-steps-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sub-services-grid {
        grid-template-columns: 1fr;
    }
}
