/* ============================
   GLOBAL STYLES
   ============================ */
:root {
  --brand: #007bff;
  --dark: #0b2135;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: #21303a;
  /* Navbar ki height ke barabar padding taaki content na chupe */
  padding-top: 90px; 
}

.container, .container-fluid {
  overflow-x: hidden;
}

/* ============================
   ANIMATED STICKY NAVBAR (FIXED)
   ============================ */

/* 1. Navbar Main Container */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff;
  padding: 0 !important; /* Padding zero rakhi hai, height link se control hogi */
  box-shadow: none;
  transition: all 0.4s ease-in-out;
}

.navbar-brand strong {
  color: var(--brand);
}

/* 2. LOGO ANIMATION (Ye zaroori hai shrink ke liye) */
.navbar-brand img {
  height: 80px;  /* Pehle 50px tha, ab 80px kar diya */
  width: auto;   /* Width auto rakhein taki logo stretch na ho */
  transition: all 0.4s ease-in-out;
}

/* 3. MENU LINKS SIZE (Initial) */
.navbar-nav .nav-link {
  position: relative;
  /* Badi Padding (Height ~88px banegi) */
  padding: 30px 15px !important; 
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--dark);
  transition: all 0.4s ease-in-out;
}

/* ============================
   HOVER LINE EFFECT (Touch Bottom)
   ============================ */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px; /* Line width */
  bottom: 0;   /* Bilkul edge par */
  left: 0;
  background-color: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

/* Hover & Active State */
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-nav .nav-link.active {
  color: var(--brand) !important;
  font-weight: 600;
  background-color: transparent !important;
}

/* ============================
   SCROLLED STATE (SHRINK MAGIC)
   ============================ */

/* 1. Background Glass Effect */
.navbar.nav-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* 2. Link Padding Kam Hogi (Height choti ho jayegi) */
.navbar.nav-scrolled .nav-link {
  padding: 18px 15px !important; /* Height ~64px banegi */
}

/* 3. Logo Bhi Chota Hoga (Tabhi navbar shrink hoga) */
.navbar.nav-scrolled .navbar-brand img {
  height: 50px; /* Pehle 35px tha, ab 50px kar diya */
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  background: linear-gradient(180deg, rgba(3,37,65,0.95), rgba(3,37,65,0.9)), 
              url('https://images.unsplash.com/photo-1505691723518-36a5d4e6b94b?auto=format&fit=crop&w=1600&q=60') center/cover no-repeat;
  color: white;
}

.hero h1 {
  font-weight: 700;
}

/* ============================
   CARDS & PRODUCTS
   ============================ */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(3, 37, 65, 0.08);
}

.product-card img {
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card .btn {
  transition: all 0.3s ease-in-out;
}

.product-card .btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
  background-color: #0056b3;
}

/* ============================
   FEATURES & ICONS
   ============================ */
.features .icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f1f6fb;
}

/* ============================
   MASONRY GALLERY
   ============================ */
.gallery-masonry {
  columns: 3;
  column-gap: 15px;
  width: 100%;
  max-width: 100%;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: transform .4s ease, box-shadow .3s ease;
  max-width: 100%;
  height: auto;
}

.gallery-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-item.wide img {
  height: auto;
}

.gallery-item.tall img {
  height: 500px;
  object-fit: cover;
}

/* ============================
   FOOTER & RESPONSIVE
   ============================ */
footer {
  background: #071525;
  color: #cfe8ff;
}

@media (max-width: 992px) {
  .gallery-masonry { columns: 2; }
}

@media (max-width: 767px) {
  .hero .col-md-6 { text-align: center; }
  .hero .img-right { display: none; }
}

@media (max-width: 576px) {
  .gallery-masonry { columns: 1; }
}


/*NEW ESTIMATION FORM STYLE*/
/* Multi-Step Form Styles */
.step-container { display: none; animation: fadeIn 0.5s; }
.step-container.active { display: block; }

.option-card {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255,255,255,0.5);
    text-align: center;
}
.option-card:hover, .option-card.selected {
    background: #e7f1ff; /* Light Blue */
    border-color: #0d6efd;
    transform: translateY(-3px);
}
.option-card i { font-size: 1.5rem; color: #0d6efd; margin-bottom: 5px; display: block; }
.option-card span { font-weight: 600; font-size: 0.9rem; }


/* Progress Dots */
.form-progress { display: flex; justify-content: center; margin-bottom: 20px; gap: 8px; }
.prog-dot { width: 10px; height: 10px; background: #ddd; border-radius: 50%; transition: 0.3s; }
.prog-dot.active { background: #0d6efd; width: 25px; border-radius: 10px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


/* ============================
   FOOTER SOCIAL ICONS STYLING
   ============================ */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;              /* Circle की चौड़ाई */
    height: 45px;             /* Circle की ऊँचाई */
    font-size: 1.9rem;        /* Icon का असली साइज़ (यहाँ से बढ़ाएं/घटाएं) */
    background: rgba(255, 255, 255, 0.1); /* हल्का पारदर्शी बैकग्राउंड */
    color: #ffffff;
    border-radius: 50%;       /* गोल बनाने के लिए */
    margin-right: 12px;       /* आइकन्स के बीच में गैप */
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover Effect (Mouse ले जाने पर) */
.social-links a:hover {
    background: var(--brand, #0d6efd); /* Blue रंग */
    transform: translateY(-5px);       /* थोड़ा ऊपर उठने का एनीमेशन */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}