/* ========================================================
     DNL Child Theme — Shortcode Styles
     Each shortcode's styles live under its own scoped root
     class so nothing leaks across shortcodes or into the theme.
     ======================================================== */
  
  /* ---------- [dnl_timeline] ---------- */
/*  .history-card-icon {*/
/*        display: block !important;*/
/*        width: 120px !important;*/
/*        height: auto !important;*/
/*        margin: 0 auto 16px !important;*/
/*}*/

.history-card-icon {
    display: block !important;
    width: 60px !important;
    height: auto !important;
    margin: 20px !important;
}
  .dnl-history-wrap { position: relative; }
  .dnl-history-pin {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 60px 20px;
    background-color: #ffffff;
    overflow: hidden; 
  }
  .dnl-history-grid {
    display: flex; justify-content: center; align-items: stretch;
    gap: 20px; width: 100%; max-width: 1200px;
  }
  .dnl-history-grid .history-card {
    background-color: #1a1d1f;
    color: #fff;
    flex: 1;
    /*height: 500px;*/
    /*padding: 100px 60px 50px 60px;*/
    padding:50px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .5s ease, transform .5s ease;
  }
  .dnl-history-grid .history-card.is-visible {
    opacity: 1;
    transform: translateY(0);   
  }
  .dnl-history-grid .history-card .tab {
    /*width: 50px; height: 50px;*/
    height:100px;
    width:100px;
    background-color: #ce0001ad;
    position: absolute; top: -60px;
    border-radius: 5px;
  }
  .dnl-history-grid .history-card h1 {
    font-size: 3rem; margin: 0 0 10px 0; font-weight: bold;
    font-family: 'AVENIR Medium', Arial, sans-serif;
  }
  .dnl-history-grid .history-card h3 {
    margin-top: 20px !important;
    font-size: 16px; letter-spacing: 2px;
    margin-bottom: 20px; padding-bottom: 10px;
    width: 80%; color: #fff;
    font-family: 'AVENIR light', Arial, sans-serif;
  }
  .dnl-history-grid .history-card p {
    font-size: 16px; line-height: 1.6; color: #e0e0e0; margin: 0;
    font-family: 'AVENIR light', Arial, sans-serif;
  }
  .dnl-history-grid .divider_line {
    height: 2px !important;
    background-color: #019900 !important;
    width: 60px; margin-top: 10px;
  }
  .your-card-container {
    overflow: visible !important;
    margin-top: 50px; /* Red box ke hisaab se adjust kar lein */
}
  @media (max-width: 900px) {
    .dnl-history-grid { flex-direction: column; gap: 40px; }
    .dnl-history-grid .history-card { height: auto; padding: 80px 30px 40px 30px; }
    .dnl-history-pin { min-height: auto; padding: 40px 16px; }
  }
    @media (max-width: 575px) {
        .dnl-history-grid{
            gap:80px !important;
        }
        .dnl-history-pin {
    min-height: auto;
padding: 70px 10px 15px 10px !important;
}
    }
  
  
  
  /*header scroll animation css   */
  
  
 /* ========================================================
     Scroll-state header (glass effect after user scrolls)
     Target: ONLY the outer sticky container, not the inner
     nav widget that shares the .main_menu class.
     ======================================================== */
  .main_menu.elementor-sticky {
    transition: background 0.3s ease,
                backdrop-filter 0.3s ease,
                -webkit-backdrop-filter 0.3s ease,
                border 0.3s ease,
                border-radius 0.3s ease,
                box-shadow 0.3s ease;
  }

  body.dnl-scrolled .main_menu.elementor-sticky {
    /*background: rgba(206, 0, 1, 0.20);*/
        background: rgb(206 0 1 / 70%) !important;
    -webkit-backdrop-filter: blur(25px);
            backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 2px solid #ffffff;
    /*border-radius: 20px;*/
    box-shadow:
      0 10px 40px rgba(0, 0, 0, 0.35),
      0 0 25px rgba(206, 0, 1, 0.20);
  }
  
  