@font-face {
    font-family: ML;
    src: url(NotoSansMalayalam-VariableFont_wdth\,wght.ttf);
}

/* Donation UI styles */
.donate-panel {
	/* background: #fff7e6; */
	/* border: 1px solid #f1c27d; */
	padding: 18px;
	margin: 18px 0;
	max-width: 760px;
}
.donate-panel .label { display:block; font-weight:700; margin-bottom:8px; color:#333; }
.donate-amounts { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.donate-amounts button { background:#ff6600; border:none; color:#fff; padding:8px 12px; border-radius:4px; cursor:pointer; }
.donate-amounts button.active { background:#d35400; }
.donate-input { width:140px; padding:8px; border:1px solid #ddd; border-radius:4px; font-size:16px; }
.donate-button {
	background:#d35400;
	color:#fff;
	border:none;
	padding:12px 18px;
	font-size:18px;
	font-weight:700;
	border-radius:6px;
	cursor:pointer;
	line-height:1;
}
/* Ensure donate button hover keeps the same font size and weight */
.donate-button:hover,
.donate-button:focus {
	color: #e6e6e6; /* slight grey */
	background: #d35400; /* keep filled orange */
	text-decoration: none;
	font-size:18px;
	font-weight:700;
}
.donate-note { font-size:13px; color:#666; margin-top:10px; }

/* Donation page container tweaks */
.donation-page .main-content { max-width: 820px; margin: 20px auto; padding: 18px; }
.donation-page .heading1 { text-align: center; }

/* Larger, centered donation panel styles for donate.htm */
.donation-page .main-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.donation-page .donate-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 640px;
	margin: 36px auto;
	padding: 28px;
	border-radius: 12px;
	background: rgba(255,255,255,0.96);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.donation-page .donate-panel .label { font-size: 28px; color: #d35400; margin-bottom: 16px; font-weight: 800; }
.donation-page .donate-amounts { gap: 12px; margin-bottom: 20px; }
.donation-page .donate-amounts button { padding: 12px 20px; font-size: 18px; border-radius: 8px; }
.donation-page .donate-input { font-size: 18px; padding: 10px; width: 220px; margin-right: 12px; margin-bottom: 12px; }
.donation-page .donate-button { font-size: 22px; padding: 16px 32px; border-radius: 8px; font-weight: 800; margin-top: 6px; }
.donation-page #paypal-button-container { margin-top: 20px; margin-bottom: 14px; width: 100%; display:flex; justify-content:center; }
.donation-page .donate-note { margin-top: 18px; }

@media (max-width: 900px) {
	.donation-page .donate-panel { width: 100%; padding: 18px; margin: 18px 10px; }
	.donation-page .donate-input { width: 100%; margin: 8px 0; }
	.donation-page .donate-button { width: 100%; }
	.donation-page .donate-amounts { justify-content: center; }
}

body {
	margin: 0 auto;
	text-align: justify;
	background: url('../images/bg03.gif');
}

ul {
	list-style-type: square;
	color: #ffff44;
}

a {
	font-family: "Ariel", "Sans-serif", "Helvetica";
	font-size: 12px;
	font-weight: normal;
	color: #333;
	line-height: 20px;
	text-decoration: none;
}

.normal {
	text-align: left;
	letter-spacing: normal;
	font-size: 19px;
	font-weight: normal;
	color: #333;
	line-height: 25px;
	text-decoration: none;
	text-shadow: 1px 1px;
}
.learn-more-button {
	display: inline-block;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	background-color: #000000;
	color: white;
	border: 1px solid #ffae00;
	border-radius: 5px;
	cursor: pointer;
  }
  
  .learn-more-button:hover {
	display: inline-block;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	background-color: #ffae006c;
	color: white;
	border: 1px solid #ffae0088;
	border-radius: 5px;
	cursor: pointer;
  }


.red-box {
	background-color: #d82422;
	align-items: center;
	color: white;
	width: fit-content;
	display: flex;
	padding: 9px;
	margin: 10px auto; /* Center horizontally with auto margins */
	margin-bottom: 20px;
}
.red-box2 {
	background-color: #d82422;
    align-items: center;
    margin: 10px;
    color: white;
    width: fit-content;
    display: flex;
    padding: 9px;
    margin-bottom: 20px;
}

.rbx{
	font-family: "Ariel", "Sans-serif", "Helvetica";
	color: rgb(0, 0, 0);
	font-size: 20px;
	font-weight: bold;
	margin-left: 4rem;
}
a:hover {
	font-family: "Ariel", "Sans-serif", "Helvetica";
	font-size: 12px;
	font-weight: bold;
	color: #C11111;
	line-height: 20px;
	text-decoration: none;
}

.white {
	font-family: "Ariel", "Sans-serif", "Helvetica";
	font-size: 13px;
	font-weight: normal;
	color: #fff;
	text-shadow: 1px 1px #111;
}

.red {
	font-family: "Ariel", "Sans-serif", "Helvetica";
	font-size: 14px;
	font-weight: bold;
	color: #ffff44;
	line-height: 20px;
}















.img {
	border: solid 4px #999;
}

#container {

	height: auto;
	width: 100%;
	max-width: 1000px;
	margin: 40px auto;
	padding: 20px;
	padding-bottom: 0px;
	text-align: justify;
	border: 2px solid #fff;
	box-shadow: 0px 0px 60px 8px #ff6600;
	background-color: #FCF8CF;
}

#header {
	height: 200px;
	width: 100%;
	max-width: 1000px;
	background: #fff;
	margin: 0 auto;
}

#sidebar {
	float: left;
	height: auto;
	width: 300px;
	box-sizing: border-box;
}

#menu {
	height: 40px;
	width: 100%;
	line-height: 40px;
	letter-spacing: 1px;
	background-color: #7F4909;
	text-align: center;

}

#menu a {
	font-family: "Ariel", "Sans-serif", "Helvetica";
	font-size: 11px;
	font-weight: normal;
	color: #fff;
	line-height: 20px;
	text-decoration: none;
	text-shadow: 1px 1px #333;

}

#menu a:hover {
	font-family: "Ariel", "Sans-serif", "Helvetica";
	font-size: 12px;
	font-weight: bold;
	color: #ffff44;
	line-height: 20px;
	text-decoration: none;
	text-shadow: 1px 1px #333;
}

#flash {
	float: left;
	height: 230px;
	width: 660px;
	padding: 2px;
	margin-top: 25px;
	margin-left: 10px;
	background-color: #fff;
}

#inner {
	float: none;
	box-sizing: border-box;
	height: auto;
	width: 100%;
	max-width: 100%;
	padding: 30px;
	margin: 30px 10px;
	border: solid 1px #fff;
}

#p-inner {
	float: left;
	height: auto;
	width: 660px;
	margin-top: 30px;
	margin-left: 10px;
	margin-bottom: 30px;
	border: solid;
	border-width: 1px;
	border-color: #fff;
}

#inner2 {
    display: grid;
    align-items: center;
    float: none;
    height: fit-content;
    width: auto;
    padding: 30px;

    background-color: #281c6d;
    border: solid;
    border-width: 1px;
    border-color: #281c6d;
}

#p-inner2 {

	float: left;
	height: auto;
	width: 660px;
	margin-top: 30px;
	margin-left: 10px;
	margin-bottom: 30px;
	border: solid;
	border-width: 1px;
	border-color: #fff;
}

#inner3 {
    display: grid;
    align-items: center;
    float: none;
    height: fit-content;
    width: auto;
    padding: 30px;

    background-image: linear-gradient(#f8e170, #f5b335,#c5681d);
    border: solid;
    border-width: 1px;
    border-color: #281c6d;
}
.column {
    margin: 20px;
    padding: 0px;
    box-sizing: border-box;
    height: 200px;
    background-color: transparent;
    display: flex;
}

.text {

    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 24px;
    text-align: left;
}

img {
    max-height: 100%;
    max-width: 100%;
}

/* Ensure header image scales responsively */
#header img { display:block; max-width:100%; height:auto; margin:0 auto; }

/* Responsive layout helpers */
.content-row { display: flex; gap: 20px; align-items: flex-start; padding-top: 24px; }
.content-row .main-content { flex: 1 1 60%; }
.content-row .sidebar { flex: 0 0 300px; }

/* Responsive map container */
.map-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.map-responsive iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:0; }

@media (max-width: 900px) {
	#container { margin: 20px; padding: 12px; }
	#header img { max-width: 100%; height: auto; }
	.content-row { flex-direction: column; }
	.content-row .sidebar { flex: none; width: 100%; }
	#menu { font-size: 14px; }
}

@media (max-width: 480px) {
	#menu { font-size: 13px; }
	.heading1 { font-size: 20px; }
	.normal { font-size: 16px; line-height: 22px; }
}

/* Image wrap utility for article images */
.wrap-img {
	float: left;
	margin: 0 18px 12px 0;
	width: 280px;
	height: 575px;
	object-fit: cover;
	display: block;
}

@media (max-width: 900px) {
	.wrap-img { float: none; width: 100%; margin: 0 0 12px 0; height: auto; object-fit: contain; }
}

/* Photo grid for events page (stacked vertically) */
.photo-grid-section { margin-top: 18px; margin-bottom: 28px; }
/* Force a vertical list: one image per row */
.photo-grid { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.photo-grid figure { margin: 0; }
/* Make photo-grid images fit the site container while preserving aspect ratio.
	 This will prevent large originals from overflowing the content area. */
.photo-grid img {
	width: 100%;          /* scale to container width */
	height: auto;         /* preserve aspect ratio */
	max-width: 100%;
	display: block;
	margin: 0 auto;
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.12);
	transition: transform 180ms ease;
}
.photo-grid img:hover { transform: scale(1.02); }

@media (max-width: 700px) {
	.photo-grid img { height: 260px; }
}

@media (min-width: 1200px) {
	.photo-grid img { height: 420px; }
}

/* Specific large-screen heights per photo as requested */
@media (min-width: 1200px) {
	/* First two photos (direct children of .photo-grid): 44em height */
	.photo-grid > figure:nth-child(1) img,
	.photo-grid > figure:nth-child(2) img {
		width: 100%;
		height: 42em;
		object-fit: cover;
	}

	/* Last two photos (inside .photo-row): 75em height */
	.photo-grid .photo-row > figure:nth-child(1) img,
	.photo-grid .photo-row > figure:nth-child(2) img {
		width: 100%;
		height: 45em;
		object-fit: cover;
	}
	/* Make .photo-row display side-by-side on wide screens */
	.photo-row { display: flex; gap: 14px; }
	.photo-row > figure { margin: 0; flex: 1; }
}

@media (max-width: 700px) {
	.photo-row { flex-direction: column; }
}

/* Lightbox / fullscreen viewer */
.lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.92);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 20px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-image {
	max-width: 95%;
	max-height: 95%;
	box-shadow: 0 20px 60px rgba(0,0,0,0.6);
	border-radius: 6px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
	position: absolute;
	background: rgba(0,0,0,0.6);
	color: #fff;
	border: none;
	padding: 10px 14px;
	font-size: 26px;
	cursor: pointer;
	border-radius: 6px;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-close:focus, .lightbox-prev:focus, .lightbox-next:focus { outline: 2px solid #fff; }

@media (max-width: 700px) {
	.lightbox-prev, .lightbox-next { display: none; }
	.lightbox-close { top: 10px; right: 10px; padding: 8px 10px; }
}

/* Gallery page modern styles */
.gallery-header { text-align: center; margin: 10px 0 20px 0; }
.gallery-header .title { font-size: 34px; color: #d35400; margin: 6px 0; font-weight: 800; }
.gallery-header .subtitle { color: #333; font-size: 16px; margin-bottom: 8px; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: stretch; }
.gallery-item { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.06); transition: transform 200ms ease, box-shadow 200ms ease; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; cursor: zoom-in; }
.gallery-item .caption { padding: 10px 12px; font-size: 14px; color: #444; }
.gallery-item:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }

@media (min-width: 1200px) {
	.gallery-item img { height: 300px; }
}

@media (max-width: 480px) {
	.gallery-item img { height: 180px; }
}

/* Center About page main content and image */
.main-content { text-align: center; }
.main-content .wrap-img { float: none; margin: 0 auto 16px auto; display: block; width: 280px; height: 575px; object-fit: cover; }

#p-inner3 {

	float: left;
	height: auto;
	width: 660px;
	margin-top: 30px;
	margin-left: 10px;
	margin-bottom: 30px;
	border: solid;
	border-width: 1px;
	border-color: #fff;
}
.heading1 {
	text-align: left;
	font-family: "Ariel", "Sans-serif", "Helvetica";
	font-size: 26.5px;
	font-weight: bold;
	color: #ff6600;
	margin-top: 0px;
	margin-bottom: 0px;
	text-decoration: none;
	text-shadow: 1px 1px #111;
}
#footer {
	height: 60px;
	line-height: 30px;
	margin-top: 20px;
	width: 100%;
	max-width: 1000px;
	background-color: #7F4909;
	text-align: center;
	overflow: hidden;
}

#footer a {
	font-family: "Ariel", "Sans-serif", "Helvetica";
	font-size: 12px;
	font-weight: normal;
	color: #fff;
	line-height: 20px;
	text-decoration: none;
	text-shadow: 1px 1px #333;

}
/* Default styles for larger screens */
.mySlides .img2 {
	width: 100%;
	display: block;
	position: relative;

	top: 20%;
  }
  
  /* Styles for phones (screen width 600px or less) */
  @media only screen and (max-width: 600px) {
	.img2 {
        /* width: 80% !important; */
        display: block !important;
        position: relative !important;
        /* left: 10% !important; */
        top: 21% !important;
  }
#footer a:hover {
	font-family: "Ariel", "Sans-serif", "Helvetica";
	font-size: 12px;
	font-weight: bold;
	color: #ffff44;
	line-height: 20px;
	text-decoration: none;
	text-shadow: 1px 1px #333;
}

#slider-container {
	position: relative;
	clear: both
}

#shadow-img-slider {
	height: 5px;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url('../images/shadow-img-slider.png') repeat-x;
	z-index: 30
}

.box_skitter_large {
	width: 660px;
	height: 230px;
	background: #000
}

.label_skitter {
	bottom: 35px !important;
	left: 40px !important;
	padding: 20px;
	background: url('../images/opacity-slider-text.png');
	display: none
}

.label_skitter h3 {
	margin-bottom: 10px;
}

.stickytooltip {
	display: none;
	position: absolute;
	display: none;
	border: 1px solid #fff;
	font: normal 13px Arial;
	color: #fff;
	background: #517712;
	z-index: 3000;
}

.stickytooltip .stickystatus {
	background: #517712;
	color: #fffF44;
	padding-top: 5px;
	text-align: center;
	font: bold 11px Arial;
}

/* Contact page specific styles */
.contact-page .main-content { text-align: left; }
.contact-page .main-content h1.heading1 { font-family: "Ariel", "Sans-serif", "Helvetica"; font-size: 30px; color: #ff6600; margin: 0 0 10px 0; }
.contact-page .main-content h2.heading1 { font-size: 22px; color: #d35400; margin: 18px 0 8px 0; }
.contact-page .main-content p.normal { font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.6; color: #222; margin-bottom: 14px; }
.contact-page .main-content p.normal strong { display: inline-block; min-width: 200px; color: #111; }
.contact-page .main-content { padding-right: 10px; }
.contact-page .map-responsive { margin-top: 12px; max-width: 760px; }
.content-row .sidebar { display: flex; justify-content: center; align-items: flex-start; }
.content-row .sidebar img { display: block; width: 100%; max-width: 320px; height: auto; }

@media (max-width: 900px) {
    .contact-page .main-content p.normal strong { display: inline; min-width: 0; }
    .contact-page .main-content h1.heading1 { font-size: 26px; }
    .contact-page .main-content p.normal { font-size: 16px; }
}

/* Make phone and email stand out on the contact page */
.contact-page .main-content a[href^="tel"],
.contact-page .main-content a[href^="mailto"] {
	font-size: 20px;
	font-weight: 700;
	color: #111;
	text-decoration: none;
}
.contact-page .main-content a[href^="tel"]:hover,
.contact-page .main-content a[href^="mailto"]:hover {
	color: #d35400;
}

@media (max-width: 900px) {
	.contact-page .main-content a[href^="tel"],
	.contact-page .main-content a[href^="mailto"] { font-size: 18px; }
}
