/*
    Theme Name: Groovin
    Theme URL: https://bootstrapmade.com/groovin-free-bootstrap-theme/
    Author: BootstrapMade
    Author URL: https://bootstrapmade.com
*/
 

/* ==== Google font ==== */
@import url('https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic|Montserrat:700|Merriweather:400italic');
/* === fontawesome === */
@import url('font-awesome.css');
/* === custom icon === */
@import url('custom-fonts.css');
/* ==== overwrite bootstrap standard ==== */
@import url('overwrite.css');

/* =======================================
1. Basic & general
======================================== */
.menuClass{
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-weight: 400;
	font-size: 25px;
	
	padding-right: .8em;
	
	
  }
  #titleMenuBar{
	color:red;
	font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
	word-spacing: 25px;
	font-size: xx-large;
  }
::-moz-selection {
  color: #fff;
  text-shadow: none;
}
::selection {
  color: #fff;
  text-shadow: none;
}
@media (max-width: 1020px) {
    .main-header { 
      background: tomato;
      color: white;
    }
  }
  @media (max-width: 768px) {
    .title {
      font-size: 1.4rem;
    }
    h1 {
      font-size: 5rem;
    }
  }
body {
    text-rendering: optimizeLegibility; 
    -webkit-font-smoothing: antialiased; 
	color:#777;
	background: #fff;
	font-size: 16px;
	line-height: 1.6em;
	font-weight: 300;
	text-shadow: none;
	font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	line-height:1.1em;
	color: #3a3a3a;
	font-weight:300;
	margin-bottom:10px;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  font-weight: inherit;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

h1 small {
  font-size: 24.5px;
}

h2 small {
  font-size: 17.5px;
}

h3 small {
  font-size: 14px;
}

h4 small {
  font-size: 14px;
}


.fade{
    position: relative;
	opacity:1;
}
section {
	padding:120px 0 40px 0;
}

section.gray {
	background-color: #f5f5f5;
}

iframe, embed, object {
	border:none;
}

.video-container,.map-container,.embed-container 	{ position:relative; margin:0 0 15px 0;	padding-bottom:51%; padding-top:30px; height:0; overflow:hidden; border:1px solid #ccc; }
.video-container iframe,
.embed-container iframe,
.map-container iframe,
.map-container object,
.map-container embed,
.embed-container object,
.embed-container embed,
.video-container object,  
.video-container embed 					{ position:absolute; top:0; left:0; width:100%; height:100%; }


blockquote {
  display: inline-block;
  padding-left: 18px;
  padding-bottom: 0;
  font-size: 18px;
  line-height: 27px;
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-left: 10px solid #000;
}

.container{
	padding: 0 20px 0 20px;
}

.row{
	margin-bottom:40px;
}

.row .row, .row-fluid .row{
	margin-bottom:0;
}

.clear { clear:both; }

/* ==== heading ==== */

.heading {
	margin-top: 40px;
	text-align:center;
	width:100%;
}

.heading h3{
	text-transform:uppercase;
	padding:0;
	margin:20px 0 30px 0;
	font-size:40px;
	font-weight:700;
	text-align:center;
	width:auto;
	display:inline;
}

section.dark .heading h3 {	
	color: #fff;
}

/* sub heading */

.sub-heading {
	text-align:center;
	margin:20px 0 20px 0;
}

.normalPara {	
	line-height:1.6em;

	font-weight:100;
           color: black;
font-size: x-large;
font-family: 'Inter' ;

}

section.dark .sub-heading p {	
	color: #e9e9e9;
}

/* =======================================
1. Header
======================================== */
header{
	position:relative;
}

/* --- menu --- */

.navigation {
	margin:0 0 0;
	padding:0;
}

#navigation .navbar {
	padding:0;
	margin:0;
	
}

.navbar.navbar-inverse {
	padding:10px 0;
	margin:0;
	
}
.navbar-brand {
  float: left;
  height: auto;
  padding: 0;
  font-size: 20px;
  line-height: 1em;
}

.navbar-collapse {
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

.navbar .navbar-brand {
	font-weight: 900;
	color: #fff;
	margin: 15px 0 0;
	font-size: 28px;
	margin-top:20px;
}
.navbar .navbar-brand:focus {
	outline: 0;
}

.navbar-nav {
  margin-top: 0!important;
  padding:0;

}
.navbar-nav > li > a {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1em;
}

.navbar .nav > li > a,
.navbar .nav > li > a:visited {
    padding: 28px 13px 27px;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    -webkit-box-shadow: 0 none;
    box-shadow: 0 none;
    -webkit-transition: all 0.3s; 
    -moz-transition: all 0.3s; 
    -o-transition: all 0.3s; 
    transition: all 0.3s; 
}

.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus,
.navbar .nav > li > a:active,
.navbar .nav > li.active > a {
    text-decoration: none;
    background: none !important;
    outline: 0 none;
    -webkit-box-shadow: none;
    box-shadow: none;
}


.default {
	background:#010101;
	border-bottom:1px solid transparent;
	opacity: 0.8;
}



.fixed {
	position: fixed;
	background:#2a2a2a;
	border:none;
	top:0;
	left: 0;
	width: 100%;
	box-shadow: 0 0 10px #666;
	-webkit-box-shadow: 0 0 10px #666;
	-moz-box-shadow: 0 0 10px #666;
}

/* =======================================
2. Section: Intro
======================================== */
section#intro{
	position:relative;
	width:100%;
	height:auto;
	margin:0;
}

section#intro{
	padding:0 0 0 0;

}

section#intro.inner {
	padding:140px 0 30px;
}

section#intro.inner h2 strong  {
	color:#fff;
}
section#intro.inner h2  {
	font-size:32px;
}


section#intro  {
	text-align:center;
}

.sy-caption-wrap .sy-caption {
  position: relative;
  left: -50%;
font-size: 48px;
  color: #fff;
  line-height: 1.1em;

}
/* ==== general main content style ==== */
#maincontent.section {
	padding:30px 0 40px 0;
}


/* =======================================
3. Section: About
======================================== */
.team-box {
	background: #f5f5f5;
	padding-bottom: 20px;
}

.roles {
	padding-top: 10px;
	text-align:center;
}

ul.social-profile {
	list-style:none;
	margin-left:0;
	padding: 0;
}

ul.social-profile li {
	display:inline;
	margin: 0 5px;
	padding: 0;
}

ul.social-profile li a:hover {
	text-decoration:none;
}


/* =======================================
3. Section: Services
======================================== */

.box {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background: #fefefe;
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}



.box .halftop {
	text-align:center;
	border-bottom:1px dotted #e9e9e9;
	padding-bottom:10px;
	margin-bottom:20px;
}
.box i {
	margin:0;
	
	text-align:center;
	color:#333;
}


/* ==== divider ==== */
.solid_line {
  padding:0;
  margin:20px 0 20px 0;
  width:100%;
  height:1px;
  border-top: 1px solid #eeeeee;
}

.dotted_line {
  padding:0;
  margin:20px 0 20px 0;
  width:100%;
  height:1px;
  border-bottom: 1px dotted #eeeeee;
}



/* scroll to top */
.scrollup{
    position:fixed;
	width:48px;
	height:48px;
    bottom:40px;
    right:20px;
	text-align: center;
}

.scrollup i{
	margin-top: 7px;
	color: #fff;
}

a.scrollup {
	outline:0;
}

a.scrollup:hover,a.scrollup:active,a.scrollup:focus {
	opacity:1;
	text-decoration:none;
}
a.scrollup i:hover {
	text-decoration:none;
}



/* progress bar */

.bar.bar80 {
	width:80%;
}
.bar.bar70 {
	width:70%;
}
.bar.bar65 {
	width:65%;
}
.bar.bar60 {
	width:60%;
}
.bar.bar55 {
	width:55%;
}
.bar.bar50 {
	width:50%;
}
.bar.bar45 {
	width:45%;
}
.bar.bar40 {
	width:40%;
}
.bar.bar40 {
	width:40%;
}
.bar.bar35 {
	width:35%;
}
.bar.bar30 {
	width:30%;
}
.bar.bar25 {
	width:25%;
}
.bar.bar20 {
	width:20%;
}
.bar.bar15 {
	width:15%;
}
.bar.bar10 {
	width:10%;
}

/* ============ font awesome icons ===================== */

ul.the-icons {
	list-style:none;
	margin-left:0;
}

[class^="icon-"],
[class*=" icon-"] {
    float:none;
	
}

.icon-square,
.icon-rounded,
.icon-plain,
.icon-circled {
    margin: 10px 10px 10px 0;
    display: inline-block !important;
    text-align: center !important;
    color: #fff;
    width: 18px;
    height: 18px;
	padding:3px;
    font-size: 12px;
    line-height: 18px;
    text-shadow:none;
    cursor: pointer;
}

.icon-rounded  {
    background-color: #444;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.icon-circled {
    background-color: #444;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}
.icon-square {
    background-color: #444;
}
.icon-plain {
    width: 48px;
    height: 48px;
    font-size: 47px;
    line-height: 50px;
    color: #444;
    text-shadow: 1px 1px 1px #FFF;
}


/* ================================
   AID CARDS (RESTORE RECTANGLES)
================================ */

.aid-wrapper {
  margin-top: 40px;
}

/* =========================
   AID CARD CLEAN LAYOUT
========================= */

.aid-card {
  display: flex;
  align-items: center;
  justify-content: space-between; /* pushes count to right */
  gap: 16px;
  background: #ffffff;
  padding: 16px 18px;
  margin-bottom: 14px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.aid-card .icon {
  width: 48px;
  height: 48px;
  background: #0f5132;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  font-size: 20px;
}

.aid-card .content {
  flex: 1;
}

.aid-card .title {
  font-weight: 700;
  font-size: 16px;
  color: #222;
}

.aid-card .count {
  font-size: 14px;
  color: #0f5132;
  font-weight: 600;
}
/* ================================
   IMPACT SECTION CARDS
================================ */

#impact-section {
  background: #f9fbff;
  padding: 60px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.impact-card {
  display: flex;
  gap: 16px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.impact-icon {
  min-width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.medical { background:#e5533d; }
.education { background:#2c7be5; }
.marriage { background:#9b59b6; }
.food { background:#f4a261; }
.uniform { background:#27ae60; }
/* =====================================================
   GLOBAL PARAGRAPH FONT (MATCH INTRO)
===================================================== */

p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #333;
  line-height: 1.7;
}

#works .initiative-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  padding: 14px 18px;
  margin-bottom: 14px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

#works .initiative-card i {
  color: #0f5132;
  font-size: 18px;
  margin-top: 3px;
  min-width: 22px;
}

#works .initiative-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
/* =====================================================
   IMAGE GALLERY – REDESIGN
===================================================== */

/* Reset old theme behavior */
.grid li {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Modern grid spacing */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

/* Image card */
.gallery-grid li {
  list-style: none;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Image itself */
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Subtle hover */
.gallery-grid li:hover img {
  transform: scale(1.05);
}

/* Remove old hover fade */
.grid li img:hover {
  opacity: 1 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-grid img {
    height: 180px;
  }
}
/* =====================================================
   FIX IMAGE FITTING (CONSISTENT GRID)
===================================================== */

.gallery-grid li {
  height: 240px;           /* fixed card height */
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* THIS is the key */
  display: block;
}
@media (max-width: 768px) {
  .gallery-grid li {
    height: 180px;
  }
}

/* =====================================================
   FORCE MODERN IMAGE GRID (OVERRIDE THEME)
===================================================== */

/* Kill old float-based layout */
.gallery-grid,
.gallery-grid li {
  float: none !important;
  width: auto !important;
}

/* Force CSS Grid */
.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

/* Card container */
.gallery-grid li {
  height: 240px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Image fix */
.gallery-grid li img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

footer p,
footer a {
  color: #cccccc;
}

footer a:hover {
  color: #ffffff;
}
/* ================================
   FOOTER – PURE BLACK BACKGROUND
================================ */

footer,
footer .verybottom {
  background-color: #000000 !important;
  text-align:center;
}



/* ==========================================
   BETTER HEADING SPACING
========================================== */

.heading {
  margin-bottom: 50px;   /* more breathing space */
}

.sub-heading {
  margin-top: 20px;
  margin-bottom: 40px;   /* push content down */
}

.section {
  padding: 140px 0 60px 0;  /* slightly more vertical spacing */
}

.sub-heading {
  text-align: center;
}

/* ==========================================
   JUSTIFIED TEXT FOR READABILITY
========================================== */

.sub-heading p,
.normalPara,
.impact-intro,
.beyond-numbers p {
  text-align: justify;
}

/* ==========================================
   CLEANER IMPACT SECTION
========================================== */

#impact-section {
  padding: 90px 0;   /* more vertical space */
}

.impact-grid {
  gap: 30px;  /* increase spacing between cards */
}

.impact-card {
  padding: 28px;
  border-radius: 14px;
}

.impact-content h4 {
  margin-bottom: 12px;
}

.impact-content p {
  line-height: 1.8;
}
.impact-title {
  margin-bottom: 30px;
}

.impact-intro {
  margin-bottom: 40px;
  max-width: 850px;
}
/* =========================
   AID CARDS MOBILE FIX
========================= */

@media (max-width: 768px) {

  .aid-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .aid-card .content {
    width: 100%;
  }

  .aid-card .count {
    text-align: center;
  }

}
@media (max-width: 768px) {

  .navbar .navbar-brand {
    font-size: 22px;
    max-width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

}