.capabilities-section {
    padding: 100px 5%;
    background: #000;
}

/* Introduction Styling */
.capabilities-intro {
    max-width: 800px;
    margin-bottom: 60px;
}

.intro-line {
    width: 50px;
    height: 1px;
    background: #D4AF37;
    margin-bottom: 20px;
}

.section-tag {
    color: #D4AF37;
    font-size: 11px;
    letter-spacing: 5px;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.main-heading {
    color: #fff;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.gold-text {
    color: transparent;
    -webkit-text-stroke: 1px #D4AF37;
}

.intro-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.6;
    max-width: 500px;
}

/* Card Grid Styling */
.caapabilittiess {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.capability-card {
    position: relative;
    height: 300px;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.card-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    filter: grayscale(100%);
    transform: scale(1.1);
    transition: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000 10%, transparent 100%);
    z-index: 2;
}

.card-inner {
    position: relative;
    z-index: 3;
}

.cap-label {
    color: #D4AF37;
    font-size: 9px;
    letter-spacing: 4px;
    font-weight: 800;
    margin-bottom: 12px;
    display: block;
}

.capability-card h3 {
    color: #fff;
    font-size: 26px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 900;
}

.cap-list {
    list-style: none;
    padding: 0;
    opacity: 0.4;
    transition: 0.4s ease;
}

.cap-list li {
    font-size: 11px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Hover Interactivity */
.capability-card:hover {
    border-color: #D4AF37;
    transform: translateY(-10px);
}

.capability-card:hover .card-bg-image {
    opacity: 0.3;
    transform: scale(1);
    filter: grayscale(0%);
}

.capability-card:hover .cap-list {
    opacity: 1;
}

@media (max-width: 768px) {
    .capability-card { height: 350px; }
}




  html {
  scroll-snap-type: y mandatory;
}

.niche-service-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
  /* Reset the container */
.services-explorer-v2 {
  width: 100%;
  background: #000;
}

.niche-service-card {
  position: relative;
  width: 100%;
  height: 100vh; /* Each service takes the full screen */
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.card-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-overlay {
  position: absolute;
  inset: 0;
  /* Darker on the left for text readability, clear on the right for the art */
  background: linear-gradient(90deg, 
    rgba(0,0,0,0.9) 0%, 
    rgba(0,0,0,0.4) 50%, 
    rgba(0,0,0,0.1) 100%);
  z-index: 2;
}

.card-content {
  position: relative;
  z-index: 3;
  width: 85%;
  margin: 0 auto;
  display: flex;
  gap: 50px;
}
.bg-video{
  width: 100%;
  object-fit: contain;
}

.service-num {
  font-family: 'Bebas Neue';
  font-size: 120px;
  line-height: 1;
  color: rgba(212, 175, 55, 0.2); /* Subtle Gold */
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.5);
}

.text-group h2 {
  font-family: 'Bebas Neue';
  font-size: clamp(50px, 8vw, 90px);
  color: #fff;
  line-height: 0.9;
  margin: 10px 0 20px;
  text-transform: uppercase;
}
.category-tag{
color: #d4af37;
font-size: 11px;
letter-spacing: 2px;
text-transform: uppercase;
}
.description {
  max-width: 450px;
  color: #aaa;
  font-size: 18px;
  margin-bottom: 30px;
}
.features {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.features li {
  color: #aaa;
  font-size: 16px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features li::before {
  content: '';
  width: 8px;
  height: 2px;
  background: #d4af37;
}
.cta-line {
  display: flex;
  align-items: center;
  gap: 30px;
}

.niche-btn {
  padding: 15px 40px;
  background: #d4af37;
  color: #000;
  text-decoration: none;
  font-family: 'Bebas Neue';
  font-size: 20px;
  transition: 0.3s ease;
}

.niche-btn:hover {
  background: #fff;
  transform: translateY(-5px);
}
footer {
  scroll-snap-align: end; 
}




.offer-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: none; align-items: center; justify-content: center;
}

.modal-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
}

.modal-content {
    position: relative; z-index: 10;
    background: #0d0d0d;
    border: 1px solid rgba(212, 175, 55, 0.2);
    width: 90%; 
    max-width: 850px;
    padding: 30px; border-radius: 4px;
}

.gold-badge { color: #D4AF37; font-size: 10px; letter-spacing: 4px; font-weight: 800; display: block; margin-bottom: 10px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 30px; }

.form-field label { display: block; font-size: 9px; color: #D4AF37; letter-spacing: 2px; margin-bottom: 8px; font-weight: 700; }

.form-field input, .form-field textarea {
    width: 100%; background: #161616; border: 1px solid #333;
    padding: 12px; color: #fff; border-radius: 2px;
}
.form-field textarea {
  height: 100px;
  max-height: 120px;
}
.form-field input:focus { border-color: #D4AF37; outline: none; }

.submit-offer-btn {
    width: 100%; padding: 18px; background: #D4AF37; color: #000;
    border: none; font-weight: 900; letter-spacing: 2px; margin-top: 30px;
    cursor: pointer; transition: 0.3s;
}

.modal-content button.close-modal{
position: absolute;
right: 20px;
top: 20px;
font-size: 30px;
height: 40px;
background: #cccccca4;
width: 40px;
border: none;
border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.3s ease, font-size 0.3s ease;

}
.modal-content button.close-modal:hover{
    background: #ccc;
   transform: scale(1.1); /* keep it subtle */
   font-size: 34px;
}
.submit-offer-btn:hover { background: #fff; }

/* Status Indicators */
.status-box { margin-top: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; display: none; text-align: center; }
.status-success { color: #4ade80; }
.status-error { color: #f87171; }

.animate-pop { animation: popUp 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
@keyframes popUp { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
