/* =====================================================================
   ROYAL SAFETY PROJECTS — style.css
   Sections: variables → base → topbar → header → hero → marquee →
   about → services → brands → why → how → gallery → faq →
   testimonials → contact → footer → floating → responsive
   ===================================================================== */

/* =====================================================================
   THEME VARIABLES  ——  change colours here only
   ===================================================================== */
:root {
   /* Core palette (petrol-teal + royal gold) */
   --color-primary: #0e5a63;
   /* deep petrol teal   */
   --color-primary-dark: #0a444b;
   /* darker teal        */
   --color-primary-soft: #e6f1f2;
   /* teal tint bg       */
   --color-accent: #e0a02e;
   /* royal gold         */
   --color-accent-dark: #c4861a;
   /* darker gold        */

   /* Neutrals */
   --color-ink: #16232a;
   /* headings / dark text */
   --color-body: #4b5b62;
   /* body text            */
   --color-muted: #8a9aa1;
   /* subtle / captions    */
   --color-line: #e4e9ec;
   /* borders / dividers   */

   /* Section backgrounds (subtle mix, mostly light) */
   --bg-white: #ffffff;
   --bg-light: #f6f9fa;
   --bg-tint: #eef4f5;
   --bg-dark: #0c343a;

   /* Type */
   --font-display: 'Sora', sans-serif;
   --font-body: 'Inter', sans-serif;

   /* Effects */
   --radius: 16px;
   --radius-sm: 10px;
   --radius-lg: 26px;
   --shadow-sm: 0 6px 18px rgba(16, 40, 46, .07);
   --shadow-md: 0 16px 40px rgba(16, 40, 46, .12);
   --shadow-lg: 0 26px 60px rgba(16, 40, 46, .16);
   --shadow-gold: 0 14px 34px rgba(224, 160, 46, .30);
   --transition: .35s cubic-bezier(.22, .61, .36, 1);
   --container-pad: clamp(1rem, 4vw, 3rem);
}

/* =====================================================================
   BASE
   ===================================================================== */
* {
   box-sizing: border-box;
}

html,
body {
   /* clip (not hidden) so sticky header keeps working */
   overflow-x: clip;
}

html {
   scroll-behavior: smooth;
   scroll-padding-top: 92px;
}

body {
   margin: 0;
   font-family: var(--font-body);
   color: var(--color-body);
   background: var(--bg-white);
   font-size: 1rem;
   line-height: 1.7;
   -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
   font-family: var(--font-display);
   color: var(--color-ink);
   line-height: 1.2;
   letter-spacing: -.01em;
}

a {
   text-decoration: none;
   color: var(--color-primary);
   transition: color var(--transition);
}

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

p {
   margin: 0 0 1rem;
}

/* Section rhythm */
.section {
   padding: clamp(3.5rem, 8vw, 6.5rem) 0;
   position: relative;
}

.about {
   background: var(--bg-white);
}

.services {
   background: var(--bg-light);
}

.why {
   background: var(--bg-white);
}

.how {
   background: var(--color-primary-soft);
}

.gallery {
   background: var(--bg-light);
}

.faq {
   background: var(--bg-white);
}

.testimonials {
   background: var(--bg-tint);
}

.contact {
   background: var(--bg-white);
}

/* Shared headings */
.eyebrow {
   display: inline-block;
   font-family: var(--font-display);
   font-weight: 600;
   font-size: .78rem;
   letter-spacing: .18em;
   text-transform: uppercase;
   color: var(--color-accent-dark);
   background: rgba(224, 160, 46, .12);
   padding: .4rem 1rem;
   border-radius: 100px;
   margin-bottom: 1rem;
}

.section-title {
   font-size: clamp(1.7rem, 3.6vw, 2.6rem);
   font-weight: 700;
   margin-bottom: 1rem;
}

.section-lead {
   font-size: 1.06rem;
   color: var(--color-body);
   max-width: 620px;
   margin-bottom: 1.4rem;
}

.section-lead.mx-auto {
   margin-left: auto;
   margin-right: auto;
}

.txt-accent {
   color: var(--color-accent);
}

/* Buttons */
.btn-cta {
   background: var(--color-accent);
   color: #1c1204;
   font-family: var(--font-display);
   font-weight: 600;
   border: none;
   padding: .78rem 1.7rem;
   border-radius: 100px;
   box-shadow: var(--shadow-gold);
   transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-cta:hover {
   background: var(--color-accent-dark);
   color: #1c1204;
   transform: translateY(-3px);
   box-shadow: 0 20px 40px rgba(224, 160, 46, .42);
}

.btn-cta.btn-sm {
   padding: .55rem 1.2rem;
   font-size: .9rem;
}

.btn-outline-light-2 {
   background: transparent;
   color: #fff;
   border: 1.6px solid rgba(255, 255, 255, .7);
   font-family: var(--font-display);
   font-weight: 600;
   padding: .74rem 1.6rem;
   border-radius: 100px;
   transition: var(--transition);
}

.btn-outline-light-2:hover {
   background: #fff;
   color: var(--color-primary-dark);
   border-color: #fff;
}

/* Reveal-on-scroll base state (JS toggles .in) */
.reveal {
   opacity: 0;
   transform: translateY(34px);
   transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}

.reveal.in {
   opacity: 1;
   transform: none;
}

/* Net/mesh signature decoration */
.net-decor {
   position: absolute;
   width: 120px;
   height: 120px;
   opacity: .5;
   pointer-events: none;
   background-image: linear-gradient(45deg, var(--color-accent) 1px, transparent 1px), linear-gradient(-45deg, var(--color-accent) 1px, transparent 1px);
   background-size: 14px 14px;
}

.net-decor--tl {
   top: -22px;
   left: -22px;
   opacity: .35;
}

/* =====================================================================
   1. TOP BAR
   ===================================================================== */
.topbar {
   background: var(--color-primary-dark);
   color: #cfe3e5;
   font-size: .84rem;
   padding: .5rem 0;
}

.topbar a {
   color: #cfe3e5;
   transition: color var(--transition);
}

.topbar a:hover {
   color: var(--color-accent);
}

.topbar-contact a {
   font-weight: 500;
}

.topbar-contact i,
.topbar-social i {
   color: var(--color-accent);
   margin-right: .35rem;
}

.topbar-divider {
   color: rgba(255, 255, 255, .25);
}

.topbar-note {
   color: #a9c6c9;
   font-weight: 500;
   margin-right: .4rem;
}

.topbar-social a {
   display: inline-grid;
   place-items: center;
   width: 26px;
   height: 26px;
   border-radius: 50%;
   background: rgba(255, 255, 255, .08);
}

.topbar-social a i {
   margin: 0;
}

.topbar-social a:hover {
   background: var(--color-accent);
}

.topbar-social a:hover i {
   color: #1c1204;
}

/* =====================================================================
   2. STICKY HEADER
   ===================================================================== */
.site-header {
   position: sticky;
   top: 0;
   z-index: 1030;
   background: rgba(255, 255, 255, .92);
   backdrop-filter: blur(10px);
   border-bottom: 1px solid var(--color-line);
   transition: box-shadow var(--transition), padding var(--transition);
}

.site-header.scrolled {
   box-shadow: var(--shadow-sm);
}

.navbar-brand {
   display: flex;
   align-items: center;
   gap: .6rem;
}

.brand-mark {
   display: grid;
   place-items: center;
   width: 44px;
   height: 44px;
   border-radius: 12px;
   background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
   color: #fff;
   font-size: 1.3rem;
   box-shadow: var(--shadow-sm);
}

.brand-text {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: 1.28rem;
   line-height: 1;
   color: var(--color-ink);
   display: flex;
   flex-direction: column;
}

.brand-text small {
   font-weight: 500;
   font-size: .62rem;
   letter-spacing: .22em;
   text-transform: uppercase;
   color: var(--color-muted);
}

.brand-accent {
   color: var(--color-accent);
}

.navbar-nav .nav-link {
   font-family: var(--font-display);
   font-weight: 500;
   color: var(--color-ink);
   padding: .5rem .9rem;
   position: relative;
}

.navbar-nav .nav-link::after {
   content: '';
   position: absolute;
   left: .9rem;
   right: .9rem;
   bottom: .3rem;
   height: 2px;
   background: var(--color-accent);
   transform: scaleX(0);
   transform-origin: left;
   transition: transform var(--transition);
}

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

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

/* Custom hamburger */
.navbar-toggler {
   border: none;
   padding: .4rem;
}

.navbar-toggler:focus {
   box-shadow: none;
}

.toggler-bar {
   display: block;
   width: 26px;
   height: 2.6px;
   background: var(--color-ink);
   border-radius: 3px;
   margin: 5px 0;
   transition: var(--transition);
}

/* =====================================================================
   3. HERO CAROUSEL  (content on the LEFT)
   ===================================================================== */
.hero {
   position: relative;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
   height: clamp(520px, 84vh, 760px);
}

.hero-slide {
   width: 100%;
   height: 100%;
   background-size: cover;
   background-position: center;
   position: relative;
}

.hero-slide::after {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(100deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.7) 38%, rgba(0, 0, 0, 0.15) 72%, rgba(8, 42, 47, 0) 100%);
}

/* subtle net texture over hero */
.hero-slide::before {
   content: '';
   position: absolute;
   inset: 0;
   z-index: 1;
   opacity: .18;
   background-image: linear-gradient(45deg, rgba(255, 255, 255, .6) 1px, transparent 1px), linear-gradient(-45deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
   background-size: 26px 26px;
}

.hero-overlay {
   position: absolute;
   inset: 0;
   display: flex;
   align-items: center;
   z-index: 5;
}

.hero-content {
   max-width: 620px;
   color: #fff;
}

.hero-eyebrow {
   display: inline-flex;
   align-items: center;
   gap: .5rem;
   font-family: var(--font-display);
   font-weight: 600;
   font-size: .82rem;
   letter-spacing: .05em;
   background: rgba(255, 255, 255, .12);
   border: 1px solid rgba(255, 255, 255, .22);
   padding: .5rem 1.1rem;
   border-radius: 100px;
   margin-bottom: 1.3rem;
}

.hero-eyebrow i {
   color: var(--color-accent);
}

.hero-title {
   font-size: clamp(2.1rem, 5.4vw, 3.7rem);
   font-weight: 800;
   color: #fff;
   margin-bottom: 1.1rem;
}

.hero-lead {
   font-size: 1.12rem;
   color: rgba(255, 255, 255, .9);
   max-width: 520px;
   margin-bottom: 1.8rem;
}

.hero-actions {
   display: flex;
   flex-wrap: wrap;
   gap: 1rem;
   margin-bottom: 1.8rem;
}

.hero-usp {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   flex-wrap: wrap;
   gap: 1.3rem;
}

.hero-usp li {
   display: flex;
   align-items: center;
   gap: .5rem;
   color: rgba(255, 255, 255, .92);
   font-weight: 500;
   font-size: .95rem;
}

.hero-usp i {
   color: var(--color-accent);
   font-size: 1.15rem;
}

.hero-indicators {
   bottom: 1.4rem;
   z-index: 6;
}

.hero-indicators button {
   width: 34px;
   height: 5px;
   border-radius: 100px;
   background: rgba(255, 255, 255, .45);
   border: none;
}

.hero-indicators button.active {
   background: var(--color-accent);
   width: 50px;
}

/* =====================================================================
   4. MARQUEE (rAF)
   ===================================================================== */
.marquee {
   background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
   overflow: hidden;
   padding: .95rem 0;
   position: relative;
}

.marquee-track {
   display: flex;
   white-space: nowrap;
   will-change: transform;
}

.marquee-item {
   display: inline-flex;
   align-items: center;
   gap: .6rem;
   color: #fff;
   font-family: var(--font-display);
   font-weight: 600;
   font-size: 1.05rem;
   padding: 0 2.2rem;
   letter-spacing: .02em;
}

.marquee-item i {
   color: var(--color-accent);
   font-size: .6rem;
}

/* =====================================================================
   5. ABOUT
   ===================================================================== */
.about-media {
   position: relative;
   padding: 0 1rem 2.4rem 0;
}

.about-img-main {
   width: 88%;
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow-md);
   object-fit: cover;
   aspect-ratio: 4/3.4;
}

.about-img-sub {
   position: absolute;
   right: 0;
   bottom: 0;
   width: 46%;
   border: 6px solid #fff;
   border-radius: var(--radius);
   box-shadow: var(--shadow-md);
   object-fit: cover;
   aspect-ratio: 4/3;
}

.about-badge {
   position: absolute;
   top: 1.4rem;
   right: -.4rem;
   background: var(--color-accent);
   color: #1c1204;
   border-radius: var(--radius);
   padding: .9rem 1.2rem;
   text-align: center;
   box-shadow: var(--shadow-gold);
   line-height: 1.05;
}

.about-badge-num {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: 2rem;
}

.about-badge small {
   display: block;
   font-size: .68rem;
   font-weight: 600;
   max-width: 110px;
   margin-top: .2rem;
}

.about-points {
   display: grid;
   gap: 1rem;
   margin: 1.6rem 0;
}

.about-point {
   display: flex;
   gap: .9rem;
   align-items: flex-start;
}

.about-point i {
   flex: none;
   width: 44px;
   height: 44px;
   display: grid;
   place-items: center;
   border-radius: 12px;
   background: var(--color-primary-soft);
   color: var(--color-primary);
   font-size: 1.25rem;
}

.about-point strong {
   display: block;
   font-family: var(--font-display);
   color: var(--color-ink);
}

.about-point span {
   font-size: .92rem;
   color: var(--color-body);
}

/* Counter strip */
.counter-strip {
   margin-top: clamp(2.5rem, 5vw, 4rem);
   padding: 2rem 1rem;
   background: var(--color-primary);
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow-md);
}

.counter-strip [class^="col"] {
   border-right: 1px solid rgba(255, 255, 255, .14);
}

.counter-strip [class^="col"]:last-child {
   border-right: none;
}

.counter,
.counter-plus {
   font-family: var(--font-display);
   font-weight: 800;
   font-size: clamp(1.8rem, 4vw, 2.7rem);
   color: #fff;
}

.counter-plus {
   color: var(--color-accent);
}

.counter-strip p {
   color: rgba(255, 255, 255, .82);
   margin: .3rem 0 0;
   font-size: .92rem;
}

/* =====================================================================
   6. SERVICES — 4-per-row card grid (image + name + content)
   ===================================================================== */
.service-grid {
   margin-top: 2.6rem;
}

.service-card {
   background: #fff;
   border: 1px solid var(--color-line);
   border-radius: var(--radius);
   overflow: hidden;
   height: 100%;
   display: flex;
   flex-direction: column;
   box-shadow: var(--shadow-sm);
   transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card-img {
   position: relative;
   overflow: hidden;
   aspect-ratio: 4/3;
}

.service-card-img img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.service-card-ic {
   position: absolute;
   left: 1rem;
   bottom: 4px;
   width: 46px;
   height: 46px;
   display: grid;
   place-items: center;
   border-radius: 12px;
   background: var(--color-accent);
   color: #1c1204;
   font-size: 1.25rem;
   box-shadow: var(--shadow-gold);
   transition: var(--transition);
}

.service-card-body {
   padding: 2rem 1.3rem 1.5rem;
   display: flex;
   flex-direction: column;
   flex: 1;
}

.service-card-body h3 {
   font-size: 1.16rem;
   font-weight: 700;
   margin-bottom: .5rem;
}

.service-card-body p {
   font-size: .92rem;
   margin-bottom: 1rem;
   flex: 1;
}

.service-card-link {
   font-family: var(--font-display);
   font-weight: 600;
   font-size: .92rem;
   color: var(--color-primary);
   display: inline-flex;
   align-items: center;
   gap: .2rem;
}

.service-card-link i {
   transition: transform var(--transition);
}

/* Distinct card hover: lift + image zoom + icon flip to teal */
.service-card:hover {
   transform: translateY(-8px);
   box-shadow: var(--shadow-lg);
   border-color: var(--color-primary);
}

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

.service-card:hover .service-card-ic {
   background: var(--color-primary);
   color: #fff;
   transform: rotate(-8deg);
}

.service-card:hover .service-card-link i {
   transform: translateX(5px);
}

/* =====================================================================
   7. WHY CHOOSE US — blink-wave cards
   ===================================================================== */
.why-cards {
   margin-top: 2.6rem;
}

.why-card {
   background: #fff;
   border: 1px solid var(--color-line);
   border-radius: var(--radius);
   padding: 2rem 1.6rem;
   height: 100%;
   text-align: center;
   transition: transform var(--transition), box-shadow var(--transition);
}

.why-icon {
   display: inline-grid;
   place-items: center;
   width: 66px;
   height: 66px;
   border-radius: 18px;
   background: var(--color-primary-soft);
   color: var(--color-primary);
   font-size: 1.7rem;
   margin-bottom: 1.1rem;
   transition: var(--transition);
}

.why-card h3 {
   font-size: 1.18rem;
   font-weight: 700;
   margin-bottom: .5rem;
}

.why-card p {
   font-size: .94rem;
   margin: 0;
}

.why-card:hover {
   transform: translateY(-8px) scale(1.015);
   box-shadow: var(--shadow-md);
}

.why-card:hover .why-icon {
   background: var(--color-accent);
   color: #1c1204;
   transform: rotate(-6deg);
}

/* Sequential colour-blink wave: each card lights up one after another */
.blink-wave .why-card {
   animation: blinkWave 4s ease-in-out infinite;
}

.blink-wave>div:nth-child(1) .why-card {
   animation-delay: 0s;
}

.blink-wave>div:nth-child(2) .why-card {
   animation-delay: .5s;
}

.blink-wave>div:nth-child(3) .why-card {
   animation-delay: 1s;
}

.blink-wave>div:nth-child(4) .why-card {
   animation-delay: 1.5s;
}

@keyframes blinkWave {

   0%,
   55%,
   100% {
      border-color: var(--color-line);
      box-shadow: var(--shadow-sm);
   }

   20% {
      border-color: var(--color-accent);
      box-shadow: 0 0 0 3px rgba(224, 160, 46, .18), var(--shadow-md);
   }
}

.blink-wave .why-card {
   border-width: 1.5px;
}

/* =====================================================================
   8. HOW IT WORKS — horizontal timeline
   ===================================================================== */
.timeline {
   position: relative;
   margin-top: 3rem;
}

.timeline-line {
   position: absolute;
   top: 34px;
   left: 12%;
   right: 12%;
   height: 2px;
   background: repeating-linear-gradient(90deg, var(--color-primary) 0 10px, transparent 10px 20px);
   opacity: .35;
}

.step {
   text-align: center;
   padding: 0 .6rem;
   position: relative;
}

.step-num {
   display: inline-grid;
   place-items: center;
   width: 68px;
   height: 68px;
   border-radius: 50%;
   background: #fff;
   border: 2px solid var(--color-primary);
   color: var(--color-primary);
   font-family: var(--font-display);
   font-weight: 800;
   font-size: 1.5rem;
   margin-bottom: 1rem;
   position: relative;
   z-index: 2;
   transition: var(--transition);
   box-shadow: var(--shadow-sm);
}

.step:hover .step-num {
   background: var(--color-primary);
   color: #fff;
   transform: translateY(-5px);
}

.step-ic {
   display: block;
   font-size: 1.5rem;
   color: var(--color-accent);
   margin-bottom: .5rem;
}

.step h3 {
   font-size: 1.16rem;
   font-weight: 700;
   margin-bottom: .4rem;
}

.step p {
   font-size: .92rem;
   margin: 0;
}

/* =====================================================================
   10. GALLERY — 4 cols desktop / 2 cols mobile + lightbox
   ===================================================================== */
.gallery-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 1rem;
   margin-top: 2.6rem;
}

.gallery-item {
   position: relative;
   margin: 0;
   border-radius: var(--radius);
   overflow: hidden;
   cursor: pointer;
   box-shadow: var(--shadow-sm);
   aspect-ratio: 1/1;
}

.gallery-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.gallery-item figcaption {
   position: absolute;
   inset: auto 0 0 0;
   padding: 1.4rem 1rem .9rem;
   color: #fff;
   font-family: var(--font-display);
   font-weight: 600;
   background: linear-gradient(transparent, rgba(8, 42, 47, .85));
   transform: translateY(8px);
   opacity: 0;
   transition: var(--transition);
}

.gallery-item::after {
   content: '\F52A';
   font-family: 'bootstrap-icons';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%) scale(.6);
   width: 52px;
   height: 52px;
   display: grid;
   place-items: center;
   border-radius: 50%;
   background: var(--color-accent);
   color: #1c1204;
   font-size: 1.2rem;
   opacity: 0;
   transition: var(--transition);
}

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

.gallery-item:hover figcaption {
   transform: none;
   opacity: 1;
}

.gallery-item:hover::after {
   opacity: 1;
   transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
.lightbox {
   position: fixed;
   inset: 0;
   z-index: 2000;
   background: rgba(8, 20, 23, .92);
   display: grid;
   place-items: center;
   padding: 2rem;
   animation: fadeIn .3s ease;
}

.lightbox[hidden] {
   display: none;
}

.lightbox img {
   max-width: 92vw;
   max-height: 86vh;
   border-radius: var(--radius);
   box-shadow: var(--shadow-lg);
}

.lightbox-close {
   position: absolute;
   top: 1.4rem;
   right: 1.6rem;
   width: 46px;
   height: 46px;
   border-radius: 50%;
   border: none;
   background: rgba(255, 255, 255, .14);
   color: #fff;
   font-size: 1.2rem;
   cursor: pointer;
   transition: var(--transition);
}

.lightbox-close:hover {
   background: var(--color-accent);
   color: #1c1204;
}

@keyframes fadeIn {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

/* =====================================================================
   11. FAQ — custom accordion
   ===================================================================== */
.faq-list {
   display: grid;
   gap: 1rem;
}

.faq-item {
   background: #fff;
   border: 1px solid var(--color-line);
   border-radius: var(--radius);
   overflow: hidden;
   transition: var(--transition);
}

.faq-item.open {
   border-color: var(--color-primary);
   box-shadow: var(--shadow-sm);
}

.faq-q {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 1rem;
   padding: 1.15rem 1.3rem;
   background: none;
   border: none;
   text-align: left;
   font-family: var(--font-display);
   font-weight: 600;
   font-size: 1.02rem;
   color: var(--color-ink);
   cursor: pointer;
}

.faq-q i {
   flex: none;
   width: 30px;
   height: 30px;
   display: grid;
   place-items: center;
   border-radius: 8px;
   background: var(--color-primary-soft);
   color: var(--color-primary);
   transition: var(--transition);
}

.faq-item.open .faq-q i {
   background: var(--color-accent);
   color: #1c1204;
   transform: rotate(135deg);
}

.faq-a {
   max-height: 0;
   overflow: hidden;
   transition: max-height .4s ease;
}

.faq-a p {
   padding: 0 1.3rem 1.2rem;
   margin: 0;
   font-size: .95rem;
}

/* =====================================================================
   12. TESTIMONIALS — custom slider
   ===================================================================== */
.testi-slider {
   margin-top: 2.6rem;
   overflow: hidden;
   padding: 4px 0;
}

.testi-track {
   display: flex;
   transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

/* Each slide is exactly ONE track-width (flex:0 0 100%) so translateX(index*-100%)
   always lines up. The visible white box is a capped, centred inner wrapper. */
.testi-card {
   flex: 0 0 100%;
   width: 100%;
   box-sizing: border-box;
   margin: 0;
   padding: 0 clamp(.3rem, 2vw, 1rem);
   display: flex;
   justify-content: center;
}

.testi-inner {
   background: #fff;
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow-md);
   text-align: center;
   position: relative;
   width: 100%;
   max-width: 780px;
   padding: 2.4rem clamp(1.4rem, 5vw, 3rem);
}

.testi-quote {
   font-size: 2.6rem;
   color: var(--color-accent);
   opacity: .5;
}

.testi-inner blockquote {
   font-size: 1.18rem;
   color: var(--color-ink);
   font-weight: 500;
   line-height: 1.6;
   margin: .6rem 0 1.6rem;
}

.testi-inner figcaption {
   display: inline-flex;
   align-items: center;
   gap: .8rem;
}

.testi-inner figcaption img {
   width: 54px;
   height: 54px;
   border-radius: 50%;
   object-fit: cover;
   border: 3px solid var(--color-primary-soft);
}

.testi-inner figcaption span {
   text-align: left;
}

.testi-inner figcaption strong {
   display: block;
   font-family: var(--font-display);
   color: var(--color-ink);
}

.testi-inner figcaption small {
   color: var(--color-muted);
}

.testi-controls {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 1.2rem;
   margin-top: 1.8rem;
}

.testi-btn {
   width: 48px;
   height: 48px;
   border-radius: 50%;
   border: 1.6px solid var(--color-line);
   background: #fff;
   color: var(--color-primary);
   font-size: 1.1rem;
   cursor: pointer;
   transition: var(--transition);
}

.testi-btn:hover {
   background: var(--color-primary);
   color: #fff;
   border-color: var(--color-primary);
}

.testi-dots {
   display: flex;
   gap: .5rem;
}

.testi-dots button {
   width: 9px;
   height: 9px;
   padding: 0;
   border-radius: 50%;
   border: none;
   background: var(--color-line);
   cursor: pointer;
   transition: var(--transition);
}

.testi-dots button.active {
   background: var(--color-accent);
   width: 26px;
   border-radius: 100px;
}

/* =====================================================================
   14. CONTACT
   ===================================================================== */
.contact-form {
   background: #fff;
   border: 1px solid var(--color-line);
   border-radius: var(--radius-lg);
   padding: clamp(1.6rem, 4vw, 2.6rem);
   box-shadow: var(--shadow-sm);
   height: 100%;
}

.form-label {
   font-family: var(--font-display);
   font-weight: 500;
   font-size: .9rem;
   color: var(--color-ink);
   margin-bottom: .35rem;
}

.contact-form .form-control,
.contact-form .form-select {
   border: 1.4px solid var(--color-line);
   border-radius: var(--radius-sm);
   padding: .7rem .9rem;
   font-size: .96rem;
   transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
   border-color: var(--color-primary);
   box-shadow: 0 0 0 3px rgba(14, 90, 99, .12);
}

.form-note {
   margin: .8rem 0 0;
   font-weight: 600;
   font-family: var(--font-display);
   font-size: .9rem;
}

.form-note.ok {
   color: #1c7a3e;
}

.form-note.err {
   color: #c0392b;
}

.contact-info {
   background: var(--color-primary);
   border-radius: var(--radius-lg);
   padding: clamp(1.8rem, 4vw, 2.6rem);
   height: 100%;
   color: #fff;
   display: grid;
   gap: 1.5rem;
   align-content: center;
   position: relative;
   overflow: hidden;
}

.contact-info::before {
   content: '';
   position: absolute;
   right: -40px;
   top: -40px;
   width: 160px;
   height: 160px;
   opacity: .12;
   background-image: linear-gradient(45deg, #fff 1px, transparent 1px), linear-gradient(-45deg, #fff 1px, transparent 1px);
   background-size: 16px 16px;
}

.info-item {
   display: flex;
   gap: 1rem;
   align-items: flex-start;
   position: relative;
   z-index: 1;
}

.info-ic {
   flex: none;
   width: 48px;
   height: 48px;
   display: grid;
   place-items: center;
   border-radius: 12px;
   background: rgba(255, 255, 255, .12);
   color: var(--color-accent);
   font-size: 1.25rem;
}

.info-item strong {
   font-family: var(--font-display);
   display: block;
   margin-bottom: .2rem;
}

.info-item p {
   margin: 0;
   color: rgba(255, 255, 255, .85);
   font-size: .95rem;
}

.info-item a {
   color: rgba(255, 255, 255, .92);
}

.info-item a:hover {
   color: var(--color-accent);
}

/* =====================================================================
   15. FOOTER
   ===================================================================== */
.site-footer {
   background: var(--bg-dark);
   color: #b8ccce;
   padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
   position: relative;
}

.footer-net {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 5px;
   background: repeating-linear-gradient(45deg, var(--color-accent) 0 12px, var(--color-primary) 12px 24px);
}

.footer-brand {
   display: inline-flex;
   align-items: center;
   gap: .6rem;
   margin-bottom: 1rem;
}

.footer-brand .brand-text {
   color: #fff;
}

.footer-about {
   font-size: .94rem;
   color: #9ab3b6;
   max-width: 340px;
}

.footer-social {
   display: flex;
   gap: .6rem;
   margin-top: 1rem;
}

.footer-social a {
   width: 38px;
   height: 38px;
   display: grid;
   place-items: center;
   border-radius: 10px;
   background: rgba(255, 255, 255, .07);
   color: #cfe3e5;
   transition: var(--transition);
}

.footer-social a:hover {
   background: var(--color-accent);
   color: #1c1204;
   transform: translateY(-3px);
}

.footer-title {
   color: #fff;
   font-size: 1.05rem;
   font-weight: 600;
   margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
   list-style: none;
   padding: 0;
   margin: 0;
   display: grid;
   gap: .6rem;
}

.footer-links a {
   color: #9ab3b6;
   font-size: .94rem;
   transition: var(--transition);
}

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

.footer-contact li {
   font-size: .92rem;
   color: #9ab3b6;
   display: flex;
   gap: .6rem;
   align-items: flex-start;
}

.footer-contact i {
   color: var(--color-accent);
   margin-top: .2rem;
}

.footer-contact a {
   color: #9ab3b6;
}

.footer-contact a:hover {
   color: var(--color-accent);
}

.footer-bottom {
   display: flex;
   flex-wrap: wrap;
   gap: .5rem;
   justify-content: space-between;
   margin-top: 2.5rem;
   padding-top: 1.4rem;
   border-top: 1px solid rgba(255, 255, 255, .09);
   font-size: .86rem;
   color: #7f9a9d;
}

.footer-bottom p {
   margin: 0;
}

/* =====================================================================
   13. FLOATING BUTTONS + BACK TO TOP
   ===================================================================== */
.float-btn {
   position: fixed;
   bottom: 22px;
   z-index: 1200;
   width: 56px;
   height: 56px;
   border-radius: 50%;
   display: grid;
   place-items: center;
   color: #fff;
   font-size: 1.5rem;
   box-shadow: var(--shadow-md);
   transition: transform var(--transition);
}

.float-wa {
   left: 22px;
   background: #25d366;
}

.float-call {
   right: 22px;
   background: var(--color-primary);
}

.float-btn:hover {
   transform: scale(1.1);
   color: #fff;
}

/* Pulse rings */
.float-btn::before {
   content: '';
   position: absolute;
   inset: 0;
   border-radius: 50%;
   z-index: -1;
   animation: pulseRing 2s ease-out infinite;
}

.float-wa::before {
   background: rgba(37, 211, 102, .55);
}

.float-call::before {
   background: rgba(14, 90, 99, .5);
}

@keyframes pulseRing {
   0% {
      transform: scale(1);
      opacity: .8;
   }

   100% {
      transform: scale(1.9);
      opacity: 0;
   }
}

.to-top {
   position: fixed;
   bottom: 88px;
   right: 22px;
   z-index: 1200;
   width: 46px;
   height: 46px;
   border-radius: 50%;
   border: none;
   background: var(--color-accent);
   color: #1c1204;
   font-size: 1.1rem;
   cursor: pointer;
   box-shadow: var(--shadow-gold);
   opacity: 0;
   visibility: hidden;
   transform: translateY(12px);
   transition: var(--transition);
}

.to-top.show {
   opacity: 1;
   visibility: visible;
   transform: none;
}

/* Floating ambient icons (about + hero) */
.float-y {
   animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {

   0%,
   100% {
      transform: translateY(0);
   }

   50% {
      transform: translateY(-10px);
   }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991.98px) {
   .navbar-collapse {
      background: #fff;
      border: 1px solid var(--color-line);
      border-radius: var(--radius);
      padding: 1rem;
      margin-top: .8rem;
      box-shadow: var(--shadow-md);
   }

   .navbar-nav .nav-link::after {
      display: none;
   }

   .navbar-nav .btn-cta {
      display: inline-block;
      margin-top: .6rem;
   }

   .hero-content {
      max-width: 100%;
   }

   .counter-strip [class^="col"]:nth-child(2) {
      border-right: none;
   }
}

@media (max-width: 767.98px) {
	.cu-ds-nn{
		display:none!important
	}
	.cu-jf-cntr{
		justify-content:center!important
	}
   html {
      scroll-padding-top: 76px;
   }

   /* Gallery: 2 columns on mobile */
   .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: .7rem;
   }

   .timeline-line {
      display: none;
   }

   .about-media {
      padding-bottom: 1rem;
   }

   .about-img-main {
      width: 100%;
   }

   .about-img-sub {
      display: none;
   }

   .about-badge {
      top: 1rem;
      right: 1rem;
   }

   .counter-strip [class^="col"] {
      border-right: none;
      border-bottom: 1px solid rgba(255, 255, 255, .14);
      padding-bottom: 1rem;
   }

   .counter-strip [class^="col"]:last-child {
      border-bottom: none;
   }

   .footer-bottom {
      justify-content: center;
      text-align: center;
   }

   .hero-carousel,
   .hero-carousel .carousel-inner,
   .hero-carousel .carousel-item {
      height: clamp(480px, 90vh, 640px);
   }

   .float-btn {
      width: 50px;
      height: 50px;
      font-size: 1.3rem;
   }
}

@media (max-width: 420px) {
   .hero-actions .btn {
      width: 100%;
      text-align: center;
   }

   .hero-usp {
      gap: .6rem 1.1rem;
   }
}

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
   outline: 3px solid var(--color-accent);
   outline-offset: 2px;
}