/* 
===================================================================
  MBEYA ANTENNAS & DIGITAL SOLUTIONS - MAIN STYLESHEET
  Author: Award-Winning UI/UX Design & Development
  Color Palette:
    Primary Blue: #005AA9
    Secondary Blue: #1E88E5
    Accent Red: #E53935
    Dark Red: #C62828
    White: #FFFFFF
    Background: #F8FAFC
    Dark Text: #1F2937
    Light Gray: #E5E7EB
===================================================================
*/

/* ----------------------------------------------------------------
   1. CSS ROOT VARIABLES & THEMING
------------------------------------------------------------------ */
:root {
  --primary-blue: #005AA9;
  --primary-blue-hover: #004583;
  --secondary-blue: #1E88E5;
  --secondary-blue-hover: #1565C0;
  --accent-red: #E53935;
  --accent-red-hover: #D32F2F;
  --dark-red: #C62828;
  --bg-light: #F8FAFC;
  --bg-card-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(255, 255, 255, 0.5);
  --dark-text: #1F2937;
  --muted-text: #6B7280;
  --light-gray: #E5E7EB;
  --white: #FFFFFF;
  --font-outfit: 'Outfit', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
  --radius-card: 16px;
  --radius-pill: 50px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px rgba(0, 90, 169, 0.12);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Overrides */
[data-bs-theme="dark"] {
  --bg-light: #0F172A;
  --bg-card-glass: rgba(30, 41, 59, 0.85);
  --border-glass: rgba(255, 255, 255, 0.1);
  --dark-text: #F8FAFC;
  --muted-text: #94A3B8;
  --light-gray: #334155;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ----------------------------------------------------------------
   2. BASE RESETS & TYPOGRAPHY
------------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-poppins);
  background-color: var(--bg-light);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
  font-family: var(--font-outfit);
}

.text-dark-text {
  color: var(--dark-text) !important;
}

.text-accent {
  color: var(--accent-red) !important;
}

.bg-accent {
  background-color: var(--accent-red) !important;
}

.bg-accent-subtle {
  background-color: rgba(229, 57, 53, 0.12) !important;
}

.text-secondary-blue {
  color: var(--secondary-blue) !important;
}

.bg-light-bg {
  background-color: var(--bg-light) !important;
}

.micro-text {
  font-size: 0.75rem;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

.max-w-500 { max-width: 500px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }

.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-padding {
  position: relative;
}

/* ----------------------------------------------------------------
   3. LOADING SCREEN & SCROLL PROGRESS BAR
------------------------------------------------------------------ */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

[data-bs-theme="dark"] .loader-wrapper {
  background-color: #0F172A;
}

.loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.spinner-antenna {
  display: inline-block;
  font-size: 3rem;
  color: var(--primary-blue);
  animation: pulseSignal 1.2s infinite ease-in-out;
}

@keyframes pulseSignal {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; color: var(--accent-red); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue), var(--accent-red));
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ----------------------------------------------------------------
   4. TOP ANNOUNCEMENT BAR & NAVIGATION
------------------------------------------------------------------ */
.top-bar {
  background: linear-gradient(90deg, #003C73 0%, var(--primary-blue) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-header {
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.95);
}

[data-bs-theme="dark"] .navbar-header {
  background-color: rgba(15, 23, 42, 0.95);
}

.navbar-header.scrolled {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 90, 169, 0.25);
}

.navbar-nav .nav-link {
  font-family: var(--font-outfit);
  font-weight: 500;
  color: var(--dark-text);
  padding: 0.5rem 0.9rem !important;
  position: relative;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-blue);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 70%;
}

/* ----------------------------------------------------------------
   5. BUTTONS & RIPPLE EFFECT
------------------------------------------------------------------ */
.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
}

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

.btn-accent {
  background: linear-gradient(135deg, var(--accent-red), var(--dark-red));
  border: none;
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-red-hover), var(--dark-red));
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.35);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ripple effect styling */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleAnimation 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ----------------------------------------------------------------
   6. GLASSMORPHISM CARDS
------------------------------------------------------------------ */
.glass-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-card);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(0, 90, 169, 0.25);
}

.shadow-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover) !important;
}

.hover-lift:hover {
  transform: translateY(-6px);
}

/* ----------------------------------------------------------------
   7. HERO SECTION
------------------------------------------------------------------ */
.hero-section {
  min-height: 90vh;
  background-color: #0A192F;
  position: relative;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.4;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 40, 80, 0.88) 0%, rgba(10, 25, 47, 0.92) 100%);
  z-index: 1;
}

.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bg-white-10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.border-white-15 {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.border-white-20 {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.border-white-40 {
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.counter-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ----------------------------------------------------------------
   8. ABOUT COMPANY SECTION
------------------------------------------------------------------ */
.about-img-box {
  padding-bottom: 2rem;
  padding-right: 1.5rem;
}

.about-img-main img {
  height: 480px;
  transition: transform 0.6s ease;
}

.about-img-main:hover img {
  transform: scale(1.05);
}

.icon-box-50 {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box-70 {
  width: 70px;
  height: 70px;
}

/* ----------------------------------------------------------------
   9. SERVICES SECTION
------------------------------------------------------------------ */
.service-card {
  position: relative;
  z-index: 1;
}

.service-icon-box {
  background: #0dcaf0;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.rounded-bl-3 {
  border-bottom-left-radius: 12px;
}

.bg-gradient-primary-soft {
  background: linear-gradient(135deg, rgba(0, 90, 169, 0.08) 0%, rgba(30, 136, 229, 0.04) 100%);
}

/* ----------------------------------------------------------------
   10. GALLERY & LIGHTBOX
------------------------------------------------------------------ */
.gallery-filters .btn-filter {
  background-color: var(--white);
  color: var(--dark-text);
  font-weight: 500;
  transition: var(--transition-fast);
}

[data-bs-theme="dark"] .gallery-filters .btn-filter {
  background-color: #1E293B;
  color: var(--dark-text);
}

.gallery-filters .btn-filter:hover,
.gallery-filters .btn-filter.active {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 90, 169, 0.3) !important;
}

.gallery-item {
  transition: all 0.4s ease;
}

.gallery-item.hide {
  display: none !important;
}

.gallery-card {
  height: 280px;
}

.gallery-img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.2) 60%, transparent 100%);
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* ----------------------------------------------------------------
   11. TESTIMONIAL SLIDER
------------------------------------------------------------------ */
.testimonial-card {
  position: relative;
}

.avatar-50 {
  width: 50px;
  height: 50px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* ----------------------------------------------------------------
   12. SERVICE AREAS & SUBURB SEARCH
------------------------------------------------------------------ */
.suburb-search-box input {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.location-card {
  border-left: 4px solid var(--primary-blue) !important;
}

/* ----------------------------------------------------------------
   13. FAQ ACCORDION
------------------------------------------------------------------ */
.accordion-button:not(.collapsed) {
  background-color: rgba(0, 90, 169, 0.06);
  color: var(--primary-blue);
}

.accordion-button:focus {
  box-shadow: none;
}

/* ----------------------------------------------------------------
   14. CONTACT FORM & FOOTER
------------------------------------------------------------------ */
.input-group-text {
  border-color: var(--light-gray);
}

.form-control, .form-select {
  border-color: var(--light-gray);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

[data-bs-theme="dark"] .form-control, 
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .input-group-text {
  background-color: #1E293B;
  border-color: #334155;
  color: var(--dark-text);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 90, 169, 0.15);
}

.footer {
  background-color: #0B132B !important;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* ----------------------------------------------------------------
   15. FLOATING ACTION BUTTONS
------------------------------------------------------------------ */
.floating-btn {
  position: fixed;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.12);
}

.floating-call-btn {
  bottom: 25px;
  left: 25px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.floating-whatsapp-btn {
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn-tooltip {
  position: absolute;
  bottom: 100%;
  background: rgba(15, 23, 42, 0.9);
  color: white;
  font-size: 0.75rem;
  font-family: var(--font-outfit);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  pointer-events: none;
}

.floating-btn:hover .floating-btn-tooltip {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 48px;
  height: 48px;
  background-color: var(--primary-blue);
  border: none;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.back-to-top-btn:hover {
  background-color: var(--accent-red);
  transform: translateY(-4px);
}

/* ----------------------------------------------------------------
   16. SCROLL REVEAL ANIMATIONS
------------------------------------------------------------------ */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* =========================================================
   BLUE + RED PROFESSIONAL GALLERY
========================================================= */

.gallery-section {
    position: relative;
    padding: 100px 20px;
    background: #f4f8fc;
    overflow: hidden;
}

.gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.gallery-header {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.gallery-subtitle {
    display: inline-block;
    margin-bottom: 12px;

    color: #e11d48;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-header h2 {
    margin: 0 0 15px;

    color: #0f2a43;

    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    font-weight: 800;
}

.gallery-header h2 span {
    color: #e11d48;
}

.gallery-header p {
    margin: 0;

    color: #64748b;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   FILTER BUTTONS
========================================================= */

.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    border: 1px solid #cbd5e1;

    padding: 11px 21px;

    border-radius: 50px;

    background: #ffffff;
    color: #174a72;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #e11d48;
    color: #e11d48;

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(225, 29, 72, 0.12);
}


/* ACTIVE BUTTON */

.filter-btn.active {
    border-color: #e11d48;

    background:
        linear-gradient(
            135deg,
            #e11d48,
            #be123c
        );

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(225, 29, 72, 0.25);
}


/* =========================================================
   GALLERY GRID
========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.gallery-item {
    position: relative;

    min-width: 0;

    animation:
        galleryFadeIn 0.45s ease;
}

.gallery-item.hidden {
    display: none;
}


/* =========================================================
   IMAGE
========================================================= */

.gallery-image {
    position: relative;

    height: 330px;

    overflow: hidden;

    border-radius: 18px;

    background: #dbeafe;

    border: 2px solid #e2e8f0;

    box-shadow:
        0 12px 30px
        rgba(15, 42, 67, 0.10);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-item:hover .gallery-image {
    border-color: #2563eb;

    box-shadow:
        0 18px 40px
        rgba(37, 99, 235, 0.18);
}

.gallery-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.7s ease,
        filter 0.5s ease;
}

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


/* =========================================================
   BLUE + RED OVERLAY
========================================================= */

.gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 25px;

    /*
       Blue at top
       Red at bottom
    */

    background:
        linear-gradient(
            to top,
            rgba(153, 0, 0, 0.95) 0%,
            rgba(220, 38, 38, 0.72) 30%,
            rgba(30, 64, 175, 0.35) 65%,
            rgba(15, 42, 67, 0) 100%
        );

    opacity: 0;

    transition:
        opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


/* =========================================================
   GALLERY TEXT
========================================================= */

.gallery-info {
    max-width: 75%;

    transform: translateY(15px);

    transition:
        transform 0.4s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info span {
    display: block;

    margin-bottom: 7px;

    color: #93c5fd;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.gallery-info h3 {
    margin: 0;

    color: #ffffff;

    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}


/* =========================================================
   VIEW BUTTON
========================================================= */

.gallery-view {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border:
        1px solid
        rgba(255, 255, 255, 0.6);

    border-radius: 50%;

    background:
        rgba(37, 99, 235, 0.55);

    backdrop-filter: blur(8px);

    color: #ffffff;

    font-size: 30px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transform: scale(0.7);

    transition:
        all 0.35s ease;
}

.gallery-item:hover .gallery-view {
    transform: scale(1);
}

.gallery-view:hover {
    border-color: #ffffff;

    background: #e11d48;

    transform:
        scale(1.08) !important;
}


/* =========================================================
   CTA
========================================================= */

.gallery-cta {
    position: relative;

    margin-top: 65px;

    padding: 50px 30px;

    border-radius: 22px;

    overflow: hidden;

    /*
       BLUE → RED
    */

    background:
        linear-gradient(
            135deg,
            #0f2a43 0%,
            #174a72 48%,
            #be123c 100%
        );

    text-align: center;

    box-shadow:
        0 20px 50px
        rgba(15, 42, 67, 0.22);
}


/* Decorative circle */

.gallery-cta::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -120px;
    right: -80px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);
}


/* Another decorative circle */

.gallery-cta::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    bottom: -100px;
    left: -50px;

    border-radius: 50%;

    background:
        rgba(225, 29, 72, 0.25);
}

.gallery-cta h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 10px;

    color: #ffffff;

    font-size: 27px;
}

.gallery-cta p {
    position: relative;
    z-index: 2;

    margin: 0 0 25px;

    color: #dbeafe;

    font-size: 15px;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.gallery-cta-btn {
    position: relative;
    z-index: 3;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 25px;

    border-radius: 50px;

    background: #e11d48;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 8px 20px
        rgba(225, 29, 72, 0.30);

    transition:
        all 0.3s ease;
}

.gallery-cta-btn span {
    font-size: 20px;

    transition:
        transform 0.3s ease;
}

.gallery-cta-btn:hover {
    background: #ffffff;

    color: #e11d48;

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 25px
        rgba(0, 0, 0, 0.18);
}

.gallery-cta-btn:hover span {
    transform:
        translateX(4px);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.gallery-lightbox {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        rgba(5, 20, 35, 0.96);

    backdrop-filter:
        blur(8px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

body.gallery-open {
    overflow: hidden;
}


/* =========================================================
   LIGHTBOX IMAGE
========================================================= */

.lightbox-content {
    position: relative;

    max-width:
        min(1000px, 90vw);

    max-height: 90vh;

    text-align: center;
}

.lightbox-content img {
    display: block;

    max-width: 100%;

    max-height: 78vh;

    width: auto;
    height: auto;

    border:
        3px solid #2563eb;

    border-radius: 10px;

    object-fit: contain;

    box-shadow:
        0 25px 80px
        rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
    margin-top: 15px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 600;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.lightbox-close {
    position: fixed;

    top: 25px;
    right: 30px;

    z-index: 10;

    width: 48px;
    height: 48px;

    border:
        1px solid
        rgba(255, 255, 255, 0.4);

    border-radius: 50%;

    background:
        rgba(225, 29, 72, 0.75);

    color: #ffffff;

    font-size: 32px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        all 0.3s ease;
}

.lightbox-close:hover {
    background: #2563eb;

    border-color: #2563eb;

    transform:
        rotate(90deg);
}


/* =========================================================
   PREVIOUS / NEXT BUTTONS
========================================================= */

.lightbox-prev,
.lightbox-next {
    position: fixed;

    top: 50%;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.35);

    border-radius: 50%;

    background:
        rgba(37, 99, 235, 0.65);

    backdrop-filter:
        blur(8px);

    color: #ffffff;

    font-size: 22px;

    cursor: pointer;

    transform:
        translateY(-50%);

    transition:
        all 0.3s ease;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #e11d48;

    border-color: #e11d48;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes galleryFadeIn {

    from {
        opacity: 0;

        transform:
            translateY(15px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .gallery-section {
        padding: 80px 18px;
    }

    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 18px;
    }

    .gallery-image {
        height: 300px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .gallery-section {
        padding: 65px 15px;
    }

    .gallery-header {
        margin-bottom: 30px;
    }

    .gallery-header h2 {
        font-size: 32px;
    }

    .gallery-header p {
        font-size: 14px;
    }

    .gallery-filters {
        gap: 7px;

        margin-bottom: 28px;
    }

    .filter-btn {
        padding: 9px 14px;

        font-size: 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .gallery-image {
        height: 280px;

        border-radius: 15px;
    }

    /*
       Always show overlay on mobile
    */

    .gallery-overlay {
        opacity: 1;

        padding: 20px;
    }

    .gallery-info {
        transform:
            translateY(0);
    }

    .gallery-view {
        transform:
            scale(1);

        width: 43px;
        height: 43px;

        font-size: 26px;
    }

    .gallery-info h3 {
        font-size: 16px;
    }


    /* CTA */

    .gallery-cta {
        margin-top: 45px;

        padding: 35px 20px;
    }

    .gallery-cta h3 {
        font-size: 23px;
    }

    .gallery-cta p {
        font-size: 14px;
    }


    /* LIGHTBOX */

    .gallery-lightbox {
        padding: 15px;
    }

    .lightbox-content {
        max-width: 94vw;
    }

    .lightbox-content img {
        max-height: 72vh;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;

        width: 42px;
        height: 42px;

        font-size: 28px;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;

        bottom: 25px;

        width: 45px;
        height: 45px;

        transform: none;
    }

    .lightbox-prev {
        left: 25px;
    }

    .lightbox-next {
        right: 25px;
    }

    .lightbox-caption {
        margin-top: 10px;

        font-size: 14px;

        padding-bottom: 65px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .gallery-image img,
    .gallery-overlay,
    .gallery-info,
    .gallery-view,
    .filter-btn,
    .gallery-cta-btn {
        transition: none;
    }

}

/* =========================================================
   BRANDS SECTION
========================================================= */

.brands-section {
    padding: 100px 20px;
    background: #f5f8fc;
}

.brands-container {
  padding: 30px 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.brands-header {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.brands-subtitle {
    display: inline-block;
    margin-bottom: 12px;

    color: #e11d48;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.brands-header h2 {
    margin: 0 0 15px;

    color: #0f2a43;

    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.15;

    font-weight: 800;
}

.brands-header h2 span {
    color: #e11d48;
}

.brands-header p {
    margin: 0;

    color: #64748b;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   THREE COLUMN ROW
========================================================= */

.brands-row {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    margin-bottom: 25px;
}


/* =========================================================
   BRAND CARD
========================================================= */

.brand-card {
    position: relative;

    min-height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 35px 25px;

    background: #ffffff;

    border: 1px solid #dbe4ee;

    border-radius: 20px;

    text-align: center;

    overflow: hidden;

    box-shadow:
        0 10px 30px
        rgba(15, 42, 67, 0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* Blue + red top border */

.brand-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #e11d48
        );

    transform: scaleX(0);

    transform-origin: left;

    transition:
        transform 0.35s ease;
}


/* Hover */

.brand-card:hover {
    transform: translateY(-8px);

    border-color: #bfdbfe;

    box-shadow:
        0 20px 45px
        rgba(37, 99, 235, 0.14);
}

.brand-card:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   LARGE LOGO AREA
========================================================= */

.brand-logo {
    width: 190px;
    height: 125px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    padding: 15px;

    border-radius: 16px;

    background: #fff;

    border: 1px solid #edf2f7;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}


/* Logo area hover */

.brand-card:hover .brand-logo {
    transform: scale(1.04);

    background: #eff6ff;

    border-color: #dbeafe;
}


/* =========================================================
   LOGO IMAGE
========================================================= */

.brand-logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: 170px;
    max-height: 90px;

    object-fit: contain;

    transition:
        transform 0.35s ease;
}

.brand-card:hover .brand-logo img {
    transform: scale(1.06);
}


/* =========================================================
   BRAND NAME
========================================================= */

.brand-card h3 {
    margin: 0 0 7px;

    color: #0f2a43;

    font-size: 21px;

    font-weight: 800;
}


/* =========================================================
   BRAND DESCRIPTION
========================================================= */

.brand-card p {
    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   BOTTOM MESSAGE
========================================================= */

.brands-bottom {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    margin-top: 55px;

    text-align: center;
}

.brands-bottom p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
}

.brands-bottom strong {
    color: #0f2a43;
}

.brands-line {
    width: 90px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #e11d48
        );
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .brands-section {
        padding: 80px 18px;
    }

    .brands-row {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 18px;
    }

    .brand-card {
        min-height: 260px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .brands-section {
        padding: 65px 15px;
    }

    .brands-header {
        margin-bottom: 35px;
    }

    .brands-header h2 {
        font-size: 32px;
    }

    .brands-header p {
        font-size: 14px;
    }

    .brands-row {
        grid-template-columns: 1fr;

        gap: 16px;

        margin-bottom: 16px;
    }

    .brand-card {
        min-height: 250px;

        padding: 30px 20px;
    }

    .brand-logo {
        width: 210px;
        height: 125px;

        margin-bottom: 20px;
    }

    .brand-logo img {
        max-width: 185px;
        max-height: 90px;
    }

    .brand-card h3 {
        font-size: 20px;
    }

    .brand-card p {
        font-size: 13px;
    }

    .brands-bottom {
        margin-top: 40px;
        gap: 10px;
    }

    .brands-line {
        width: 35px;
    }

    .brands-bottom p {
        font-size: 12px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 350px) {

    .brand-logo {
        width: 190px;
        height: 115px;
    }

    .brand-logo img {
        max-width: 165px;
        max-height: 80px;
    }

}

.google-review-section {
    padding: 60px 20px;
    background: #f5f8fc;
}

.google-review-box {
    max-width: 900px;
    margin: auto;

    display: flex;
    align-items: center;
    gap: 25px;

    padding: 35px;

    background: #ffffff;

    border-radius: 20px;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 12px 35px rgba(15, 42, 67, 0.08);

    position: relative;
    overflow: hidden;
}

.google-review-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #2563eb,
        #e11d48
    );
}

.google-review-icon {
    width: 75px;
    height: 75px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    color: #4285f4;

    font-family: Arial, sans-serif;

    font-size: 42px;
    font-weight: bold;

    box-shadow:
        0 5px 15px rgba(15, 42, 67, 0.08);
}

.google-review-content {
    flex: 1;
}

.google-review-content h2 {
    margin: 0 0 8px;

    color: #0f2a43;

    font-size: 28px;
    font-weight: 800;
}

.google-review-content p {
    margin: 0 0 18px;

    color: #64748b;

    font-size: 15px;
}

.google-review-button {
    display: inline-block;

    padding: 13px 23px;

    background: #e11d48;

    color: #ffffff;

    border-radius: 50px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s ease;
}

.google-review-button:hover {
    background: #2563eb;

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.25);
}


/* Mobile */

@media (max-width: 600px) {

    .google-review-section {
        padding: 45px 15px;
    }

    .google-review-box {
        flex-direction: column;

        text-align: center;

        padding: 30px 20px;
    }

    .google-review-content h2 {
        font-size: 24px;
    }

    .google-review-content p {
        font-size: 14px;
    }

    .google-review-button {
        width: 100%;
        box-sizing: border-box;
    }
}


