html, body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    font-family: "Poppins", sans-serif;
    /* background-image: url('greetings/orgbackg.png'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;*/
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px; /* adjust to navbar height */
}

/* IMPORTANT FIX */
* {
  box-sizing: border-box;
}


/* header/hero */
  .hero-bg {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; 
    background-image: url("../images/campus.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.63),
      rgba(103, 18, 18, 0.68)
    );
    z-index: 1;
  }

  .header {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 20px 80px;
    max-width: 1100px;
    margin: 0 auto;
    backdrop-filter: blur(3px);
      mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  }

  .header h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(42px, 6vw, 56px);
    line-height: 1.15;
    color: white;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
  }

.color {
  background-image: linear-gradient(
    90deg,
    #f0dc5c,
    #bc0000,
    #f0dc5c
  );
  background-size: 200% 200%;
  background-position: 0% 50%;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 700;
  animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.header2 h2 {
    margin-top: 12px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: white;
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero2 {
  color: #4b5563; /* text-gray-600 */
}

.hero2-container {
  max-width: 1280px; /* container */
  margin: 0 auto; /* mx-auto */
  padding: 6rem 1.25rem; /* py-24 px-5 */
  display: flex;
  flex-direction: column; /* flex-col */
  align-items: center; /* items-center */
}

/* md:flex-row */
@media (min-width: 768px) {
  .hero2-container {
    flex-direction: row;
  }
}

/* LEFT */
.hero2-left {
  display: flex;
  flex-direction: column;
  align-items: center; /* items-center */
  text-align: center; /* text-center */
  margin-bottom: 4rem; /* mb-16 */
}

/* md:w-1/2 md:items-start md:text-left md:mb-0 */
@media (min-width: 768px) {
  .hero2-left {
    width: 50%;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 0;
    padding-right: 4rem; /* md:pr-16 */
  }
}

/* lg:flex-grow lg:pr-24 */
@media (min-width: 1024px) {
  .hero2-left {
    flex-grow: 1;
    padding-right: 6rem; /* lg:pr-24 */
  }
}

.hero2-title {
  color: #111827; /* text-gray-900 */
  font-weight: 700; /* font-medium */
  font-size: 1.875rem; /* text-3xl */
  margin-bottom: 1rem; /* mb-4 */
}

/* sm:text-4xl */
@media (min-width: 640px) {
  .hero2-title {
    font-size: 2.25rem;
  }
}

/* br hidden lg:inline-block */
.hero2-br {
  display: none;
}

@media (min-width: 1024px) {
  .hero2-br {
    display: inline-block;
  }
}

.hero2-text {
  margin-bottom: 2rem; /* mb-8 */
  line-height: 1.625; /* leading-relaxed */
}

.hero2-actions {
  display: flex;
  justify-content: center; /* justify-center */
}

/* RIGHT */
.hero2-right {
  width: 83.3333%; /* w-5/6 */
  box-shadow: 0 0 45px #0003;
}

/* md:w-1/2 */
@media (min-width: 768px) {
  .hero2-right {
    width: 50%;
  }
}

/* lg:max-w-lg lg:w-full */
@media (min-width: 1024px) {
  .hero2-right {
    max-width: 32rem; /* max-w-lg */
    width: 100%;
  }
}

.hero2-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* object-cover */
  object-position: center; /* object-center */
  border-radius: 0.25rem; /* rounded */
}

/* BUTTONS (same as your previous one) */
.btn {
  display: inline-flex;
  border: 0;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  outline: none;
}

.btn-primary {
  background: #6366f1; /* indigo-500 */
  color: #fff;
}

.btn-primary:hover {
  background: #4f46e5; /* indigo-600 */
}

.btn-secondary {
  margin-left: 1rem; /* ml-4 */
  background: #f3f4f6; /* gray-100 */
  color: #374151; /* gray-700 */
}

.btn-secondary:hover {
  background: #e5e7eb; /* gray-200 */
}

/* About Section Enhanced for About Page */
.about {
  position: relative;
  color: gray;
  background-image: url("../images/campus.jpg"); /* Added image to match homepage feel */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 20px;
  overflow: hidden;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.9),
    rgba(15, 15, 15, 0.85)
  );
  z-index: 1;
}

.about-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 60px 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.about-container:hover {
  transform: translateY(-5px);
}

.about-container.text-center .about-text {
  text-align: center;
  align-items: center;
}

.about-container.text-center .accent-line.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.about-text {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.about-text .accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #f0dc5c, #ffb600);
  margin-bottom: 30px;
  border-radius: 2px;
}

.about-text p {
  font-family: "Inter", sans-serif;
  line-height: 1.8;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin-bottom: 0px;
}

@media (min-width: 768px) {
  .about-container {
    padding: 70px 60px;
  }
}

.blog {
  color: #4b5563; /* text-gray-600 */
}

.blog-container {
  max-width: 1280px; /* container */
  margin: 0 auto; /* mx-auto */
  padding: 6rem 1.25rem; /* py-24 px-5 */
}

/* HEADER SECTION */
.blog-header {
  display: flex;
  flex-wrap: wrap; /* flex-wrap */
  width: 100%; /* w-full */
  margin-bottom: 5rem; /* mb-20 */
}

.blog-title-wrap {
  width: 100%;
  margin-bottom: 1.5rem; /* mb-6 */
}

/* lg:w-1/2 and remove bottom margin */
@media (min-width: 1024px) {
  .blog-title-wrap {
    width: 50%;
    margin-bottom: 0;
  }
}

.blog-title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-medium */
  color: #111827; /* text-gray-900 */
  margin-bottom: 0.5rem; /* mb-2 */
}

/* sm:text-3xl */
@media (min-width: 640px) {
  .blog-title {
    font-size: 1.875rem;
  }
}

.blog-line {
  height: 0.25rem; /* h-1 */
  width: 5rem; /* w-20 */
  background: maroon; /* bg-indigo-500 */
  border-radius: 999px; /* rounded */
}

.blog-desc {
  width: 100%;
  line-height: 1.625; /* leading-relaxed */
  color: #6b7280; /* text-gray-500 */
}

/* lg:w-1/2 */
@media (min-width: 1024px) {
  .blog-desc {
    width: 50%;
  }
}

/* GRID */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -1rem; /* -m-4 */
}

.blog-col {
  padding: 1rem; /* p-4 */
  width: 100%;
}

/* md:w-1/2 */
@media (min-width: 768px) {
  .blog-col {
    width: 50%;
  }
}

/* xl:w-1/4 */
@media (min-width: 1280px) {
  .blog-col {
    width: 25%;
  }
}

/* CARD */
.blog-card {
  background: #f3f4f6; /* bg-gray-100 */
  border-radius: 10px; /* rounded-lg */
  height: 100%;
  border-bottom: #bc0000 5px solid;
  box-shadow: 0 0 45px #0003;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}


.blog-img {
  width: 100%; /* w-full */
  height: 10rem; /* h-40 */
  object-fit: cover; /* object-cover */
  object-position: center; /* object-center */
  border-radius: 10px; /* rounded */
}

.blog-card-title {
  font-size: 1.125rem; /* text-lg */
  font-weight: 500;
  color: #111827; /* text-gray-900 */
  margin-bottom: 1rem; /* mb-4 */
  padding-left: 20px;
  padding-right: 20px;
}

.blog-text {
  font-size: 0.875rem; /* text-base */
  line-height: 1.625; /* leading-relaxed */
  padding-left: 20px;
  padding-right: 10px;
  padding-bottom: 10px;
}

/* FEATURE SECTION */

.feature-section {
  background-color: #f3f4f6;
  color: #4b5563; /* text-gray-600 */
}

.feature-container {
  max-width: 1280px; /* container */
  margin: 0 auto; /* mx-auto */
  padding: 6rem 1.25rem; /* py-24 px-5 */
  display: flex;
  flex-wrap: wrap; /* flex-wrap */
}

/* LEFT IMAGE */
.feature-image-wrap {
  width: 100%; /* w-full */
  margin-bottom: 2.5rem; /* mb-10 */
  border-radius: 0.5rem; /* rounded-lg */
  overflow: hidden; /* overflow-hidden */
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* lg:w-1/2 + remove margin bottom */
@media (min-width: 1024px) {
  .feature-image-wrap {
    width: 50%;
    margin-bottom: 0;
  }
}

.feature-image {
  width: 100%; /* w-full */
  height: 100%; /* h-full */
  object-fit: cover; /* object-cover */
  object-position: center; /* object-center */
  display: block;
}

/* RIGHT SIDE */
.feature-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  text-align: center; /* text-center */
  margin-bottom: -2.5rem; /* -mb-10 */
}

/* lg:w-1/2 lg:pl-12 lg:py-6 lg:text-left */
@media (min-width: 1024px) {
  .feature-right {
    width: 50%;
    padding-left: 3rem; /* pl-12 */
    padding-top: 1.5rem; /* py-6 */
    padding-bottom: 1.5rem;
    text-align: left;
  }
}

/* FEATURE ITEM */
.feature-item {
  display: flex;
  flex-direction: column; /* flex-col */
  align-items: center; /* items-center */
  margin-bottom: 2.5rem; /* mb-10 */
}

/* lg:items-start */
@media (min-width: 1024px) {
  .feature-item {
    align-items: flex-start;
  }
}

/* ICON CIRCLE */
.feature-icon-wrap {
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px; /* rounded-full */
  background: rgb(247, 221, 221); /* bg-indigo-100 */
  color: maroon; /* text-indigo-500 */
  margin-bottom: 1.25rem; /* mb-5 */
}

.feature-icon {
  width: 1.5rem; /* w-6 */
  height: 1.5rem; /* h-6 */
}

/* CONTENT */
.feature-content {
  flex-grow: 1; /* flex-grow */
}

.feature-title {
  color: #111827; /* text-gray-900 */
  font-size: 1.125rem; /* text-lg */
  font-weight: 500; /* font-medium */
  margin-bottom: 0.75rem; /* mb-3 */
}

.feature-text {
  font-size: 1rem; /* text-base */
  line-height: 1.625; /* leading-relaxed */
}

/* LINK */
.feature-link {
  margin-top: 0.75rem; /* mt-3 */
  color: #6366f1; /* text-indigo-500 */
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.feature-link:hover {
  text-decoration: underline;
}

.feature-link-icon {
  width: 1rem; /* w-4 */
  height: 1rem; /* h-4 */
  margin-left: 0.5rem; /* ml-2 */
}

/* remove extra bottom spacing on last item (optional) */
.feature-item-last {
  margin-bottom: 0;
}

footer {
  background-color: #5c0000; /* Richer maroon */
  color: white;
  padding: 50px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border-top: 4px solid #FFB600; /* Gold top border */
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-left p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-content .logo {
  height: 45px;
  transition: transform 0.3s ease;
}

.footer-content .logo:hover {
  transform: scale(1.08);
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
}

.footer-right a {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-right a:hover {
  color: #FFB600;
  transform: translateY(-2px);
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    gap: 30px;
    padding: 40px 24px;
    text-align: center;
  }

  .footer-content {
    order: 1;
  }

  .footer-right {
    order: 2;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
  }

  .footer-right a {
    font-size: 15px;
  }

  .footer-left {
    order: 3;
    justify-content: center;
    width: 100%;
  }

  .footer-left p {
    font-size: 13px;
  }
}

