/* ==========================================================================
   MR Construction - Main Stylesheet
   Theme: Navy Blue, White, Grey, Construction Yellow/Orange highlights
   ========================================================================== */

/* ---------- Root Variables ---------- */
:root {
    --navy: #0b2545;
    --navy-dark: #06182f;
    --navy-light: #13335f;
    --accent: #ffb703;       /* construction yellow */
    --accent-dark: #fb8500;  /* construction orange */
    --grey-light: #f4f6f8;
    --grey: #6c757d;
    --grey-dark: #343a40;
    --white: #ffffff;
    --transition: all 0.35s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.65;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
}

a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; }

.section-padding { padding: 80px 0; }

/* ---------- Section Title ---------- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.4rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    margin: 14px auto 0;
    border-radius: 4px;
}
.section-title p {
    color: var(--grey);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 4px;
    padding: 12px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-color: var(--accent-dark);
}
.btn-primary-custom:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-custom:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--navy-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--accent); }
.top-bar i { color: var(--accent); margin-right: 6px; }

/* ---------- Navbar ---------- */
.navbar {
    background: var(--white) !important;
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy) !important;
    display: flex;
    align-items: center;
}
.navbar-brand .logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1.2rem;
}
.navbar-brand span.brand-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--grey);
    letter-spacing: 2px;
    margin-top: -4px;
}
.navbar-nav .nav-link {
    color: var(--navy) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    position: relative;
    text-transform: uppercase;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 2px;
    background: var(--accent-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--accent-dark) !important;
}
.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero Banner ---------- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(11,37,69,0.85), rgba(6,24,47,0.75)),
        url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
}
.hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}
.hero .badge-tag {
    display: inline-block;
    background: rgba(255,183,3,0.18);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 22px;
}
.hero h1 {
    color: var(--white);
    font-size: 3.6rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 22px;
}
.hero h1 .highlight {
    color: var(--accent);
}
.hero p.lead {
    font-size: 1.15rem;
    max-width: 620px;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.92);
}
.hero .hero-btns .btn { margin-right: 12px; margin-bottom: 12px; }

/* ---------- Page Banner (Inner) ---------- */
.page-banner {
    position: relative;
    padding: 130px 0 70px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(11,37,69,0.88), rgba(6,24,47,0.85)),
        url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    text-align: center;
}
.page-banner h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 12px;
}
.page-banner .breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
}
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a { color: rgba(255,255,255,0.85); }
.page-banner .breadcrumb-item.active { color: var(--accent); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.6); }

/* ---------- Intro / About Snippet ---------- */
.intro-section { background: var(--white); }
.intro-section .intro-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}
.intro-section .intro-img img { display: block; width: 100%; }
.intro-section .intro-badge {
    position: absolute;
    bottom: 20px; left: 20px;
    background: var(--accent);
    color: var(--navy);
    padding: 16px 22px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}
.intro-section .intro-badge .year {
    display: block;
    font-size: 2rem;
    line-height: 1;
}
.intro-section h2 { font-size: 2.2rem; margin-bottom: 18px; }
.intro-section .lead-text {
    color: var(--grey);
    font-size: 1.02rem;
    margin-bottom: 22px;
}

/* ---------- Highlight Cards ---------- */
.highlights { background: var(--grey-light); }
.highlight-card {
    background: var(--white);
    padding: 35px 25px;
    text-align: center;
    border-radius: 10px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}
.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-dark);
}
.highlight-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}
.highlight-card:hover .icon {
    background: var(--navy);
    transform: rotate(360deg);
}
.highlight-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.highlight-card p {
    color: var(--grey);
    font-size: 0.92rem;
    margin: 0;
}

/* ---------- Services ---------- */
.services-section { background: var(--white); }
.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.service-card .service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.service-card .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-img img { transform: scale(1.1); }
.service-card .service-img::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11,37,69,0.4) 100%);
}
.service-card .service-body { padding: 28px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card .service-icon {
    width: 60px;
    height: 60px;
    background: var(--navy);
    color: var(--accent);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-top: -50px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--accent-dark);
    color: var(--white);
}
.service-card h4 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--grey); margin-bottom: 16px; font-size: 0.95rem; }
.service-card .read-more {
    color: var(--accent-dark);
    font-weight: 600;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-card .read-more:hover { color: var(--navy); gap: 12px; }

/* ---------- Detailed Service Block ---------- */
.service-detail {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    transition: var(--transition);
}
.service-detail:hover { box-shadow: var(--shadow-md); }
.service-detail .service-detail-img {
    height: 100%;
    min-height: 320px;
    background-size: cover;
    background-position: center;
}
.service-detail .service-detail-body { padding: 40px; }
.service-detail h3 {
    color: var(--navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.service-detail h3 i { color: var(--accent-dark); }
.service-detail ul.feature-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
}
.service-detail ul.feature-list li {
    padding-left: 26px;
    position: relative;
    color: var(--grey-dark);
    font-size: 0.95rem;
}
.service-detail ul.feature-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-dark);
    position: absolute;
    left: 0; top: 2px;
}

/* ---------- Clients ---------- */
.clients-section { background: var(--grey-light); }
.client-box {
    background: var(--white);
    padding: 30px 18px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border-top: 3px solid transparent;
}
.client-box:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-dark);
    box-shadow: var(--shadow-md);
}
.client-box i {
    font-size: 2rem;
    color: var(--accent-dark);
    margin-bottom: 10px;
}
.client-box h6 {
    color: var(--navy);
    font-size: 0.95rem;
    margin: 0;
}

/* ---------- CTA ---------- */
.cta-section {
    background:
        linear-gradient(135deg, rgba(11,37,69,0.92), rgba(251,133,0,0.85)),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}
.cta-section h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 14px;
}
.cta-section p { font-size: 1.1rem; margin-bottom: 28px; opacity: 0.95; }

/* ---------- About: Mission/Vision ---------- */
.mv-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border-left: 5px solid var(--accent-dark);
    transition: var(--transition);
}
.mv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.mv-card .mv-icon {
    width: 60px;
    height: 60px;
    background: var(--navy);
    color: var(--accent);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}
.mv-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.mv-card p { color: var(--grey); font-size: 1rem; font-style: italic; }

/* ---------- Why Choose Us ---------- */
.why-choose { background: var(--grey-light); }
.why-card {
    background: var(--white);
    padding: 28px 22px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.why-card .why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition);
}
.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
}
.why-card h5 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--grey); font-size: 0.9rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--white); }
.gallery-filter {
    text-align: center;
    margin-bottom: 35px;
}
.gallery-filter button {
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 8px 18px;
    margin: 4px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
}
.gallery-filter button:hover,
.gallery-filter button.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-color: var(--accent-dark);
}
.gallery-item {
    margin-bottom: 28px;
}
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-card:hover img { transform: scale(1.1); }
.gallery-card .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(11,37,69,0.92) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-card .gallery-overlay .caption {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
    width: 100%;
}
.gallery-card:hover .gallery-overlay .caption { transform: translateY(0); }
.gallery-card .gallery-overlay .caption span {
    display: inline-block;
    background: var(--accent-dark);
    color: var(--white);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gallery-card .gallery-overlay .caption h5 {
    color: var(--white);
    font-size: 1.05rem;
    margin: 0;
}
.gallery-card .zoom-icon {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.95);
    color: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}
.gallery-card:hover .zoom-icon { opacity: 1; transform: scale(1); }

/* Lightbox modal */
.lightbox-modal .modal-content {
    background: transparent;
    border: none;
}
.lightbox-modal .modal-body {
    padding: 0;
    text-align: center;
}
.lightbox-modal img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}
.lightbox-modal .lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 18px;
    font-size: 1.1rem;
    font-weight: 600;
}
.lightbox-modal .btn-close {
    background: var(--white);
    border-radius: 50%;
    padding: 12px;
    position: absolute;
    top: -50px; right: 0;
    opacity: 1;
}

/* ---------- Contact ---------- */
.contact-section { background: var(--white); }
.contact-info-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    padding: 38px 30px;
    border-radius: 12px;
    height: 100%;
    box-shadow: var(--shadow-md);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 22px; }
.contact-info-card .contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    align-items: flex-start;
}
.contact-info-card .contact-item:last-child { margin-bottom: 0; }
.contact-info-card .contact-item .icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    background: var(--accent-dark);
    color: var(--white);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.contact-info-card .contact-item .info h6 {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.contact-info-card .contact-item .info p,
.contact-info-card .contact-item .info a {
    color: var(--white);
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
    word-break: break-word;
}
.contact-info-card .contact-item .info a:hover { color: var(--accent); }

.contact-form-card {
    background: var(--white);
    padding: 38px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: 100%;
}
.contact-form-card h3 { margin-bottom: 24px; }
.contact-form-card .form-label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 6px;
    border: 1.5px solid #e1e5eb;
    padding: 11px 14px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(251,133,0,0.15);
}
.contact-form-card textarea.form-control { min-height: 130px; resize: vertical; }
.form-success-msg {
    display: none;
    background: #d1f7d8;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    border-left: 4px solid #28a745;
}
.form-error-msg {
    display: none;
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    border-left: 4px solid #dc3545;
}
.form-error-msg a { color: #721c24; font-weight: 600; text-decoration: underline; }

.map-section iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* ---------- Footer ---------- */
footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.78);
    padding: 60px 0 0;
}
footer h5 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
footer h5::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--accent-dark);
    border-radius: 3px;
}
footer p { font-size: 0.92rem; color: rgba(255,255,255,0.7); }
footer ul.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer ul.footer-links li { margin-bottom: 10px; }
footer ul.footer-links a {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
footer ul.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}
footer ul.footer-links a i { color: var(--accent-dark); font-size: 0.75rem; }
footer .footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.92rem;
}
footer .footer-contact-item i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}
footer .footer-contact-item a { color: rgba(255,255,255,0.78); }
footer .footer-contact-item a:hover { color: var(--accent); }
footer .social-links { margin-top: 18px; }
footer .social-links a {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-radius: 8px;
    margin-right: 8px;
    transition: var(--transition);
}
footer .social-links a:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
}
.footer-bottom a { color: var(--accent); }

/* ---------- Back to Top ---------- */
#backToTop {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover {
    background: var(--navy);
    transform: translateY(-4px);
}

/* ---------- Fade-in on scroll ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero { min-height: auto; }
    .hero h1 { font-size: 2.6rem; }
    .hero .hero-content { padding: 70px 0; }
    .page-banner { padding: 110px 0 60px; }
    .page-banner h1 { font-size: 2.2rem; }
    .section-padding { padding: 60px 0; }
    .section-title h2 { font-size: 2rem; }
    .service-detail .service-detail-img { min-height: 240px; }
    .service-detail .service-detail-body { padding: 30px 24px; }
    .navbar-collapse {
        background: var(--white);
        margin-top: 12px;
        padding: 12px;
        border-radius: 8px;
        box-shadow: var(--shadow-sm);
    }
    .navbar-nav .nav-link::after { display: none; }
}
@media (max-width: 575.98px) {
    .hero h1 { font-size: 2rem; }
    .hero p.lead { font-size: 1rem; }
    .page-banner h1 { font-size: 1.8rem; }
    .section-title h2 { font-size: 1.6rem; }
    .cta-section h2 { font-size: 1.6rem; }
    .service-detail ul.feature-list { grid-template-columns: 1fr; }
    .top-bar .top-bar-right { display: none; }
}
