/*
Template Name: Charity Hope
Title: charity website template free download bootstrap Charity Hope
Description: charity website template with bootstrap framework for free download and best suited for ngos charities.
Keyword: charity website template, bootstrap charity template free, charity website templates bootstrap, donation website template free, charity website templates bootstrap free download
Author: Bootstrap Website Templates
Author URI: https://bootstrapwebtemplates.com/
Template URI: https://bootstrapwebtemplates.com/free-download-bootstrap-charity-website-template
Tags: charity, charity hub, donate, donations, foundation, fundraising, ngo, non profit, non-profit, nonprofit, organization, social, volunteer, welfare, Causes
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
*/

html,body {
    width:100%;
    height: auto;
    margin:0;
    padding:0;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    position: relative;
	font-size: 16px;
	line-height: 1.6;
	color: #6f6f6f;
	font-weight: 400;
}

a{
    color: #6f6f6f;
}

a,
a:active,
a:focus,
a:hover{
	outline:none;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

a:hover{
	text-decoration:none;
}

h1, h2, h3, h4, h5, h6{
	color: #0B4789;
	margin: 0 0 1rem 0;
    font-weight: 700;
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.2;
}

h1{
	font-size: 3rem; /* 48px */
	line-height: 1.1;
	font-weight: 800;
}

h2{
	font-size: 2.5rem; /* 40px */
	line-height: 1.2;
	font-weight: 700;
}

h3{
	font-size: 2rem; /* 32px */
	line-height: 1.3;
	font-weight: 600;
}

h4{
	font-size: 1.5rem; /* 24px */
	line-height: 1.4;
	font-weight: 600;
}

h5{
	font-size: 1.25rem; /* 20px */
	line-height: 1.5;
	font-weight: 500;
}

h6{
	font-size: 1rem; /* 16px */
	line-height: 1.5;
	font-weight: 500;
}

p{
	margin-bottom: 1.5rem;
	font-size: 1rem; /* 16px */
	line-height: 1.7;
	color: #6f6f6f;
	font-weight: 400;
}

.topbar{
    padding:5px 0;
    background-color: #0B4789;
	color:#fff;
}
.topbar .bar-phone{
	border-right:1px solid #fff;
	font-size:14px;
	line-height:14px;
	float:left;
	padding-right:20px;
	margin: 9px 0;
}

.topbar .bar-mail {
    font-size: 14px;
    line-height: 14px;
    float: left;
    padding-left: 20px;
    margin: 9px 0;
}

.topbar .header-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    margin-left: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.topbar .header-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.topbar .header-social .facebook:hover {
    background: #2A7CF4;
}

.topbar .header-social .twitter:hover {
    background: #0B4789;
}

.topbar .header-social .linkedin:hover {
    background: #0B4789;
}

.topbar .header-social .youtube:hover {
    background: #4A8E07;
}

.topbar .header-social .instagram:hover {
    background: #D311D3;
}
.topbar .bar-mail{
	font-size:14px;
	line-height:14px;
	float:left;
	margin: 9px 0;
	margin-left:20px;
}
.topbar .bar-phone strong, .topbar .bar-mail strong{
	font-weight:600;
}
.topbar .header-social{
	float:right;
	margin:-5px 0;
}
.topbar .header-social a{
	color:#fff;
	display:block;
	float:left;
	font-size:16px;
	height:43px;
	width:50px;
	text-align:center;
	line-height:43px;
	border-right:1px solid #fff;
}
.topbar .header-social a:first-of-type{
	border-left:1px solid #fff;
}
.topbar .header-social .facebook:hover{
	background:#2A7CF4;
}
.topbar .header-social .twitter:hover{
	background:#2A7CF4;
}
.topbar .header-social .linkedin:hover{
	background:#0B4789;
}
.topbar .header-social .google:hover{
	background:#E3ED15;
}
.topbar .header-social .youtube:hover{
	background:#4A8E07;
}
.sponsor-button {
    border: 2px solid #0B4789;
    border-radius: 3px;
    color: #0B4789;
    display: inline-block;
    margin: 20px 0 0 0;
    padding: 5px 10px;
	font-weight:600;
	text-transform:uppercase;
}
.donation{
    border-radius: 25px;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
	margin: 20px 0 0 0;
	font-weight:600;
	text-transform:uppercase;
	background:#4A8E07;
	border:2px solid #4A8E07;
    transition: all 0.3s ease;
    text-decoration: none;
}
.donation:hover{
	background:#fff;
	color: #4A8E07;
	border:2px solid #4A8E07;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}
.sponsor-button:hover {
    background-color: #0B4789;
    color: #fff;
}
.navbar > .container .navbar-brand {
    width: 260px;
    padding: 5px 15px;
}

.navbar-brand.logo {
    transition: all 0.3s ease;
}

.navbar-brand.logo:hover {
    transform: scale(1.05);
}


#first-slider .main-container {
  padding: 0;
}

#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2{
    color: #fff;
    font-size: 3.5rem; /* 56px */
    text-transform: uppercase;
    font-weight: 800;
	width: 80%;
	margin: 0 auto;
	padding: 15% 0 0 0;
	line-height: 1.1;
}
#first-slider .slide1 h2 span, #first-slider .slide2 h2 span, #first-slider .slide3 h2 span, #first-slider .slide4 h2 span{
	background: #4A8E07;
	padding: 0 20px;
	color: #fff;
}
#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3{
    color: #fff;
    font-size: 1.25rem; /* 20px */
	width: 60%;
	margin: 35px auto 0 auto;
	line-height: 1.6;
	font-weight: 400;
}

#first-slider .slide1 h4,#first-slider .slide2 h4,#first-slider .slide3 h4,#first-slider .slide4 h4{
    color: #fff;
    font-size: 1rem; /* 16px */
    text-transform: uppercase;
    font-weight: 600;
	width: 80%;
	margin: 20px auto 0 auto;
}
#first-slider .slide1 h4 a,#first-slider .slide2 h4 a,#first-slider .slide3 h4 a,#first-slider .slide4 h4 a{
	color:#fff;
	background:#4A8E07;
	display:inline-block;
	border-radius:3px;
	padding:5px 20px;
}
#first-slider .slide1 h4 a:hover,#first-slider .slide2 h4 a:hover,#first-slider .slide3 h4 a:hover,#first-slider .slide4 h4 a:hover{
	color:#fff;
	background:#4A8E07;
	display:inline-block;
	border-radius:3px;
	padding:5px 20px;
}

#first-slider .slide1 .text-left ,#first-slider .slide3 .text-left{
    padding-left: 40px;
}


#first-slider .carousel-indicators {
  bottom: 0;
}
#first-slider .carousel-control.right,
#first-slider .carousel-control.left {
  background-image: none;
}
#first-slider .carousel .item {
  min-height:600px;
  height: 100%;
  width:100%;
  text-align:center;
  position: relative;
}

.carousel-inner .item .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

/* Ensure carousel content is properly positioned */
.carousel-content .container {
    position: relative;
    z-index: 10;
}


#first-slider h3{
  animation-delay: 2s;
}
#first-slider h4 {
  animation-delay: 3s;
}
#first-slider h2 {
  animation-delay: 1s;
}


#first-slider .carousel-control {
    width: 5%;
        text-shadow: none;
}


#first-slider h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: bold;
}

#first-slider .p {
  padding-top: 125px;
  text-align: center;
}

#first-slider .p a {
  text-decoration: underline;
}
#first-slider .carousel-indicators li {
    width: 14px;
    height: 14px;
    background-color: rgba(255,255,255,.4);
  border:none;
}
#first-slider .carousel-indicators .active{
    width: 16px;
    height: 16px;
    background-color: #fff;
  border:none;
}


.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
  z-index: 2;
}

.carousel-control .fa-angle-right, .carousel-control .fa-angle-left {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
}
.carousel-control .fa-angle-left{
    left: 25%;
    width: 38px;
    height: 38px;
    margin-top: -15px;
    font-size: 30px;
    color: #fff;
    border: 3px solid #ffffff;
    -webkit-border-radius: 23px;
    -moz-border-radius: 23px;
    border-radius: 53px;
}
.carousel-control .fa-angle-right{
    right: 25%;
    width: 38px;
    height: 38px;
    margin-top: -15px;
    font-size: 30px;
    color: #fff;
    border: 3px solid #ffffff;
    -webkit-border-radius: 23px;
    -moz-border-radius: 23px;
    border-radius: 53px;
}
.carousel-control {
    opacity: 1;
    filter: alpha(opacity=100);
}


/********************************/
/*       Slides backgrounds     */
/********************************/
#first-slider .slide1 {
    background: url(../../images/partners/11.jpeg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}
#first-slider .slide2 {
    background: url(../../images/portfolio-3.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}
#first-slider .slide3 {
    background: url(../../images/partners/12.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}
#first-slider .slide4 {
    background: url(../../images/partners/13.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}


#about-sec{
	display:block;
	width:100%;
	margin:60px 0;
}
#about-sec h1{
	color: #4A8E07;
	font-size: 3.5rem; /* 56px */
	font-weight: 800;
	margin-bottom: 1.5rem;
}
#about-sec h2{
	margin-top:50px;
	font-size: 2.5rem; /* 40px */
	line-height: 1.2;
	font-weight: 700;
}
#about-sec hr{
	width:150px; border:2px solid #0B4789;
	margin: 2rem auto;
}
#about-sec p{
	margin: 2rem 0 0 0;
	font-size: 1.25rem; /* 20px */
	line-height: 1.8;
}
#about-sec h5{
	font-size: 1.5rem; /* 24px */
	font-weight: 600;
	margin: 1.5rem 0;
	line-height: 1.6;
}
#about-sec .btn1 {
    border: 2px solid #0B4789;
    border-radius: 3px;
    color: #0B4789;
    display: inline-block;
    margin: 30px 0 0 0;
    padding: 9px 20px;
	font-weight:600;
	text-transform:uppercase;
}
#about-sec .btn1:hover {
    border: 2px solid #4A8E07;
	background:#4A8E07;
    color: #fff;
}
#about-sec .btn2 {
	background:#4A8E07;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    margin: 30px 0 0 20px;
    padding: 9px 20px;
	font-weight:600;
	text-transform:uppercase;
}
#about-sec .btn2:hover {
    background-color: #0B4789;
    color: #fff;
}

/* About section responsive improvements */
@media (max-width: 768px) {
    #about-sec h1 {
        font-size: 2.5rem; /* 40px */
        line-height: 1.2;
    }

    #about-sec h5 {
        font-size: 1.25rem; /* 20px */
        line-height: 1.5;
    }

    #about-sec p {
        font-size: 1.125rem; /* 18px */
    }

    #about-sec .btn1,
    #about-sec .btn2 {
        display: block;
        margin: 20px auto;
        text-align: center;
        max-width: 200px;
    }
}

#activities-sec{
	display:block;
	width:100%;
	background: url(../images/act-bg.png);
	background-size:cover;
	background-attachment:fixed;
	background-position:center;
	margin:60px 0;
	padding:60px 0;
}
#activities-sec h1, #activities-sec h4, #activities-sec h5{
	color: #fff;
}
#activities-sec h4{
	text-transform:uppercase;
	font-size:18px;
	line-height:18px;
}
#activities-sec hr{
	width:150px; border:2px solid #fff;
}
#activities-sec p{
	margin:10px 0 0 0;
	color:#fff;
}
#activities-sec a{
	margin:15px 0 0 0;
	color:#fff;
	font-weight:700;
	border:2px solid #fff;
	display:inline-block;
	border-radius:3px;
	padding:5px 10px;
}
#activities-sec a:hover{
	color:#4A8E07;
	background:#fff;
}
#activities-sec .top-off{
	margin-top:40px;
}
#activities-sec .grid-content-left{
	float:left;
	margin-right:20px;
}
#activities-sec .grid-content-left i {
    height: 80px;
    line-height: 80px;
    width: 80px;
	background:#fff;
	text-align:center;
	font-size:36px;
	color:#4A8E07;
	transition: all 0.3s ease-in-out;
}
#activities-sec .grid-content-wrapper {
	float:right;
	width:72%;
}
#activities-sec .top-off:hover .grid-content-left i{
	border-radius:50%;
}

#video-sec{
	display:block;
	width:100%;
	margin:60px 0;
}
#video-sec h1{
	color: #4A8E07;
	text-transform:uppercase;
	font-size: 3.5rem; /* 56px */
	font-weight: 800;
	margin-bottom: 1.5rem;
}
#video-sec hr{
	width:150px; border:2px solid #0B4789;
	margin: 2rem auto;
}
#video-sec p{
	margin: 2rem 0 0 0;
	font-size: 1.25rem; /* 20px */
	line-height: 1.8;
}
#video-sec h5{
	font-size: 1.5rem; /* 24px */
	font-weight: 600;
	margin: 1.5rem 0;
	line-height: 1.6;
}
#video-sec .top-off{
	margin-top:40px;
}
.grid-image img {
	width:100%;
}
#video-sec .media-image{
	width:85px;
	height:85px;
	margin-right:20px;
	float:left;
}
#video-sec .media-text{
	float:right;
	width:81%;
}
#video-sec .media-text h5{
	margin-top:15px;
}

/* Video section responsive improvements */
@media (max-width: 768px) {
    #video-sec h1 {
        font-size: 30px;
        line-height: 36px;
    }

    #video-sec h5 {
        font-size: 16px;
        line-height: 24px;
    }

    #video-sec .media-image {
        float: none;
        margin: 0 auto 20px auto;
        display: block;
    }

    #video-sec .media-text {
        float: none;
        width: 100%;
        text-align: center;
    }
}
#video-sec .media-image img{
	width:100%;
}
video {
    width: 100%;
    height: auto;
}

#projects-sec{
	display:block;
	width:100%;
	background: url(../../images/partners/12.jpg);
	background-size:cover;
	background-attachment:fixed;
	background-position:center;
	margin:60px 0;
	padding:60px 0;
}
#projects-sec h1, #projects-sec h4, #projects-sec h5{
	color: #fff;
}
#projects-sec h1{
	font-size: 3.5rem; /* 56px */
	font-weight: 800;
	margin-bottom: 1.5rem;
}
#projects-sec h4{
	text-transform:uppercase;
	font-size: 1.5rem; /* 24px */
	line-height: 1.6;
	font-weight: 600;
}
#projects-sec hr{
	width:150px; border:2px solid #fff;
	margin: 2rem auto;
}
#projects-sec p{
	margin: 2rem 0 0 0;
	color:#fff;
	font-size: 1.25rem; /* 20px */
	line-height: 1.8;
}
#projects-sec h5{
	font-size: 1.5rem; /* 24px */
	font-weight: 600;
	margin: 1.5rem 0;
	line-height: 1.6;
}
#projects-sec a{
	margin:15px 0 0 0;
	color:#fff;
	font-weight:700;
	border:2px solid #fff;
	display:inline-block;
	border-radius:3px;
	padding:5px 10px;
}
#projects-sec a:hover{
	color:#4A8E07;
	background:#fff;
}
#projects-sec .top-off{
	margin-top:30px;
}
#projects-sec h3{
	font-size:22px;
	text-transform:uppercase;
	color:#fff;
	margin:10px 0 0 0;
	line-height:26px;
}
#projects-sec .post-content hr{
	width:100px;
	border:1px solid #fff;
	margin:10px auto;
}

/* Projects section responsive improvements */
@media (max-width: 768px) {
    #projects-sec .top-off {
        margin-top: 20px;
    }

    #projects-sec h3 {
        font-size: 18px;
        line-height: 22px;
    }

    #projects-sec .post-content {
        padding: 20px;
        margin-bottom: 20px;
    }
}

#gallery-sec{
	display:block;
	width:100%;
	margin:60px 0;
}
#gallery-sec h1{
	color: #4A8E07;
	font-size: 3.5rem; /* 56px */
	font-weight: 800;
	margin-bottom: 1.5rem;
}
#gallery-sec hr{
	width:150px; border:2px solid #0B4789;
	margin: 2rem auto;
}
#gallery-sec p{
	margin: 2rem 0 0 0;
	font-size: 1.25rem; /* 20px */
	line-height: 1.8;
}
#gallery-sec h5{
	font-size: 1.5rem; /* 24px */
	font-weight: 600;
	margin: 1.5rem 0;
	line-height: 1.6;
}
#gallery-sec .btn1 {
    border: 2px solid #0B4789;
    border-radius: 3px;
    color: #0B4789;
    display: inline-block;
    margin: 30px 0 0 0;
    padding: 9px 20px;
	font-weight:600;
	text-transform:uppercase;
}
#gallery-sec .btn1:hover {
    border: 2px solid #4A8E07;
	background:#4A8E07;
    color: #fff;
}
#gallery-sec .btn2 {
	background:#4A8E07;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    margin: 30px 0 0 20px;
    padding: 9px 20px;
	font-weight:600;
	text-transform:uppercase;
}
#gallery-sec .btn2:hover {
    background-color: #0B4789;
    color: #fff;
}
#gallery-sec ul{
	margin:0;
	padding:0;
}
#gallery-sec ul li{
	list-style:none;
	width:23.5%;
	margin:20px 2% 0 0;
	float:left;
}
#gallery-sec ul li:nth-child(4n+0){
	margin:20px 0 0 0;
}
#gallery-sec ul li .image{
	position:relative;
	width:100%;
	overflow:hidden;
}
#gallery-sec ul li .image img{
	width:100%;
	transition: all 0.3s ease-in-out;
}
#gallery-sec ul li .image:hover img{
	transform:scale(1.2);
}
#gallery-sec ul li .image .overlay{
	width:100%;
	height:100%;
	background:rgba(236, 29, 37, 0);
	position:absolute;
	left:0; top:0;
	transition: all 0.3s ease-in-out;
	text-align:center;
	opacity:0;
}
#gallery-sec ul li .image:hover .overlay{
	background:rgba(236, 29, 37, 0.8);
	opacity:1;
}
#gallery-sec ul li .image .overlay i{ color:#fff; font-size:50px; margin:24% 0;
}

.callout {
    padding: 40px 0;
    background: #4A8E07;
}
.callout h2{
	color:#fff;
	font-size:26px;
	text-transform:uppercase;
	line-height:30px
}
.callout .callout-actions {
    padding: 0 0;
    font-size: 0;
    text-align: center;
}
.callout .callout-actions .button {
    display: inline-block;
    vertical-align: top;
    min-width: 213px;
    margin: 0;
	padding: 11px 15px 12px;
    background: transparent;
    border: 2px solid #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}
.callout .callout-separator {
    color: #4A8E07;
    font-weight: bold;
    text-transform: uppercase;
}
.callout .callout-separator span {
    display: inline-block;
    vertical-align: middle;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #fff;
    text-align: center;
    line-height: 43px;
    font-size: 12px;
}
.callout .callout-separator:before, .callout .callout-separator:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 28px;
    height: 1px;
    background: #fff;
}
.callout .callout-separator:before, .callout .callout-separator:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 28px;
    height: 1px;
    background: #fff;
}

.footer .footer-body {
    padding: 60px 0;
    background: #27262c url(../images/footer-bg.png) no-repeat center 0;
}

.footer .footer-section .footer-section-title {
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer .footer-section .footer-section-title:after {
    content: '';
    display: block;
    width: 46px;
    height: 1px;
    margin: 20px 0 20px;
    background: #4A8E07;
}
.footer .footer-section ul {
	margin:0;
	padding:0;
	list-style:none;
}
.footer .footer-section ul li{
	display:inline-block;
	width:49%;
	margin-bottom:10px;
}

/* Footer responsive improvements */
@media (max-width: 768px) {
    .footer .footer-section ul li {
        width: 100%;
        display: block;
        text-align: center;
        margin-bottom: 15px;
    }

    .footer .footer-section {
        margin-bottom: 30px;
        text-align: center;
    }

    .footer .footer-section .footer-section-title:after {
        margin: 20px auto;
    }
}
.footer .footer-section b{
	color:#fff;
}
.footer .footer-section ul li a:hover{
	color:#fff;
}
.subscribe .subscribe-field {
    margin: 0;
    height: 40px;
    font-size: 14px;
    padding: 0 18px;
    border: 0;
	width: 100%;
}
.subscribe .subscribe-btn {
    float: right;
    width: 50px;
    height: 40px;
    background: #4A8E07;
    color: #fff;
    border: 0;
    cursor: pointer;
}
.subscribe .subscribe-inner {
    overflow: hidden;
}
.bwt-footer-copyright { font-size:14px; background:#222126; color: #878C92; padding:10px 0; line-height:20px;}
.bwt-footer-copyright .left-text{ text-align:left; margin:10px 0;}
.bwt-footer-copyright .right-text{ text-align:right; margin:10px 0;}
.bwt-footer-copyright a{ color: #6f6f6f; }
.bwt-footer-copyright a:hover{ color: #6f6f6f; }

#inner-banner{
	display:block;
    background:url(../../images/portfolio-3.jpg) no-repeat center 0;
}
#inner-banner .overlay{
	background:rgba(0,0,0,0.7);
	padding: 150px 0 60px 0;
}
#inner-banner h1{
	color:#fff;
}

#team{
	margin:60px 0;
	display:block;
}
#team h1 {
    color: #4A8E07;
}
#team hr {
    width: 150px;
    border: 2px solid #2f3191;
}
#team .member {
    margin-top: 30px;
}
#team .avatar-inner img{
	width:100%;
}
#team .name a {
    color: #333;
	font-weight:600;
	margin-top:10px;
	display:block;
	font-size:16px;
}
#team .regency {
    color: #999;
    font-style: italic;
    font-size: 14px;
	font-weight:600;
}

#help{
	display:block;
	width:100%;
	background: url(../images/act-bg.png);
	background-size:cover;
	background-attachment:fixed;
	background-position:center;
	margin:60px 0;
	padding:60px 0;
}
#help h1, #help h4, #help h5{
	color: #fff;
}
#help h4{
	text-transform:uppercase;
	font-size:18px;
	line-height:18px;
}
#help hr{
	width:150px; border:2px solid #fff;
}
#help p{
	margin:10px 0 0 0;
	color:#fff;
}
#help .icon_circle {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 100%;
    line-height: 115px;
    text-align: center;
    color: #4A8E07;
    position: relative;
	float:left;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
	margin-right: 30px;
}
#help .help-text {
	float:left;
	width:75%;
}
#help .top-off{
	margin-top:40px;
}
#help .line.line-50 {
    background: #fff;
	margin-right: auto;
	width: 50px;
	height: 1px;
    margin: 10px 0 10px;
}
#help .icon_circle:before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 1px solid #4A8E07;
    background: transparent;
    border-radius: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}
#help .icon_circle i {
    font-size: 40px;
    letter-spacing: -5px;
}

.act-box {
    border: 1px solid #ccc;
}
.act-box .image{
	margin:0 -15px;
}
.act-box .image img {
	width:100%;
}
.act-box .act-pad{
	padding:40px 50px 50px 50px;
}
.act-box h4 {
    border-bottom: 2px dashed #d5d4d4;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #4A8E07;
	text-transform:uppercase;
}
.act-box .price {
    margin: 20px 0px 0px;
    color: #0B4789;
    float: left;
	font-weight:600;
	font-size: 18px;
}
.act-box .goal {
    color: #4A8E07;
    margin-left: 10px;
}
.act-box .btn1 {
    border: 2px solid #0B4789;
    border-radius: 3px;
    color: #0B4789;
    display: inline-block;
    padding: 9px 20px;
    font-weight: 600;
    text-transform: uppercase;
	float:right;
	margin: 10px 0 0 0 !important;
}
.act-box .btn1:hover {
    border: 2px solid #4A8E07;
    background: #4A8E07;
    color: #fff;
}

#pro-sec {
    display: block;
    width: 100%;
    margin: 60px 0;
}
#pro-sec .top-off {
    margin-top: 30px;
}
#pro-sec h3 {
    font-size: 22px;
    text-transform: uppercase;
    color: #4A8E07;
    margin: 10px 0 0 0;
    line-height: 26px;
}
#pro-sec .post-content{
	border: 1px solid #d7d7d7;
	background-color: #f7f7f7;
	padding:0 10px;
}
#pro-sec .post-content hr {
    width: 100px;
    border: 2px solid #0B4789;
    margin: 10px auto;
}
#pro-sec p {
    margin: 10px 0 0 0;
}
#pro-sec a {
	background:#4A8E07;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    margin: 15px 0 20px 0;
    padding: 7px 15px;
	font-weight:600;
	text-transform:uppercase;
}
#pro-sec a:hover {
    background-color: #0B4789;
    color: #fff;
}

.google-maps {
    position: relative;
    padding-bottom: 30%; /* This is the aspect ratio */
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
.con-box {
    color: #fff;
    padding:50px 0;
    background-color: #4A8E07;
    -webkit-transition: all 0.4s ease 0s;
    -khtml-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}
.con-box i {
    font-size: 50px;
}
.con-box h3 {
	color:#fff;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top:0px;
    margin-bottom:0px;
	-webkit-transition: all 0.4s ease 0s;
    -khtml-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}
.fancy-box-content p{
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.35px;
	margin:0 !important;
}

.con-form input[type=text], .con-form input[type=email], .con-form input[type=password], .con-form input[type=phone], .con-form textarea {
    border-radius: 0;
	width:100%;
	margin-top:30px;
	padding:8px 10px;
	font-weight:600;
	border:1px solid #ccc;
}
#owl-demo .sponser-box img{ width:100%}
#owl-demo .item{ background:#f5f5f5; padding-bottom:1px; margin:10px;}
#owl-demo .item h4 {
    font-size: 22px;
    text-transform: uppercase;
    color: #4A8E07;
    margin: 10px 0 0 0;
    line-height: 26px;
}
#owl-demo .spon-bdr {
	border-top:1px solid #ccc;
	margin-top:5px; padding-top:5px; text-align:left;
}
#owl-demo .btn1 {
    background: #0B4789;
    border-radius: 3px;
    color: #fff;
    display: block;
    margin: 10px 10px;
    padding: 7px 15px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive improvements for home page */
.carousel-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
}

/* Global Typography System */
.text-xs { font-size: 0.75rem; } /* 12px */
.text-sm { font-size: 0.875rem; } /* 14px */
.text-base { font-size: 1rem; } /* 16px */
.text-lg { font-size: 1.125rem; } /* 18px */
.text-xl { font-size: 1.25rem; } /* 20px */
.text-2xl { font-size: 1.5rem; } /* 24px */
.text-3xl { font-size: 1.875rem; } /* 30px */
.text-4xl { font-size: 2.25rem; } /* 36px */
.text-5xl { font-size: 3rem; } /* 48px */
.text-6xl { font-size: 3.75rem; } /* 60px */

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.project-content h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-content p {
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-outline-light {
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #fff;
    color: #0B4789;
}

.gallery-item {
    margin-bottom: 20px;
}

.gallery-item .image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item .image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item .image:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(236, 29, 37, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item .image:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    color: #fff;
    font-size: 30px;
}

/* Improved carousel controls */
.carousel-control .fa-angle-left,
.carousel-control .fa-angle-right {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 46px;
    text-align: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.carousel-control .fa-angle-left:hover,
.carousel-control .fa-angle-right:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Better button styling */
.btn-primary {
    background: linear-gradient(135deg, #4A8E07, #2A7CF4);
    border-color: #4A8E07;
    padding: 12px 30px;
    font-size: 1rem; /* 16px */
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0B4789, #D311D3);
    border-color: #0B4789;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Improved section spacing */
#about-sec, #video-sec, #projects-sec, #gallery-sec {
    padding: 80px 0;
}

/* Better responsive text sizing */
@media (max-width: 768px) {
    .carousel-content h2 {
        font-size: 28px !important;
        line-height: 32px !important;
    }

    .carousel-content h3 {
        font-size: 16px !important;
        line-height: 22px !important;
    }

    .project-card {
        margin-bottom: 20px;
        padding: 20px;
    }

    .gallery-item .image img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .carousel-content h2 {
        font-size: 24px !important;
        line-height: 28px !important;
    }

    .carousel-content h3 {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .carousel-control .fa-angle-left,
    .carousel-control .fa-angle-right {
        width: 40px;
        height: 40px;
        line-height: 36px;
        font-size: 20px;
    }

    .project-card {
        padding: 15px;
    }

    .gallery-item .image img {
        height: 120px;
    }
}

@media (max-width: 1024px) {

h1 {
    font-size: 40px;
    line-height: 46px;
}

.navbar > .container .navbar-brand {
    width: 230px;
    padding: 10px 15px !important;
}
.sponsor-button, .donation{
	font-size: 12px;
}
#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2{
	font-size: 50px;
    width: 90%;
}
#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3{
	width: 80%;
}
#first-slider .carousel .item {
    min-height: 450px;
}
#activities-sec .grid-content-left {
    float: none;
    margin:0 auto;
	text-align:center;
	margin-bottom:10px;
}
#activities-sec .grid-content-wrapper {
    float: none;
    width: 100%;
	text-align:center;
}
#video-sec .media-image {
    width: 60px;
    height: 60px;
}
#video-sec .media-text {
    float: right;
    width: 82%;
}
#video-sec .media-text h5 {
    margin-top:0px;
}
.callout h2 {
    font-size: 24px;
}
.callout .callout-actions .button{
	min-width: 176px;
}

#inner-banner .overlay {
    padding: 140px 0 60px 0;
}
#help .help-text {
    width: 71%;
}
#help .icon_circle {
    margin-right: 20px;
}
.breadcrumb {
    margin-top: 10px;
}

.act-box .act-pad {
    padding: 20px 20px 25px 20px;
}

#pro-sec h3 {
    font-size: 20px;
    line-height: 24px;
}

}

@media (max-width: 768px) {

h1 {
    font-size: 36px;
    line-height: 36px;
}

.topbar .bar-phone span, .topbar .bar-mail span {
	display:none;
}
.topbar .bar-phone, .topbar .bar-mail {
	margin: 9px 0 9px 15px;
}
.topbar .header-social {
    float: right;
    margin: -5px 15px -5px 0;
}

/* Improved mobile navigation */
.navbar-toggle {
    border: 2px solid #0B4789;
    border-radius: 4px;
    padding: 8px 10px;
}

.navbar-toggle .icon-bar {
    background-color: #0B4789;
    height: 3px;
    border-radius: 2px;
}

.navbar-collapse {
    border-top: 1px solid #e7e7e7;
    box-shadow: 0 1px 0 rgba(255,255,255,.15);
}

.navbar-nav > li > a {
    padding: 15px 20px;
    border-bottom: 1px solid #e7e7e7;
    color: #0B4789;
    font-weight: 600;
}

.navbar-nav > li > a:hover {
    background-color: #4A8E07;
    color: #fff;
}

.navbar-nav > li.active > a {
    background-color: #4A8E07;
    color: #fff;
}

#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2 {
    font-size: 36px;
    width: 90%;
	padding: 17% 0 0 0;
}
#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3 {
    font-size: 16px;
    width: 80%;
    margin: 10px auto 0 auto;
    line-height: 24px;
}
#first-slider .carousel .item {
    min-height: 400px;
}
#about-sec, #activities-sec, #video-sec, #project-sec, #gallery-sec, #help {
    margin: 40px 0;
}
#activities-sec, #project-sec, #help {
    padding: 40px 0;
}
#video-sec .media-image {
    width: 80px;
    height: 80px;
}
#video-sec .media-text {
    float: right;
    width: 86%;
}
#video-sec .media-text h5 {
    margin-top: 15px;
}
.grid-image {
    width:75%;
	margin:0 auto;
}
.callout h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.footer .footer-body{
	padding:40px 0;
}
#gallery-sec ul li {
    width: 48%;
}
#gallery-sec ul li:nth-child(4n+0){
	margin:20px 0 0 0;
}
#gallery-sec ul li:nth-child(2n+0) {
    margin: 20px 0 0 0;
}

/* Gallery responsive improvements */
@media (max-width: 768px) {
    #gallery-sec ul li {
        width: 48%;
        margin: 20px 1% 0 1%;
    }

    #gallery-sec ul li:nth-child(2n+0) {
        margin: 20px 1% 0 1%;
    }
}

@media (max-width: 480px) {
    #gallery-sec ul li {
        width: 100%;
        margin: 20px 0 0 0;
    }

    #gallery-sec ul li:nth-child(2n+0) {
        margin: 20px 0 0 0;
    }
}

#inner-banner .overlay {
    padding: 110px 0 60px 0;
}
.breadcrumb {
    margin-top: 5px;
}

#pro-sec .grid-image {
    width: 100%;
    margin: 0 auto;
}

}

@media (max-width: 768px) {

h1 {
    font-size: 30px;
    line-height: 30px;
}
.topbar .header-social a{
	width: 45px;
}
#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2 {
    font-size: 26px;
    width: 90%;
    padding: 18% 0 0 0;
}
#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3 {
    font-size: 14px;
    width: 80%;
    margin: 5px auto 0 auto;
    line-height: 20px;
}
#first-slider .slide1 h4 a, #first-slider .slide2 h4 a, #first-slider .slide3 h4 a, #first-slider .slide4 h4 a {
    color: #fff;
    background: #4A8E07;
    display: inline-block;
    border-radius: 3px;
    padding: 0px 15px;
    font-size: 12px;
}
#first-slider .slide1 h4, #first-slider .slide2 h4, #first-slider .slide3 h4, #first-slider .slide4 h4 {
    margin: 15px auto 0 auto;
}
#first-slider .carousel .item {
    min-height: 350px;
}
nav.navbar.bootsnav .navbar-brand {
    margin: 0 0 0 -5px !important;
}
.donation, .sponsor-button{
	margin: 20px 0 0 0;
}
nav.navbar.bootsnav .navbar-toggle {
    margin-right: 0px;
    margin-top: 23px;
}
#help .help-text {
    width: 100%;
	float:none;
	margin-top:10px;
	text-align: center;
}
#help .icon_circle {
    float: none;
	margin:0 auto;
}
#help .line.line-50 {
    margin: 10px auto;
}

.act-box .act-pad {
    padding: 50px 50px 50px 50px;
}
.google-maps {
    position: relative;
    padding-bottom: 40%;
    overflow: hidden;
}
.bwt-footer-copyright .left-text {
    text-align: center;
}
.bwt-footer-copyright .right-text {
    text-align: center;
}

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

#video-sec .media-text {
    float: right;
    width: 83%;
}

#inner-banner .overlay {
    padding: 120px 0 60px 0;
}
.breadcrumb {
    margin-top: 15px;
    text-align: left;
}

.act-box .act-pad {
    padding: 40px 30px;
}
#about-sec h2 {
    margin-top: 30px;
    font-size: 24px;
    line-height: 30px;
}

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

h1 {
    font-size: 26px;
    line-height: 26px;
}
.topbar .header-social {
    display: none;
}
.attr-nav {
    right:0;
    top: 50px;
	width: 100%;
	text-align: center;
}
#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2 {
    font-size: 20px;
	line-height:20px;
    padding: 15% 0 0 0;
}
#first-slider .slide1 h4, #first-slider .slide2 h4, #first-slider .slide3 h4, #first-slider .slide4 h4 {
    margin: 5px auto 0 auto;
}
#video-sec .media-text {
    float: right;
    width: 75%;
}
.callout .callout-separator:before, .callout .callout-separator:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 10px;
    height: 1px;
    background: #fff;
}
#inner-banner .overlay {
    padding: 170px 0 60px 0;
}

.act-box .act-pad {
    padding: 30px 20px;
}
.act-box .price {
    margin: 15px 0px 0px 0;
    float: none;
}
#about-sec .btn1{
	float:none;
	margin: 15px 0 0 0 !important;
}
.google-maps {
    position: relative;
    padding-bottom: 50%;
    overflow: hidden;
}
#first-slider{ margin-top: 100px; }
#first-slider .carousel .item {
    min-height: 270px;
}

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

h1 {
    font-size: 20px;
    line-height: 20px;
}
h5 {
    font-size: 15px;
    line-height: 22px;
}
.topbar .bar-phone, .topbar .bar-mail {
    margin: 9px 0 9px 10px;
	font-size:12px;
}
.topbar .bar-phone {
    padding-right: 10px;
}
element.style {
}
#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2 {
    font-size: 16px;
    line-height: 16px;
    padding: 8% 0 0 0;
}
#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3 {
    font-size: 12px;
    width: 80%;
    margin: 5px auto 0 auto;
    line-height: 16px;
}
#video-sec .media-text {
    float: none;
    width: 100%;
    text-align: center;
}
#video-sec .media-image {
    width: 80px;
    height: 80px;
    float: none;
    margin: 0 auto;
}
.callout .callout-separator span {
    display: block;
    margin: 10px auto;
}
.callout .callout-separator:before, .callout .callout-separator:after {
	display:none;
}
#gallery-sec ul li {
    width: 95%;
	float:none;
	margin: 20px auto 0 auto;
}
#gallery-sec ul li:nth-child(2n+0) {
    margin: 20px auto 0 auto;
}
#projects-sec h3 {
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
    margin: 10px 0 0 0;
    line-height: 24px;
}

.act-box .act-pad {
    padding: 20px 0px;
}
#about-sec h2 {
    margin-top: 30px;
    font-size: 20px;
    line-height: 24px;
}
#first-slider .carousel .item {
    min-height: 220px;
}

}

@media (max-width: 320px) {

#first-slider .slide1 h2, #first-slider .slide2 h2, #first-slider .slide3 h2, #first-slider .slide4 h2 {
    font-size: 16px;
    line-height: 16px;
    padding: 6% 0 0 0;
}
#first-slider .carousel .item {
    min-height: 190px;
}

}

/* Mobile donate button styling */
.donate-mobile {
    background: #4A8E07 !important;
    color: #fff !important;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 25px;
    margin: 10px 20px;
    padding: 12px 20px !important;
    display: block;
    transition: all 0.3s ease;
}

.donate-mobile:hover {
    background: #0B4789 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Ensure the donate button is properly hidden on larger screens */
@media (min-width: 768px) {
    .visible-xs {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .hidden-xs {
        display: none !important;
    }

    .donate-mobile {
        margin: 15px 20px;
        font-size: 16px;
    }
}

/* Enhanced gallery styling for gallery page */
.gallery-item .overlay .caption {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item .image:hover .overlay .caption {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery page specific improvements */
#gallery-sec {
    padding: 80px 0;
}

#gallery-sec h1 {
    color: #4A8E07;
    margin-bottom: 20px;
}

#gallery-sec hr {
    width: 150px;
    border: 2px solid #0B4789;
    margin: 20px auto 30px auto;
}

#gallery-sec h5 {
    color: #6f6f6f;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 50px;
}

/* Improved gallery item spacing */
.gallery-item {
    margin-bottom: 30px;
}

.gallery-item .image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.gallery-item .image:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.gallery-item .image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item .image:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 29, 37, 0.9), rgba(47, 49, 145, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 20px;
}

.gallery-item .image:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    color: #fff;
    font-size: 35px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.gallery-item .image:hover .overlay i {
    transform: scale(1.1);
}

/* Back to home button styling */
#gallery-sec .btn-primary {
    margin-top: 40px;
    padding: 15px 40px;
    font-size: 16px;
}

/* Responsive improvements for gallery */
@media (max-width: 768px) {
    .gallery-item .image img {
        height: 200px;
    }

    .gallery-item .overlay .caption {
        font-size: 12px;
        margin-top: 8px;
    }

    #gallery-sec h1 {
        font-size: 36px;
        line-height: 42px;
    }

    #gallery-sec h5 {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 480px) {
    .gallery-item .image img {
        height: 180px;
    }

    .gallery-item .overlay i {
        font-size: 28px;
    }

    .gallery-item .overlay .caption {
        font-size: 11px;
        margin-top: 6px;
    }

    #gallery-sec h1 {
        font-size: 30px;
        line-height: 36px;
    }
}

/* Blog page styling */
#blog-sec {
    padding: 80px 0;
    background: #f8f9fa;
}

#blog-sec h1 {
    color: #4A8E07;
    margin-bottom: 20px;
}

#blog-sec hr {
    width: 150px;
    border: 2px solid #0B4789;
    margin: 20px auto 30px auto;
}

#blog-sec h5 {
    color: #6f6f6f;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 50px;
}

/* Blog card styling */
.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.blog-date {
    background: rgba(236, 29, 37, 0.9);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 15px 10px;
    min-width: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.blog-date .month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    color: #0B4789;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-content h3 {
    color: #4A8E07;
}

.blog-meta {
    margin-bottom: 15px;
    font-size: 14px;
    color: #6f6f6f;
}

.blog-meta span {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 5px;
}

.blog-meta i {
    color: #4A8E07;
    margin-right: 5px;
}

.blog-excerpt {
    color: #6f6f6f;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.blog-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-actions .btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.blog-actions .btn-primary {
    background: #4A8E07;
    border-color: #4A8E07;
}

.blog-actions .btn-primary:hover {
    background: #2f3191;
    border-color: #2f3191;
    transform: translateY(-2px);
}

.blog-actions .btn-outline-primary {
    color: #2f3191;
    border-color: #2f3191;
    background: transparent;
}

.blog-actions .btn-outline-primary:hover {
    background: #2f3191;
    color: #fff;
    transform: translateY(-2px);
}

/* Load more and navigation buttons */
.load-more {
    margin: 50px 0 30px 0;
}

#blog-sec .btn-outline-primary {
    color: #2f3191;
    border-color: #2f3191;
    background: transparent;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

#blog-sec .btn-outline-primary:hover {
    background: #2f3191;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive improvements for blog */
@media (max-width: 768px) {
    .blog-card {
        margin-bottom: 20px;
    }

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-content h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    .blog-actions {
        flex-direction: column;
    }

    .blog-actions .btn {
        width: 100%;
        text-align: center;
    }

    #blog-sec h1 {
        font-size: 36px;
        line-height: 42px;
    }

    #blog-sec h5 {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 480px) {
    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-content h3 {
        font-size: 16px;
    }

    .blog-date {
        padding: 10px 8px;
        min-width: 50px;
    }

    .blog-date .day {
        font-size: 20px;
    }

    .blog-date .month {
        font-size: 12px;
    }

    #blog-sec h1 {
        font-size: 30px;
        line-height: 36px;
    }
}

/* Projects page styling */
#pillars-sec, #flagships-sec {
    padding: 80px 0;
}

#pillars-sec {
    background: #f8f9fa;
}

#flagships-sec {
    background: #fff;
}

#pillars-sec h1, #flagships-sec h1 {
    color: #4A8E07;
    margin-bottom: 20px;
}

#pillars-sec hr, #flagships-sec hr {
    width: 150px;
    border: 2px solid #0B4789;
    margin: 20px auto 30px auto;
}

#pillars-sec h5, #flagships-sec h5 {
    color: #6f6f6f;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 50px;
}

/* Pillar card styling */
.pillar-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A8E07, #2A7CF4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
}

.pillar-icon i {
    color: #fff;
    font-size: 35px;
}

.pillar-content h3 {
    color: #0B4789;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-content h3 {
    color: #4A8E07;
}

.pillar-content p {
    color: #6f6f6f;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* Flagship card styling */
.flagship-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border: 2px solid transparent;
}

.flagship-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #4A8E07;
}

.flagship-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0B4789, #D311D3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
}

.flagship-card:hover .flagship-icon {
    transform: scale(1.1);
}

.flagship-icon i {
    color: #fff;
    font-size: 35px;
}

.flagship-content h3 {
    color: #0B4789;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.flagship-card:hover .flagship-content h3 {
    color: #4A8E07;
}

.flagship-content p {
    color: #6f6f6f;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* Enhanced project cards for projects section */
#projects-sec .project-card {
    background: rgba(71, 2, 2, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

#projects-sec .project-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.project-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
}

#projects-sec .project-card:hover .project-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.project-icon i {
    color: #fff;
    font-size: 30px;
}

#projects-sec .project-content h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    text-transform: uppercase;
}

#projects-sec .project-content hr {
    width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 15px auto;
}

#projects-sec .project-content p {
    color: #fff;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
}

.project-actions {
    margin-top: 20px;
}

.project-actions .btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.project-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Back to home button styling */
#projects-sec .btn-outline-light {
    margin-top: 40px;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

#projects-sec .btn-outline-light:hover {
    background: #fff;
    color: #0B4789;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive improvements for projects page */
@media (max-width: 768px) {
    .pillar-card, .flagship-card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .pillar-icon, .flagship-icon {
        width: 70px;
        height: 70px;
    }

    .pillar-icon i, .flagship-icon i {
        font-size: 30px;
    }

    .pillar-content h3, .flagship-content h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    #projects-sec .project-card {
        padding: 25px;
        margin-bottom: 20px;
    }

    #pillars-sec h1, #flagships-sec h1, #projects-sec h1 {
        font-size: 36px;
        line-height: 42px;
    }

    #pillars-sec h5, #flagships-sec h5, #projects-sec h5 {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 480px) {
    .pillar-card, .flagship-card {
        padding: 20px;
    }

    .pillar-icon, .flagship-icon {
        width: 60px;
        height: 60px;
    }

    .pillar-icon i, .flagship-icon i {
        font-size: 25px;
    }

    .pillar-content h3, .flagship-content h3 {
        font-size: 16px;
    }

    .pillar-content p, .flagship-content p {
        font-size: 14px;
    }

    #projects-sec .project-card {
        padding: 20px;
    }

    #pillars-sec h1, #flagships-sec h1, #projects-sec h1 {
        font-size: 30px;
        line-height: 36px;
    }
}

/* About Us page styling */
#about-main-sec {
    padding: 80px 0;
    background: #f8f9fa;
}

#about-main-sec h1 {
    color: #4A8E07;
    margin-bottom: 20px;
}

#about-main-sec hr {
    width: 150px;
    border: 2px solid #0B4789;
    margin: 20px auto 30px auto;
}

#about-main-sec h5 {
    color: #6f6f6f;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 30px;
}

.about-content {
    color: #6f6f6f;
    line-height: 1.8;
    font-size: 16px;
    text-align: left;
}

/* Vision & Mission Section */
#vision-mission-sec {
    padding: 80px 0;
    background: #fff;
}

.vision-card, .mission-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border: 2px solid transparent;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vision-card:hover {
    border-color: #4A8E07;
}

.mission-card:hover {
    border-color: #0B4789;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A8E07, #2A7CF4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: all 0.3s ease;
}

.vision-card:hover .card-icon, .mission-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon i {
    color: #fff;
    font-size: 35px;
}

.vision-card h2, .mission-card h2 {
    color: #0B4789;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.vision-card:hover h2 {
    color: #4A8E07;
}

.mission-card:hover h2 {
    color: #0B4789;
}

.vision-card hr, .mission-card hr {
    width: 80px;
    border: 2px solid #0B4789;
    margin: 15px auto 20px auto;
}

.vision-card p, .mission-card p {
    color: #6f6f6f;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

/* Goals Section */
#goals-sec {
    padding: 80px 0;
    background: #f8f9fa;
}

#goals-sec h1 {
    color: #4A8E07;
    margin-bottom: 20px;
}

#goals-sec hr {
    width: 150px;
    border: 2px solid #0B4789;
    margin: 20px auto 30px auto;
}

.goals-content {
    color: #6f6f6f;
    line-height: 1.8;
    font-size: 16px;
    text-align: left;
}

/* Technical Team Section */
#technical-team-sec {
    padding: 80px 0;
    background: #fff;
}

#technical-team-sec h1 {
    color: #4A8E07;
    margin-bottom: 20px;
}

#technical-team-sec hr {
    width: 150px;
    border: 2px solid #0B4789;
    margin: 20px auto 30px auto;
}

#technical-team-sec h5 {
    color: #6f6f6f;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 50px;
}

.team-member-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-avatar {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-member-card:hover .member-avatar img {
    transform: scale(1.1);
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(236, 29, 37, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member-card:hover .avatar-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #fff;
    transform: scale(1.1);
    text-decoration: none;
}

.social-link.facebook:hover {
    color: #3b5998;
}

.social-link.twitter:hover {
    color: #0B4789;
}

.social-link.linkedin:hover {
    color: #0077b5;
}

.social-link.instagram:hover {
    color: #e4405f;
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    color: #0B4789;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.team-member-card:hover .member-info h3 {
    color: #4A8E07;
}

.member-info .position {
    color: #4A8E07;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}

/* Committee Section */
#committee-sec {
    padding: 80px 0;
    background: #f8f9fa;
}

#committee-sec h1 {
    color: #4A8E07;
    margin-bottom: 20px;
}

#committee-sec hr {
    width: 150px;
    border: 2px solid #0B4789;
    margin: 20px auto 30px auto;
}

#committee-sec h5 {
    color: #6f6f6f;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 50px;
}

.committee-member-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.committee-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.committee-member-card .member-avatar {
    height: 300px;
    position: relative;
}

.committee-member-card .member-info {
    padding: 30px;
}

.committee-member-card .member-info h3 {
    color: #0B4789;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.committee-member-card:hover .member-info h3 {
    color: #4A8E07;
}

.committee-member-card .member-info .position {
    color: #4A8E07;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.committee-member-card .member-info .description {
    color: #6f6f6f;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

/* Back to home button styling */
#committee-sec .btn-primary {
    margin-top: 40px;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

#committee-sec .btn-primary:hover {
    background: #0B4789;
    border-color: #0B4789;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive improvements for about us page */
@media (max-width: 768px) {
    .vision-card, .mission-card {
        padding: 30px 25px;
        margin-bottom: 20px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
    }

    .card-icon i {
        font-size: 30px;
    }

    .vision-card h2, .mission-card h2 {
        font-size: 24px;
    }

    .team-member-card, .committee-member-card {
        margin-bottom: 20px;
    }

    .member-avatar {
        height: 200px;
    }

    .committee-member-card .member-avatar {
        height: 250px;
    }

    .member-info {
        padding: 20px;
    }

    .member-info h3 {
        font-size: 18px;
    }

    #about-main-sec h1, #vision-mission-sec h1, #goals-sec h1,
    #technical-team-sec h1, #committee-sec h1 {
        font-size: 36px;
        line-height: 42px;
    }

    #about-main-sec h5, #vision-mission-sec h5, #goals-sec h5,
    #technical-team-sec h5, #committee-sec h5 {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 480px) {
    .vision-card, .mission-card {
        padding: 25px 20px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon i {
        font-size: 25px;
    }

    .vision-card h2, .mission-card h2 {
        font-size: 20px;
    }

    .member-avatar {
        height: 180px;
    }

    .committee-member-card .member-avatar {
        height: 200px;
    }

    .member-info {
        padding: 15px;
    }

    .member-info h3 {
        font-size: 16px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    #about-main-sec h1, #vision-mission-sec h1, #goals-sec h1,
    #technical-team-sec h1, #committee-sec h1 {
        font-size: 30px;
        line-height: 36px;
    }
}

/* Full-width carousel with improved styling */
.slide-content-wrapper {
    background: transparent;
    padding: 60px 80px;
    border-radius: 20px;
    border: none;
    box-shadow: none;
    text-align: left;
    width: 100%;
    margin: 0;
}

#first-slider .carousel-content h2 {
    color: #fff;
    font-size: 3.25rem; /* 52px */
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 35px;
    line-height: 1.1;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    text-align: left;
}

#first-slider .carousel-content h2 span {
    background: linear-gradient(135deg, #4A8E07, #2A7CF4);
    padding: 25px 35px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

#first-slider .carousel-content h2 span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: #0B4789;
    border-radius: 2px;
}

.slide-description {
    margin-top: 35px;
    position: relative;
    z-index: 2;
}

.slide-description p {
    color: #fff;
    font-size: 1.375rem; /* 22px */
    line-height: 1.7;
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: 400;
    max-width: 100%;
    text-align: left;
    position: relative;
}

.slide-description p::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #4A8E07;
    border-radius: 2px;
}

.slide-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4A8E07, #2A7CF4);
    color: #fff;
    padding: 20px 45px;
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #4A8E07;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.slide-btn:hover {
    background: linear-gradient(135deg, #0B4789, #D311D3);
    border-color: #0B4789;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    color: #fff;
    text-decoration: none;
}

.slide-btn:active {
    transform: translateY(-1px);
}

/* Enhanced carousel content positioning for full width */
.carousel-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 40px;
}

.carousel-content .container-fluid {
    position: relative;
    z-index: 10;
}

/* Responsive improvements for full width */
@media (max-width: 1200px) {
    .slide-content-wrapper {
        padding: 50px 60px;
    }

    #first-slider .carousel-content h2 {
        font-size: 48px;
        letter-spacing: 1.8px;
        margin-bottom: 30px;
    }

    .slide-description p {
        font-size: 20px;
    }

    .slide-btn {
        padding: 18px 40px;
        font-size: 17px;
    }
}

@media (max-width: 1024px) {
    .slide-content-wrapper {
        padding: 45px 50px;
    }

    #first-slider .carousel-content h2 {
        font-size: 44px;
        letter-spacing: 1.5px;
        margin-bottom: 30px;
    }

    #first-slider .carousel-content h2 span {
        padding: 22px 30px;
    }

    .slide-description p {
        font-size: 19px;
        margin-bottom: 35px;
    }

    .slide-btn {
        padding: 16px 36px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .slide-content-wrapper {
        padding: 40px 35px;
        margin: 0 15px;
        text-align: center;
    }

    #first-slider .carousel-content h2 {
        font-size: 36px !important;
        letter-spacing: 1px;
        margin-bottom: 25px;
        text-align: center;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #first-slider .carousel-content h2 span {
        padding: 18px 25px;
        font-size: 32px;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .slide-description p {
        font-size: 17px;
        margin-bottom: 30px;
        line-height: 1.6;
        text-align: center;
    }

    .slide-btn {
        padding: 15px 32px;
        font-size: 15px;
    }

    .carousel-content {
        padding: 0 25px;
    }
}

@media (max-width: 480px) {
    .slide-content-wrapper {
        padding: 35px 25px;
        margin: 0 10px;
        border-radius: 15px;
    }

    #first-slider .carousel-content h2 {
        font-size: 28px !important;
        letter-spacing: 0.8px;
        margin-bottom: 20px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #first-slider .carousel-content h2 span {
        padding: 15px 20px;
        font-size: 26px;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .slide-description p {
        font-size: 16px;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .slide-btn {
        padding: 14px 28px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .carousel-content {
        padding: 0 20px;
    }
}

@media (max-width: 360px) {
    .slide-content-wrapper {
        padding: 30px 20px;
        margin: 0 5px;
    }

    #first-slider .carousel-content h2 {
        font-size: 24px !important;
        letter-spacing: 0.5px;
        margin-bottom: 18px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #first-slider .carousel-content h2 span {
        padding: 12px 18px;
        font-size: 22px;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .slide-description p {
        font-size: 15px;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .slide-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* Extra small screens - ensure H2 visibility */
@media (max-width: 320px) {
    .slide-content-wrapper {
        padding: 25px 15px;
        margin: 0 5px;
    }

    #first-slider .carousel-content h2 {
        font-size: 20px !important;
        letter-spacing: 0.3px;
        margin-bottom: 15px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #first-slider .carousel-content h2 span {
        padding: 10px 15px;
        font-size: 18px;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .slide-description p {
        font-size: 14px;
        margin-bottom: 18px;
        line-height: 1.3;
    }

    .slide-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .carousel-content {
        padding: 0 15px;
    }
}

/* Force H2 visibility on all screen sizes */
#first-slider .carousel-content h2 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#first-slider .carousel-content h2 span {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure carousel content is always visible */
.carousel-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.slide-content-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile-first responsive design with smaller text */
@media (max-width: 768px) {
    .slide-content-wrapper {
        padding: 30px 25px;
        margin: 0 10px;
        text-align: center;
    }

    #first-slider .carousel-content h2 {
        font-size: 1.5rem !important; /* 24px */
        letter-spacing: 0.5px;
        margin-bottom: 20px;
        text-align: center;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #first-slider .carousel-content h2 span {
        padding: 12px 18px;
        font-size: 1.375rem; /* 22px */
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .slide-description p {
        font-size: 0.875rem; /* 14px */
        margin-bottom: 20px;
        line-height: 1.4;
        text-align: center;
    }

    .slide-btn {
        padding: 10px 20px;
        font-size: 0.75rem; /* 12px */
    }

    .carousel-content {
        padding: 0 20px;
    }

    /* Responsive Typography */
    h1 { font-size: 2rem; } /* 32px */
    h2 { font-size: 1.75rem; } /* 28px */
    h3 { font-size: 1.5rem; } /* 24px */
    h4 { font-size: 1.25rem; } /* 20px */
    h5 { font-size: 1.125rem; } /* 18px */
    h6 { font-size: 1rem; } /* 16px */
    p { font-size: 0.875rem; } /* 14px */
}

@media (max-width: 480px) {
    .slide-content-wrapper {
        padding: 25px 20px;
        margin: 0 8px;
        border-radius: 12px;
    }

    #first-slider .carousel-content h2 {
        font-size: 1.25rem !important; /* 20px */
        letter-spacing: 0.3px;
        margin-bottom: 15px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #first-slider .carousel-content h2 span {
        padding: 10px 15px;
        font-size: 1.125rem; /* 18px */
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .slide-description p {
        font-size: 0.75rem; /* 12px */
        margin-bottom: 18px;
        line-height: 1.3;
    }

    .slide-btn {
        padding: 8px 16px;
        font-size: 0.6875rem; /* 11px */
        letter-spacing: 0.3px;
    }

    .carousel-content {
        padding: 0 15px;
    }

    /* About section mobile */
    #about-sec h1 {
        font-size: 2rem; /* 32px */
    }

    #about-sec h5 {
        font-size: 1.125rem; /* 18px */
    }

    #about-sec p {
        font-size: 1rem; /* 16px */
    }


    #video-sec h5 {
        font-size: 1.125rem; /* 18px */
    }

    #video-sec p {
        font-size: 1rem; /* 16px */
    }

    /* Projects section mobile */
    #projects-sec h1 {
        font-size: 2rem; /* 32px */
    }

    #projects-sec h5 {
        font-size: 1.125rem; /* 18px */
    }

    #projects-sec p {
        font-size: 1rem; /* 16px */
    }

    /* Gallery section mobile */
    #gallery-sec h1 {
        font-size: 2rem; /* 32px */
    }

    #gallery-sec h5 {
        font-size: 1.125rem; /* 18px */
    }

    #gallery-sec p {
        font-size: 1rem; /* 16px */
    }

    /* Partners section mobile */
    #partners-sec h1 {
        font-size: 2rem; /* 32px */
    }

    /* Responsive Typography for Small Screens */
    h1 { font-size: 1.75rem; } /* 28px */
    h2 { font-size: 1.5rem; } /* 24px */
    h3 { font-size: 1.25rem; } /* 20px */
    h4 { font-size: 1.125rem; } /* 18px */
    h5 { font-size: 1rem; } /* 16px */
    h6 { font-size: 0.875rem; } /* 14px */
    p { font-size: 0.75rem; } /* 12px */
}

@media (max-width: 360px) {
    .slide-content-wrapper {
        padding: 20px 15px;
        margin: 0 5px;
    }

    #first-slider .carousel-content h2 {
        font-size: 18px !important;
        letter-spacing: 0.2px;
        margin-bottom: 12px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #first-slider .carousel-content h2 span {
        padding: 8px 12px;
        font-size: 16px;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .slide-description p {
        font-size: 11px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .slide-btn {
        padding: 6px 12px;
        font-size: 10px;
    }
}

/* Extra small screens - very small text */
@media (max-width: 320px) {
    .slide-content-wrapper {
        padding: 18px 12px;
        margin: 0 3px;
    }

    #first-slider .carousel-content h2 {
        font-size: 16px !important;
        letter-spacing: 0.1px;
        margin-bottom: 10px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #first-slider .carousel-content h2 span {
        padding: 6px 10px;
        font-size: 14px;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .slide-description p {
        font-size: 10px;
        margin-bottom: 12px;
        line-height: 1.1;
    }

    .slide-btn {
        padding: 5px 10px;
        font-size: 9px;
    }

    .carousel-content {
        padding: 0 10px;
    }
}

/* Ultra small screens - smallest text */
@media (max-width: 280px) {
    .slide-content-wrapper {
        padding: 15px 10px;
        margin: 0 2px;
    }

    #first-slider .carousel-content h2 {
        font-size: 14px !important;
        letter-spacing: 0px;
        margin-bottom: 8px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #first-slider .carousel-content h2 span {
        padding: 5px 8px;
        font-size: 12px;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .slide-description p {
        font-size: 9px;
        margin-bottom: 10px;
        line-height: 1.1;
    }

    .slide-btn {
        padding: 4px 8px;
        font-size: 8px;
    }

    .carousel-content {
        padding: 0 8px;
    }
}

/* Video Section Styling */
#video-sec {
    padding: 80px 0;
    background: #f8f9fa;
}

#video-sec h1 {
    color: #4A8E07;
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 700;
}

#video-sec hr {
    width: 150px;
    border: 2px solid #0B4789;
    margin: 20px auto 30px auto;
}

#video-sec h5 {
    color: #6f6f6f;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 50px;
}

/* Video Container Styling */
.video-container {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    max-width: 100%;
    margin: 0 auto;
    border: 2px solid rgba(74, 142, 7, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A8E07, #2A7CF4);
    border-radius: 20px 20px 0 0;
}

.video-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.video-container:hover::before {
    height: 6px;
    background: linear-gradient(90deg, #4A8E07, #2A7CF4, #D311D3);
    animation: gradientShift 2s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(90deg, #4A8E07, #2A7CF4, #D311D3); }
    50% { background: linear-gradient(90deg, #2A7CF4, #D311D3, #4A8E07); }
}

/* Responsive Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 400px; /* Fixed height to fill container */
    margin-bottom: 0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: #000;
    border: none;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px 20px 0 0;
    transition: all 0.3s ease;
    border: none;
    object-fit: cover;
    background: #000;
}

.video-wrapper:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.video-wrapper:hover iframe {
    transform: scale(1.01);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

/* Video Caption */
.video-caption {
    text-align: center;
    padding: 30px 30px 30px 30px;
    position: relative;
    background: #fff;
    border-radius: 0 0 20px 20px;
}

.video-caption::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4A8E07, #2A7CF4);
    border-radius: 2px;
}

.video-caption p {
    color: #4A8E07;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.video-container:hover .video-caption p {
    color: #0B4789;
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.video-container:hover .video-caption::before {
    width: 80px;
    background: linear-gradient(90deg, #2A7CF4, #D311D3, #4A8E07);
    animation: gradientShift 2s ease-in-out infinite;
}

/* Responsive improvements for video section */
@media (max-width: 768px) {
    #video-sec {
        padding: 60px 0;
    }

    #video-sec h1 {
        font-size: 30px;
    }

    #video-sec h5 {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 40px;
    }

    .video-container {
        padding: 0;
        margin: 0 10px;
        border-radius: 15px;
    }

    .video-container::before {
        border-radius: 15px 15px 0 0;
    }

    .video-wrapper {
        height: 300px;
        margin-bottom: 0;
        border-radius: 15px 15px 0 0;
    }

    .video-wrapper iframe {
        border-radius: 15px 15px 0 0;
    }

    .video-caption {
        padding: 25px 20px;
        border-radius: 0 0 15px 15px;
    }

    .video-caption p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #video-sec {
        padding: 50px 0;
    }

    #video-sec h1 {
        font-size: 26px;
    }

    .video-container {
        padding: 0;
        margin: 0 5px;
        border-radius: 12px;
    }

    .video-container::before {
        border-radius: 12px 12px 0 0;
    }

    .video-wrapper {
        height: 250px;
        margin-bottom: 0;
        border-radius: 12px 12px 0 0;
    }

    .video-wrapper iframe {
        border-radius: 12px 12px 0 0;
    }

    .video-caption {
        padding: 20px 15px;
        border-radius: 0 0 12px 12px;
    }

    .video-caption p {
        font-size: 14px;
    }

    #video-sec h5 {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 30px;
    }

    .video-container {
        padding: 20px 15px;
    }

    .video-caption p {
        font-size: 14px;
    }
}

/* Partners Section Styling */
#partners-sec {
    padding: 80px 0;
    background: #f8f9fa;
}

#partners-sec h1 {
    color: #4A8E07;
    margin-bottom: 1.5rem;
    font-size: 3.5rem; /* 56px */
    text-transform: uppercase;
    font-weight: 800;
}

#partners-sec hr {
    width: 150px;
    border: 2px solid #0B4789;
    margin: 2rem auto;
}

/* Partner Icons */
.partner-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4A8E07, #2A7CF4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    transition: all 0.5s ease;
    animation: slideInFromLeft 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(-100px);
}

.partner-icon:nth-child(1) { animation-delay: 0.1s; }
.partner-icon:nth-child(2) { animation-delay: 0.2s; }
.partner-icon:nth-child(3) { animation-delay: 0.3s; }
.partner-icon:nth-child(4) { animation-delay: 0.4s; }
.partner-icon:nth-child(5) { animation-delay: 0.5s; }
.partner-icon:nth-child(6) { animation-delay: 0.6s; }

.partner-icon i {
    font-size: 40px;
    color: #fff;
    transition: all 0.3s ease;
}

.partner-icon:hover {
    transform: scale(1.1) translateX(0);
    box-shadow: 0 15px 35px rgba(42, 124, 244, 0.4);
}

.partner-icon:hover i {
    transform: rotateY(360deg);
    transition: transform 0.6s ease;
}

/* Left to Right Animation */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for Partners */
@media (max-width: 991px) {
    #partners-sec {
        padding: 60px 0;
    }

    #partners-sec h1 {
        font-size: 30px;
    }

    .partner-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }

    .partner-icon i {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    #partners-sec {
        padding: 50px 0;
    }

    #partners-sec h1 {
        font-size: 26px;
    }

    .partner-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .partner-icon i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    #partners-sec h1 {
        font-size: 24px;
    }

    .partner-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .partner-icon i {
        font-size: 24px;
    }
}
