html, body { margin: 0; padding: 0; scroll-behavior: smooth;}
/* index copy */
:root
{
  --brand: #b44a3f;
  --card-bg: rgba(255,255,255,.88);
  --card-radius: 14px;
}
.matrix-hero
{
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  background: linear-gradient(#fff 0%, rgb(165, 165, 165) 50%, #fff 100%);
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
  text-align: center;
}
.matrix-hero_card
{
  width: min(720px, 80vw);
  background: var(--card-bg);
  backdrop-filter: blur(4px);
  border-radius: var(--card-radius);
  padding: 20px 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  line-height: 1.35;
  animation: fadeInUp 1.2s ease-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popUpCard {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(50px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translateY(-10px);
  }
  70% {
    transform: scale(0.95) translateY(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.matrix-hero_card h1
{
  font-size: clamp(28px, 4.5vw, 48px);
  margin: 0 0 .35em 0;
  font-weight: 800;
}
.matrix-hero_card .brand {color: var(--brand);}
.matrix-hero_card .tagline
{
  font-size: 20px;
  margin: 0 0 1.2em 0;
  color: #222;
}
.matrix-hero_card .lead
{
  font-size: clamp(18px, 2.6vw, 28px);
  margin: .2em 0 .3em 0;
}
.matrix-hero_card .headline
{
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  margin: 0 0 .6em 0;
}
.matrix-hero_card .headline .em
{
  font-weight: 700;
  
}
.em 
{
  color: var(--brand);
}
.matrix-hero_card .desc 
{
  font-size: clamp(16px, 2.2vw, 20px);
  color: #222;
  margin: .6em 0 0 0;
}
@media (max-width: 480px){
  .matrix-hero{ min-height: 460px; }
  .matrix-hero__card{ padding: 22px; }
}
/* end */

#intro
{
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.section-divider
{
  border: none;
  border-top: 4px solid brown;   
  width: 100%;                 
  margin: 30px auto;
  border-radius: 20px; 
  padding-top: 0;
 }
.head1
{
    align-items: center;
    display: flex;
    gap: 15px;
    position: fixed;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
    padding: 2px 0;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to bottom,
    #ffffff 70%,   /* white top */
    #555555 95%,   /* optional: grey transition */
    #000000 100%   /* pure black bottom */
  );
}

.slider img 
{
    width: 100%;
    padding: none;
    margin: 0px;
    box-sizing: border-box;
    flex: 0 0 100%;
    scroll-snap-align: start;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    cursor: default;
}
.container-s
{
    padding-left: 0;
    padding-right: 0;   
}
.slider-wrapper
{
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}
.slider
{
    display: flex;
    aspect-ratio: auto;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}
.slider-nav
{
    display: flex;
    column-gap: 10px;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateY(-50%);
    z-index: 1;

}
.slider-nav a
{
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #fff;
    opacity: 0.75;
    border-radius: 50%;
    transition: opacity ease 250ms;
    cursor:pointer;
}
.slider-nav a:hover
{
    opacity: 1;
}


.Service
{
    text-align: center;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.Service.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.title-service span
{
    color: #c62828;
}
.Service h1
{
    font-size: 40px;
}
.Service p
{
    line-height: 1.3;
  padding-left: 150px;
  padding-right: 150px;
    padding-bottom: 20px;
    font-size: 20px;
    color: rgb(77, 75, 75);
}



.service-swiper
{
  padding-top: 20px;
  background: linear-gradient(135deg, #2c2c2c 0%, #7a1f1f 100%) !important;
  min-height: 450px;
}



/* mobile */
@media (max-width:640px){
  .card-item{ flex-basis:92%; }
  .card-link{ grid-template-columns:1fr; }
  .card-image{ height:200px; }
}

/* fadeUp animations removed */

.socials
{
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 0;
  padding-bottom: 10px;
  
}
.socials h1
{
  color: #fff;
  font-size: 40px;
  padding: 0;
}
.socials img
{
  width: 60px;
  max-width: 300px;
  height: auto;
}

/* mobile adjustments */
@media (max-width: 768px){
  .Service p{
    padding-left: 18px;
    padding-right: 18px;
    font-size: 18px;
  }
  .Service h1, .socials h1{ font-size: 28px; }
  .slider-nav{ left: 50%; transform: translate(-50%, -50%); }
}
@media (max-width: 480px){
  .Service p{ font-size: 16px; }
}