﻿/* -------------------------
   Updated stylesheet7.css
-------------------------- */

/* Global Reset */
html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hamburger Menu (for Mobile) */
#menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Container & Grid */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #f8f8f8;
  position: relative;
}
.row {
  width: 100%;
}
.row::after {
  clear: both;
  content: '';
  display: block;
}
[class*="col-"] {
  float: left;
  padding: 15px;
}
[class*="col-"] {
  width: 100%;
}

/* Header */
header {
  margin: 0;
  padding: 0;
  background-color: #3498db;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
}

.header-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 40%;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 30px;
}

/* Logo and Title */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 5px 0;
  background-color: white;
  padding: 0;
}

.logo img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  display: block;
  margin: auto;
}

.asdb {
  margin-left: 15px;
  background-color: transparent;
}

.asdb h1 {
  font-size: 2rem;
  color: white;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.asdb h2 {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  margin: 4px 0 0 0;
  line-height: 1.3;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Navigation */
nav {
  margin: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  display: block;
  text-decoration: none;
  color: white;
  padding: 8px 12px;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Donate Button */
.donation {
  flex-shrink: 0;
}

.donation a button {
  min-width: 120px;
  padding: 10px 24px;
  background-color: #e74c3c;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.donation a button:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .header-right {
    min-width: auto;
    flex: 1;
    justify-content: flex-end;
    gap: 20px;
  }
  
  nav {
    flex: 1;
  }
  
  nav ul {
    justify-content: flex-end;
    gap: 10px;
  }

  nav ul li a {
    padding: 8px 16px;
    font-size: 0.95rem;
  }
}

/* Tablet Styles */
@media (max-width: 1023px) and (min-width: 769px) {
  .header-right {
    gap: 15px;
  }
  
  nav ul {
    gap: 6px;
  }
  
  nav ul li a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    padding: 15px;
  }
  
  .header-left {
    width: 100%;
    justify-content: space-between;
    margin-bottom: 0;
  }
  
  .header-right {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: #3498db;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  #menu-toggle:checked ~ .header-right {
    display: flex;
  }
  
  nav {
    width: 100%;
    order: 1;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 5px;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    padding: 12px 15px;
    font-size: 1rem;
    text-align: center;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
  }
  
  nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: none;
  }
  
  .donation {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
  
  .donation a {
    width: 100%;
    max-width: 200px;
  }
  
  .donation a button {
    width: 100%;
    padding: 12px 24px;
  }
  
  .menu-icon {
    display: block;
    padding: 8px;
    margin: -8px;
    border-radius: 4px;
  }
  
  .menu-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

/* For very small screens */
@media (max-width: 480px) {
  nav ul li a {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  
  .donation a button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Vision, Mission, and Strategies sections - Make them responsive */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
  }
  
  .card-body, .card-desc {
    min-width: 100%;
  }
  
  .card-body img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }
  
  .part {
    flex-direction: column;
  }
  
  .part-desc, .part-body {
    min-width: 100%;
  }
  
  .part-body img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }
  
  /* Adjust text sizes for better mobile readability */
  .desc-name {
    font-size: 1.75rem;
    padding: 12px;
  }
  
  .card-desc > p {
    font-size: 1rem;
    padding: 8px;
  }
  
  .part-desc ul {
    font-size: 1.2rem;
    padding: 8px 25px;
  }
}

/* Banner Section */
#banner-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #f8f9fa;
}

#banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(images/pic2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.3s ease-out;
  z-index: 1;
}

#banner-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  color: white;
  text-align: center;
}

/* Desktop Styles */
@media (min-width: 1024px) {
  #banner-section {
    height: 80vh;
  }
}

/* Tablet Styles */
@media (max-width: 1023px) {
  #banner-section {
    height: 60vh;
    min-height: 400px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  #banner-section {
    height: 50vh;
    min-height: 350px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  #banner-section {
    height: 40vh;
    min-height: 300px;
  }
}

/* About Us Section */
#about-us {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.vision, .mission {
  background-color: #fff;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.card {
  text-align: center;
  box-sizing: border-box;
  transition: 0.4s;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.card-body {
  flex: 1;
  min-width: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-body img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.card-desc {
  flex: 1;
  min-width: 50%;
  padding: 30px;
  background-color: #fff;
}

.desc-name {
  background-color: #2c3e50;
  color: white;
  padding: 15px 20px;
  font-weight: 600;
  font-size: 2.2rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 25px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-desc > p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  padding: 0;
  text-align: left;
  margin: 0;
  letter-spacing: 0.3px;
}

/* Strategies Section */
.strategies {
  background-color: #e8f4f8;
  padding: 25px;
  border-radius: 12px;
  margin-top: 40px;
}

.part {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.part-desc {
  flex: 1;
  min-width: 50%;
  padding: 30px;
  background-color: #fff;
}

.part-body {
  flex: 1;
  min-width: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.part-body img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.part-desc ul {
  list-style-type: none;
  color: #444;
  padding: 0;
  margin: 20px 0;
}

.part-desc ul li {
  padding: 12px 0 12px 35px;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  line-height: 1.6;
}

.part-desc ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Our Work Section */
#our-work {
  padding: 1%;
  background-color: lightblue;
}
.map,
.map2 {
  width: 100%;
  height: 300px;
  text-align: center;
}
.geo-name {
  color: white;
  font-size: 3rem;
  font-weight: bolder;
  padding: 10px;
  text-align: center;
  background-color: cornflowerblue;
  border: 2px solid brown;
  transition: 4s;
}
.geo-name:hover {
  transform: scale(1.1);
}
.geo-area > p {
  background-color: lightcyan;
  padding: 10px;
  font-size: 1.5rem;
  font-family: Cambria;
  text-align: center;
  color: brown;
  font-weight: bold;
}
.part2-desc {
  background-color: lightsteelblue;
  padding: 1%;
}
.title-name {
  background-color: darkslategrey;
  color: white;
  padding: 10px;
  font-weight: bolder;
  font-size: 3rem;
  text-align: center;
}
.part2-desc ul {
  display: block;
  list-style-type: circle;
  list-style-position: outside;
  list-style-image: url(images/checked.png);
  color: darkmagenta;
  padding: 10px 30px;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.part2-body {
  width: 100%;
  height: 300px;
  margin: 0 auto;
  box-shadow: 1px 2px 10px 5px white;
  animation: slider 9s infinite linear;
  background-image: url(images/pic3.jpg);
  background-size: 100% 100%;
}
/*
@keyframes slider2 {
  0% {
    background-image: url(images/pic3.jpg);
  }
  35% {
    background-image: url(images/pic4.jpg);
  }
  75% {
    background-image: url(images/pic5.jpg);
  }
}
  */

/* Recent Activities */
.rec-act {
  background-color: #fff;
  padding: 60px 0;
  width: 100%;
  margin: 0 auto;
}

.rec3 {
  color: #2c3e50;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.5px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px 40px;
}

.row-recent-act {
  display: grid;
  grid-template-columns: repeat(3, minmax(350px, 1fr));
  gap: 30px;
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.column-recent-act {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-width: 350px;
  border: none;
}

.column-recent-act:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.column-recent-act img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.column-recent-act:hover img {
  transform: scale(1.03);
}

.activity-content {
  padding: 28px;
  background: white;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.activity-date {
  color: #555;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.activity-title {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Desktop/Laptop Styles */
@media (min-width: 1200px) {
  .row-recent-act {
    width: 92%;
    gap: 30px;
    grid-template-columns: repeat(3, minmax(380px, 1fr));
  }

  .column-recent-act {
    min-width: 380px;
  }

  .column-recent-act img {
    height: 300px;
  }

  .activity-content {
    padding: 30px;
  }
}

/* Large Laptop Styles */
@media (min-width: 1400px) {
  .row-recent-act {
    width: 90%;
    gap: 35px;
    grid-template-columns: repeat(3, minmax(400px, 1fr));
  }

  .column-recent-act {
    min-width: 400px;
  }

  .column-recent-act img {
    height: 320px;
  }
}

/* Tablet Styles */
@media (max-width: 1199px) {
  .row-recent-act {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    width: 90%;
    gap: 25px;
  }
  
  .column-recent-act {
    min-width: 320px;
  }

  .column-recent-act img {
    height: 280px;
  }

  .rec3 {
    font-size: 2.4rem;
    padding: 0 25px 35px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .rec-act {
    padding: 40px 0;
  }

  .rec3 {
    font-size: 2rem;
    padding: 0 20px 30px;
  }

  .row-recent-act {
    grid-template-columns: 1fr;
    width: 92%;
    gap: 25px;
    padding: 0 10px;
  }

  .column-recent-act img {
    height: 240px;
  }

  .activity-content {
    padding: 24px;
  }

  .activity-title {
    font-size: 1.3rem;
  }

  .activity-date {
    font-size: 0.9rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .rec3 {
    font-size: 1.8rem;
  }

  .row-recent-act {
    width: 94%;
  }

  .column-recent-act img {
    height: 220px;
  }

  .activity-content {
    padding: 20px;
  }

  .activity-title {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .activity-date {
    font-size: 0.85rem;
  }
}

/* Contact Section */
#contact {
  background-color: lightskyblue;
}
.cd-name {
  color: white;
  font-size: 3rem;
  text-align: center;
}
h4 {
  color: darkmagenta;
  font-size: 1.5rem;
  text-align: center;
}
address {
  color: navy;
  font-size: 1.1rem;
  text-align: center;
}
p {
  color: navy;
  font-size: 1.1rem;
  text-align: center;
}
h3 {
  color: darkred;
  font-size: 2rem;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

/* Footer */
footer {
  background-color: darkblue;
  padding: 50px;
}
footer p {
  color: white;
  font-size: 1.5rem;
  line-height: 32px;
}
.social-menus {
  text-align: center;
}
.icon-style {
  color: white;
  width: 32px;
  height: 32px;
  line-height: 32px;
  margin: 0 10px;
  transition: 0.4s;
  text-align: center;
}
.icon-style:hover {
  transform: scale(1.2);
}
