/* =====================================
BIJLIWALA FINAL CSS (PREMIUM HERO + FINAL SYSTEM)
===================================== */


/* ===== GLOBAL ===== */
body {
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background: #fff;
  overflow-x: hidden;
}


/* ===== CONTAINER ===== */
.ast-container,
.site-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}


/* ===== CONTENT WIDTH ===== */
.entry-content,
.elementor-widget-text-editor {
  max-width: 750px;
  margin: auto;
}


/* ===== HEADINGS ===== */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }


/* ===== TEXT ===== */
p {
  margin-bottom: 15px;
}


/* ===== IMAGES ===== */
img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
}


/* =====================================
🔥 HERO SECTION (PREMIUM UPGRADE)
===================================== */

.hero-section {
  position: relative !important;
  min-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 80px 20px !important;
  color: #fff !important;
  background: #000 !important;
}

/* BACKGROUND OVERLAY */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.9)),
              url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 2;
}

/* CONTENT WIDTH CONTROL */
.hero-section h1,
.hero-section p,
.hero-trust {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* HEADLINE */
.hero-section h1 {
  font-size: 48px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
  text-shadow: 0 5px 20px rgba(0,0,0,0.6);
}

/* SUBTEXT */
.hero-section p {
  font-size: 18px !important;
  line-height: 1.6;
  color: #ddd !important;
  margin-bottom: 20px;
}

/* TRUST LINE */
.hero-trust {
  margin-top: 25px;
  font-size: 14px;
  color: #bbb;
  opacity: 0.9;
}

/* BUTTON */
.hero-section .elementor-button {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #ffcc00, #ff8c00) !important;
  color: #000 !important;
  box-shadow: 0 10px 30px rgba(255,165,0,0.35);
  transition: all 0.3s ease;
}

/* BUTTON HOVER */
.hero-section .elementor-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255,165,0,0.5);
}

/* ANIMATION */
.hero-section h1,
.hero-section p,
.hero-section .elementor-button,
.hero-trust {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.hero-section p { animation-delay: 0.2s; }
.hero-section .elementor-button { animation-delay: 0.4s; }
.hero-trust { animation-delay: 0.6s; }

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


/* =====================================
🔥 BLOG GRID UNIVERSAL FIX
===================================== */

.elementor-posts-container,
.ast-row,
.blog,
.archive {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 25px !important;
}

.elementor-post,
.ast-article-post,
.post,
article {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #fff;
}


/* =====================================
🔥 ULTRA IMAGE FIX
===================================== */

.elementor-post__thumbnail,
.post-thumb,
.wp-post-image,
.ast-blog-featured-section {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

.elementor-post__thumbnail img,
.post-thumb img,
.wp-post-image,
.ast-blog-featured-section img,
article img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.elementor-post__thumbnail a,
.post-thumb a {
  display: block !important;
  height: 100% !important;
}


/* =====================================
LINKS
===================================== */

a {
  text-decoration: none;
  transition: 0.2s ease;
}

a:hover {
  opacity: 0.8;
}


/* =====================================
FOOTER
===================================== */

.elementor-location-footer {
  background: #111;
  color: #ccc;
  padding: 50px 0;
}

.elementor-location-footer h1,
.elementor-location-footer h2,
.elementor-location-footer h3 {
  color: #fff;
  font-size: 16px;
}

.elementor-location-footer p {
  color: #bbb;
}

.elementor-location-footer a {
  color: #ccc;
}

.elementor-location-footer a:hover {
  color: #fff;
}


/* =====================================
MOBILE
===================================== */

@media (max-width: 768px) {

  h1 { font-size: 28px; }
  h2 { font-size: 24px; }

  .hero-section {
    min-height: 75vh !important;
    padding: 60px 15px !important;
  }

  .hero-section h1 {
    font-size: 32px !important;
  }

  .hero-section p {
    font-size: 16px !important;
  }

  .elementor-posts-container,
  .ast-row {
    grid-template-columns: 1fr !important;
  }
}