/* ========================================
   Shotej - Custom CSS Version
   ======================================== */
 
/* =================================== */
body, h1, h2, h3, h4, h5, h6 { font-family: "Lato", sans-serif; }
.shotej-green { background-color: #2e7d32 !important; color: white !important; }
.w3-hover-green:hover { background-color: #1b5e20 !important; color: white !important; }
.custom-dropdown-tray { min-width: 180px; }

/* Main Carousel Wrapper */
.shotej-hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 400px;
    width: 100%;
    padding: 0 !important;
    overflow: hidden;
    background-color: #000; /* Fallback frame color */
}

/* Individual Slide Layers */
.shotej-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

/* Forces active slide to smoothly fade in */
.shotej-hero-slide.active-slide {
    opacity: 1;
    visibility: visible;
}

/* Standardized responsive background image behavior */
.slide-bg {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Position branding content strictly above sliding backgrounds */
.banner-content-container {
    width: 90%;
    max-width: 1200px;
    z-index: 2; /* Keeps text on top */
    pointer-events: none; /* Allows user to click arrows through hidden text box margins */
}

/* --- Premium Embossed Text & Logo Styles --- */
.embossed-logo {
    display: block;
    margin: 0 auto 15px auto;
    height: auto;
    width: 12vw;
    max-width: 110px;
    min-width: 70px;
    opacity: 0.85; 
    filter: drop-shadow(1px 1px 1px rgba(255,255,255,0.6)) 
            drop-shadow(-1px -1px 2px rgba(0,0,0,0.5));
}

.transparent-text {
    font-family: 'Arial', sans-serif;
    font-size: clamp(1.1rem, 3.5vw, 2.6rem); 
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;
    color: rgba(255, 255, 255, 0.22);
    margin: 0;
    line-height: 1.3;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.45), 
                  1px 1px 1px rgba(255, 255, 255, 0.65);
}

/* --- Navigation UI Styling --- */
.hero-nav-btn {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 24px 16px !important;
    font-size: 24px;
    z-index: 3;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.hero-nav-btn:hover {
    background-color: rgba(46, 125, 50, 0.8) !important; /* Branded green hover */
    color: #fff !important;
}

/* Bottom Center Pagination Indicators */
.hero-indicator-tray {
    bottom: 20px;
    z-index: 3;
}
.hero-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.hero-dot:hover, .hero-dot.active-dot {
    background-color: #2e7d32; /* Shotej green active indicator */
    transform: scale(1.3);
}

/* --- Media Queries for Screen Types --- */
@media (max-width: 768px) {
    .shotej-hero-carousel { height: 50vh; }
    .hero-nav-btn { padding: 12px 8px !important; font-size: 18px; }
}
@media (max-width: 480px) {
    .shotej-hero-carousel { height: 40vh; min-height: 280px; }
    .transparent-text { letter-spacing: 1px; }
    .hero-indicator-tray { bottom: 10px; }
}
/*    ==============Navbar================= */
/* Align items vertically inside the bar container */
.w3-flex-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  height: 70px; /* Fixed standardized height */
  padding: 0 16px;
}

/* Ensure the button block centers content flex items cleanly */
.logo-container {
  display: flex !important;
  align-items: center;
  height: 100%;
  padding-left: 0 !important;
}

.nav-logo {
  height: 50px; /* Scales down image asset cleanly */
  width: auto;
  margin-right: 12px;
}

.nav-title {
  font-size: 15px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Perfect alignment for desk link groups */
.nav-links-desktop {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links-desktop .w3-bar-item {
  padding: 23px 16px !important; /* Perfect balance height alignment */
}

/* Keeps the Donate block balanced */
.nav-links-desktop .shotej-button {
  padding: 10px 20px !important;
  margin-top: 2px;
}

/* Hamburger button vertical centering adjustments */
.hamburger-btn {
  padding: 23px 16px !important;
}

/* Mobile responsive font sizing and drawer width overrides */
.mobile-drawer {
  width: 280px !important;
  height: 100vh !important;
  z-index: 5;
}

@media (max-width: 600px) {
  .nav-title {
    font-size: 11px; /* Prevents text wrap layout breaks on phone viewports */
  }
  .nav-logo {
    height: 40px;
  }
  .w3-flex-bar {
    height: 60px;
  }
  .hamburger-btn {
    padding: 18px 12px !important;
  }
}
/*  ======================================== */
/* Custom properties mapping to support nested layout items */
.nav-links-desktop {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Ensure the hover alignment properties track perfectly */
.nav-links-desktop .w3-bar-item, 
.nav-links-desktop .w3-dropdown-hover {
  margin: 0 2px;
}

.nav-links-desktop button {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  padding: 12px 16px !important;
}

/* Alignment adjustments for the desktop absolute overlay menu box */
.custom-dropdown-tray {
  min-width: 180px;
  background-color: #ffffff !important;
  top: 58px !important; /* Space cleanly below header base limits */
  border-radius: 4px;
  overflow: hidden;
}

/* ড্রপডাউনের ভেতরের বাটনগুলোর মধ্যবর্তী গ্যাপ বা প্যাডিং কমানোর জন্য */
.custom-dropdown-tray .w3-bar-item {
  padding: 4px 16px !important; /* উপর-নিচে 8px থেকে কমিয়ে 4px করা হলো */
}

/* Ensure corporate hover overrides look intentional */
.custom-dropdown-tray .w3-bar-item:hover {
  background-color: #2e7d32 !important; /* Shotej Green corporate highlight */
  color: #ffffff !important;
}

/* Indentation styling marker layout rule for clean mobile visualization reading hierarchy */
.w3-padding-left-24 {
  padding-left: 24px !important;
}
.mobile-accordion-trigger:focus {
  background-color: rgba(0,0,0,0.05) !important;
}

/*    ==============Recent Activities================= */
/* Custom grid component styling metrics framework */
.activity-card-frame {
  display: flex;
  flex-direction: column;
  height: 440px; /* Forces uniform grid item element balancing heights */
  margin-bottom: 24px;
}

.activity-thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f1f1f1;
}

.activity-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Graceful hover zoom feedback transformation effect logic */
.activity-card-frame:hover .activity-thumbnail-img {
  transform: scale(1.06);
}

.activity-body-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px;
}

.activity-caption-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Truncates long strings to safely look crisp */
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.2em; 
}

.activity-action-btn {
  margin-top: auto; /* Pins detailed anchor trigger link cleanly to card floor baseline */
  text-align: center;
}

/* ========================================
   Error Page Styles
   ======================================== */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    padding: var(--spacing-lg) 20px;
}

.error-content {
    max-width: 900px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--color-primary); /* Use your Autoydin Orange */
    margin: 0;
    line-height: 1;
    opacity: 0.2;
}

.error-content h2 {
    font-size: 2rem;
    margin-top: -20px;
    color: var(--color-text);
}

.error-content p {
    color: #666;
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.error-help {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .error-actions {
        flex-direction: column;
    }
    .error-code {
        font-size: 5rem;
    }
}
/*    ==============WhatsApp চ্যাট উইজেট================= */
	.whatsapp-float {
		position: fixed;
		bottom: 100px; /* কুকি ব্যানারের উপরে রাখার জন্য */
		right: 30px;
		background-color: #075E54;
		color: white;
		padding: 10px 20px;
		border-radius: 50px;
		display: flex;
		align-items: center;
		/* gap: 10px; */
		cursor: pointer;
		box-shadow: 0 4px 12px rgba(0,0,0,0.15);
		z-index: 9998;
	}
	.whatsapp-float img { width: 25px; }
	@media (max-width: 768px) { .whatsapp-float span { display: none; } } /* মোবাইলে শুধু আইকন দেখাবে */

/*    ==============Custom Tooltip================= */
.tooltip {
  /*
  position: relative;
  */
  display: inline-block;
  border-bottom: 1px #25d366;
  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: 155px;
  background-color: #25d366;
  color: #ffffff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 1px;
  z-index: 1;
  bottom: 110%;
  position: absolute;
  left: 50%;
  margin-left: -85px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}



/*    =============================== */
/* ৩ডি এম্বুসড এবং স্বচ্ছ লোগো ইফেক্ট */
.embossed-logo {
    opacity: 0.85; /* লোগোকে স্বচ্ছ করার জন্য */
    filter: drop-shadow(1px 1px 1px rgba(255,255,255,0.6)) 
            drop-shadow(-1px -1px 2px rgba(0,0,0,0.5)); /* ৩ডি লুক */
}

/* ৩ডি এম্বুসড এবং স্বচ্ছ টেক্সট (EMPOWERING LIVES) ইফেক্ট */
.transparent-text {
    color: rgba(255, 255, 255, 0.25); /* টেক্সটকে স্বচ্ছ করার জন্য */
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.4), 
                  1px 1px 1px rgba(255, 255, 255, 0.6); /* খোদাই করা বা এম্বুসড লুক */
}
