@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}
.bg-full {
    background-image: url('../images/education-9174314_1920.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    color: white;
    overflow: hidden;
}

.logo-box {
    width: 80px;
}

.logo-box img {
    width: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.overlay-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.overlay-content h1 {
    font-size: 3rem;
    font-weight: bold;
}

.overlay-content p {
    font-size: 1.5rem;
    max-width: 600px;
}

.navbar {
    z-index: 3;
}

.navbar-transparent {
    background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .overlay-content h1 {
        font-size: 2rem;
    }

    .overlay-content p {
        font-size: 1rem;
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.section p.description {
    font-size: 1.2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.card-3d {
    display: flex;
    flex-direction: row;
    height: 400px;
    margin-bottom: 40px;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.card-3d:hover {
    transform: scale(1.01);
}

.card-3d .image,
.card-3d .text {
    padding: 20px;
}

.card-3d .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.card-3d h3 {
    font-weight: bold;
}

@media (max-width: 768px) {
    .card-3d {
        flex-direction: column;
        height: auto;
    }
}

.card-animate {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease;
    animation: zoomIn 0.8s ease-in-out forwards;
}

.card-animate:hover {
    transform: translateY(-8px);
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.5s;
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.2rem;
}

@media (max-width: 768px) {
    .card-animate {
        height: auto;
    }

    .card-img-top {
        height: 180px;
    }
}


footer p {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}
footer a:hover {
  text-decoration: underline;
}


.partner-card {
  width: 100px;
  height: 150px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.partner-card:hover {
  transform: scale(1.03);
}

.partner-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ✅ Keeps image inside square without cutting */
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-img img {
  transform: scale(1.05);
}

.since-text {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}
.fancy-btn {
  font-weight: 600;
  border-radius: 30px;
  padding: 6px 18px;
  transition: all 0.3s ease;
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white !important;
  border: none;
}

.fancy-btn:hover {
  background: linear-gradient(45deg, #0056b3, #007bff);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #fff !important;
}

  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }


  .scope-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.8s ease-in-out;
}

.scope-center-img {
  width: 250px;
  height: auto;
  transition: all 0.8s ease-in-out;
}

.scope-left,
.scope-right {
  animation: fadeOut 0.5s ease forwards;
}

.scope-wrapper:hover .scope-left,
.scope-wrapper:hover .scope-right {
  opacity: 1;
  transform: scale(1);
  animation: fadeIn 1s ease forwards;
}

.scope-wrapper:hover .delay-1 {
  animation-delay: 0.2s;
}
.scope-wrapper:hover .delay-2 {
  animation-delay: 0.4s;
}
.scope-wrapper:hover .delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.5); }
}


.btn-donate {
  color: #fff;
  background: linear-gradient(135deg, #2b83ff, #5e41ff);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(255, 65, 108, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-glow 2s infinite;
}

.btn-donate:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 65, 108, 0.8);
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(255, 65, 108, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 65, 108, 1);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 65, 108, 0.5);
  }
}

.donate-tag-card {
  position: absolute;
  bottom: 20px;
  right: -220px; /* off-screen start for slide-in */
  width: 40%;
  height: 50px;
  background: linear-gradient(90deg, #ff6a00, #ffb347);
  color: white;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%); */
  cursor: pointer;
  z-index: 1050;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: slideInRight 1.2s ease-out forwards, pulseGlow 2s infinite ease-in-out;
  text-decoration: none;
}


@media (max-width: 768px) {
  .donate-tag-card {
    width: 80%;
    font-size: 14px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .donate-tag-card {
    font-size: 12px;
    height: 40px;
  }
}
/* Slide-in animation */
@keyframes slideInRight {
  to {
    right: 0;
  }
}

/* Pulse glow effect */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.9);
  }
}


