html {
	scroll-behavior: smooth;
}

body {
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

strong {
  font-weight: bold;
}

.site-section{
	background-image: url('../images/appaji-main-bg.jpg');
	background-size: cover;
	position: relative;
	height: 75%;
}

p {
	color: #b3b3b3;
	font-weight: 300; 
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; 
}

a {
	-webkit-transition: .3s all ease;
	-o-transition: .3s all ease;
	transition: .3s all ease; 
}

a, a:hover {
    text-decoration: none !important; 
}

h2 {
	font-size: 20px; 
}

body {
  position: relative; }
  body:before {
    position: absolute;
    content: "";
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .3s all ease-in-out;
    -o-transition: .3s all ease-in-out;
    transition: .3s all ease-in-out; 
}

body.show-sidebar:before {
    opacity: 1;
    visibility: visible; 
}

.site-section {
	padding: 5rem 0;
}
/* --- Sidebar --- */
aside, main {
	height: 100vh;
	min-height: 580px; 
}

aside {
	width: 300px;
	left: 0;
	z-index: 1001;
	position: fixed;
	-webkit-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	transform: translateX(-100%);
	background-color: #fff;
	-webkit-transition: 1s -webkit-transform cubic-bezier(0.23, 1, 0.32, 1);
	transition: 1s -webkit-transform cubic-bezier(0.23, 1, 0.32, 1);
	-o-transition: 1s transform cubic-bezier(0.23, 1, 0.32, 1);
	transition: 1s transform cubic-bezier(0.23, 1, 0.32, 1);
	transition: 1s transform cubic-bezier(0.23, 1, 0.32, 1), 1s -webkit-transform cubic-bezier(0.23, 1, 0.32, 1); 
}

.show-sidebar aside {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%); 
}
	
aside .toggle {
    padding-left: 30px;
    padding-top: 30px;
    position: absolute;
    right: 0;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%); 
}
	
.show-sidebar aside .toggle .burger:before, .show-sidebar aside .toggle .burger span, .show-sidebar aside .toggle .burger:after {
    background: #fff; 
}
	
.show-sidebar aside {
    -webkit-box-shadow: 10px 0 30px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 10px 0 30px 0 rgba(0, 0, 0, 0.1); 
}

aside .side-inner {
    padding: 30px 0;
    height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch; 
}

aside .side-inner .profile {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #efefef; 
}
    
aside .side-inner .profile img {
    width: 100px;
    margin: 0 auto 20px auto;
    border-radius: 20%; 
}

aside .side-inner .profile {
    font-size: 14px;
    color: #cfcfcf; 
}

aside .side-inner .counter {
    padding-bottom: 10px;
    border-bottom: 1px solid #efefef;
    text-align: center; 
	font-weight: bold;
}

aside .side-inner .counter div .number {
    display: block;
    font-size: 20px;
    color: #000; 
}

aside .side-inner .counter div .number-label {
    color: #cfcfcf; 
}

aside .side-inner .nav-menu ul, aside .side-inner .nav-menu ul li {
    padding: 0;
    margin: 0px;
    list-style: none; 
}

aside .side-inner .nav-menu ul li a {
    display: block;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #8b8b8b;
    position: relative;
    -webkit-transition: .3s padding-left ease;
    -o-transition: .3s padding-left ease;
    transition: .3s padding-left ease; 
}

aside .side-inner .nav-menu ul li a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0px;
    background-color: #ff7315;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .3s opacity ease, .3s visibility ease, .3s width ease;
    -o-transition: .3s opacity ease, .3s visibility ease, .3s width ease;
    transition: .3s opacity ease, .3s visibility ease, .3s width ease; 
}

aside .side-inner .nav-menu ul li a:active, aside .side-inner .nav-menu ul li a:focus, aside .side-inner .nav-menu ul li a:hover {
    outline: none; 
}

aside .side-inner .nav-menu ul li a:hover {
	background: #fcfcfc;
	color: #000; 
}

aside .side-inner .nav-menu ul li a:hover:before {
	width: 4px;
	opacity: 1;
	visibility: visible; 
}

aside .side-inner .nav-menu ul li.active a {
    background: #fcfcfc;
    color: #000; 
}

aside .side-inner .nav-menu ul li.active a:before {
	opacity: 1;
	visibility: visible;
	width: 4px; 
}
/* --- End of Sidebar --- */
		
/* --- Floating Icons --- */
.floating-icons-container {
    position: fixed;
    top: 20px;
    right: 20px;
	z-index: 1;
}

.floating-icon-audio, .floating-icon-language  {
	display: block;
	background-color: lightgrey;
	color: black;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	text-align: center;
	line-height: 50px;
	font-size: 24px;
	text-decoration: none;
	cursor: pointer;
	margin: 5px 0;
}

.floating-icon-audio:hover, .floating-icon-language:hover  {
	background-color: lightgrey;
	color: black;
}

.language-selector {
	position: fixed;
	top: 60px;
	right: 20px;
	z-index: 1000;
}

.language-dropdown li:hover {
	background-color: lightgrey;
}

.floating-icon-language:hover .language-dropdown {
	display: block;
}

.language-dropdown {
	display: none;
	position: absolute;
	top: auto;
	right: 0;
	background-color: white;
	border: 1px solid #ccc;
	list-style: none;
	padding: 0;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.language-dropdown li {
	padding: 0 10px;
	cursor: pointer;
	font-size: 16px;
	color: black;
}

.floating-icon-language .active {
	font-weight: bold;
	color: red; 
}
/* --- End of Floating Icons --- */

/* --- Main --- */
.main {
	height: 550px;
}

main {
	width: calc(100%); 
}

main .post-content {
	margin: 20px;
}

main .appajiBrief, main .foundationBrief, main .samsthaanaBrief {
	background: grey;
	opacity: 85%;
}

main .post-entry {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80px;
    flex: 0 0 80px;
}

main .post-content h3 {
    font-size: 30px; 
	color: orange;
	font-weight: bold;
}

main .post-content .post-meta p {
    font-size: 17px;
    color: white; 
	text-align: justify;
}
/* --- End of Main --- */

/* --- Carousel --- */
.carousel-indicators-outside button {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #888;
	border: none;
	margin: 0 5px;
	opacity: 0.5;
}

.carousel-indicators-outside button.active {
	background-color: #333;
	opacity: 1;
}

.carousel-indicators-outside {
	margin-top: 0.5rem !important;
}
/* --- End of Carousel --- */

/* --- Burger --- */
.burger {
	width: 28px;
	height: 32px;
	cursor: pointer;
	position: relative;
	z-index: 99;
	float: right; 
}

.burger:before, .burger span, .burger:after {
	width: 100%;
	height: 4px;
	display: block;
	background: orange;
	border-radius: 2px;
	position: absolute;
	opacity: 1;
}

.burger:before, .burger:after {
	-webkit-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
	transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
	-o-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
	transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
	transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
	-webkit-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
	content: ""; 
}

.burger:before {
	top: 4px; 
}

.burger span {
	top: 15px; 
}

.burger:after {
	top: 26px; 
}

/* --- Hover --- */
.burger:hover:before {
	top: 7px; 
}

.burger:hover:after {
	top: 23px; 
}

/* --- Click --- */
.burger.active span {
	opacity: 0; 
}

.burger.active:before, .burger.active:after {
	top: 40%; 
}

.burger.active:before {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=5);
  /*for IE*/ 
}

.burger.active:after {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=-5);
  /*for IE*/ 
}

.burger:focus {
	outline: none; 
}
  
/* --- End of Burger --- */

/* --- Welcome --- */
.welcome h1 {
	text-align: center;
	margin: 25px 0;
}
/* --- End of Welcome --- */

/* --- About Brief --- */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.aboutImage {
	display: flex;
	flex-wrap: wrap;
	align-items: center;     /* vertical centering across row */
	justify-content: center; /* horizontal centering across row */
	min-height: 40vh;       /* optional: full viewport height */
}

.appajiAbout .onlyImage img, .samsthaanaAbout .onlyImage img {
	max-width: 275px;
	height: 275px;
	display: block;
	margin-right: auto;
	transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.foundationAbout .onlyImage img {
	max-width: 275px;
	height: 275px;
	display: block;
	margin-left: auto;
	transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.onlyImage img:hover {
	transform: scale(1.05);
}

.onlyImage {
	padding: inherit;
}

.onlyAbout {
	display: flex;
	align-items: center;     /* vertical centering within column */
	justify-content: center; /* horizontal centering within column */
	text-align: justify;      /* center text inside <p> */
}

.appajiAbout p {
	margin: 0;
	max-width: 90%;
	color: bisque;
}

.foundationAbout p {
	margin: 0;
	max-width: 90%;
	color: black;
}

.samsthaanaAbout p {
	margin: 0;
	max-width: 90%;
	color: darkblue;
}

.appajiAbout {
	background: #7c2d22;
	margin: 10px;
}

.foundationAbout {
	background: #ffc68a;
	margin: 10px;
}

.samsthaanaAbout {
	background: #d5f2e9;
	margin: 10px;
}

.appajiAbout .mt-3, .foundationAbout .mt-3, .samsthaanaAbout .mt-3 {
	margin-top: -5rem !important;
}

.appajiAbout a {
	background: bisque;
	color: #7c2d22;
	border: 1px solid bisque;
	transition: all 0.3s ease-in-out;
}

.appajiAbout a:hover {
	background: bisque;
	color: #7c2d22;
	border: 1px solid bisque;
	transform: scale(1.05);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.foundationAbout a {
	background: black;
	color: #ffc68a;
	border: 1px solid black;
	transition: all 0.3s ease-in-out;
}

.foundationAbout a:hover {
	background: black;
	color: #ffc68a;
	border: 1px solid black;
	transform: scale(1.05);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.samsthaanaAbout a {
	background: darkblue;
	color: #d5f2e9;
	border: 1px solid darkblue;
	transition: all 0.3s ease-in-out;
}

.samsthaanaAbout a:hover {
	background: darkblue;
	color: #d5f2e9;
	border: 1px solid darkblue;
	transform: scale(1.05);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
/* --- End of About Brief --- */

/* --- Donate Section --- */
.donate {
	position: relative;
}

.donate h2 {
	text-align: center;
	margin: 15px 0;
	font-size: 25px;
}

.donateRow p {
	text-align: center;
	color: black;
}

.donateCalculationText p{
	text-align: center;
	font-size: 30px;
}

.donateCalculator {
	display: inline-block;
	text-align: center;
	margin-top: 5px;
}

.donateRow {
	background: beige;
	margin: 10px;
}

.donateAmount {
	display: ruby;
	text-align: end;
	margin: auto;
	padding: 0;
}

.donateAmount input {
	height: 35px;
}

.donateButton button {
	color: beige;
	background: midnightblue;
	border: 1px solid transparent;
	transition: all 0.3s ease-in-out;
}

.donateButton button:hover {
	background: transparent;
	color: midnightblue;
	transform: scale(1.05);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.qrCodeGenerator p, .payment p{
	text-align: center;
	margin: 0 0 10px 0;
}

.qrCode {
	display: grid;
	text-align: center;
	justify-content: center;
}

.bankDetails {
	display: flex;
	justify-content: center;  /* Horizontal centering */
	align-items: center;      /* Vertical centering */
	height: 40vh;   
}

.payment {
	border-left: 1px solid;
}

.qrCodeGenerator {
	justify-content: center;  /* Horizontal centering */
	align-items: center;      /* Vertical centering */
}

/* --- End of Donate Section --- */