/* =====================================================================
   ATT Installatietechniek — Visual theme layer
   Loaded after style.css. Colors, gradients, animations & transitions.
   ===================================================================== */

:root {
    --att-navy: #0A1633;
    --att-navy-2: #12285A;
    --att-blue: #1E60AA;
    --att-sky: #3BA4FF;
    --att-cyan: #7DE3FF;
    --att-orange: #FF6A2B;
    --att-amber: #FFB347;
    --att-red: #FF3C00;
    --att-ink: #17224D;
    --att-mist: #F3F7FF;

    --grad-blue: linear-gradient(135deg, #3BA4FF 0%, #1E60AA 55%, #12285A 100%);
    --grad-fire: linear-gradient(135deg, #FFB347 0%, #FF7E2F 50%, #FF3C00 100%);
    --grad-night: radial-gradient(1200px 600px at 10% 0%, #1B3F86 0%, transparent 60%),
                  radial-gradient(900px 500px at 100% 100%, rgba(255, 106, 43, .25) 0%, transparent 60%),
                  linear-gradient(160deg, #0A1633 0%, #050B1C 100%);

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --shadow-soft: 0 18px 50px -18px rgba(10, 22, 51, .35);
    --shadow-lift: 0 30px 70px -20px rgba(10, 22, 51, .45);

    --primary: #1E60AA;
    --secondary: #FF6A2B;
    --dark: #0A1633;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: #4A5778;
    background:
        radial-gradient(800px 400px at 0% 0%, rgba(59, 164, 255, .08), transparent 60%),
        radial-gradient(700px 400px at 100% 30%, rgba(255, 106, 43, .06), transparent 60%),
        #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-3 {
    font-family: 'Outfit', 'Roboto', sans-serif;
    color: var(--att-ink);
    letter-spacing: -.01em;
}

::selection { background: var(--att-orange); color: #fff; }

/* Section eyebrow (h6.text-secondary) */
h6.text-secondary.text-uppercase {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .18em;
    font-size: .8rem;
    font-weight: 700;
    background: var(--grad-fire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h6.text-secondary.text-uppercase::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: var(--grad-fire);
    animation: eyebrowGrow 1.4s var(--ease-out) both;
}

@keyframes eyebrowGrow { from { width: 0; } to { width: 34px; } }

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

.bg-primary {
    background: var(--grad-blue) !important;
    background-size: 200% 200% !important;
}

.btn-primary {
    background: var(--grad-blue);
    background-size: 200% 200%;
    border: none;
    transition: background-position .6s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s;
}

.btn-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(30, 96, 170, .7);
}

a { transition: color .25s ease; }

/* ---------- Scroll progress bar ---------- */
.att-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--att-cyan), var(--att-sky), var(--att-orange));
    box-shadow: 0 0 12px rgba(59, 164, 255, .8);
    z-index: 100000;
    pointer-events: none;
}

/* ---------- Spinner: water drop loader ---------- */
#spinner {
    background: var(--grad-night) !important;
}

#spinner .spinner-border { display: none; }

.att-loader {
    position: relative;
    width: 70px;
    height: 70px;
}

.att-loader .drop {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--att-cyan), var(--att-sky));
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    animation: loaderDrop 1.2s var(--ease-out) infinite;
    box-shadow: 0 0 30px rgba(125, 227, 255, .7);
}

.att-loader .ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 2px solid rgba(125, 227, 255, .5);
    animation: loaderRing 1.2s ease-out infinite;
}

@keyframes loaderDrop {
    0%, 100% { transform: rotate(45deg) translate(-4px, -4px) scale(.9); }
    50% { transform: rotate(45deg) translate(4px, 4px) scale(1.05); }
}

@keyframes loaderRing {
    from { transform: scale(.4); opacity: 1; }
    to { transform: scale(1.3); opacity: 0; }
}

/* ---------- Topbar ---------- */
.container-fluid.bg-light:has(> .top-bar) {
    background: linear-gradient(90deg, #F3F7FF, #FFFFFF 40%, #FFF4EC) !important;
    border-bottom: 1px solid rgba(30, 96, 170, .08);
}

.top-bar .btn-sm-square {
    border-radius: 50%;
    box-shadow: 0 6px 16px -6px rgba(10, 22, 51, .3);
    transition: transform .35s var(--ease-out), background .35s, color .35s;
}

.top-bar .btn-sm-square:hover {
    transform: translateY(-3px) rotate(-8deg);
    background: var(--grad-fire) !important;
    color: #fff !important;
}

/* ---------- Navbar ---------- */
.nav-bar,
.nav-bar .navbar {
    transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}

.nav-bar.sticky-top {
    background: rgba(255, 255, 255, .78) !important;
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.nav-bar.sticky-top .navbar { background: transparent !important; }

.navbar-light .navbar-nav .nav-link {
    position: relative;
    transition: color .3s ease;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 18px;
        width: 100%;
        height: 3px;
        border-radius: 3px;
        background: var(--grad-fire);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform .45s var(--ease-out);
    }

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

    .navbar .nav-item .dropdown-menu {
        border-radius: 16px;
        padding: 10px;
        box-shadow: var(--shadow-lift);
        border-top: 3px solid var(--att-orange) !important;
    }
}

.dropdown-item {
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 500;
    transition: background .3s ease, padding-left .3s var(--ease-out), color .3s;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: linear-gradient(90deg, rgba(59, 164, 255, .14), rgba(255, 106, 43, .1));
    color: var(--att-blue);
    padding-left: 22px;
}

/* Header CTA box */
.navbar .bg-primary.d-flex {
    background: var(--grad-night) !important;
    position: relative;
    overflow: hidden;
}

.emergency-box {
    background: transparent !important;
}

.emergency-box .bg-white {
    border-radius: 50%;
    position: relative;
}

.emergency-box .bg-white::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 179, 71, .8);
    animation: ringPulse 2s ease-out infinite;
}

.emergency-box .fa-phone-alt { animation: phoneShake 2.6s ease-in-out infinite; }

@keyframes ringPulse {
    from { transform: scale(.85); opacity: 1; }
    to { transform: scale(1.5); opacity: 0; }
}

@keyframes phoneShake {
    0%, 70%, 100% { transform: rotate(0); }
    74% { transform: rotate(-18deg); }
    78% { transform: rotate(16deg); }
    82% { transform: rotate(-12deg); }
    86% { transform: rotate(10deg); }
    90% { transform: rotate(0); }
}

/* ---------- Hero ---------- */
.header-carousel { overflow: hidden; }

.header-carousel .owl-carousel-item img {
    transform-origin: 60% 40%;
}

.header-carousel .owl-item.active .owl-carousel-item img {
    animation: kenBurns 9s ease-out both;
}

@keyframes kenBurns {
    from { transform: scale(1.18) translate3d(-1%, -1%, 0); }
    to { transform: scale(1) translate3d(0, 0, 0); }
}

.hero-overlay {
    background:
        radial-gradient(700px 500px at 85% 50%, rgba(59, 164, 255, .35), transparent 60%),
        radial-gradient(500px 400px at 0% 100%, rgba(255, 106, 43, .35), transparent 60%),
        linear-gradient(90deg, rgba(10, 22, 51, .92) 0%, rgba(10, 22, 51, .6) 50%, rgba(10, 22, 51, .25) 100%);
}

.hero-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/art/pattern-grid.svg);
    mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
    pointer-events: none;
}

.hero-content { backdrop-filter: none; }

.header-carousel .container {
    border-left: 0;
    padding-left: 40px;
}

.header-carousel .container::before,
.header-carousel .container::after { display: none; }

.header-carousel .hero-content {
    position: relative;
    padding-left: 28px;
}

.header-carousel .hero-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 5px;
    border-radius: 5px;
    background: linear-gradient(180deg, var(--att-cyan), var(--att-sky) 40%, var(--att-orange));
    box-shadow: 0 0 18px rgba(125, 227, 255, .7);
}

.header-carousel h1.display-3 {
    color: #fff;
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

.header-carousel h5 {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: .85rem;
    letter-spacing: .14em;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
}

/* Staggered entrance on each active slide */
.header-carousel .owl-item .hero-content > * { opacity: 0; }

.header-carousel .owl-item.active .hero-content > * {
    animation: heroIn 1s var(--ease-out) both;
}

.header-carousel .owl-item.active .hero-content > *:nth-child(1) { animation-delay: .2s; }
.header-carousel .owl-item.active .hero-content > *:nth-child(2) { animation-delay: .4s; }
.header-carousel .owl-item.active .hero-content > *:nth-child(3) { animation-delay: .6s; }
.header-carousel .owl-item.active .hero-content > *:nth-child(4) { animation-delay: .8s; }

@keyframes heroIn {
    from { opacity: 0; transform: translateY(40px); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: none; }
}

/* Floating illustration over the hero */
.hero-art {
    position: absolute;
    right: 4%;
    top: 50%;
    width: min(38vw, 500px);
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
    animation: heroFloat 7s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35));
}

.hero-art img { width: 100%; height: auto; }

@keyframes heroFloat {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(calc(-50% - 18px)) rotate(1.5deg); }
}

/* Scroll cue */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 20px;
    z-index: 6;
}

.hero-scroll::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100% { opacity: 0; }
}

/* Hero nav: glass pills at bottom-left */
.header-carousel .owl-nav {
    top: auto;
    bottom: 30px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 90px;
    z-index: 6;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 0;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .35);
    backdrop-filter: blur(8px);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--grad-fire);
    border-color: transparent;
    transform: scale(1.1);
}

@media (max-width: 991.98px) {
    .hero-art,
    .hero-scroll { display: none; }

    .header-carousel .owl-nav { gap: 16px; bottom: 18px; }

    .header-carousel h5 { letter-spacing: .06em; font-size: .72rem; }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(600px 300px at 90% 20%, rgba(255, 106, 43, .45), transparent 60%),
        radial-gradient(700px 400px at 10% 100%, rgba(59, 164, 255, .45), transparent 60%),
        linear-gradient(120deg, rgba(10, 22, 51, .92), rgba(18, 40, 90, .8)),
        url(../img/bg.jpg) center center / cover no-repeat;
    background-size: 160% 160%, 160% 160%, auto, cover;
    animation: meshShift 14s ease-in-out infinite alternate;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/art/pattern-grid.svg);
    opacity: .8;
}

.page-header .container {
    border-left-color: transparent;
    border-image: linear-gradient(180deg, var(--att-cyan), var(--att-orange)) 1;
}

.page-header .container::before,
.page-header .container::after {
    background: linear-gradient(90deg, var(--att-cyan), var(--att-orange));
}

@keyframes meshShift {
    from { background-position: 0% 0%, 100% 100%, 0 0, center; }
    to { background-position: 100% 50%, 0% 50%, 0 0, center; }
}

/* ---------- Wave divider ---------- */
.att-wave {
    display: block;
    width: 100%;
    height: 90px;
    background: url(../img/art/wave.svg) center bottom / 100% 100% no-repeat;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
}

.att-wave.flip { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }

/* ---------- About ---------- */
.about-main-img,
.about-small-img {
    transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out);
}

.about-main-img { border-radius: 28px !important; }

.about-small-img {
    border-radius: 22px !important;
    border: 6px solid #fff;
    padding: 0 !important;
    animation: softFloat 6s ease-in-out infinite;
}

.about-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.about-art .blob {
    position: absolute;
    right: -30px;
    top: -30px;
    width: 260px;
    height: 260px;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    background: var(--grad-fire);
    opacity: .9;
    filter: blur(.5px);
    animation: blobMorph 12s ease-in-out infinite;
    z-index: -1;
}

.about-art .blob.blue {
    left: -40px;
    right: auto;
    top: auto;
    bottom: 40px;
    width: 200px;
    height: 200px;
    background: var(--grad-blue);
    animation-duration: 15s;
    animation-direction: reverse;
}

.about-art .dots {
    position: absolute;
    left: 40px;
    top: -10px;
    width: 140px;
    height: 110px;
    background-image: radial-gradient(var(--att-sky) 2px, transparent 2.5px);
    background-size: 18px 18px;
    opacity: .5;
    animation: softFloat 8s ease-in-out infinite reverse;
}

.about-art .badge-spin {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--att-navy);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-lift);
    z-index: 3;
}

.about-art .badge-spin svg {
    position: absolute;
    inset: 0;
    animation: rotate 18s linear infinite;
}

.about-art .badge-spin i {
    font-size: 30px;
    background: var(--grad-fire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes rotate { to { transform: rotate(360deg); } }

@keyframes blobMorph {
    0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0) scale(1); }
    33% { border-radius: 63% 37% 45% 55% / 55% 62% 38% 45%; transform: rotate(20deg) scale(1.05); }
    66% { border-radius: 38% 62% 35% 65% / 62% 35% 65% 38%; transform: rotate(-12deg) scale(.96); }
}

@keyframes softFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.about-call-box {
    background: var(--grad-night) !important;
    border-radius: 22px !important;
    position: relative;
    overflow: hidden;
    transition: transform .4s var(--ease-out), box-shadow .4s;
}

.about-call-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
    transform: skewX(-20deg);
    animation: sheen 4.5s ease-in-out infinite;
}

.about-call-box > .bg-white { border-radius: 50%; }

.about-call-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

@keyframes sheen {
    0%, 60% { left: -60%; }
    100% { left: 130%; }
}

.badge.rounded-pill.bg-light {
    background: #fff !important;
    border: 1px solid rgba(30, 96, 170, .15) !important;
    box-shadow: 0 8px 22px -12px rgba(10, 22, 51, .4);
    transition: transform .3s var(--ease-out), box-shadow .3s;
}

.badge.rounded-pill.bg-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -12px rgba(30, 96, 170, .5);
}

/* ---------- Facts ---------- */
.fact-section {
    position: relative;
    overflow: hidden;
    background: var(--grad-night) !important;
}

.fact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/art/pattern-grid.svg);
    animation: gridDrift 30s linear infinite;
}

.fact-section::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 43, .35), transparent 65%);
    animation: softFloat 9s ease-in-out infinite;
}

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

@keyframes gridDrift { to { background-position: 480px 480px; } }

.fact-card {
    position: relative;
    padding: 32px 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .1);
    overflow: hidden;
    transition: transform .5s var(--ease-out), box-shadow .5s, border-color .5s;
}

.fact-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--att-cyan), var(--att-orange), transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .5s;
    animation: angSpin 4s linear infinite;
}

.fact-card:hover::before { opacity: 1; }

@property --ang {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes angSpin { to { --ang: 360deg; } }

.fact-card i {
    width: 72px;
    height: 72px;
    line-height: 72px;
    border-radius: 50%;
    background: var(--grad-fire);
    box-shadow: 0 12px 30px -8px rgba(255, 106, 43, .8);
    text-shadow: none !important;
    transition: transform .6s var(--ease-out);
}

.fact-card:hover i { transform: rotateY(360deg) scale(1.08); }

.fact-card h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(180deg, #FFFFFF, var(--att-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Services ---------- */
.services-banner {
    position: relative;
    overflow: hidden;
    background: var(--grad-night) !important;
}

.services-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/art/pattern-grid.svg);
    animation: gridDrift 40s linear infinite reverse;
}

.services-banner .banner-art {
    position: absolute;
    width: 135%;
    left: -18%;
    bottom: -12%;
    opacity: .5;
}

.services-banner h1 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, var(--att-cyan), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 5s linear infinite;
}

@keyframes textShine { to { background-position: 200% center; } }

.service-carousel .owl-stage { padding: 24px 0 10px; }

.service-carousel .owl-item > .bg-light {
    position: relative;
    background: #fff !important;
    border-radius: 26px;
    border: 1px solid rgba(30, 96, 170, .1);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}

.service-carousel .owl-item > .bg-light::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--att-cyan), var(--att-sky), var(--att-orange));
    background-size: 200% 100%;
    animation: textShine 4s linear infinite;
}

.service-carousel .owl-item > .bg-light::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 164, 255, .14), transparent 70%);
    transition: transform .6s var(--ease-out);
}

.service-carousel .owl-item > .bg-light:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lift);
}

.service-carousel .owl-item > .bg-light:hover::after { transform: scale(2.2); }

.service-carousel .owl-item.center > .bg-light {
    box-shadow: 0 30px 70px -25px rgba(30, 96, 170, .55);
}

.service-icon-wrapper {
    width: 96px;
    height: 96px;
    border: none;
    background: transparent;
    box-shadow: none;
    transition: transform .6s var(--ease-out);
}

.service-icon-wrapper img { width: 96px !important; height: 96px; }

.service-carousel .bg-light:hover .service-icon-wrapper {
    transform: translateY(-6px) rotate(-6deg) scale(1.06);
}

.service-carousel .btn.bg-white {
    position: relative;
    z-index: 1;
    border-radius: 999px;
    background: var(--att-mist) !important;
    border: 1px solid rgba(30, 96, 170, .12);
    overflow: hidden;
    transition: color .4s, box-shadow .4s;
}

.service-carousel .btn.bg-white::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--grad-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease-out);
}

.service-carousel .btn.bg-white:hover { color: #fff !important; box-shadow: 0 14px 30px -12px rgba(30, 96, 170, .8); }
.service-carousel .btn.bg-white:hover::before { transform: scaleX(1); }
.service-carousel .btn.bg-white i { transition: transform .4s var(--ease-out), color .4s; }
.service-carousel .btn.bg-white:hover i { transform: translateX(6px); color: var(--att-amber) !important; }

.service-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(30, 96, 170, .25);
    transition: width .45s var(--ease-out), background .45s;
}

.service-carousel .owl-dot.active {
    width: 38px;
    background: var(--grad-fire);
}

/* ---------- Booking / video ---------- */
.video {
    background:
        radial-gradient(600px 400px at 20% 20%, rgba(59, 164, 255, .45), transparent 60%),
        radial-gradient(500px 400px at 85% 80%, rgba(255, 106, 43, .4), transparent 60%),
        linear-gradient(rgba(10, 22, 51, .75), rgba(10, 22, 51, .85)),
        url(../img/carousel-1.jpg) center center / cover no-repeat;
    background-attachment: scroll, scroll, scroll, fixed;
    overflow: hidden;
}

@supports (-webkit-touch-callout: none) {
    .video { background-attachment: scroll; }
}

.video::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/art/pattern-grid.svg);
    pointer-events: none;
}

.video > * { position: relative; }

.video h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.video h3 { color: var(--att-cyan) !important; font-weight: 500; }

.video .btn-play:before { background: var(--att-orange); }
.video .btn-play:after { background: var(--grad-fire); box-shadow: 0 20px 50px -10px rgba(255, 106, 43, .9); }
.video .btn-play span { border-left-color: #fff; }
.video .btn-play:hover:after { transform: translateX(-50%) translateY(-50%) scale(1.1); }

.booking-card {
    position: relative;
    background: rgba(255, 255, 255, .9) !important;
    backdrop-filter: blur(18px);
    border-radius: 30px !important;
    box-shadow: 0 40px 90px -30px rgba(10, 22, 51, .5) !important;
    border: 1px solid rgba(255, 255, 255, .8);
}

.booking-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: inherit;
    pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background: linear-gradient(135deg, var(--att-cyan), var(--att-sky), var(--att-orange), var(--att-amber));
    background-size: 300% 300%;
    animation: borderFlow 8s ease infinite;
}

@keyframes borderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.booking-card .form-control,
.booking-card .form-select,
.contact-form-card .form-control {
    background: #fff;
    border: 1px solid #E1E8F5 !important;
    border-radius: 14px;
    transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-out);
}

.booking-card .form-control:focus,
.booking-card .form-select:focus,
.contact-form-card .form-control:focus {
    border-color: var(--att-sky) !important;
    box-shadow: 0 0 0 4px rgba(59, 164, 255, .18), 0 10px 25px -12px rgba(30, 96, 170, .5);
    transform: translateY(-1px);
}

.form-check-input:checked {
    background-color: var(--att-orange);
    border-color: var(--att-orange);
}

.btn-cta-orange {
    position: relative;
    overflow: hidden;
    background: var(--grad-fire);
    background-size: 200% 200%;
    border-radius: 999px;
    transition: transform .3s var(--ease-out), box-shadow .3s, background-position .6s;
}

.btn-cta-orange:hover { background-position: 100% 100%; }

.btn-cta-orange::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .8s var(--ease-out);
}

.btn-cta-orange:hover::after { left: 130%; }

/* ---------- Team ---------- */
.team-card {
    position: relative;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    isolation: isolate;
}

.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 3px;
    background: conic-gradient(from var(--ang, 0deg), var(--att-cyan), var(--att-sky), var(--att-orange), var(--att-amber), var(--att-cyan));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: angSpin 6s linear infinite;
    z-index: 2;
    pointer-events: none;
}

.team-img img {
    border-bottom: 0;
    transition: transform 1s var(--ease-out);
}

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

.team-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 22, 51, .55));
}

.experience-badge {
    z-index: 1;
    background: var(--grad-fire);
    border-radius: 999px;
    padding: 8px 16px;
    animation: softFloat 4s ease-in-out infinite;
}

.tech-name { color: var(--att-ink); letter-spacing: .02em; }

.team-social a:hover { background: var(--grad-fire); }

/* ---------- Testimonials ---------- */
.testimonial-carousel .owl-item .testimonial-text {
    border-radius: 22px;
    background: var(--att-mist) !important;
    transition: background .5s, transform .5s var(--ease-out), box-shadow .5s;
}

.testimonial-carousel .owl-item .testimonial-text::before {
    content: "\201C";
    position: absolute;
    top: -26px;
    left: 20px;
    font-family: Georgia, serif;
    font-size: 90px;
    line-height: 1;
    color: var(--att-orange);
    opacity: .9;
}

.testimonial-carousel .owl-item .testimonial-text::after {
    border-color: var(--att-mist) transparent transparent transparent;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--grad-blue) !important;
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -25px rgba(30, 96, 170, .8);
}

.testimonial-carousel .owl-item.center .testimonial-text::before { color: var(--att-amber); }

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: #1E60AA transparent transparent transparent;
}

.testimonial-item img {
    border: 3px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        var(--grad-fire) border-box !important;
    transition: transform .5s var(--ease-out);
}

.testimonial-carousel .owl-item.center .testimonial-item img { transform: scale(1.1); }
.testimonial-item .fa-star { color: #FFB347 !important; }

/* ---------- Footer ---------- */
.footer {
    position: relative;
    background:
        radial-gradient(700px 400px at 100% 100%, rgba(255, 106, 43, .22), transparent 60%),
        linear-gradient(180deg, #0A1633 0%, #050B1C 100%) !important;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/art/pattern-grid.svg);
    opacity: .7;
    pointer-events: none;
}

.footer::after {
    content: "";
    position: absolute;
    left: -150px;
    bottom: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 164, 255, .25), transparent 65%);
    pointer-events: none;
}

.footer > * { position: relative; z-index: 1; }

.footer h4 {
    position: relative;
    padding-bottom: 14px;
    color: #fff !important;
}

.footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 3px;
    border-radius: 3px;
    background: var(--grad-fire);
}

.footer p i { color: var(--att-amber); }

.footer .btn.btn-link:hover { color: var(--att-amber); }

.footer .btn.btn-social {
    border-color: rgba(255, 255, 255, .25);
    transition: transform .35s var(--ease-out), background .35s, border-color .35s;
}

.footer .btn.btn-social:hover {
    color: #fff;
    background: var(--grad-fire);
    border-color: transparent;
    transform: translateY(-4px) rotate(8deg);
}

.att-wave + .footer { margin-top: 0 !important; }

/* ---------- Back to top ---------- */
.back-to-top {
    border-radius: 50% !important;
    background: var(--grad-fire) !important;
    border: 0 !important;
    box-shadow: 0 14px 30px -10px rgba(255, 106, 43, .8);
    transition: transform .35s var(--ease-out);
}

.back-to-top:hover { transform: translateY(-5px); }

/* ---------- Generic scroll reveal (JS adds .is-visible) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* Tilt cards (JS sets --rx/--ry) */
.tilt {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .4s var(--ease-out);
}

/* Contact & detail pages */
.contact-form-card {
    background: linear-gradient(160deg, #FFFFFF, #EEF5FF) !important;
    border: 1px solid rgba(30, 96, 170, .1);
}

.contact-info-icon {
    background: var(--grad-blue) !important;
    color: #fff !important;
    transition: transform .4s var(--ease-out);
}

.contact-info-item:hover .contact-info-icon { transform: scale(1.12) rotate(-8deg); }

.contact-badge {
    background: linear-gradient(90deg, rgba(59, 164, 255, .15), rgba(255, 106, 43, .12)) !important;
}

.contact-map-wrap { border-radius: 26px; }

.page-header-privacy { background: var(--grad-night) !important; }
.text-orange { color: var(--att-orange); }

/* ---------- Accessibility: reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal { opacity: 1; transform: none; }
    .header-carousel .owl-item .hero-content > * { opacity: 1; }
}

.hero-art img { transition: transform .4s var(--ease-out); }
