:root{
  --gold-1: #FFD86A;
  --gold-2: #F4C247;
  --theme: #C49B3F;
  --text-dark: #1f1f1f;
  --muted: #6c6c6c;
}

/* Base */
*{box-sizing:border-box}
body{ background:#fff; color:var(--text-dark); font-family:system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial; line-height:1.5; }
.container{ max-width:1140px; margin:0 auto; }

/* Buttons */
.btn-primary{ background: var(--theme); border-color: var(--theme); color:#fff; }

/* Brand block in header */
.brand-main { font-size:1.9rem; color:var(--text-dark); letter-spacing:0.2px; }
.brand-sub { font-size:0.78rem; color:var(--muted); }

/* Hero */
.hero-section { padding-top:20px; padding-bottom:40px; }
.hero-video-wrapper { border-radius:18px; overflow:hidden; border: 4px solid rgba(244,194,71,0.12); background:linear-gradient(180deg, rgba(255,250,240,0.6), rgba(255,255,255,0.25)); transition: transform .28s ease; }
.hero-video-wrapper:hover{ transform: translateY(-6px); }

/* Small helper classes */
.anim { will-change: transform, opacity; }
.fade-in { opacity: 0; transform: translateY(12px); animation: fadeIn 0.9s forwards ease-out; }
.fade-in-up { opacity: 0; transform: translateY(24px); animation: fadeInUp 0.9s forwards ease-out; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeIn {
  to { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
  to { opacity: 1; transform: none; }
}

/* Cards */
.card{ border-radius:12px; }

/* Responsive video selection */
.hero-video-desktop { display:none; }
.hero-video-mobile { display:block; }
@media(min-width:768px){
  .hero-video-desktop { display:block; }
  .hero-video-mobile { display:none; }
}

/* Navbar scrolled look */
#mainNav {
  transition: background .25s ease, box-shadow .25s ease, padding .15s ease;
  padding-top:12px; padding-bottom:12px;
}
#mainNav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding-top:6px; padding-bottom:6px;
}

/* Footer gradient + readable text */
.gradient-footer {
  background: linear-gradient(135deg, #0f0f0f 0%, #3b2f1e 40%, var(--gold-2) 100%);
  color: #fff;
}

/* small utilities */
.text-white-50 { color: rgba(255,255,255,0.75); }

/* Ensure images are responsive */
img { max-width:100%; height:auto; display:block; }


/* Gradient colors used in footer */
:root {
  --g1: #000000;
  --g2: #3b2f1e;
  --g3: #d4af37;
}

/* --- Service Tiles --- */
.service-card {
  border-radius: 18px;
  padding: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  border: none;
  position: relative;
  overflow: hidden;
  min-height: 200px;   /* ← Add this */
}

/* Shine effect */
.service-card::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -80%;
  width: 250%;
  height: 250%;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover effects */
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

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

/* Text colors inside */
.service-card h5 {
  color: #fff;
  font-weight: 600;
}

.service-card p {
  color: #f5f5f5;
  opacity: 0.9;
}

.case-card {
  background: linear-gradient(135deg, #0ef3ff, #3b00ff);
  color: white;
  border-radius: 16px;
  padding: 24px;
  min-height: 350px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* Inner content box (white box over gradient) */
.case-card .inner {
  background: white;
  border-radius: 14px;
  padding: 24px;
  height: 100%;
  color: #333;
}

/* Image styling */
.case-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}


/*Contact Form Style*/
/* Contact Card */
/* GLASSY CONTACT CARD */
.contact-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.4);

  /* gradient glow like footer */
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.25),
              0 0 40px rgba(0, 0, 0, 0.3),
              inset 0 0 20px rgba(255,255,255,0.2);
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 26px rgba(212, 175, 55, 0.45),
              0 0 60px rgba(0, 0, 0, 0.4);
}

/* Input fields */
.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 14px;
  backdrop-filter: blur(4px);
}

/* Submit button with footer gradient */
.btn-primary {
  background: linear-gradient(135deg, #000000, #3b2f1e, #d4af37);
  border: none;
  border-radius: 14px;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.9;
}


/* Contact info tile - contact us page */
.contact-details-section {
  background: linear-gradient(135deg, #000000, #2c241a, #d4af37);
  padding-top: 70px;
  padding-bottom: 70px;
}

.contact-details-card {
  max-width: 800px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  transition: 0.3s ease;
}

.contact-details-card:hover {
  transform: translateY(-4px);
}

.contact-details-card h3 {
  text-align: center;
}

/* Services File */
/******************************************
   SERVICES PAGE — MODERN HI-FI STYLING
******************************************/

/* --- Timeline Items General --- */
.timeline-item {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 22px;
  border-radius: 16px;
  transition: 0.3s ease;
  backdrop-filter: blur(8px);
  position: relative;
}

/* Hover Depth */
.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

/* Active Tile — Stronger Visibility */
.timeline-item.active {
  background: rgba(0,0,0,0.48);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
}

/* Title & Subtitle Visibility */
.timeline-item .title {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-shadow: 0 0 14px rgba(0,0,0,0.5);
  letter-spacing: 0.3px;
}

.timeline-item .sub {
  color: #e8dfd4;
  font-weight: 500;
  margin-top: 4px;
  text-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* --- Icons for Timeline Items --- */
.timeline-item .icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: #d4af37; /* Luxury Gold */
  opacity: 0.9;
  text-shadow: 0 0 12px rgba(212,175,55,0.45);
}

/* --- SERVICE SLIDER SECTION --- */

/* Slider images — Remove white gaps */
.services-slider img,
.timeline-img-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fix container height */
.services-slider,
.timeline-img-slider {
  height: 340px;   /* Adjust as you want but now consistent */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Fade animation for elegance */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Image zoom animation */
.carousel-item img {
  transition: transform 5s ease;
}
.carousel-item.active img {
  transform: scale(1.06);
}

/* --- Section Titles Visibility Improved --- */
.services-section-title {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 14px rgba(0,0,0,0.65);
}

.services-section-subtitle {
  color: #e4dcca;
  font-size: 1.1rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
  text-shadow: 0 0 12px rgba(0,0,0,0.45);
}

/* --- Prevent Page Auto Scroll on Slide Clicks --- */
.carousel {
  scroll-behavior: auto !important;
}
.carousel * {
  overscroll-behavior: contain;
}

/* --- Increase readability on dark backgrounds --- */
.text-white-strong {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* Extra luxury touch on hover */
.timeline-item:hover .icon {
  opacity: 1;
  transform: scale(1.08);
}


/* MOBILE FIX FOR FEATURE + SLIDER SECTION */
@media (max-width: 767px) {

  /* Stack content */
  .feature-panel {
    flex-direction: column !important;
    gap: 20px;
    flex: unset !important;
  }

  /* Image wrapper becomes natural height */
  .contact-visual,
  .feature-image-wrapper,
  #featureImage {
    height: auto !important;
    min-height: unset !important;
    aspect-ratio: auto !important;
  }

  /* Make images behave naturally */
  .contact-visual img,
  #featureImage img,
  .feature-image {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }

  /* Right side content */
  .feature-content {
    padding: 10px 5px !important;
    text-align: center !important;
  }

  .feature-content ul {
    text-align: left;
    margin: 0 auto;
    max-width: 260px;
  }

  /* Spacing */
  .feature-panel-container {
    margin-bottom: 30px;
  }
}
/* FINAL FIX — Remove forced equal height on mobile */
@media (max-width: 767px) {

  /* Kill the equal-height behavior */
  .contact-equal,
  .contact-equal > div {
    display: block !important;
    height: auto !important;
  }

  /* Remove flex-grow that makes the slider square */
  .contact-visual,
  .contact-visual.flex-grow-1,
  .feature-image-wrapper,
  #featureImage {
    flex: unset !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }

  /* Force true natural image behavior */
  .contact-visual img,
  #featureImage img,
  .feature-image {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
}
@media (max-width: 767px) {
  .feature-media {
    min-height: unset !important;
    height: auto !important;
    aspect-ratio: auto !important;
  }

  .feature-media img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
}
/* MOBILE FIX — CASE STUDIES FULL BLEED IMAGE */
@media (max-width: 767px) {

  /* Remove any forced square frame or height */
  .case-card,
  .case-card .inner {
    height: auto !important;
    min-height: unset !important;
  }

  /* Make the image fill width + keep natural shape */
  .case-card .inner img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;     /* full bleed */
    object-position: center !important;
    border-radius: 14px !important;
    display: block;
  }
}


/* WhatApp Button Style */
.whatsapp-glass {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Real WhatsApp green */
    background: rgba(37, 211, 102, 0.92);

    /* Glass effect */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    /* Gold rim */
    border: 1.5px solid rgba(212, 175, 55, 0.75);

    /* Stable shadow base */
    box-shadow:
        0 10px 26px rgba(37,211,102,0.45),
        inset 0 2px 6px rgba(255,255,255,0.35);

    z-index: 9999;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: wa-pulse 3s ease-in-out infinite;
}

/* Hover lift */
.whatsapp-glass:hover {
    transform: translateY(-4px) scale(1.06);
}

/* Tooltip */
.wa-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);

    background: var(--bg-glass);
    color: var(--text-main);
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;

    border: 1px solid var(--border-gold);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}

/* Hover reveal (mobile behavior) */
.whatsapp-glass:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Desktop: tooltip ALWAYS visible */
@media (min-width: 992px) {
    .whatsapp-glass .wa-tooltip {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Auto-hide on scroll */
.whatsapp-glass.hide {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
}

/* Smooth, consistent pulse */
@keyframes wa-pulse {
    0% {
        box-shadow:
            0 10px 26px rgba(37,211,102,0.45),
            0 0 0 0 rgba(212,175,55,0.35),
            inset 0 2px 6px rgba(255,255,255,0.35);
    }
    50% {
        box-shadow:
            0 16px 42px rgba(37,211,102,0.6),
            0 0 0 12px rgba(212,175,55,0),
            inset 0 2px 8px rgba(255,255,255,0.5);
    }
    100% {
        box-shadow:
            0 10px 26px rgba(37,211,102,0.45),
            0 0 0 0 rgba(212,175,55,0),
            inset 0 2px 6px rgba(255,255,255,0.35);
    }
}
html, body {
    overflow-x: hidden;
    position: relative;
}

body {
    transform: none !important;
    filter: none !important;
}
.whatsapp-glass {
    position: fixed !important;
    inset: auto 20px 20px auto;

    isolation: isolate; /* breaks out of parent stacking context */
    will-change: transform;

    pointer-events: auto;
}
main,
footer {
    overflow: visible !important;
}
