body {
  font-family: "Inter", sans-serif;
}

.section-title {
  font-family: "Playfair Display", serif;
}

section .section-title {
  margin-bottom: 80px !important;
}

section[id] {
  scroll-margin-top: 100px;
}

/* HERO */
.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(1px);
  background: rgba(0, 0, 0, 0.5);
}

.hero-overlay {
  position: relative;
  z-index: 5;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

/* FIXED BUTTON */
.hero-overlay .btn-gold {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-gold {
  background-color: #c6a86e !important;
  color: white !important;
  border: none;
}

.btn-gold:hover {
  background-color: #b5945a !important;
}

/* PROJECTS */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.project-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  filter: blur(0);
  transition: 0.4s;
  -webkit-filter: blur(0);
}

.project-card:hover .project-img {
  filter: blur(0);
  transform: scale(1.05);
}

.project-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
}

/* TEAM */
.team-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

/* GALLERY */
.gallery-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: blur(0);
  transition: 0.4s;
  -webkit-filter: blur(0);
}

.gallery-img:hover {
  filter: blur(0);
}

#contact form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/*Events CS*/
@import url("https://fonts.googleapis.com/css?family=Oswald");

.fl-left {
  float: left;
}

.fl-right {
  float: right;
}

.row-event {
  display: flex;
  gap: 2%;
  margin-bottom: 20px;
}

.card-event {
  display: flex;
  width: 50%;
  align-items: stretch; /* THIS makes them equal height */
  background: #ffffff;
  border-right: 4px solid #c6a86e;
  border-left: 4px solid #c6a86e;
  color: #989898;
  margin-bottom: 20px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  border-radius: 4px;
  position: relative;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.card-event + .card-event {
  margin-left: 2%;
}

.date {
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  border-right: 2px dashed #c6a86e;
}

.date:before,
.date:after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-color: #f8f9fa;
  position: absolute;
  top: -15px;
  right: -15px;
  z-index: 1;
  border-radius: 50%;
}

.date:after {
  top: auto;
  bottom: -15px;
}

.date time {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.date time span {
  display: block;
}

.date time span:first-child {
  color: #2b2b2b;
  font-weight: 600;
  font-size: 250%;
}

.date time span:last-child {
  text-transform: uppercase;
  font-weight: 600;
  margin-top: -10px;
}

.card-cont {
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 85%;
  padding: 10px 10px 30px 50px;
}

.card-cont h3 {
  color: #3c3c3c;
  font-size: 130%;
}

.row-event:last-child .card:last-of-type .card-cont h3 {
  text-decoration: line-through;
}

.card-cont > div {
  display: table-row;
}

.card-cont .even-date i,
.card-cont .even-info i,
.card-cont .even-date time,
.card-cont .even-info p {
  display: table-cell;
}

.card-cont .even-date i,
.card-cont .even-info i {
  padding: 5% 5% 0 0;
}

.card-cont .even-info p {
  padding: 30px 50px 0 0;
}

.card-cont .even-date time span {
  display: block;
}

.card-cont a {
  display: block;
  text-decoration: none;
  width: 80px;
  height: 30px;
  background-color: #d8dde0;
  color: #fff;
  text-align: center;
  line-height: 30px;
  border-radius: 2px;
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.row-event:last-child .card:first-child .card-cont a {
  background-color: #037fdd;
}

.row-event:last-child .card:last-child .card-cont a {
  background-color: #f8504c;
}

/*Events CS*/

#contact form {
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef1f4;
  transition: 0.3s;
  border: 2px solid #c6a86e;
}

#contact form:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.contact-info-card {
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #c6a86e;
}

.form-control {
  border-radius: 8px;
  padding: 12px;
}

.form-control:focus {
  border-color: #c6a86e;
  box-shadow: 0 0 0 0.2rem rgba(198, 168, 110, 0.25);
}

.testimonial-card {
  background: #ffffff;
  padding: 30px 20px 20px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-top: 4px solid #c6a86e;
  position: relative;
  margin-top: 50px;
  transition: 0.3s;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid white;
}

.testimonial-body {
  margin-top: 50px;
}

.testimonial-name {
  color: #c6a86e;
  margin-top: 10px;
  font-weight: 600;
}

.quote-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.about-section {
  background: #f4f6f9;
}

.about-title {
  font-size: 48px;
  font-weight: 700;
  color: #2b2f77;
}

.about-subtitle {
  color: #ff4c4c;
  margin-bottom: 20px;
}

.about-text {
  color: #6c757d;
  font-size: 16px;
}

.highlight {
  color: #2b2f77;
  font-weight: 600;
}

.stats-box {
  background: #ffffff;
  padding: 20px 10px;
  border-radius: 5px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.12);
  border-top: 5px solid #c6a86e;
  border: 1px solid #eef1f4;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.stats-box:hover {
  transform: translateY(-25px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 50px 120px rgba(0, 0, 0, 0.18);
}

.stats-box h2 {
  color: #2b2f77;
  font-weight: bold;
}

.stats-box p {
  color: #6c757d;
}

.services-section {
  background: #f8f9fa;
}

.services-row {
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.service-card {
  padding: 20px 12px;
  border-right: 1px solid #eee;
  transition: 0.3s;
  height: 100%;
}

.service-card:last-child {
  border-right: none;
}

.service-card:hover {
  background: #f4f6f9;
  transform: translateY(-5px);
}

.service-icon {
  font-size: 40px;
  color: #0d6efd;
  margin-bottom: 5px;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

.service-card p {
  color: #6c757d;
  font-size: 14px;
}

.service-link {
  color: #0d6efd;
  font-weight: 500;
  text-decoration: none;
}

.service-link:hover {
  text-decoration: underline;
}

.row .align-items-center {
  display: flex;
}

/* SPONSORS GRID */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
  gap: 25px;
}

/* CARD */
.sponsor-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  height: 140px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  display: flex;
  flex-direction: column; /* 🔥 THIS FIXES YOUR ISSUE */
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

/* HOVER EFFECT */
.sponsor-card:hover {
  transform: translateY(-5px);
}

/* LOGO */
.sponsor-card img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-large {
  transform: scale(1.4);
}

/* VIDEO LANE */
.video-lane {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 5px;
  padding-right: 5px;
}

/* GRID */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* VIDEO CARD */
.video-card {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* IFRAME */
.video-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.video-card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

/* MAKE LINK LOOK LIKE CARD */
.sponsor-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

/* TEXT UNDER LOGO */
.sponsor-text {
  font-size: 16px;
  margin-top: 8px;
  color: #6c757d;
}

/* OPTIONAL HOVER EFFECT FOR LINKS */
.sponsor-link:hover .sponsor-text {
  color: #c6a86e;
  font-weight: 500;
}

.founder-row {
  align-items: stretch; /* 🔥 forces equal height */
}

.founder-image-wrapper {
  height: 100%;
}

.founder-text {
  display: flex;
  flex-direction: column;
}

.about-text {
  line-height: 1.7;
}

.founder-img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.social-icons {
  font-size: 28px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: white;
  transition: all 0.3s ease;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.social-link:hover {
  color: #c6a86e;
  transform: scale(1.2);
}

/* Instagram stays rounded */
.social-link.instagram {
  border-radius: 12px;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

/* Facebook becomes PERFECT square */
.social-link.facebook {
  background-color: #1877f2;
  border-radius: 8px;
  /*🔥makesitsquare-ish*/:;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.social-link.facebook i {
  font-size: 24px;
}

/* ABOUT IMAGE FIX */
.about-img {
  width: 100%;
  height: auto; /* prevents cut off */
  display: block;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.navbar-brand img {
  height: 40px;
  width: auto; /* keeps aspect ratio */
  max-width: 100%;
}

/* spacing for tablet & phone */
@media (max-width: 992px) {
  .about-img {
    margin-bottom: 20px;
  }
  .row-event {
    flex-direction: column;
  }

  .card-event {
    width: 100%;
  }

  .card-event + .card-event {
    margin-left: 0;
  }

    #projects .row {
    display: flex;
    flex-direction: column;
  }

  #projects .col {
    width: 100%;
  }
  .team-img {
    margin-bottom: 20px;
  }

  #team .col-md-4 {
    margin-bottom: 30px;
  }
  .video-lane {
    padding-left: 15px;
    padding-right: 15px;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #about .row {
    flex-direction: column;
  }

  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 576px) {
  /* About spacing */
  #about .col-lg-6 {
    margin-bottom: 20px;
  }

  .sponsors-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .navbar-brand img {
    height: 30px;
  }

  .about-img {
    margin-bottom: 20px;
  }

  /* Founder image spacing */
  .founder-img {
    margin-top: 20px;
  }

  /* General section breathing */
  section {
    padding-left: 15px;
    padding-right: 15px;
  }

    .card-event {
    flex-direction: column;
    padding: 15px;
  }

  .date {
    width: 100%;
    border-right: none;
    border-bottom: 2px dashed #c6a86e;
    margin-bottom: 10px;
    padding: 10px 0;
  }

  .date time {
    position: static;
    transform: none;
  }

  .card-cont {
    width: 100%;
    padding: 10px;
  }

}

@media screen and (max-width: 860px) {
  .card-event {
    display: block;
    float: none;
    width: 100%;
    margin-bottom: 10px;
  }
  .card-event + .card-event {
    margin-left: 0;
  }
  .card-cont .even-date,
  .card-cont .even-info {
    font-size: 75%;
  }
}
