/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {
  background-color: #000; /* Black background */
  color: #fff; /* White text */
  line-height: 1.6;
  padding: 40px 20px;
}

/* Service Section */
.service-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1s ease-in-out;
}

/* Service Card */
.service-card {
  background-color: #111; /* Dark black card */
  border: 1px solid #b30000; /* Red border */
  border-radius: 12px;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 15px rgba(179, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(179,0,0,0.15) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
}

/* .service-card:hover::before {
  transform: scale(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
  background-color: #1a1a1a; /* Slightly lighter black */
} */

.service-card h2 {
  font-size: 24px;
  color: #ff1a1a; /* Bright red title */
  margin-bottom: 15px;
}

.service-card p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #ccc; /* Light grey text */
}

/* Button Style */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #b30000; /* Red button */
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: #ff1a1a; /* Lighter red hover */
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 26, 26, 0.7);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-card {
    max-width: 100%;
    padding: 20px;
  }

  .service-card h2 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 14px;
  }
}


/* ---------------------------------------
navbar
--------------------------------------- */


#navbar{
  display: flex;
  position: sticky;
  padding-bottom: 20px;
  z-index: 1000;
  
}



/* for heading */

h1 {
  text-align: center;
  margin-bottom: 50px;
}

/* slider */

:root{
  --bg:#0b0b0f;       /* black-ish */
  --panel:#14080b;    /* near-black with red tint */
  --accent:#b0122e;   /* deep red */
  --accent-2:#9f0404; /* bright red */
  --muted:#3a1c22;
  --ring: rgba(176,18,46,.45);
}



/* SECTION slider container */
section.slider{
  position:relative;
  max-width:min(600px, 64vw);
  margin: clamp(12px, 4vw, 36px) auto;
  overflow:hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel), #070707);
  border: 1px solid var(--muted);
  box-shadow: 0 15px 45px rgba(0,0,0,.4), 0 0 0 6px rgba(176,18,46,.08) inset;
  aspect-ratio: 16 / 9;
}

/* Row of slides */
.slides{
  display:flex;
  height:100%;
  width:100%;
  transform: translateX(0);
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

/* Each slide is a full panel link */
.slide{
  min-width:100%;
  height:100%;
  display:block;
  position:relative;
  text-decoration:none;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.slide img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(1) contrast(1.05);
}

/* Subtle gradient overlay for contrast */
.slide::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.05));
  pointer-events:none;
}

/* Nav buttons */
.nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  border:none;
  width:34px;
  height:34px;
  border-radius:999px;
  background: radial-gradient(80% 80% at 30% 20%, var(--accent-2), var(--accent));
  color:white;
  font-size:14px;
  line-height:1;
  cursor:pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.5);
  opacity:.92;
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
  z-index:3;
}
.nav:hover{ box-shadow: 0 14px 30px rgba(0,0,0,.6); opacity:1; }
.nav:active{ transform: translateY(-50%) scale(.6); }
.prev{ left:12px; }
.next{ right:12px; }

/* Dots */
.dots{
  position:absolute;
  bottom:10px;
  left:0;
  right:0;
  display:flex;
  justify-content:center;
  gap:8px;
  padding:6px 10px;
  z-index:2;
}

.dots .dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: var(--muted);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 2px transparent;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.dots .dot:hover{ transform: scale(1.15); }
.dots .dot.active{
  background: var(--accent-2);
  box-shadow: 0 0 0 4px var(--ring);
}

/* Pause autoplay on hover for desktop */
section.slider:hover .nav{ opacity:1; }

/* ===========================
   MOBILE-FRIENDLY STYLES
   =========================== */
   @media (max-width: 768px) {
    section.slider {
      max-width: 90vw;
      border-radius: 12px;
    }
  
    .nav {
      width: 28px;
      height: 28px;
      font-size: 12px;
    }
  
    .dots {
      gap: 6px;
    }
  
    .dots .dot {
      width: 8px;
      height: 8px;
    }
  }
  
  @media (max-width: 480px) {
    section.slider {
      max-width: 96vw;
      border-radius: 10px;
    }
  
    .nav {
      width: 24px;
      height: 24px;
      font-size: 10px;
    }
  
    .dots {
      gap: 4px;
    }
  
    .dots .dot {
      width: 6px;
      height: 6px;
    }
  }