/* Base Styles */
* {
  margin: 0px;
  margin-bottom: 0px;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

:root {
  --primary: #273246;
  --primary-dark: #273246;
  --secondary: #273246;
  --text-dark: #273246;
  --text-light: #64748b;
  --background: #f4f7fa;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-light: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar Styles */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 5%;
  background-color: #273246;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}



.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* Remove the filter that was making it white */
}

.logo h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  /* color: rgb(10, 10, 10); */
  transition: transform 0.5s ease;
}


/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background-color: rgba(59, 130, 246, 0.05);
  color: var(--primary);
}

.container h2{
  text-align: center;
  margin-bottom: 30px;
}
/* res */
/* Default desktop styles */

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Responsive styles */
@media (max-width: 1010px) {
  .hamburger {
    display: block;
    z-index: 1101;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    max-height: 80vh;         /* Add this */
    overflow-y: auto; 
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    color: #273246;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: white;
    padding-left: 1rem;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}


/*  hero */

.hero-section {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10%;
  flex-wrap: wrap;
  background-color: #26365a;
  background: url('../images/about_comany.webp')center center/cover no-repeat;
  height: 90vh; 
}

.hero-content {
  flex: 1 1 50%;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color:white;
}

.hero-content h1 span {
  color: rgb(231, 76, 60);
}

.hero-content p {
  font-size: 16px;
  color: white;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: rgb(231, 76, 60);
  color: #fff;
}

.btn-primary:hover {
  background-color: #273246;
}

.btn-secondary {
  border: 2px solid #273246;
  color: #273246;
  background-color: white;
}

.btn-secondary:hover {
  background-color: #273246;
  color: #fff;
}

.hero-image {
  flex: 1 1 40%;
  position: relative;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: 25rem;
  border-radius: 20px;
}

.badge {
  position: absolute;
  background: white;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  width: 120px;
}

.badge strong {
  font-size: 16px;
  color: #1e3a8a;
}

.badge.top-left {
  top: 10%;
  left: 15%;
}

.badge.top-right {
  top: 10%;
  right: -15%;
}

.badge.bottom {
  bottom: 10%;
  left: 25%;
  transform: translateX(-50%);
}

section {
  padding: 60px 40px;
}

/*commitment sections*/

.csr-commitment-section {
  padding: 60px 20px;
  
}

.csr-commitment-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding: 20px;
  position: relative;
}

.csr-commitment-container h2 {
  text-align: center;
  font-size: 36px;
  color: #273246;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

.csr-commitment-container p {
  font-size: 20px;
  color: #333;
  line-height: 1.8;
  position: relative;
  background-color: white;
  padding: 30px;
  border-left: 6px solid #273246;
  border-radius: 10px;
  box-shadow: 0 4px 10px #273246;
  font-style: italic;
}

.quote-icon {
  font-size: 28px;
  color: #273246;
  ;
  margin: 0 5px;
  vertical-align: middle;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.project-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #07084a, #4a90e2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.project-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, #07084a, #4a90e2);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

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

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover::after {
  transform: scaleY(1);
}

.project-card i {
  font-size: 2.5rem;
  color: #07084a;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.project-card:hover i {
  transform: scale(1.1);
}

.project-card h3 {
  font-size: 1.5rem;
  color: #07084a;
  margin-bottom: 15px;
}

.project-card p {
  color: #666;
  line-height: 1.6;
}
/* Section layout */
.image-text-section {
  display: flex;
  min-height: 300px;
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
  flex-direction: row;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  /* background: #fff; */
  transition: all 0.3s ease;
}

.image-text-section .reverse {
  flex-direction: row-reverse;
}

/* Image panel */
.image-side {
  flex: 0.5; /* slightly thinner */
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: white;
  min-height: 300px;
}

/* Heading on image */
.image-heading {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Text content */
.text-side {
  flex: 1;
  padding: 40px 30px;
  /* background-color: rgb(18, 17, 17); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.text-side.visible {
  opacity: 1;
  transform: translateY(0);
}

.content-block {
  border-left: 4px solid #0066cc;
  padding-left: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.subheading {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.content-block p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.subheading.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive Media Queries === */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .image-text-section {
    flex-direction: column !important;
    width: 95%;
  }

  .image-side,
  .text-side {
    width: 100%;
    padding: 25px;
    flex: unset;
  }

  .image-heading {
    font-size: 28px;
    padding: 16px 24px;
  }

  .text-side {
    padding: 30px 20px;
  }

  .content-block {
    border-left-width: 3px;
    padding-left: 16px;
  }
}

/* Phones (≤768px) */
@media (max-width: 768px) {
  .image-text-section {
    flex-direction: column !important;
    width: 100%;
  }

  .image-side,
  .text-side {
    width: 100%;
    flex: unset;
  }

  /* Image always on top */
  .image-side {
    order: 1;
    padding: 30px 20px;
    min-height: 200px;
  }

  .text-side {
    order: 2;
    padding: 40px 20px;
  }

  .image-heading {
    font-size: 24px;
    padding: 12px 18px;
    text-align: center;
  }

  .subheading {
    font-size: 18px;
  }

  .content-block p {
    font-size: 15px;
    line-height: 1.6;
    word-break: break-word;
  }

  .content-block {
    padding-left: 15px;
    border-left: 3px solid #0066cc;
  }
}
.volunteer-section {
  padding: 60px 20px;
}

.volunteer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}

.volunteer-icon img {
  max-width: 200px;
  animation: float 3s ease-in-out infinite;
}

.volunteer-content {
  max-width: 600px;
  text-align: left;
}

.volunteer-content h2 {
  font-size: 32px;
  color: #273246;
  margin-bottom: 15px;
}

.volunteer-content p {
  font-size: 18px;
  color: #333;
  margin-bottom: 25px;
}

.volunteer-btn {
  background-color: #273246;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.volunteer-btn:hover {
  background-color: #273246;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Partners Section */
.partners-section {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
  overflow: hidden;
}

.sub-heading {
  color: #273246;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

/* Slider Container */
.slider-container {
  overflow: hidden;
  max-width: 100%;
  margin: 30px auto 0;
  position: relative;
}

/* Slider Track - Updated for infinite loop */
.slider-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 40s linear infinite;
  will-change: transform;
  gap: 30px;
}

.slider-container:hover .slider-track {
  animation-play-state: paused;
}

/* Slide Item - Certificate Style */
.slide {
  flex: 0 0 auto;
  width: 180px;
  height: 120px;
  margin: 0 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
  background-color: white;
  transition: all 0.3s ease;
  border: 1px solid #eaeaea;
}

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

.slide img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  opacity: 0.8;
  transition: all 0.3s ease;
}

.slide:hover img {
  /* filter: grayscale(0); */
  opacity: 1;
}

/* Animation for Infinite Loop */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* JavaScript will handle the duplication */



.slider-containers {
  overflow: hidden;
  max-width: 100%;
  margin-top: 30px;
  position: relative;
}

.slider-tracks {
  display: flex;
  width: max-content;
  animation: scrollRight 85s linear infinite;
  gap: 30px;
}

.slider-containers:hover .slider-tracks {
  animation-play-state: paused;
}

.slide {
  flex: 0 0 auto;
  width: 165px;
  height: 100px;
  margin: 0 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.slide img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/*educational partner*/

.partners-section {
  text-align: center;
  padding: 60px 20px;
}

.partners-section .title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
}

.partner-logos img {
  width: 100px;
  height: auto;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.partner-logos img:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  border-color: #cce;
}

.awards-section {
  text-align: center;
  padding: 60px 20px;
}

.awards-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

.awards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.award-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #07084a, #4a90e2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.award-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #07084a, #4a90e2);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.award-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.award-card:hover::before {
    transform: scaleX(1);
}

.award-card:hover::after {
    transform: scaleY(1);
}

.award-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.award-card p {
    font-style: italic;
    font-size: 16px;
    color: #273246;
    line-height: 1.5;
}

.csr-news-section {
  padding: 60px 20px;
  text-align: center;
}

.csr-news-section h2 {
  font-size: 2rem;
  color: #273246;
  margin-bottom: 40px;
  font-weight: 700;
}

.csr-news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .csr-news-container {
    flex-direction: row;
    justify-content: center;
  }
}

.csr-news-card {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 123, 139, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.csr-news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #07084a, #00aaff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.csr-news-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, #07084a, #00aaff);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.csr-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 123, 139, 0.2);
}

.csr-news-card:hover::before {
  transform: scaleX(1);
}

.csr-news-card:hover::after {
  transform: scaleY(1);
}

.csr-news-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
}

.csr-news-content h3 {
  color: #273246;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.csr-news-content p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-section {
  padding: 60px 20px;
  text-align: center;
}

.faq-section h2 {
  font-size: 32px;
  color: #273246;
  margin-bottom: 40px;
  font-weight: 700;
}

.faq-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 124, 145, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  font-size: 17px;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #273246;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(93, 95, 155, 0.925);
}

.arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 20px 15px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .arrow {
  transform: rotate(180deg);
}


/* Mobile-first responsive design */

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    text-align: center;
  }

  section {
    padding: 40px 20px;
  }

  h2 {
    font-size: 1.5em;
  }

  p {
    font-size: 1em;
  }

  .csr-commitment-container p {
    font-size: 16px;
    padding: 20px;
  }

  .volunteer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .volunteer-content {
    text-align: center;
  }

  .volunteer-icon img {
    max-width: 150px;
  }

  .csr-news-card {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .csr-icon {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .csr-news-card h3 {
    font-size: 16px;
  }

  .csr-news-card p {
    font-size: 14px;
  }

  .awards-container {
    flex-direction: column;
    align-items: center;
  }

  .award-card {
    width: 90%;
  }

  .faq-question {
    font-size: 16px;
    padding: 15px;
  }

  .faq-answer {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .partner-logos {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
  }

  .partner-logos img {
    width: 80px;
    padding: 5px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-box h3 {
    font-size: 1.5em;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 15px;
  }
}

/* Footer Section */

.footer {
  background: #273246;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 0 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-width: 160px;
  max-width: 280px;
  flex: 1;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}


.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color:orangered;
}

.footer-logo {
  width: 60px;
  margin-bottom: 10px;
}

.footer-col:first-child {
  padding-right: 30px;
}

.footer-col p {
  word-wrap: break-word;
  white-space: pre-line;
  line-height: 1.6;
  font-size: 14px;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  
  padding: 8px;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
}

/* Newsletter */
.newsletter-col {
  max-width: 280px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 280px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 15px;
  background: #e74c3c;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 0 3px 3px 0;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-top: 30px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 3px;
  }
}
@media screen and (max-width: 1165px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 10px;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: none;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    margin-bottom: 10px;
  }
}


/* Styles to help footer stay at the bottom */
body > *:not(.footer) { /* Select all direct children of body except footer */
    flex-grow: 1; /* Allow content to grow and push footer down */
}

/* General Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-section {
        padding: 60px 5%;
    }

    section {
        padding: 60px 30px;
    }

    .csr-commitment-container {
        max-width: 800px;
    }

    .footer-container {
        padding: 0 30px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }

     .hero-section {
        height: auto;
        padding: 80px 5% 40px;
        flex-direction: column;
        text-align: center;
        margin-top: 70px; /* Adjust for fixed navbar */
    }

    .hero-content {
        flex: 1 1 100%;
        margin-bottom: 40px;
    }

    .hero-image {
        flex: 1 1 100%;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    section {
        padding: 50px 20px;
    }

    .csr-commitment-container {
        max-width: 700px;
    }

    .csr-commitment-container h2 {
        font-size: 32px;
    }

    .csr-commitment-container p {
        font-size: 18px;
        padding: 25px;
    }

    .project-grid {
         grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
         gap: 25px;
    }

    .volunteer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .volunteer-content {
        text-align: center;
    }

    .volunteer-icon img {
        max-width: 180px;
    }

    .partners-section .title,
    .awards-title,
    .csr-news-section h2,
    .faq-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .award-card {
        width: 280px;
        padding: 25px 15px;
    }

    .csr-news-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .csr-news-card {
        max-width: 350px;
    }

    .faq-container {
        max-width: 600px;
    }

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

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        max-width: 540px;
        padding: 0 15px;
    }

    .hero-section {
        padding: 60px 5% 30px;
        margin-top: 60px; /* Adjust for fixed navbar */
    }

    .hero-content h1 {
        font-size: 30px;
    }

    section {
        padding: 40px 15px;
    }

     .csr-commitment-container {
        padding: 15px;
    }

    .csr-commitment-container h2 {
        font-size: 28px;
    }

    .csr-commitment-container p {
        font-size: 16px;
        padding: 20px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        padding: 20px;
    }

    .project-card i {
        font-size: 2rem;
        margin-bottom: 15px;
    }

     .project-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
     }

     .project-card p {
        font-size: 14px;
     }

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

    .impact-box h3 {
        font-size: 1.8em;
    }

    .volunteer-icon img {
        max-width: 150px;
    }

    .volunteer-content h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .volunteer-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

     .partners-section .title,
     .awards-title,
     .csr-news-section h2,
     .faq-section h2 {
        font-size: 24px;
        margin-bottom: 25px;
     }

    .partner-logos {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }

    .partner-logos img {
        width: 90px;
    }

    .award-card {
        width: 90%;
        max-width: 300px;
        padding: 20px 15px;
    }

    .award-card img {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

     .award-card p {
        font-size: 14px;
     }

     .csr-news-card {
        padding: 15px;
     }

     .csr-news-image {
        max-height: 150px;
     }

     .csr-news-content h3 {
        font-size: 1.1rem;
     }

     .csr-news-content p {
        font-size: 0.9rem;
     }

    .faq-container {
        max-width: 500px;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .footer-col {
        flex: 1 1 100%;
        margin: 15px 0;
    }

    .footer-socials a {
        margin: 8px 5px 0;
    }

    .newsletter-form {
        justify-content: center;
        max-width: 300px;
        margin: 10px auto;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 40px 5% 20px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    section {
        padding: 30px 10px;
    }

    .csr-commitment-container h2 {
        font-size: 24px;
    }

    .csr-commitment-container p {
        font-size: 14px;
        padding: 15px;
    }

    .impact-grid {
         grid-template-columns: 1fr;
    }

    .impact-box h3 {
        font-size: 1.5em;
    }

    .volunteer-icon img {
        max-width: 120px;
    }

    .volunteer-content h2 {
        font-size: 24px;
    }

     .volunteer-content p {
        font-size: 14px;
        margin-bottom: 15px;
     }

     .partners-section .title,
     .awards-title,
     .csr-news-section h2,
     .faq-section h2 {
        font-size: 20px;
        margin-bottom: 20px;
     }

    .partner-logos {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 10px;
    }

    .partner-logos img {
        width: 80px;
    }

    .award-card {
        padding: 15px 10px;
    }

    .award-card img {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

     .award-card p {
        font-size: 12px;
     }

     .csr-news-card {
        padding: 12px;
     }

     .csr-news-image {
        max-height: 120px;
     }

     .csr-news-content h3 {
        font-size: 1rem;
     }

     .csr-news-content p {
        font-size: 0.85rem;
     }

    .faq-container {
        max-width: 400px;
    }

    .faq-question {
        font-size: 14px;
        padding: 12px;
    }

    .faq-answer {
        font-size: 12px;
        padding: 0 12px 10px;
    }

    .footer-container {
        padding: 0 15px;
    }

     .footer-col h4 {
        font-size: 16px;
     }

     .newsletter-form input[type="email"],
     .newsletter-form button {
        padding: 8px;
        font-size: 12px;
     }
}

/* Responsive adjustments for sliders (Partners) */
@media screen and (max-width: 768px) {
  .slider-tracks {
      animation-duration: 45s; /* Adjust animation speed */
  }
  .slider-track{
    animation-duration: 1s;
  }

  .slide {
    width: 100px; /* Adjust width */
    height: 80px; /* Adjust height */
    margin: 0 8px; /* Adjust margin */
    padding: 8px; /* Adjust padding */
  }

  .slide img {
    max-height: 60px; /* Adjust max-height */
  }
}

@media screen and (max-width: 480px) {
   .slider-tracks {
        animation-duration: 45s; /* Further adjust animation speed */
    }
    .slider-track{
      animation-duration: 1s;
    }

    .slide {
        width: 80px; /* Further adjust width */
        height: 60px; /* Further adjust height */
        margin: 0 5px; /* Further adjust margin */
        padding: 5px; /* Further adjust padding */
    }

    .slide img {
        max-height: 50px; /* Further adjust max-height */
    }
}

/* Hover effects for touch devices */
@media (hover: none) {
    .project-card:hover,
    .award-card:hover,
    .csr-news-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .project-card:hover::before,
    .project-card:hover::after,
    .award-card:hover::before,
    .award-card:hover::after,
    .csr-news-card:hover::before,
    .csr-news-card:hover::after {
        transform: none;
    }

    .project-card:hover i {
        transform: none;
    }
}


/*contact us button footer*/
.btn {
    padding: 10px 20px;
    background-color: rgb(231, 76, 60);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}
.btn:hover {
    background-color: rgb(241, 93, 77);
}
@media (min-width: 2560px) {
  .hero-section{
    height:60vh;
  }

}