/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: "SF Pro Display", sans-serif;
}

.college-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0088cc;
  transition: color 0.3s ease;
}

.college-stat-item {
  text-align: center;
  margin-bottom: 2rem;
}

.college-stat-description {
  font-size: 1.25rem;
  color: #555;
}


.college-main-container {
  max-width: 100%;
  margin: 0 auto;
}


/* Grid layout for main sections */
.college-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  background: black;
}

/* Header styles */
.college-main-header {
  background-color: black;
  color: white;
  text-align: center;
  padding: 1rem 1rem;
  margin-top:-2rem; 
}

.college-main-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0071e3;
  text-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
  margin-top:1rem;
}

.college-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.college-header-image-container img {
  width: 100%;
  max-width: 1800px;
  height: 70vh;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 136, 204, 0.3);
}

/* Statistics section */
.college-stats-container {
  background-color: black;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0;
}

.college-stat-item {
  text-align: center;
  flex: 1 1 200px;
  margin: 1rem;
  transition: transform 0.3s ease;
}

.college-stat-item:hover {
  transform: translateY(-5px);
}

.college-stat-item:hover .college-stat-number {
  color: #0088cc;
}

.college-stat-description {
  font-size: clamp(1rem, 1.5vw, 1rem);
  color: #ffffff;
}

/* Button container */
.college-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

/* Button styles */
.college-action-button {
display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0071e3;
  color: var(--background-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  font-size: 0.9rem;
  cursor: pointer;
}


.college-action-button:hover {
background-color: white;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

.college-action-button:hover::before {
  opacity: 1;
}

/* Section styles */
.college-content-section {
  padding: 1rem;
  margin-bottom: 0rem;
}

.college-content-section:nth-child(odd) {
  background-color: black;
  color: white;
}

.college-content-section:nth-child(even) {
  background-color: white;
  color: black;
}

.college-section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.college-section-description {
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Grid container for content items */
.college-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.college-content-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 136, 204, 0.2);
  transition: all 0.3s ease;
  padding: 1rem;
  margin-bottom: 2rem;
  position: relative;
  cursor: pointer;
  z-index: 1;
}

.college-content-item::before,
.college-content-item::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(0, 136, 204, 0.3),
    transparent 30%
  );
  animation: rotate 4s linear infinite;
  z-index: -1;
}

.college-content-item::after {
  animation-delay: -2s;
}
.college-content-section:nth-child(even) .college-content-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 40px rgba(0, 136, 204, 0.6);
  background-color: rgba(0, 136, 204, 0.2);
  color: black;
}
.college-content-section:nth-child(odd) .college-content-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 40px rgba(0, 136, 204, 0.6);
  background-color: rgba(0, 136, 204, 0.2);
  color: white;
}

.college-content-item .content-wrapper {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.college-content-item:hover .content-wrapper {
  background-color: rgba(0, 136, 204, 0.3);
}

.college-content-image,
.college-content-description {
  position: relative;
  z-index: 3;
}

.college-content-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.college-content-item:hover .college-content-image {
  transform: scale(1.05);
}

.college-content-description {
  padding: 1rem 0;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  transition: all 0.3s ease;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

/* Apply animation to the grid items */
.college-content-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.college-content-item.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Responsive design adjustments */
@media (max-width: 768px) {

  .college-stat-item {
    margin-bottom: 1.5rem;
  }
  .college-main-title{
    margin-top:1rem !important;
  }
}

@media (max-width: 480px) {
  .college-content-grid {
    grid-template-columns: 1fr;
  }
}
.resource-section {
  background-color: black;
  color: white;
  padding: 1rem;
  text-align: center;
}

.resource-section h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0088cc;
  text-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
}

.news-text p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.resource-section hr {
  border: none;
  border-top: 1px solid rgba(0, 136, 204, 0.3);
  margin: 2rem auto;
  width: 80%;
}

.research {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 3rem;
}

.research > div {
  flex: 1 1 200px;
  margin: 1rem;
  padding: 1rem;
  background-color: rgba(0, 136, 204, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.research > div::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(0, 136, 204, 0.3),
    transparent 30%
  );
  animation: rotate 4s linear infinite;
  z-index: 1;
}

.research > div:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 40px rgba(0, 136, 204, 0.6);
  background-color: rgba(0, 136, 204, 0.2);
}

.research h1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.research p {
  font-size: clamp(1rem, 1.5vw, 1rem);
  position: relative;
  z-index: 2;
}

.clbutton {
  margin-top: 2rem;
}

.clbutton button {
  padding: 0.75rem 1.5rem;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  background-color: rgba(0, 136, 204, 0.2);
  color: #0088cc;
  border: 2px solid #0088cc;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.clbutton button::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #0088cc, #00c3ff, #0088cc);
  z-index: -1;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.clbutton button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 136, 204, 0.6);
  background-color: rgba(0, 136, 204, 0.4);
  color: #ffffff;
}

.clbutton button:hover::before {
  opacity: 1;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .research {
    flex-direction: column;
  }

  .research > div {
    margin-bottom: 1.5rem;
  }

  .college-header-image-container img {
    width: 100%;
    max-width: 1800px;
    height: 19vh;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.3);
}

}

/* For mobile screens------------------------- */


/* start of media query 767px */

@media screen and (max-width: 767px) {
  .college-stats-container {
    background-color: black;
    color: white;
    display: contents;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 4rem 2rem;
}
.college-content-section {
  padding: 5rem 2rem;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}
.college-content-section:nth-child(odd) {
  background-color: black;
  color: white;
  padding-top: 3rem;
}
.resource-section {
  background-color: black;
  color: white;
  padding: 5rem 2rem;
  padding-top: 0.5rem;
  padding-bottom: 2rem;
  text-align: center;
}
.accordion .card-body {
  background-color: black;
}
.fa-plus:before {
  content: "\f067";
  color: black;
}
.college-main-title{
    margin-top:1rem !important;
  }
} /* end of media query 767px */