/* ============================================================
   GS Safety Nets â€“ Enhanced Premium CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-dark: #0a1f44;
    --primary-light: #16366f;
    --accent: #f7941d;
    --accent-light: #ffb75e;
    --accent-glow: rgba(247,148,29,0.35);
    --teal: #17a2b8;
    --success-color: #00c9a7;
    --text-dark: #1a2340;
    --text-muted: #6c757d;
    --bg-light: #f0f4ff;
    --glass: rgba(255,255,255,0.12);
    --glass-border: rgba(255,255,255,0.22);
    --card-shadow: 0 20px 60px rgba(10,31,68,0.13);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    max-width: 100vw;
    background: #f0f4ff;
}

h1,h2,h3,h4,h5,h6,.font-poppins { font-family: 'Poppins', sans-serif; }

/* â”€â”€ Color Utilities â”€â”€ */
.text-primary-dark { color: var(--primary-dark) !important; }
.text-accent       { color: var(--accent) !important; }
.text-teal         { color: var(--teal) !important; }
.bg-primary-dark   { background-color: var(--primary-dark) !important; }
.bg-accent         { background-color: var(--accent) !important; }
.bg-teal           { background-color: var(--teal) !important; }
.bg-white-opacity  { background-color: rgba(255,255,255,0.18) !important; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.15); }
.text-light-opacity{ color: rgba(255,255,255,0.82) !important; }
.bg-accent-light   { background-color: rgba(247,148,29,0.12) !important; }
.bg-success-light  { background-color: rgba(0,201,167,0.12) !important; }
.bg-info-light     { background-color: rgba(13,202,240,0.12) !important; }

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}
.bg-gradient-brand {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a4594 60%, var(--teal) 100%);
}

/* â”€â”€ Buttons â”€â”€ */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.18);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #ff8c00);
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-accent:hover {
    color: #fff;
    box-shadow: 0 14px 32px var(--accent-glow);
}
.btn-primary-dark {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(10,31,68,0.3);
}
.btn-primary-dark:hover { color: #fff; }
.btn-outline-primary-dark {
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    background: transparent;
}
.btn-outline-primary-dark:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
}
.hover-accent:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

/* â”€â”€ Utilities â”€â”€ */
.heading-underline {
    width: 64px; height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px;
    margin: 10px auto;
}
.max-w-700 { max-width: 700px; }
.transition-transform { transition: transform 0.4s ease; }

/* â”€â”€ Top Bar â”€â”€ */
.top-bar {
    background: linear-gradient(90deg, #070f24, #0a1f44) !important;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
}

/* â”€â”€ Navbar â”€â”€ */
.navbar {
    padding: 14px 0;
    transition: all 0.4s ease;
    background: rgba(10,31,68,0.96) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar.shadow {
    box-shadow: 0 8px 32px rgba(10,31,68,0.35) !important;
    padding: 10px 0;
}

/* ── Hamburger to X animation ── */
.navbar-toggler {
    border-color: rgba(255,255,255,0.4) !important;
    padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none !important; outline: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    transition: transform 0.35s ease;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28247,148,29,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M6 6l18 18M24 6L6 24'/%3e%3c/svg%3e") !important;
    transform: rotate(90deg);
}

/* ── Mobile navbar collapse menu ── */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10,31,68,0.98);
        border-radius: 0 0 16px 16px;
        padding: 12px 16px 16px;
        margin-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 14px 32px rgba(10,31,68,0.35);
        width: 100%;
        max-width: 100%;
    }
    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 12px;
        border-radius: 8px;
        margin-bottom: 2px;
        color: rgba(255,255,255,0.88) !important;
    }
    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        background: rgba(247,148,29,0.15);
        color: var(--accent) !important;
    }
    .navbar-dark .navbar-nav .nav-link::after { display: none; }
    .dropdown-menu { border-radius: 10px; margin-top: 4px; }
}
.logo-img {
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(247,148,29,0.3);
    transition: transform 0.3s ease;
}
.logo-img:hover { transform: rotate(-4deg) scale(1.05); }
.brand-text {
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.88);
    padding: 10px 16px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}
.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 16px; right: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}
.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active { color: var(--accent); }
.dropdown-menu {
    border: none;
    border-top: 3px solid var(--accent);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 50px rgba(10,31,68,0.18);
    backdrop-filter: blur(14px);
    animation: dropIn 0.25s ease;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item { transition: all 0.2s ease; font-weight: 500; }
.dropdown-item:hover {
    background: rgba(247,148,29,0.1);
    color: var(--accent);
    padding-left: 22px;
}

/* â”€â”€ Hero Section â”€â”€ */
.hero-section {
    position: relative;
    height: calc(100vh - 120px);
    min-height: 520px;
    overflow: hidden;
}
.carousel-item {
    height: calc(100vh - 120px);
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(7,15,36,0.88) 0%,
        rgba(10,31,68,0.72) 50%,
        rgba(10,31,68,0.45) 100%);
}
.carousel-caption {
    bottom: auto;
    z-index: 10;
    text-align: center;
}
.hero-section .display-3 {
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
    animation: heroTitleIn 1s ease both;
}
@keyframes heroTitleIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Animated floating particles in hero */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.hero-particles span {
    position: absolute;
    display: block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(247,148,29,0.6);
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1.4); opacity: 0; }
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 52px; height: 52px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%; transform: translateY(-50%);
    margin: 0 16px;
    opacity: 0.85;
    transition: all 0.3s ease;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--accent);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

/* â”€â”€ Stats Bar â”€â”€ */
.stats-bar {
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(255,255,255,0.06) 0%,
        rgba(255,255,255,0.0) 50%,
        rgba(255,255,255,0.06) 100%);
}
.stats-bar h2 {
    font-size: 2.6rem;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    position: relative;
}
.stats-bar .stat-item {
    border-right: 1px solid rgba(255,255,255,0.2);
    padding: 0 24px;
    transition: transform 0.3s ease;
}
.stats-bar .stat-item:last-child { border-right: none; }
.stats-bar .stat-item:hover { transform: translateY(-4px); }

/* â”€â”€ Section Styles â”€â”€ */
.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(247,148,29,0.12);
    color: var(--accent);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid rgba(247,148,29,0.25);
}

/* â”€â”€ Feature Cards (Why Choose Us) â”€â”€ */
.feature-box {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.35s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.feature-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.05) 0%,
        rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.feature-box:hover { transform: translateY(-10px); }
.feature-box:hover::before { opacity: 1; }
.feature-box:hover { box-shadow: 0 24px 56px rgba(0,0,0,0.25); }

.icon-wrapper {
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.35s ease;
}
.feature-box:hover .icon-wrapper {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* â”€â”€ Services Grid â”€â”€ */
.service-card {
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(247,148,29,0.06) 0%,
        rgba(10,31,68,0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-bottom-color: var(--accent);
    box-shadow: 0 20px 48px rgba(10,31,68,0.14) !important;
}
.service-card:hover::after { opacity: 1; }

.service-icon-wrapper {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.service-card:hover .service-icon-wrapper {
    transform: scale(1.15) rotate(8deg);
}

/* â”€â”€ Gallery â”€â”€ */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 14px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(10,31,68,0.2);
}
.gallery-item img {
    transition: transform 0.55s ease;
    width: 100%;
    display: block;
}
.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(10,31,68,0.88) 0%,
        rgba(10,31,68,0.4) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex !important;
    align-items: flex-end !important;
    padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Featured Service Cards */
.featured-card { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(10,31,68,0.18) !important;
}
.featured-card:hover .card-img-top img { transform: scale(1.08); }

/* â”€â”€ Testimonials â”€â”€ */
.testimonial-content {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.testimonial-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(0,0,0,0.18) !important;
}

/* â”€â”€ FAQ Accordion â”€â”€ */
.accordion-item {
    border: none;
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(10,31,68,0.07);
    transition: box-shadow 0.3s ease;
}
.accordion-item:hover {
    box-shadow: 0 14px 36px rgba(10,31,68,0.12);
}
.accordion-button {
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}
.accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(247,148,29,0.06);
    box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-button::after {
    filter: none;
    transition: transform 0.35s ease;
}

/* â”€â”€ Contact Section â”€â”€ */
.contact-icon-circle {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.card:hover .contact-icon-circle { transform: scale(1.12) rotate(6deg); }

.hover-shadow {
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.hover-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(10,31,68,0.12) !important;
}

/* â”€â”€ CTA Banner â”€â”€ */
.cta-banner {
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    animation: pulseSlow 6s ease-in-out infinite;
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    animation: pulseSlow 8s ease-in-out infinite reverse;
}
@keyframes pulseSlow {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* â”€â”€ Floating Buttons â”€â”€ */
.floating-container {
    position: fixed;
    right: 22px;
    bottom: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
}
.float-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.float-btn:hover {
    color: #fff;
    transform: scale(1.18) translateY(-3px);
}
.float-btn:hover::before { opacity: 0.3; }

.float-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    animation: pulseGreen 2s ease-in-out infinite;
}
.float-call {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    box-shadow: 0 8px 24px rgba(10,31,68,0.35);
}
.float-email {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 8px 24px rgba(231,76,60,0.35);
}

@keyframes pulseGreen {
    0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
    50%      { box-shadow: 0 8px 32px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* â”€â”€ Footer â”€â”€ */
.footer-links li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}
.footer-links li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}
.social-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
}
.social-icon:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.2) translateY(-3px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* â”€â”€ Scroll-reveal utility â”€â”€ */
[data-aos] { backface-visibility: hidden; }

/* â”€â”€ Icon circle (Contact cards) â”€â”€ */
.icon-circle {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.card:hover .icon-circle {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* â”€â”€ Glow pulse on call button in navbar â”€â”€ */
.btn-accent.rounded-pill {
    animation: navPulse 3s ease-in-out infinite;
}
@keyframes navPulse {
    0%,100% { box-shadow: 0 8px 24px var(--accent-glow); }
    50%      { box-shadow: 0 8px 36px var(--accent-glow), 0 0 0 6px rgba(247,148,29,0.12); }
}

/* ── Mobile Sticky Bar ── */
.mobile-cta-bar { z-index: 1030; border-top: 1px solid #e9ecef; }

/* ── Tablet / Small Screens ── */
@media (max-width: 768px) {
    .display-3 { font-size: 2rem; }
    .display-5 { font-size: 1.6rem; }
    .hero-section, .carousel-item { height: 58vh; min-height: 360px; }
    body { padding-bottom: 64px; }
    .floating-container { display: none !important; }

    /* Fix experience badge going off-screen on mobile */
    .experience-badge {
        top: auto !important;
        bottom: -16px !important;
        left: auto !important;
        right: 20px !important;
        transform: none !important;
        width: 80px !important;
        height: 80px !important;
    }
    .experience-badge .fs-2 { font-size: 1.4rem !important; }

    /* Enquiry bar stacking on mobile */
    .enquiry-bar .row.g-2 { gap: 0.5rem !important; }
    .enquiry-bar .col-md-4,
    .enquiry-bar .col-md-3,
    .enquiry-bar .col-md-2 { width: 100% !important; max-width: 100% !important; flex: 0 0 100%; }
    
    /* Testimonials mobile padding fix */
    #testimonialCarousel .carousel-inner { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
    .testimonial-content { margin: 0 auto; max-width: 100% !important; }

    /* CTA banner button stack */
    .cta-banner .d-flex.gap-3 { flex-direction: column; align-items: center; gap: 1rem !important; }
    .cta-banner .btn { width: 100%; max-width: 300px; }

    /* Footer overflow fix */
    footer a { word-break: break-word; }
    .footer-contact li { flex-wrap: wrap; }

    /* Gallery items smaller on mobile */
    .scrolling-gallery-item { flex: 0 0 260px; height: 220px; }
    .scrolling-gallery-item img { height: 220px !important; }
}

/* ── Very Small Phones (< 480px) ── */
@media (max-width: 480px) {
    .display-3 { font-size: 1.6rem !important; }
    .display-5 { font-size: 1.3rem !important; }
    .lead { font-size: 0.95rem; }
    .hero-section, .carousel-item { height: 52vh; min-height: 320px; }
    
    /* Hero buttons stack vertically */
    .hero-section .d-flex.gap-3 { flex-direction: column; gap: 0.75rem !important; align-items: center; }
    .hero-section .btn-lg { width: 100%; max-width: 260px; font-size: 0.95rem; }
    
    .stats-bar h2 { font-size: 1.8rem; }
    .stats-bar p.fs-5 { font-size: 0.9rem !important; }
    
    /* Service grid 2 columns on very small phones */
    #servicesGrid.row-cols-1 { --bs-columns: 2; }
    #servicesGrid > .col { width: 50%; }
    
    /* Testimonials very small */
    .testimonial-content .fs-5 { font-size: 0.88rem !important; line-height: 1.5; }
    
    /* Mobile CTA bar text */
    .mobile-cta-bar .cta-item span.small { font-size: 0.7rem; }
    
    /* Gallery items even smaller */
    .scrolling-gallery-item { flex: 0 0 230px; height: 200px; }
    .scrolling-gallery-item img { height: 200px !important; }
}

/* â”€â”€ Shine sweep on cards â”€â”€ */
.card, .feature-box, .service-card, .testimonial-content {
    position: relative;
    overflow: hidden;
}
.card::before, .feature-box.shine::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(255,255,255,0.12) 50%,
        transparent 100%);
    transition: left 0.65s ease;
    pointer-events: none;
    z-index: 1;
}
.card:hover::before, .feature-box:hover.shine::before { left: 140%; }

/* â”€â”€ Animated heading underline â”€â”€ */
.heading-underline {
    position: relative;
    overflow: hidden;
}
.heading-underline::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 2.5s ease infinite;
}
@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

/* â”€â”€ Scroll to top â”€â”€ */
#scrollTopBtn {
    position: fixed;
    bottom: 110px;
    right: 26px;
    z-index: 998;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: #fff;
    border: none;
    display: none;
    align-items: center; justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(10,31,68,0.3);
    transition: all 0.3s ease;
}
#scrollTopBtn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(10,31,68,0.4);
}
#scrollTopBtn.visible { display: flex; }

/* -- Service Image Cards -- */
.service-image-card { transition: all 0.3s ease; }
.service-image-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important; }
.service-image-card img { transition: transform 0.5s ease; }
.service-image-card:hover img { transform: scale(1.1); }
.service-icon-floating { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); width: 50px; height: 50px; border-radius: 50%; font-size: 22px; z-index: 2; border: 3px solid #fff; }
.hover-lift { transition: transform 0.2s ease; }
.hover-lift:hover { transform: translateY(-3px); }

/* -- Horizontal Scrolling Gallery (Auto-scroll animation) -- */
.scrolling-gallery-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    padding: 20px 0;
    position: relative;
}
.scrolling-gallery-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scrollGallery 30s linear infinite;
    will-change: transform;
}
.scrolling-gallery-wrapper:hover .scrolling-gallery-track {
    animation-play-state: paused;
}
@keyframes scrollGallery {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.scrolling-gallery-item {
    flex: 0 0 320px;
    height: 250px;
    cursor: pointer;
    transition: transform 0.4s ease;
}
.scrolling-gallery-item:hover { transform: scale(1.05) translateY(-5px); }

/* -- Navbar Fix for Inner Pages -- */
.bg-primary-dark { background-color: var(--primary-dark) !important; color: #fff; }
.navbar.bg-primary-dark .nav-link { color: rgba(255,255,255,0.88) !important; }
.navbar.bg-primary-dark .nav-link:hover, .navbar.bg-primary-dark .nav-link.active { color: var(--accent) !important; }

/* -- Page Banner Fix -- */
.page-banner { background: linear-gradient(135deg, var(--primary-dark) 0%, #1a4594 60%, var(--teal) 100%); padding: 60px 0; border-bottom: 3px solid var(--accent); }


/* ---------------------------------------------------
   GS Safety Nets – Colorful Card & Animation Extras
   --------------------------------------------------- */

/* -- Colored service card image hover -- */
.svc-img-hover { transition: transform 0.55s ease, filter 0.55s ease; }
.service-image-card:hover .svc-img-hover { transform: scale(1.08); filter: brightness(1.07); }

/* -- Service name gradient block -- */
.svc-name-block { transition: filter 0.3s; }
.service-image-card:hover .svc-name-block { filter: brightness(1.12); }

/* -- Get Quote gradient button -- */
.svc-quote-btn { transition: transform 0.25s, box-shadow 0.25s, filter 0.25s; }
.svc-quote-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 22px rgba(0,0,0,0.22); filter: brightness(1.1); }

/* -- Card pop on hover -- */
.service-image-card { transition: transform 0.35s cubic-bezier(.22,.68,0,1.3), box-shadow 0.35s; }
.service-image-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 24px 48px rgba(0,0,0,0.18) !important; }

/* -- Sidebar colored service links -- */
.svc-sidebar-link { transition: transform 0.25s, box-shadow 0.25s; }
.svc-sidebar-link:hover { transform: translateX(5px) scale(1.02); box-shadow: 0 6px 18px rgba(0,0,0,0.2); }

/* -- Pulse animation for floating icon badge -- */
.service-icon-floating { animation: iconPop 0.6s ease-out; }
@keyframes iconPop { 0%{transform:translate(-50%,30%) scale(0.3);opacity:0;} 70%{transform:translate(-50%,30%) scale(1.15);} 100%{transform:translate(-50%,30%) scale(1);opacity:1;} }

/* -- Section heading shimmer -- */
@keyframes shimmer { 0%{background-position: -200% center;} 100%{background-position: 200% center;} }
.shimmer-text {
  background: linear-gradient(90deg, #0a1f44 30%, #f7941d 50%, #17a2b8 70%, #0a1f44 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* -- Floating colored badge on stats -- */
@keyframes floatBadge { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
.stat-badge-float { animation: floatBadge 3s ease-in-out infinite; }

/* -- Pulsing ring for CTA buttons -- */
@keyframes pulse-ring { 0%{box-shadow:0 0 0 0 rgba(247,148,29,0.5);} 100%{box-shadow:0 0 0 16px rgba(247,148,29,0);} }
.btn-pulse { animation: pulse-ring 1.8s ease-out infinite; }

/* -- Background section wave animation -- */
@keyframes waveShift { 0%,100%{background-position:0% 50%;} 50%{background-position:100% 50%;} }
.animated-gradient-bg {
  background: linear-gradient(270deg, #0a1f44, #1a4594, #17a2b8, #0a1f44);
  background-size: 400% 400%;
  animation: waveShift 8s ease infinite;
}

/* -- Bounce-in for icon badges on hero -- */
@keyframes bounceIn { 0%{opacity:0;transform:scale(0.3);} 50%{opacity:1;transform:scale(1.05);} 70%{transform:scale(0.9);} 100%{transform:scale(1);} }
.bounce-in { animation: bounceIn 0.8s ease-out forwards; }

/* -- Staggered fade for service section heading -- */
.services-section .display-5 { position: relative; }
.services-section .display-5::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px;
  background: linear-gradient(90deg, #f7941d, #17a2b8);
  border-radius: 2px;
  animation: underlineGrow 1s ease-out 0.5s both;
}
@keyframes underlineGrow { from{width:0;} to{width:60px;} }

/* ── Service card mobile image height fix ── */
@media (max-width: 480px) {
    .service-image-card .position-relative[style*="height:195px"] {
        height: 130px !important;
    }
    .service-image-card .position-relative[style*="height:195px"] img {
        height: 130px !important;
    }
    .service-icon-floating {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
        bottom: -14px !important;
    }
    .svc-name-block h5 { font-size: 0.75rem !important; }
    .service-image-card .p-3 p.small { font-size: 0.7rem !important; }
    .service-image-card .btn-sm { font-size: 0.7rem !important; padding: 4px 8px !important; }
    
    /* Section padding reduction on tiny screens */
    .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    .container.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
}

/* ── Prevent any element from creating horizontal overflow ── */
section, footer, nav, div.container {
    max-width: 100%;
}
img { max-width: 100%; height: auto; }

/* ============================================================
   Dedicated Showcase Styles (Invisible Grills & Pigeon Nets)
   ============================================================ */

.showcase-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Overlapping Image Collage Grid */
.showcase-collage {
    position: relative;
    height: 480px;
    width: 100%;
}
.showcase-img-main {
    width: 80%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.showcase-img-inset {
    width: 55%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 0;
    border: 6px solid #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Left-aligned content placement (meaning images are on the left, content is on the right) */
.showcase-collage.left-align .showcase-img-main {
    left: 0;
}
.showcase-collage.left-align .showcase-img-inset {
    right: 0;
    bottom: 20px;
}

/* Right-aligned content placement (meaning images are on the right, content is on the left) */
.showcase-collage.right-align .showcase-img-main {
    right: 0;
}
.showcase-collage.right-align .showcase-img-inset {
    left: 0;
    bottom: 20px;
}

.showcase-collage:hover .showcase-img-main {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
.showcase-collage:hover .showcase-img-inset {
    transform: translate(8px, -8px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/* Specification Badges */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.spec-badge-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 31, 68, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.spec-badge-box:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(10, 31, 68, 0.05);
}
.spec-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .showcase-collage {
        height: 380px;
        margin-bottom: 2rem;
    }
    .showcase-img-main {
        height: 300px;
    }
    .showcase-img-inset {
        height: 200px;
    }
    .showcase-section {
        padding: 50px 0;
    }
}
@media (max-width: 575px) {
    .showcase-collage {
        height: 300px;
    }
    .showcase-img-main {
        height: 240px;
    }
    .showcase-img-inset {
        height: 160px;
    }
    .spec-grid {
        grid-template-columns: 1fr;
    }
}


