@import url('https://fonts.googleapis.com/css?family=Roboto%20Condensed:700|Lato:400');

body {
  font-family: 'Lato';
  font-weight: 400;
  /* Horizontal gradient: left (main blue) to right (lighter blue, but not white/lightblue) */
  background: linear-gradient(120deg, #385ea3 0%, #b3c7e6 100%);
  background-size: 200% 200%;
  animation: gradientMove 8s ease-in-out infinite;
  min-height: 100vh;
  color: #f4f7fa;
}
@keyframes gradientMove {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

h1, h2, h3, h4, h5 {
  font-family: 'Roboto Condensed';
  font-weight: 700;
  color: #fff;
}

html {font-size: 100%;} /* 16px */

h1 {font-size: 4.210rem; /* 67.36px */}

h2 {font-size: 3.158rem; /* 50.56px */}

h3 {font-size: 2.369rem; /* 37.92px */}

h4 {font-size: 1.777rem; /* 28.48px */}

h5 {font-size: 1.333rem; /* 21.28px */}

small {font-size: 0.750rem; /* 12px */}

p {font-size: 0.950rem; /* 12px */}


/*
text: #050316;
background: #c7c7e5;
primary: #7ea8f7;
secondary: #dddbff;
accent: #9f9ed1;
*/


html{
  background-color: #c7c7e5;
}

button {
  background-color: #e76c17;
  border: none;
  color: white;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  border-radius: 12px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(56,94,163,0.92);
  border-bottom: 1.5px solid #b3c7e6;
}

.navbar-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}

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

.navbar-logo img {
  height: 48px;
  width: 48px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(56,94,163,0.10);
}

.navbar-donate-btn,
.donate-btn {
  background: #f4f7fa;
  color: #385ea3;
  border: none;
  border-radius: 22px;
  padding: 0.6em 1.8em;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(56,94,163,0.10);
  margin: 4px 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.navbar-donate-btn:hover,
.donate-btn:hover {
  background: #577dc2;
  color: #fff;
}

.main-container {
  max-width: 900px;
  margin: 2.5rem auto 0 auto;
  background: rgba(244,247,250,0.10);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(56,94,163,0.10);
  padding: 2.5rem 2rem;
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  min-height: 340px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  /* Ensure enough space for blob and dotgrid */
}

/* Dotgrid pattern for behind Fix-It title */
.dotgrid-bg {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 180px;
  height: 60px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(circle, #7ea8f7 1.5px, transparent 2.5px);
  background-size: 14px 14px;
}

/* Blob frame for hero section */
.hero-blob-frame {
  position: absolute;
  top: -32px;
  left: -32px;
  width: 220px;
  height: 140px;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Remove .hero-blob-frame .curved-outline-bg */

/* Remove mid-section curved placeholder */
.mid-curved-placeholder,
.mid-curved-placeholder .curved-outline-bg,
.mid-placeholder-text {
  display: none !important;
}

/* Remove donate page curved box placeholder */
.donate-curved-img-placeholder,
.donate-curved-img-placeholder .curved-outline-bg,
.donate-placeholder-img {
  display: none !important;
}

/* Keep .curved-outline-bg for section titles */
.curved-outline-bg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 38%/48%;
  background: linear-gradient(120deg, rgba(255,230,109,0.13) 0%, rgba(56,94,163,0.10) 100%);
  border: 3px solid #ffe66d;
  box-sizing: border-box;
  position: absolute;
  left: 0; top: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.93;
  box-shadow: 0 4px 24px 0 rgba(56,94,163,0.10);
}

/* Fix-It title styling */
.fixit-title-main {
  font-family: 'Roboto Condensed';
  font-weight: 700;
  font-size: 3.7rem;
  color: #fff;
  letter-spacing: 2px;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 24px #385ea355, 0 1px 0 #ffe66d44;
}

/* Hero section: image left, content right */
.hero-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  min-height: 340px;
  position: relative;
}
.hero-curved-img-col {
  flex: 0 0 220px;
  min-width: 120px;
  max-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-content-col {
  flex: 1 1 0;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 2;
}

/* Description below title */
.hero-description {
  text-align: left;
  font-size: 1.22rem;
  color: #f4f7fa;
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 2;
  max-width: 420px;
  line-height: 1.7;
}

/* Blob title backgrounds for sections */
.blob-title {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding: 0.7em 2.2em;
  font-family: 'Roboto Condensed';
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  letter-spacing: 1px;
  background: none;
}
.blob-title-bg {
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 100%; height: 120%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.93;
}
.blob-title-bg img {
  display: none !important;
}

.curved-outline-bg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 38%/48%;
  background: linear-gradient(120deg, rgba(255,230,109,0.13) 0%, rgba(56,94,163,0.10) 100%);
  border: 3px solid #ffe66d;
  box-sizing: border-box;
  position: absolute;
  left: 0; top: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.93;
  box-shadow: 0 4px 24px 0 rgba(56,94,163,0.10);
}

/* Navbar volunteer button */
.navbar-volunteer-btn {
  background: #ffe66d;
  color: #385ea3;
  border: none;
  border-radius: 22px;
  padding: 0.6em 1.8em;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(56,94,163,0.10);
  margin: 4px 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.navbar-volunteer-btn:hover {
  background: #385ea3;
  color: #ffe66d;
}

/* Services/facilities flex layouts */
.services-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-bottom: 1.5rem;
  position: relative;
}
.services-title-right {
  align-self: flex-start;
  margin-left: 2rem;
  min-width: 180px;
  max-width: 260px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.services-grid {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
  max-width: 800px;
  margin: 0 auto;
}

.facilities-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-bottom: 1.5rem;
  position: relative;
}
.facilities-title-left {
  align-self: flex-start;
  margin-right: 2rem;
  min-width: 180px;
  max-width: 260px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.facilities-grid {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
  max-width: 800px;
  margin: 0 auto;
}

/* Service/facility boxes */
.service-box {
  background: rgba(244,247,250,0.13);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(56,94,163,0.13);
  padding: 1.2rem 1rem 1rem 1rem;
  min-width: 180px;
  min-height: 180px;
  max-width: 320px;
  color: #ffe66d;
  font-family: 'Roboto Condensed';
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: box-shadow 0.2s, transform 0.2s;
  will-change: transform;
  overflow: hidden;
  z-index: 1;
}
.service-box:hover {
  box-shadow: 0 8px 32px 0 rgba(56,94,163,0.22);
  transform: scale(1.04);
  background: rgba(244,247,250,0.18);
}
.service-box:focus {
  box-shadow: 0 0 0 3px #ffe66d99;
}
.service-box .service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.7rem;
  font-size: 2.5rem;
}
.service-title {
  text-align: left;
  color: #ffe66d;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-family: 'Roboto Condensed';
  font-weight: 700;
  letter-spacing: 0.5px;
}
.service-info {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.25s;
  background: rgba(56,94,163,0.13);
  color: #fff;
  border-radius: 12px;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
  font-size: 1rem;
  font-family: 'Lato';
  font-weight: 400;
}
.service-box.open,
.service-box:hover,
.service-box:active {
  animation: zoomBounce 0.35s;
  z-index: 2;
  box-shadow: 0 6px 32px 0 rgba(56,94,163,0.18);
  transform: scale(1.04);
}
.service-box.open .service-info,
.service-box:hover .service-info,
.service-box:active .service-info {
  max-height: 120px;
  opacity: 1;
  padding: 0.7rem 0.5rem 0.7rem 0.5rem;
}

@keyframes zoomBounce {
  0% { transform: scale(1); }
  60% { transform: scale(1.0); }
  80% { transform: scale(0.9); }
  100% { transform: scale(1.02); }
}

.facility-box {
  background: rgba(244,247,250,0.13);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(56,94,163,0.13);
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  min-width: 180px;
  min-height: 180px;
  max-width: 340px;
  color: #222;
  font-family: 'Roboto Condensed';
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.facility-box:hover {
  box-shadow: 0 8px 32px 0 rgba(56,94,163,0.22);
  transform: scale(1.04);
  background: rgba(244,247,250,0.18);
}
.facility-icon {
  margin-bottom: 0.7rem;
}
.facility-title {
  color: #4b2e2e;
  font-size: 1.3rem;
  font-family: 'Roboto Condensed';
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}
.facility-desc {
  color: #fff;
  font-size: 1.05rem;
  font-family: 'Lato';
  font-weight: 400;
  margin-top: 0.2rem;
  text-shadow: 1px 1px 4px #2d2d2d44;
}

/* Contact section */
.contact-right {
  text-align: right;
  margin-right: 2rem;
}
.contact-title {
  font-size: 1.1rem;
}
.contact-icons img {
  width: 48px;
  height: 48px;
}
.contact-icons a img {
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(56,94,163,0.10);
}
.contact-icons a:hover img {
  transform: scale(1.13) rotate(-6deg);
  box-shadow: 0 6px 24px #ffe66d55;
}

/* Footer styles */
footer {
  margin-top: 2.5rem;
  padding: 1.2rem 0 0.7rem 0;
  text-align: center;
  color: #b3c7e6;
  font-size: 1rem;
  letter-spacing: 0.5px;
  background: none;
}

/* Curved box placeholder for donate page */
/* .donate-curved-img-placeholder {
  position: relative;
  width: 220px;
  height: 120px;
  margin: 2rem auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donate-curved-img-placeholder .curved-outline-bg {
  width: 100%;
  height: 100%;
  opacity: 0.8;
}
.donate-placeholder-img {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #eaf1fb 0 10px, #ffe66d 10px 20px);
  border-radius: 38%/48%;
  opacity: 0.7;
  z-index: 1;
  font-size: 1.2rem;
  color: #385ea3;
} */

/* Mid-section curved placeholder */
/* .mid-curved-placeholder {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 120px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  pointer-events: none;
}
.mid-curved-placeholder .curved-outline-bg {
  width: 100%;
  height: 100%;
  opacity: 0.7;
}
.mid-placeholder-text {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #385ea3;
  font-size: 1.1rem;
  font-family: 'Roboto Condensed';
  font-weight: 700;
  opacity: 0.7;
  pointer-events: none;
} */

/* Stats Section */
.stats-section {
  width: 100%;
  margin: 2.5rem 0 2rem 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  width: 100%;
  max-width: 900px;
  background: rgba(244,247,250,0.10);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(56,94,163,0.10);
  padding: 2rem 1.5rem;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, background 0.2s;
  border-radius: 14px;
  padding: 1.2rem 0.5rem;
  cursor: pointer;
  position: relative;
}

.stat-number {
  font-size: 3.5rem;
  font-family: 'Roboto Condensed';
  font-weight: 700;
  color: #ffe66d;
  text-shadow: 0 2px 16px #ffe66d33, 0 1px 0 #fff3;
  transition: color 0.2s, text-shadow 0.2s;
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
}

.stat-label {
  font-size: 1.15rem;
  color: #f4f7fa;
  font-family: 'Lato';
  font-weight: 400;
  letter-spacing: 0.5px;
  text-align: center;
}

.stat-item:hover, .stat-item:focus {
  background: rgba(255,230,109,0.13);
  box-shadow: 0 6px 32px 0 #ffe66d55, 0 2px 8px rgba(56,94,163,0.13);
  outline: none;
}
.stat-item:hover .stat-number, .stat-item:focus .stat-number {
  color: #fff;
  text-shadow: 0 0 24px #ffe66d, 0 2px 16px #ffe66d99, 0 1px 0 #fff;
}

/* Responsive for stats */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 1.2rem 0.5rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.7rem 0.2rem;
  }
  .stat-number {
    font-size: 1.5rem;
  }
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero-flex, .services-flex, .facilities-flex {
    flex-direction: column;
    gap: 1.2rem;
    align-items: stretch;
  }
  .hero-content-col {
    order: 1;
    width: 100%;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
    max-width: 100%;
    margin: 0;
  }
  .hero-curved-img-col {
    order: 2;
    width: 100%;
    min-width: 0;
    max-width: 220px;
    margin: 0 auto 1.2rem auto;
    justify-content: center;
    align-items: center;
  }
  .services-title-right, .facilities-title-left {
    margin: 0;
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  .mid-curved-placeholder {
    position: static;
    transform: none;
    margin: 1.5rem auto;
  }
}
@media (max-width: 600px) {
  .main-container {
    padding: 1.2rem 0.5rem;
  }
  .fixit-logo img {
    height: 56px;
    width: 56px;
  }
  .center-content {
    min-height: 120px;
  }
  .hero-blob-frame {
    width: 70px;
    height: 35px;
  }
  .hero-blob-img-holder {
    width: 32px;
    height: 20px;
    left: 12px;
    top: 4px;
  }
  .hero-blob-img-holder img {
    width: 80px;
    height: 100px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  .dotgrid-bg {
    width: 60px;
    height: 20px;
    top: 8px;
    left: 8px;
  }
  .fixit-title-main {
    font-size: 1.4rem;
  }
  .blob-title {
    font-size: 1rem;
    padding: 0.4em 0.8em;
  }
  .mid-curved-placeholder {
    width: 80px;
    height: 40px;
  }
  .hero-flex {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }
  .hero-curved-img-col {
    max-width: 120px;
    min-width: 0;
    width: 100%;
    margin: 0 auto 0.7rem auto;
  }
  .hero-curved-img-col img, .hero-curved-img-col svg {
    max-width: 100%;
    height: auto;
    width: 100px;
    max-height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  .hero-content-col {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    margin: 0;
  }
}

/* Remove SDG icon styles */
.sdg,
.sdg-3,
.sdg-17,
.sdg-8,
.sdg img {
  display: none !important;
}

.null{
    height: 60px;
  }

.picture {
height: 100px;
width: 100px;
border-radius: 50%;
}

.hero-image {
  transform: scale(0.4); /* 80% of original size */
  transform-origin: center;
}

.dot-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(20, 10px);
  grid-auto-rows: 20px;
  grid-gap: 10px;
  justify-content: left;
  align-content: center;
  z-index: -1;
  animation: pulseGrid 2s infinite ease-in-out;
  pointer-events: none;
  opacity: 0.15;
}

.dot {
  width: 10px;
  height:10px;
  background-color: #66c0fc;
  border-radius: 50%;
}

@keyframes pulseGrid {
  0%, 100% {
    grid-gap: 5px;
  }
  50% {
    grid-gap: 10px;
  }
}

.founders-section {
  margin: 2.5rem auto;
  padding: 1.5rem;
  background: rgba(244,247,250,0.10);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(56,94,163,0.10);
}

.founder-card {
  width: 600px;
  height: 400px;
  background: rgba(244,247,250,0.13);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(56,94,163,0.13);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.founder-card :hover {
  background: rgba(244,250,254,0.13);
  animation: float 1s ease-in-out infinite;
}


@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.founder-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(56,94,163,0.10);
}

.volunteer-form {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background: #3dd9fb;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.15);
}

.volunteer-form .logo {
  display: block;
  margin: 0 auto 20px;
  height: 60px;
}

.volunteer-form h1 {
  text-align: center;
  color: #0077b6;
  margin-bottom: 15px;
}

.volunteer-form .info {
  font-size: 14px;
  background: #e7faff;
  border-left: 5px solid #00b4d8;
  padding: 10px;
  margin-bottom: 25px;
  line-height: 1.5;
  color: #4b2e2e;
}

.volunteer-form form {
  display: flex;
  flex-direction: column;
}

.volunteer-form label {
  margin-bottom: 5px;
  font-weight: 600;
  color: #041218;
}

.volunteer-form input,
.volunteer-form select {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.volunteer-form button.donate-btn {
  padding: 12px;
  background: #0077b6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.volunteer-form button.donate-btn:hover {
  background: #0096c7;
}

/* End of styles.css */
