/* =============================================
   WD Colour Centre – Custom Styles
   ============================================= */

/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Abel&family=Roboto:wght@300;400;500;700&display=swap");

/* --- Colour Palette (logo-inspired rainbow) --- */
:root {
    --violet: #7c3aed;
    --blue: #0ea5e9;
    --green: #10b981;
    --amber: #f59e0b;
    --orange: #f97316;
    --red: #ef4444;

    /* Gradient matching logo – violet → blue → green → amber → orange → red */
    --grad: linear-gradient(
        90deg,
        #7c3aed 0%,
        #0ea5e9 25%,
        #10b981 50%,
        #f59e0b 72%,
        #f97316 87%,
        #ef4444 100%
    );
    --grad-diag: linear-gradient(
        135deg,
        #7c3aed 0%,
        #0ea5e9 30%,
        #10b981 55%,
        #f59e0b 75%,
        #ef4444 100%
    );
    /* Cool gradient (violet → blue → green) – used on gallery overlays */
    --grad-cool: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 50%, #10b981 100%);

    /* Neutrals */
    --dark: #111111;
    --darker: #0a0a0a;
    --grey: #f5f5f5;
    --text: #444444;
    --light: #ffffff;
    --border: #e0e0e0;
    --transition: 0.3s ease;
}

/* --- Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Abel", sans-serif;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--violet);
}

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

/* --- Gradient utilities --- */
.grad-bg {
    background: var(--grad) !important;
}
.bg-grey {
    background-color: var(--grey) !important;
}
.bg-dark-cc {
    background-color: var(--dark) !important;
}

/* Gradient text */
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Section helpers --- */
.section-pad {
    padding: 90px 0;
}
.section-pad-sm {
    padding: 60px 0;
}

.section-label {
    display: inline-block;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-family: "Abel", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.section-title.light {
    color: #fff;
}

/* Rainbow divider */
.divider {
    width: 60px;
    height: 4px;
    background: var(--grad);
    border-radius: 2px;
    margin: 0 0 1.5rem;
}
.divider.center {
    margin: 0 auto 1.5rem;
}

/* --- Buttons --- */
.btn-cc {
    display: inline-block;
    padding: 12px 32px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* Gradient primary button */
.btn-cc-primary {
    background: var(--grad);
    background-size: 200% auto;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.btn-cc-primary:hover {
    background-position: right center;
    color: #fff;
    -webkit-text-fill-color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

/* Keep old class names working */
.btn-cc-red {
    background: var(--grad);
    background-size: 200% auto;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.btn-cc-red:hover {
    background-position: right center;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.btn-cc-outline {
    background: transparent;
    color: #fff;
    -webkit-text-fill-color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-cc-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.btn-cc-dark {
    background: var(--dark);
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.btn-cc-dark:hover {
    background: #333;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/* --- Top Bar --- */
.topbar {
    background: var(--darker);
    padding: 8px 0;
    font-size: 13px;
    color: #aaa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    max-height: 60px;
    overflow: hidden;
    transition:
        max-height 0.35s ease,
        padding 0.35s ease,
        opacity 0.25s ease;
}
.topbar.topbar-hidden {
    max-height: 0;
    padding: 0;
    opacity: 0;
}
.topbar a {
    color: #bbb;
}
.topbar a:hover {
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.topbar i {
    margin-right: 5px;
}
.topbar .fa-phone {
    color: var(--green);
}
.topbar .fa-envelope {
    color: var(--blue);
}
.topbar .fa-location-dot {
    color: var(--amber);
}
.topbar .fa-facebook-f {
    color: #4ade80;
}
.topbar .fa-whatsapp {
    color: #4ade80;
}

/* --- Navbar --- */
.navbar-cc {
    background: var(--dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Rainbow line under navbar */
.navbar-cc::after {
    content: "";
    display: block;
    height: 3px;
    background: var(--grad);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.navbar-cc .navbar-brand img {
    height: 80px;
    width: auto;
    padding: 4px 0;
}

.navbar-cc .nav-link {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ccc !important;
    padding: 25px 18px !important;
    position: relative;
    transition: color var(--transition);
}

.navbar-cc .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.navbar-cc .nav-link:hover,
.navbar-cc .nav-link.active {
    color: #fff !important;
}

.navbar-cc .nav-link:hover::after,
.navbar-cc .nav-link.active::after {
    transform: scaleX(1);
}

/* CTA pill in nav */
.navbar-cc .nav-cta {
    background: var(--grad);
    background-size: 200% auto;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 3px;
    margin: auto 0 auto 12px;
    font-size: 13px;
    letter-spacing: 1px;
}
.navbar-cc .nav-cta::after {
    display: none;
}
.navbar-cc .nav-cta:hover {
    background-position: right center;
    color: #fff !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
}
.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(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.82) 0%,
        rgba(20, 20, 60, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-height: 320px;
    width: auto;
    filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.6));
}

.hero-tag {
    display: inline-block;
    background: var(--grad);
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 16px;
    margin-bottom: 20px;
    border-radius: 2px;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin-bottom: 2rem;
}

/* --- Page Hero --- */
.page-hero {
    background: var(--dark);
    padding: 70px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--grad-diag);
    opacity: 0.07;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Gradient bottom border on page hero */
.page-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}
.page-hero p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}
.page-hero a {
    color: rgba(255, 255, 255, 0.6);
}
.page-hero a:hover {
    color: var(--blue);
    -webkit-text-fill-color: var(--blue);
}
.page-hero .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
}

/* --- Feature Strip --- */
.feature-strip {
    background: var(--dark);
}

.feature-strip .feat-item {
    padding: 36px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    transition: background var(--transition);
}

.feature-strip .feat-item:last-child {
    border-right: none;
}
.feature-strip .feat-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.feat-item h5 {
    color: #fff;
    font-size: 1.1rem;
    margin: 10px 0 8px;
}
.feat-item p {
    color: #aaa;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

.feat-item-1 i {
    font-size: 2.2rem;
    color: var(--violet);
}
.feat-item-2 i {
    font-size: 2.2rem;
    color: var(--green);
}
.feat-item-3 i {
    font-size: 2.2rem;
    color: var(--amber);
}

/* --- About Section --- */
.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    border-radius: 6px;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--grad-diag);
    color: #fff;
    -webkit-text-fill-color: #fff;
    padding: 22px 28px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}

.about-badge .num {
    font-family: "Abel", sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    display: block;
}

.about-badge .lbl {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.about-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.about-list li i {
    color: var(--green);
}

/* --- Service Cards --- */
.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.service-card-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    background: #e0e0e0;
}

.service-card-body {
    padding: 28px;
}
.service-card-body h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.service-card-body p {
    font-size: 14px;
    color: #666;
    margin: 0 0 14px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--violet);
    transition:
        gap var(--transition),
        color var(--transition);
}
.service-card-link:hover {
    gap: 10px;
    color: var(--blue);
}

.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-card-icon i {
    color: #fff;
    font-size: 1.2rem;
}

/* Per-category icon colours */
.icon-auto {
    background: var(--blue);
}
.icon-ind {
    background: var(--orange);
}
.icon-deco {
    background: var(--green);
}
.icon-supp {
    background: var(--violet);
}

/* --- Stats Banner --- */
.stats-banner {
    background: var(--grad);
    padding: 70px 0;
}

.stat-item {
    text-align: center;
}
.stat-item .num {
    font-family: "Abel", sans-serif;
    font-size: 4rem;
    color: #fff;
    line-height: 1;
    display: block;
}
.stat-item .lbl {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 6px;
}

/* --- Gallery Grid (homepage preview) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border-radius: 4px;
}

.gallery-item-wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #e0e0e0;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: var(--grad-cool);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition);
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}
.gallery-item:hover .gallery-overlay {
    opacity: 0.75;
}

/* --- Lightbox --- */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 20, 0.75);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* --- Products Page --- */
.product-tab-nav {
    border-bottom: 2px solid var(--border);
    gap: 4px;
    flex-wrap: wrap;
}

.product-tab-nav .nav-link {
    color: var(--text);
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 22px;
    border: 2px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    margin-bottom: -2px;
    background: transparent;
    transition: all var(--transition);
}

.product-tab-nav .nav-link:hover {
    color: var(--blue);
}

.product-tab-nav .nav-link.active {
    color: var(--violet);
    border-color: var(--border);
    border-bottom-color: #fff;
    background: #fff;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    transition:
        box-shadow var(--transition),
        transform var(--transition);
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.product-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Cycling colours for product cards */
.product-card:nth-child(6n + 1) .product-card-icon {
    background: rgba(124, 58, 237, 0.12);
}
.product-card:nth-child(6n + 1) .product-card-icon i {
    color: var(--violet);
}
.product-card:nth-child(6n + 2) .product-card-icon {
    background: rgba(14, 165, 233, 0.12);
}
.product-card:nth-child(6n + 2) .product-card-icon i {
    color: var(--blue);
}
.product-card:nth-child(6n + 3) .product-card-icon {
    background: rgba(16, 185, 129, 0.12);
}
.product-card:nth-child(6n + 3) .product-card-icon i {
    color: var(--green);
}
.product-card:nth-child(6n + 4) .product-card-icon {
    background: rgba(245, 158, 11, 0.12);
}
.product-card:nth-child(6n + 4) .product-card-icon i {
    color: var(--amber);
}
.product-card:nth-child(6n + 5) .product-card-icon {
    background: rgba(249, 115, 22, 0.12);
}
.product-card:nth-child(6n + 5) .product-card-icon i {
    color: var(--orange);
}
.product-card:nth-child(6n + 6) .product-card-icon {
    background: rgba(239, 68, 68, 0.12);
}
.product-card:nth-child(6n + 6) .product-card-icon i {
    color: var(--red);
}

.product-card h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.product-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* --- Contact Page --- */
.contact-strip {
    background: var(--grad);
}

.contact-strip .cs-item {
    padding: 22px 28px;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: background var(--transition);
}
.contact-strip .cs-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-strip .cs-item:last-child {
    border-right: none;
}

.contact-strip i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 6px;
}
.contact-strip .cs-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 4px;
}
.contact-strip a {
    color: #fff;
    font-family: "Abel", sans-serif;
    font-size: 1.15rem;
    display: block;
    -webkit-text-fill-color: #fff;
}
.contact-strip a:hover {
    opacity: 0.85;
}

.contact-card {
    background: #fff;
    border-radius: 8px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.ci-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Cycling icon colours for contact info items */
.contact-info-item:nth-child(2) .ci-icon {
    background: var(--violet);
}
.contact-info-item:nth-child(3) .ci-icon {
    background: var(--green);
}
.contact-info-item:nth-child(4) .ci-icon {
    background: var(--blue);
}
.contact-info-item:nth-child(5) .ci-icon {
    background: var(--amber);
}
.contact-info-item:nth-child(6) .ci-icon {
    background: #25d366;
}
.contact-info-item:nth-child(7) .ci-icon {
    background: #1877f2;
}

.ci-icon i {
    color: #fff;
    font-size: 1rem;
}

.ci-text strong {
    display: block;
    font-size: 13px;
    color: var(--dark);
    margin-bottom: 2px;
}
.ci-text span,
.ci-text a {
    font-size: 14px;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
}
.ci-text a:hover {
    color: var(--blue);
    -webkit-text-fill-color: var(--blue);
}

.hours-table {
    width: 100%;
    font-size: 14px;
}
.hours-table td {
    padding: 5px 0;
}
.hours-table td:last-child {
    text-align: right;
    font-weight: 500;
}
.hours-closed {
    color: #999;
}

/* Hours table icon */
.hours-card-icon {
    color: var(--orange);
    margin-right: 8px;
}

.form-control-cc {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: var(--dark);
    background: #fff;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    outline: none;
}

.form-control-cc:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.form-label-cc {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 6px;
}

/* --- Map --- */
.map-wrap {
    border-radius: 8px;
    padding: 3px;
    background: var(--grad);
    position: relative;
    z-index: 0;
}
.map-wrap iframe {
    width: 100%;
    height: 380px;
    border: none;
    display: block;
    border-radius: 6px;
}

/* --- Gallery Page (masonry) --- */
.filter-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 9px 22px;
    border: 2px solid var(--border);
    background: transparent;
    border-radius: 3px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.filter-btn.active {
    background: var(--grad-cool);
    border-color: transparent;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.gallery-masonry {
    columns: 3;
    column-gap: 10px;
}

.gallery-masonry .g-item {
    break-inside: avoid;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

.gallery-masonry .g-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-masonry .g-item:hover img {
    transform: scale(1.05);
}

.g-item .g-overlay {
    position: absolute;
    inset: 0;
    background: var(--grad-cool);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.g-item:hover .g-overlay {
    opacity: 0.75;
}
.g-overlay i {
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.g-overlay span {
    font-family: "Abel", sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* --- Footer --- */
.footer {
    background: var(--darker);
    padding: 70px 0 0;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad);
}

.footer-brand img {
    height: 90px;
    width: auto;
    margin-bottom: 16px;
}
.footer-desc {
    color: #ffffff;
    font-size: 14px;
    max-width: 260px;
    line-height: 1.7;
}

.footer h5 {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    display: block;
}

/* Gradient underline for footer headings */
.footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--grad);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #ffffff;
    font-size: 14px;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before {
    content: "›";
    color: var(--blue);
    font-size: 1.1rem;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
    -webkit-text-fill-color: #fff;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 14px;
}
.footer-contact-list a {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}
.footer-contact-list a:hover {
    color: var(--blue);
    -webkit-text-fill-color: var(--blue);
}

/* Cycling icon colours in footer */
.footer-contact-list li:nth-child(1) i {
    color: var(--amber);
}
.footer-contact-list li:nth-child(2) i {
    color: var(--green);
}
.footer-contact-list li:nth-child(3) i {
    color: var(--blue);
}
.footer-contact-list li:nth-child(4) i {
    color: var(--orange);
}
.footer-contact-list li:nth-child(5) i {
    color: #25d366;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    transition: all var(--transition);
}

.social-links a:nth-child(1):hover {
    background: #1877f2;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.social-links a:nth-child(2):hover {
    background: #25d366;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.social-links a:nth-child(3):hover {
    background: var(--blue);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 0;
    margin-top: 50px;
    text-align: center;
    color: #fff;
    font-size: 13px;
}

.footer-bottom a {
    color: #fff;
}
.footer-bottom a:hover {
    color: var(--blue);
    -webkit-text-fill-color: var(--blue);
}

/* --- Floating buttons --- */
#scrollTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 42px;
    height: 42px;
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
    z-index: 999;
    transition: opacity var(--transition);
}

#scrollTop:hover {
    opacity: 0.85;
}
#scrollTop.visible {
    display: flex;
}

.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: transform var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/* --- Brand Logo Rotator --- */
.brands-section {
    padding: 60px 0;
    background: var(--grey);
    overflow: hidden;
}

.brands-section .section-label {
    display: block;
    text-align: center;
    margin-bottom: 6px;
}
.brands-section .section-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.brands-section .divider {
    margin: 0 auto 36px;
}

.brands-track-wrap {
    overflow: hidden;
    position: relative;
}

/* fade edges */
.brands-track-wrap::before,
.brands-track-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.brands-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--grey), transparent);
}
.brands-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--grey), transparent);
}

.brands-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: brandScroll 40s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes brandScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.brand-logo {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition:
        box-shadow var(--transition),
        transform var(--transition);
}

.brand-logo:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter var(--transition);
}

.brand-logo:hover img {
    filter: grayscale(0%);
}

/* --- Scroll reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .navbar-cc .nav-link {
        padding: 12px 16px !important;
    }
    .navbar-cc .nav-link::after {
        display: none;
    }
    .navbar-cc .nav-cta {
        margin: 0 16px 12px;
        display: inline-block;
    }
    .navbar-cc .navbar-collapse {
        background: var(--dark);
        padding-bottom: 8px;
    }

    .about-badge {
        right: 0;
    }
    .feat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .hero {
        background-attachment: scroll;
    }
    .cta-section {
        background-attachment: scroll;
    }
}

@media (max-width: 767px) {
    .contact-strip .cs-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    .contact-strip .cs-item:last-child {
        border-bottom: none;
    }
    .gallery-masonry {
        columns: 2;
    }
    .gallery-item-wide {
        grid-column: span 1;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 575px) {
    .section-pad {
        padding: 60px 0;
    }
    .hero {
        min-height: 80vh;
        background-attachment: scroll;
    }
    .cta-section {
        background-attachment: scroll;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-masonry {
        columns: 1;
    }
    .about-badge {
        position: static;
        margin-top: 16px;
        border-radius: 6px;
    }
}
