/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #000;
  color: white;
  line-height: 1.6;
}

/* Global Hyperlink Styles */
a {
  color: white; /* Make all hyperlinks white */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s; /* Smooth transition for hover effect */
}

a:hover {
  color: #00bcd4; /* Add a hover effect */
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #000;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

header .logo {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
}

header .logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #00bcd4;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 1001;
}

.menu-toggle span {
  background: white;
  padding: 2px 10px;
  margin: 2px 0;
  transition: background-color 0.3s;
}

nav.active ~ .menu-toggle span {
  background: #00bcd4;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 1rem;
    width: 100%;
    text-align: left;
    border-top: 1px solid #333;
  }
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.hero .hero-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .cta-button {
  background-color: #00bcd4;
  color: black;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero .cta-button:hover {
  background-color: #008ba3;
}

/* Section Styles */
.section {
  padding: 6rem 2rem; /* Increase padding for more space */
  text-align: center;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.service-card {
  background-color: #111;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card video,
.service-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.service-card h3 {
  margin: 1rem 0;
}

/* Carousel */
.carousel {
  position: relative;
  max-width: 80%;
  margin: auto;
  overflow: hidden;
}

.carousel img {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: none;
  margin: auto;
}

.carousel img.active {
  display: block;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.carousel-button {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 1rem;
  cursor: pointer;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #111;
  margin-top: 3rem;
}

footer a {
  color: white; /* Make footer links white */
  text-decoration: none;
  transition: color 0.3s; /* Smooth transition for hover effect */
}

footer a:hover {
  color: #00bcd4; /* Add a hover effect */
}

/* Pledge Page Specific Styles */
main {
  padding: 6rem 2rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

main h1 {
  text-align: center; /* Center the text */
  margin-bottom: 2rem; /* Add spacing below the heading */
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 250px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

.flip-card-front {
  background-color: #fff;
  color: black;
  flex-direction: column;
}

flip-card-front img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.flip-card-back {
  background-color: #2e507e;
  transform: rotateY(180deg);
}

.popup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  overflow-y: auto;
}

.popup p {
  font-size: 14px;
  color: #333;
}

.popup button {
  background-color: #2e507e;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

/* Contact Cards */
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 2rem;
  text-align: center;
}

.contact-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin: 0.5rem 0;
}

.contact-card p {
  margin: 0.2rem 0;
}
o 
/* Contact Card Links */
.contact-card a {
  color: white; /* Make links white */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s; /* Smooth transition for hover effect */
}

.contact-card a:hover {
  color: #00bcd4; /* Add a hover effect */
}

/* Narrow Text Section */
.narrow-text {
  max-width: 900px; /* Increased width for more space */
  margin: 2rem auto;
  line-height: 2; /* Increased line height for better readability */
  font-size: 1.1rem; /* Slightly larger font size */
  text-align: center; /* Center-align the text */
}

.section h2 {
  margin-bottom: 2rem; /* Add space below section titles */
}

.section p {
  margin-bottom: 1.5rem; /* Add space between paragraphs */
}
