/* ==== sponsor css start ==== */
:root {
  --primary: #FF6B35;      /* Orange */
  --secondary: #2EC4B6;    /* Teal */
  --accent: #20A4F3;       /* Blue */
  --white: #FFFFFF;
  --light: #F8F9FA;
  --dark: #1B1B1B;
  --text-light: #6C757D;
  --text-dark: #343A40;
  --border: #DEE2E6;
  --primary-light: rgba(255, 107, 53, 0.1);
  --secondary-light: rgba(46, 196, 182, 0.1);
}

.sponsor {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
}

.sponsor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  opacity: 0.5;
  z-index: 0;
}

.sponsor .container {
  position: relative;
  z-index: 1;
}

.section__header {
  margin-bottom: 60px;
  text-align: center;
  position: relative;
  padding-bottom: 30px;
}

.section__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section__header .sub-title {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  background: var(--secondary-light);
  padding: 8px 16px;
  border-radius: 4px;
}

.section__header .sub-title i {
  margin-right: 10px;
  color: var(--secondary);
}

.section__header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
}

.section__header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

/* Child Cards */
.child-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-bottom: 30px;
  border: 1px solid var(--border);
}

.child-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.child-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
  border-color: var(--primary);
}

.child-card:hover .child-card__image img {
  transform: scale(1.1) rotate(2deg);
}

.child-card:hover .btn--primary {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.child-card__image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.child-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.child-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.child-card__image .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(46, 196, 182, 0.2);
  z-index: 2;
  text-transform: uppercase;
}

.child-card__content {
  padding: 30px;
  background: var(--white);
  position: relative;
}

.child-card__content h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
  position: relative;
  padding-bottom: 15px;
}

.child-card__content h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.child-info {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.child-info li {
  display: flex;
  align-items: center;
  color: var(--text-dark);
  font-size: 14px;
}

.child-info li i {
  color: var(--secondary);
  margin-right: 10px;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.child-card__content p {
  margin-bottom: 25px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 76px;
}

.child-card__content .btn--primary {
  width: 100%;
  text-align: center;
  padding: 14px 25px;
  border-radius: 50px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 2px solid var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
}

.child-card__content .btn--primary i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.child-card:hover .btn--primary i {
  transform: translateX(5px);
}

/* Sponsor Detail Page */
.sponsor-detail {
  padding: 80px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.sponsor-detail::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 160%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  transform: rotate(12deg);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.6;
  z-index: 0;
}

.sponsor-detail .container {
  position: relative;
  z-index: 1;
}

.sponsor-detail__content {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sponsor-detail__form {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: sticky;
  top: 30px;
}

.form-header {
  padding: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.form-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

.form-header h4 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.form-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 16px;
  position: relative;
}

.sponsor-form {
  padding: 30px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  background: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px var(--secondary-light);
  outline: none;
}

.form-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary);
  font-size: 18px;
}

.form-group textarea {
  height: 120px;
  resize: none;
}

.form-group textarea + i {
  top: 25px;
  transform: none;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  display: block;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert i {
  position: static;
  transform: none;
  margin-right: 10px;
}

.alert-success {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid var(--success-light);
}

.alert-danger {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.sponsor-form {
  padding: 30px;
}

.sponsor-form .form-group {
  position: relative;
  margin-bottom: 20px;
}

.sponsor-form input,
.sponsor-form select,
.sponsor-form textarea {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  background: var(--light);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.sponsor-form input:focus,
.sponsor-form select:focus,
.sponsor-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px var(--secondary-light);
  outline: none;
}

.sponsor-form input::placeholder,
.sponsor-form textarea::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.sponsor-form i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary);
  font-size: 18px;
  z-index: 1;
}

.sponsor-form textarea {
  height: 120px;
  resize: none;
  padding-top: 20px;
}

.sponsor-form textarea + i {
  top: 25px;
  transform: none;
}

.sponsor-form .btn--primary {
  width: 100%;
  padding: 16px 30px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, #FF8F5B 100%);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2);
  margin-top: 10px;
}

.sponsor-form .btn--primary:hover {
  background: linear-gradient(135deg, #FF8F5B 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(255, 107, 53, 0.3);
}

.sponsor-form .btn--primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.sponsor-form .btn--primary i {
  position: static;
  transform: none;
  font-size: 18px;
  color: var(--white);
}

.sponsor-detail::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 160%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  transform: rotate(-12deg);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.6;
  z-index: 0;
}

.sponsor-detail .container {
  position: relative;
  z-index: 1;
}

.sponsor-detail__content {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 30px;
}

.sponsor-detail__form {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: sticky;
  top: 30px;
}

.form-header {
  padding: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.form-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

.form-header h4 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.form-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 16px;
  position: relative;
}

.sponsor-form {
  padding: 30px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  background: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px var(--secondary-light);
  outline: none;
}

.form-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary);
  font-size: 18px;
}

.form-group textarea {
  height: 120px;
  resize: none;
}

.form-group textarea + i {
  top: 25px;
  transform: none;
}

.sponsor-form .btn--primary {
  width: 100%;
  padding: 14px 30px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sponsor-form .btn--primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.sponsor-form .btn--primary i {
  font-size: 18px;
}

@media (max-width: 991px) {
  .sponsor-detail__form {
    position: static;
    margin-top: 30px;
  }
}

.child-image {
  height: 400px;
  overflow: hidden;
}

.child-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.child-info {
  padding: 30px;
}

.child-info h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.child-story {
  margin-bottom: 30px;
}

.child-story h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.child-story p {
  color: var(--text-light);
  line-height: 1.8;
}

.child-needs {
  background: var(--light);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.child-needs h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.child-needs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.child-needs li {
  display: flex;
  align-items: center;
  color: var(--text-dark);
}

.child-needs li i {
  color: var(--primary);
  margin-right: 10px;
}

.impact-info {
  background: var(--primary-light);
  padding: 30px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.impact-info .line {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-info .line i {
  color: var(--white);
  font-size: 24px;
  margin-top: 30px;
  margin-left: 30px;
}

.impact-info p {
  margin: 0;
  padding-left: 50px;
  color: var(--text-dark);
}

.impact-info strong {
  color: var(--primary);
  font-weight: 600;
}

/* Sponsor Detail Page */
.sponsor-detail__content {
  max-width: 800px;
  margin: 0 auto;
}

.child-profile {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.child-image {
  height: 400px;
  overflow: hidden;
}

.child-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.child-info {
  padding: 30px;
}

.child-info h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.child-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.child-info li {
  display: flex;
  align-items: center;
  color: var(--text-dark);
}

.child-info li i {
  color: var(--primary);
  margin-right: 10px;
}

.child-story {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.child-story h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.child-story p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

.child-needs {
  background: var(--light);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.child-needs h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.child-needs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.child-needs li {
  display: flex;
  align-items: center;
  color: var(--text-dark);
}

.child-needs li i {
  color: var(--primary);
  margin-right: 10px;
}

.impact-info {
  background: var(--primary-light);
  padding: 30px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.impact-info .line {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-info .line i {
  color: var(--white);
  font-size: 24px;
  margin-top: 30px;
  margin-left: 30px;
}

.impact-info p {
  margin: 0;
  padding-left: 50px;
  color: var(--text-dark);
}

.impact-info strong {
  color: var(--primary);
  font-weight: 600;
}

.sponsor-cta {
  text-align: center;
  margin-top: 40px;
}

.sponsor-cta .btn--primary {
  padding: 18px 40px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
}

.sponsor-cta .btn--primary:hover {
  background: transparent;
  color: var(--primary);
}

.sponsor-cta .btn--primary i {
  font-size: 20px;
}

.sponsor-note {
  margin-top: 20px;
  color: var(--text-light);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
  .child-info ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .child-needs ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .child-info ul {
    grid-template-columns: 1fr;
  }

  .child-image {
    height: 300px;
  }

  .sponsor-cta .btn--primary {
    width: 100%;
  }
}

/* Why Sponsor Section */
.ul-section.bg-light {
  background: var(--light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.ul-section.bg-light::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: var(--secondary-light);
  border-radius: 50%;
  z-index: 0;
}

.ul-section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.ul-section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.ul-section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.ul-info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
  height: 100%;
  border: 1px solid var(--border);
}

.ul-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(46, 196, 182, 0.15);
  border-color: var(--secondary);
}

.ul-info-card h4 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
}

.ul-info-card p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 991px) {
  .sponsor {
    padding: 60px 0;
  }

  .section__header h2 {
    font-size: 32px;
  }

  .child-card__image {
    height: 240px;
  }

  .child-info {
    grid-template-columns: 1fr;
  }

  .ul-section-title h2 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .sponsor {
    padding: 50px 0;
  }

  .section__header h2 {
    font-size: 28px;
  }

  .child-card__image {
    height: 200px;
  }

  .child-card__content h4 {
    font-size: 20px;
  }

  .ul-info-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .ul-info-card h4 {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .sponsor {
    padding: 60px 0;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .section__header h2 {
    font-size: 28px;
  }

  .input-group {
    grid-template-columns: 1fr;
  }

  .sponsor-detail__form {
    padding: 30px 20px;
  }
}
