
/* ===============================
   E-TIPS Welfare Organization
   Custom Styling (style.css)
   =============================== */

/* Root Variables */
:root {
  --blue: #1e88e5;
  --green: #2e7d32;
  --dark: #212529;
  --light: #f8f9fa;
  --gradient: linear-gradient(135deg, var(--blue), var(--green));
  --radius: 12px;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.4s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  font-family: inherit;
  background-color: var(--light);
  color: var(--dark);
  margin: 0;
  padding: 0;
}

/* Top Bar */
.top-bar {
  background: var(--gradient);
  color: rgb(250, 241, 241);
  padding: 8px 0;
  font-size: 0.9rem;
}
.top-bar .contact-info span {
  margin-right: 15px;
}
.social-icons a {
  color: #555; /* default gray */
  font-size: 18px;
  margin-left: 12px;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2); /* zoom effect */
}

.social-icons a:hover .fa-facebook-f {
  color: #1877f2; /* Facebook blue */
}

.social-icons a:hover .fa-instagram {
  color: #e4405f; /* Instagram pink */
}

.social-icons a:hover .fa-linkedin-in {
  color: #0a66c2; /* LinkedIn blue */
}

.social-icons a:hover .fa-youtube {
  color: #ff0000; /* YouTube red */
}

/* Navbar */
.navbar {
  background: var(--light) !important;
  box-shadow: var(--shadow);
}
.navbar .navbar-brand span {
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--blue);
}
.navbar .navbar-brand img {
  mix-blend-mode: multiply; /* blend logo with background */
}
.navbar .nav-link {
  margin: 0 8px;
  font-weight: 500;
  transition: var(--transition);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--green) !important;
}
.btn-gradient {
  background: var(--gradient);
  color: white !important;
  border-radius: var(--radius);
  padding: 6px 18px;
  transition: var(--transition);
}
.btn-gradient:hover {
  opacity: 0.9;
}
.gradient-heading {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}


/* Hero Slider */
.slider img,
.slider video {
  height: 100vh;
  object-fit: cover;
}
.carousel-item {
  transition: transform 1s ease-in-out; /* 1 second smooth */
}
.hero-text h1,
.hero-text p {
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}
.hero-text .btn {
  padding: 28px 35px;
  border-radius: var(--radius);
}
.toast-header {
  background-color: #1e90ff; /* blue */
  color: #fff; /* white text */
}
.toast-header .btn-close {
  filter: invert(1); /* makes close button white */
}


/* About Section */
.about {
  background: white;
  font-family: var(--font-family,'Segoe UI',Tahoma,Geneva,Verdana,sans-serif);
}
.about h2 {
  color: black;
  font-weight: bold;
}

/* Who We Are */
.who_we_are{
 font-family: var(--font-family,'Segoe UI',Tahoma,Geneva,Verdana,sans-serif);
 

}
.who-we-are h2 {
  color: black;
}
.who-we-are img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* Mission & Vision Section */
.mission-vision {
  background: url("images/bg-mission.jpg") no-repeat center center/cover;
  position: relative;
}

.mission-vision .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85); /* White transparent overlay */
  z-index: 1;
}

.mission-vision .container {
  position: relative;
  z-index: 2;
}


/* Full Width Image */
.full-image img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Services Section */
.services {
  background: #f9f9f9;
}
.services h2 {
  font-weight: bold;
  color: var(--green);
}
.services .card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.services .card:hover {
  transform: translateY(-5px);
}

/* Services Carousel Controls */
#servicesCarousel .carousel-control-prev,
#servicesCarousel .carousel-control-next {
  width: 5%;
  top: 45%;
}
#servicesCarousel .carousel-control-prev {
  left: -60px; /* outside container */
}
#servicesCarousel .carousel-control-next {
  right: -60px; /* outside container */
}
/* Custom gradient for carousel prev/next */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none !important; /* remove Bootstrap default arrow */
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E88E5, #2E7D32); /* Blue → Green */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #181717;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* Add custom arrow icons using FontAwesome (if available) */
.carousel-control-prev-icon::after {
  content: "\f104"; /* fa-chevron-left */
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
}

.carousel-control-next-icon::after {
  content: "\f105"; /* fa-chevron-right */
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
}


/* Gallery Section */
#galleryCarousel img,
#galleryCarousel video {
  height: 600px;
  object-fit: cover;
  border-radius: 0;
}
#galleryCarousel .carousel-item {
  transition: transform 1s ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  #servicesCarousel .carousel-control-prev {
    left: -30px;
  }
  #servicesCarousel .carousel-control-next {
    right: -30px;
  }
}
/* ===============================
   E-TIPS Welfare Organization
   About Page Styling (about.css)
   =============================== */
   .hero-section {
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  z-index: 1;
}

.hero-section .hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
}

.hero-section {
  height: 50vh; /* Full screen height */
  overflow: hidden;
  position: relative;
}

.hero-section .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the whole section */
  opacity:100;
}
.hero-section .about-box {
  background: linear-gradient(
    to right,
    rgba(30, 136, 229, 0.85),   /* Blue with opacity */
    rgba(46, 125, 50, 0.85)     /* Green with opacity */
  );
  padding: 8px;
  border-radius: 11px;
  color: #fff;
  max-width: 300px;
  box-shadow: 0 px 20px rgba(0, 0, 0, 0.3);
  z-index: 3;
  position: absolute;         /* absolute positioning */
  top: 50%;                   /* push down to middle */
  left: 50%;                  /* push right to middle */
  transform: translate(-50%, -30%); /* perfectly center */
  text-align: center;
}


.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-section .container {
  z-index: 2;
  color: #fff;
}


/* President Section */
.president {
  background: #f9f9f9;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
}
.president h2 {
  color: var(--green);
  font-weight: bold;
}
.president img {
  border: 5px solid lightblue;
  transition: var(--transition);
}
.president img:hover {
  transform: scale(1.05);
}
.president h5 {
  color: var(--blue);
  font-weight: bold;
}
.president p {
  font-style: italic;
  color: var(--dark);
}

/* Board Members */
.members h2 {
  color: var(--blue);
  font-weight: bold;
}
.members .card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.members .card:hover {
  transform: translateY(-5px);
}
.members .card-title {
  color: var(--gradient);
  font-weight: bold;
}
.members .text-muted {
  font-size: 0.9rem;
}
.members .card img {
  border: 4px solid var(lightblue);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.members .card img:hover {
  transform: scale(1.1);
}

/* About Gallery */
.about .row.g-3 img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about .row.g-3 img:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .president {
    text-align: center;
  }
  .president .col-md-8 {
    margin-top: 1.5rem;
  }
  .members .card img {
    width: 120px !important;
    height: 120px !important;
  }
}
/* ===============================
   E-TIPS Welfare Organization
   Projects Page Styling
   =============================== */

/* General Reset */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #212529;
}

/* Top Bar */
.top-bar {
  background: var(--gradient, linear-gradient(135deg, #1E88E5, #2E7D32));
  color: #fff;
  padding: 5px 0;
  font-size: 0.9rem;
}
.top-bar .contact-info i {
  margin-right: 6px;
}
.top-bar .social-icons a {
  color: #fff;
  margin-left: 12px;
  transition: color 0.3s;
}
.top-bar .social-icons a:hover {
  color: #ffd700;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.navbar-brand span {
  font-weight: bold;
  font-size: 1.2rem;
  color: #2E7D32;
}
.navbar-nav .nav-link {
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #1E88E5 !important;
}

/* Adjust spacing between hero and nav pills */
.nav-pills {
  margin-top: 2rem;  /* space below hero section */
}
.nav-pills .nav-link {
  border-radius: 25px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #1E88E5, #2E7D32);
  color: #fff;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.card img.project-img {
  object-fit: cover;
  height: 200px;
}
.card-body {
  text-align: center;
}
.card-body h5 {
  font-weight: 600;
  margin-top: 10px;
}
.card-body .badge {
  font-size: 0.75rem;
  padding: 5px 10px;
}
/* =========================
   Media Page Styling
   ========================= */

/* Hero Section */
.hero-section {
  height: 50vh;
  position: relative;
  overflow: hidden;
}

.hero-section .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-section .about-box h1 {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Pills Tabs */
/* Center align tabs */
#mediaTabs {
  justify-content: center;   /* Center tabs horizontally */
  margin-bottom: 5px;       /* Thoda hi gap rakho */
}

#mediaTabs .nav-link {
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  color: #555;
  transition: all 0.3s ease;
  margin: 5px;
}

/* Hover effect with gradient */
#mediaTabs .nav-link:hover {
  background: linear-gradient(135deg, #1E88E5, #2E7D32);
  color: #fff;
}

/* Active pill */
#mediaTabs .nav-link.active {
  background: linear-gradient(135deg, #1E88E5, #2E7D32);
  color: #fff;
  box-shadow: 0px 3px 8px rgba(0, 123, 255, 0.4);
}


/* Cards (News / Photos / Videos) */
.card {
  border: none;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card img,
.card video {
  width: 100%;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 12px;
}

.card-body h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 5px;
}

.date-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #1E88E5, #2E7D32);
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 5px;
}

/* Modal Image */
#imageModal img {
  max-height: 80vh;
  object-fit: contain;
}

/* Short Video Style */
.short-video-container {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}

.short-video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: 0.3s;
}

.short-video.playing {
  outline: 2px solid #007bff;
}

/* External Video Thumbnails */
.card a.btn-sm {
  margin-top: 8px;
}

/* Reduce spacing between rows */
.tab-content .row {
  row-gap: 10px;
}

.tab-pane {
  display: none;      /* har tab by default hidden */
}

.tab-pane.active {
  display: block;     /* sirf active tab dikhai de */
}



/* ===============================
   E-TIPS Welfare Organization
   career Page Styling
   =============================== */
/* Section Heading */
.opportunities-section h2
 {
  font-weight: 700;
  background: var(--gradient);
  text-align: center;
}
/* Navigation Tabs inactive*/
.opportunities-tabs .nav-link {
  background:transparent;
  margin: 0 10px;
  padding: 10px 20px;
  font-weight: 500;
  border:none;
  color:#1e88e5;


}

.opportunities-tabs .nav-link.active {
  background: var(--gradient);
  color: #fff !important;
}

.opportunities-tabs .nav-link:hover {
  opacity: 0.9;
}

/* Gradient Buttons */
.btn-gradient .nav-link.active {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
}

.btn-gradient:hover {
  opacity: 0.9;
}

/* Opportunity Cards */
.opportunity-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.opportunity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.opportunity-card h5 {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.opportunity-card .deadline {
  font-size: 14px;
  color: #6c757d;
}
/* Footer 
footer {
  margin-top: 40px; /* spacing from above section 
  padding-top: 20px; /* space inside footer 
  border-top: 0; /* remove normal border 
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* thickness of border 
  background: linear-gradient(135deg, var(--blue), var(--green));
}
.footer-border-gradient {
  border-top: 5px solid linear-gradient(135deg, var(--blue), var(--green));
}

footer h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}
footer ul li {
  margin-bottom: 8px;
}
footer ul li a:hover {
  color: #1E88E5 !important;
}
footer .btn-primary {
  background: linear-gradient(135deg, #1E88E5, #2E7D32);
  border: none;
}
footer .btn-primary:hover {
  opacity: 0.9;
}
footer .payment-logo {
  mix-blend-mode: multiply;
  opacity: 0.85; /* Smooth blending 
  max-width: 120px;
}/*

/* ===== Footer Styling ===== */
footer {
  position: relative;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Gradient border line above footer */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* thickness of border */
  background: linear-gradient(135deg, #1E88E5, #2E7D32);
}

footer .gradient-heading {
  background: linear-gradient(135deg, #1E88E5, #2E7D32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Adjust spacing between columns */
footer .row > div {
  padding-left: 20px;
  padding-right: 20px;
}

/* Links */
footer a {
  transition: color 0.3s ease;
}
footer a:hover {
  color: #0066ff;
}

/* Newsletter Form */
footer input.form-control {
  border-radius: 6px;
  font-size: 14px;
}
footer button.btn {
  background: linear-gradient(135deg, #1E88E5, #2E7D32);
  border: none;
  border-radius: 6px;
  transition: 0.3s ease;
}
footer button.btn:hover {
  opacity: 0.9;
}

/* Payment Partner Logos */
footer .payment-logo {
  max-width: 80px;
  margin: 5px 10px 0 0;
  border-radius: 6px;
}

/* Donors Logo Grid 
footer .donor-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
footer .donor-logos img {
  max-width: 100%;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 4px;
  background: #fff;
}*/
/* Donors Section */
footer .donor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* center horizontally */
  align-items: center;      /* vertical alignment */
  gap: 15px;                /* space between logos */
  margin-top: 10px;
}

footer .donor-logos img {
  max-height: 60px;         /* consistent vertical size */
  object-fit: contain;
  padding: 5px;
  background:transparent;
}


/* Bottom Bar */
footer .border-top {
  border-color: #ccc !important;
}
footer p.small.text-muted {
  font-size: 13px;
}




