/* +++++++++++++++++++++++++++++++++++++++++
 STAR - HOME SECTION
+++++++++++++++++++++++++++++++++++++++++ */

/* ============================
 Start -  Banner Section
============================ */

/* Desktop visible, mobile hidden */
.desktop-slider {
    display: block;
}

.mobile-slider {
    display: none;
}

@media only screen and (max-width: 768px) {
    .desktop-slider {
        display: none;
    }

    .mobile-slider {
        display: block;
    }
    }
    


/*==================================
    Energy Awareness page start
================================== */

  .energy-section {
    font-family: 'Lora', serif;
    padding: 80px 0px;
  }

  .energy-card {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    color: white;
    padding: 100px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease;
  }

  .energy-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
    border-radius: 20px;
  }

  .energy-card:hover {
    transform: translateY(-8px);
  }

  .energy-icon {
    font-size: 60px;
    margin-bottom: 20px;
  }

  .energy-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
  }

  .energy-card p {
    font-size: 1.1rem;
  }

  .tagline {
    margin-top: 50px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1b5e20;
  }
  
  
/* == Mobile nav bar list  == */


/* =========================
   MOBILE MENU FIX (UPDATED)
========================= */
@media (max-width: 991px) {

  /* Search Box Fix */
  .search-box.offcanvas {
    padding: 20px;
    background: #fdfaf7;
  }

  /* Dropdown logic fix */
  .off-canvas-nav .mobile-menu .sub-menu {
    display: none; 
    padding-left: 20px;
    list-style: none;
    background: #fffafa; 
  }

  
  .off-canvas-nav .mobile-menu li.active > .sub-menu {
    display: block; 
  }


}


  
    .hero {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1557683316-973673baf926?auto=format&fit=crop&w=1470&q=80');
      background-size: cover;
      background-position: center;
      color: #fff;
      padding: 140px 20px;
      position: relative;
    }
    .hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: 4em;
      margin-bottom: 0.3em;
    }
    .hero p {
      font-size: 1.4em;
      max-width: 800px;
    }
    .cta {
      margin-top: 30px;
      padding: 15px 35px;
      background-color: #e07730;
      color: white;
      border: none;
      border-radius: 30px;
      font-size: 1.1em;
      cursor: pointer;
    }
    .split-section {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 40px;
      padding: 80px 10%;
      align-items: center;
    }
    .split-section:nth-child(even) {
      background-color: #f2e6da;
    }
    .split-text h2 {
      font-family: 'Playfair Display', serif;
      font-size: 2.5em;
      color: #4b2e1f;
    }
    .split-text p {
      font-size: 1.15em;
      line-height: 1.8;
    }
    .split-image img {
      width: 100%;
      border-radius: 15px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }
    .features {
      padding: 100px 10%;
      background-color: #fffdf8;
      text-align: center;
    }
    .features h2 {
      font-family: 'Playfair Display', serif;
      font-size: 2.8em;
      color: #3b281a;
      margin-bottom: 60px;
    }
    .features-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 50px;
    }
    .feature-box {
      background: #fef9f1;
      padding: 30px;
      max-width: 450px;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.05);
      transition: transform 0.3s;
    }
    .feature-box:hover {
      transform: translateY(-5px);
    }
    .feature-box h3 {
      color: #a5562b;
      font-size: 1.4em;
      margin-bottom: 12px;
    }
    .feature-box p {
      font-size: 1em;
      line-height: 1.6;
    }
    

  .vg-section {
    background-image: url('https://yourdomain.com/assets/frontend/image/vijayaagni/home/baa.jpg');
    background-repeat: repeat;
  }
  
  
  

    /* Banner image fix */
.single-slider.bg-image {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    height: 75vh;            /* desktop perfect height */
    min-height: 480px;       /* ensure not too small */
    width: 100%;
}

/* Large screens */
@media (min-width: 1600px) {
    .single-slider.bg-image {
        height: 80vh;
        min-height: 550px;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .single-slider.bg-image {
        height: 55vh;
        min-height: 350px;
    }
}

/* Mobile screens */
@media (max-width: 575px) {
    .single-slider.bg-image {
        height: 45vh;
        min-height: 250px;
        background-position: center top !important; 
    }
}




/* Desktop visible, mobile hidden */
.desktop-slider {
    display: block;
}

.mobile-slider {
    display: none;
}

@media only screen and (max-width: 768px) {
    .desktop-slider {
        display: none;
    }

    .mobile-slider {
        display: block;
    }
}








/* ========== Start Showing SHow Blinking animation ============ */

/* Badge Styling */
.new-feature-badge {
    position: absolute;
    top: -8px; 
    right: -15px; 
    background-color: #8b1e1e; 
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: slowBlink 2.5s ease-in-out infinite; 
}

/* Slow Blinking Animation */
@keyframes slowBlink {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
    .new-feature-badge {
        position: static;
        display: inline-block;
        vertical-align: middle;
        margin-left: 5px;
        top: 0;
    }
}



/* Top right header section menu */
.dropdown-right-align {
    right: 0 !important;   
    left: auto !important;  
    transform: translateX(0) !important; 
    margin-top: 15px !important;
}

/* Arrow indicator (optional but looks good) */
.premium-dropdown-card::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 15px; /* Arrow icon ke niche rahega */
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fdfaf7;
}

/* Baaki Styling as per previous premium design */
.premium-dropdown-card {
    min-width: 250px !important;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    overflow: hidden;
    z-index: 999;
}

.dropdown-user-info {
    padding: 20px;
    background: #fdfaf7;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f1f1f1;
}

.user-avatar-initials {
    width: 40px;
    height: 40px;
    background: #a65f2b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.display-name { font-size: 14px; margin: 0; font-weight: 700; color: #333; }
.greeting-sub { font-size: 10px; color: #999; margin: 0; text-transform: uppercase; }

.clean-option-list { list-style: none; padding: 10px 0; margin: 0; }
.clean-option-list li a {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.clean-option-list li a i { width: 25px; color: #a65f2b; font-size: 15px; }
.clean-option-list li a:hover { background: #f9f9f9; color: #a65f2b; padding-left: 25px; }

.logout-divider { height: 1px; background: #eee; margin: 5px 0; }
.logout-btn a { color: #d9534f !important; }
.logout-btn a i { color: #d9534f !important; }

/* Desktop only fix */
@media (max-width: 991px) {
    .custom-account-dropdown .sin-dropdown {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        display: block !important;
    }
}













