:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --secondary: #60a5fa;
  --accent: #f97316;
  --accent2: #06b6d4;
  --light: #f8fafc;
  --light-gray: #e2e8f0;
  --dark: #1e293b;
  --text: #334155;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-dark: rgba(37, 99, 235, 0.1);
  --shadow: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(135deg, var(--light) 0%, var(--light-gray) 100%);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  color: var(--dark);
}

section {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    var(--light) 40%,
    rgba(37, 99, 235, 0.05) 100%
  );
  opacity: 0;
  transform: scale(0.9);
  animation: heroEntrance 1.5s ease forwards 0.5s;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%232563eb' fill-opacity='0.03' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,224C672,235,768,181,864,160C960,139,1056,149,1152,165.3C1248,181,1344,203,1392,213.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  z-index: 1;
  animation: backgroundMove 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1s;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--primary), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientMove 8s ease infinite;
  text-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1.2s, gradientMove 8s ease infinite 2s;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1.4s;
}

.hero .btn-1 {
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1.6s;
}

.btn-1 {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(45deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: 50px;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-1:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-1::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn-1:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease;
}

.section-title.visible {
  transform: translateY(0);
  opacity: 1;
}

.section-title h2 {
  font-size: 3rem;
  display: inline-block;
  background: linear-gradient(45deg, var(--primary), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.5rem;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent2));
  border-radius: 3px;
  animation: lineExtend 1s ease forwards;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  transform: translateY(50px);
  opacity: 0;
}

.card.visible {
  transform: translateY(0);
  opacity: 1;
}

.card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--accent2),
    var(--primary)
  );
  background-size: 400% 400%;
  border-radius: 16px;
  animation: gradientMove 8s ease infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Research & Funding Section */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.research-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  transform: translateY(50px) rotateX(10deg);
  opacity: 0;
}

.research-card.visible {
  transform: translateY(0) rotateX(0);
  opacity: 1;
}

.research-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Welfare Committee */
.welfare-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.welfare-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
  animation: float 6s ease-in-out infinite;
  transform: translateY(50px);
  opacity: 0;
}

.welfare-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.welfare-card:nth-child(2) {
  animation-delay: 1s;
}

.welfare-card:nth-child(3) {
  animation-delay: 2s;
}

.welfare-card:hover {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

/* Grievance Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: linear-gradient(to bottom, var(--primary), var(--accent2));
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 10px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  animation: fadeIn 1s forwards;
  opacity: 0;
  transform: translateX(-50px);
}

.timeline-item.visible {
  transform: translateX(0);
  opacity: 1;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
  transform: translateX(50px);
}

.timeline-item:nth-child(even).visible {
  transform: translateX(0);
}

.timeline-content {
  padding: 20px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow);
}

/* Anti Ragging Banner */
.anti-ragging {
  background: linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.9) 0%,
      rgba(6, 182, 212, 0.9) 100%
    ),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1300&q=80");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  color: white;
}

.anti-ragging h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.anti-ragging p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: white;
}

.pulse-box {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.4);
  animation: pulse 2s infinite;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: scale(0.9);
  opacity: 0;
}

.pulse-box.visible {
  transform: scale(1);
  opacity: 1;
  animation: pulse 2s infinite, fadeIn 1s ease forwards;
}

/* Proctorial Board */
.profile-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.profile-card {
  width: 280px;
  height: 350px;
  background: var(--glass);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: rotateY(90deg);
  opacity: 0;
}

.profile-card.visible {
  transform: rotateY(0);
  opacity: 1;
}

.profile-card:hover {
  transform: rotateY(180deg);
}

.profile-card h3 {
  margin-top: 1.5rem;
  color: var(--primary);
}

.profile-card p {
  color: var(--text);
}

/* Women's Cell */
.womens-cell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.womens-cell-img {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow);
  transform: translateX(-50px);
  opacity: 0;
}

.womens-cell-img.visible {
  transform: translateX(0);
  opacity: 1;
}

.womens-cell-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.womens-cell-img:hover img {
  transform: scale(1.05);
}

.womens-cell-content {
  transform: translateX(50px);
  opacity: 0;
}

.womens-cell-content.visible {
  transform: translateX(0);
  opacity: 1;
}

/* Sports Section */
.masonry-grid {
  columns: 3;
  column-gap: 1.5rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
  transform: scale(0.8);
  opacity: 0;
}

.masonry-item.visible {
  transform: scale(1);
  opacity: 1;
}

.masonry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow);
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item:hover img {
  transform: scale(1.1);
}

/* Yoga Section */
.yoga-section {
  background: linear-gradient(
    to bottom,
    var(--light) 0%,
    var(--light-gray) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 12rem;
}

.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 150px;
}

.wave {
  position: relative;
  display: block;
  width: calc(300% + 1.3px);
  height: 150px;
  animation: waveAnimation 18s linear infinite;
}

.wave path {
  transform-origin: center;
  animation: wavePath 8s ease-in-out infinite alternate;
}

.shape-fill {
  fill: var(--primary-light);
  opacity: 0.3;
}

.shape-fill:nth-child(1) {
  animation: waveOpacity 10s ease-in-out infinite;
  opacity: 0.4;
}

.shape-fill:nth-child(2) {
  animation: waveOpacity 8s ease-in-out infinite reverse;
  opacity: 0.25;
}

.shape-fill:nth-child(3) {
  animation: waveOpacity 12s ease-in-out infinite;
  opacity: 0.15;
}

.yoga-icons {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 4rem;
  perspective: 1000px;
}

.yoga-icon {
  width: 120px;
  height: 120px;
  background: var(--glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15),
    inset 0 -5px 15px rgba(255, 255, 255, 0.7),
    inset 0 5px 15px rgba(255, 255, 255, 0.5);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  transform: translateY(50px);
  opacity: 0;
}

.yoga-icon.visible {
  transform: translateY(0);
  opacity: 1;
}

.yoga-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(45deg);
  animation: shine 5s ease-in-out infinite;
}

.yoga-icon:nth-child(1) {
  animation-delay: 0s;
}
.yoga-icon:nth-child(2) {
  animation-delay: 1s;
}
.yoga-icon:nth-child(3) {
  animation-delay: 2s;
}
.yoga-icon:nth-child(4) {
  animation-delay: 3s;
}

.yoga-icon:hover {
  transform: translateY(-10px) scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.25),
    inset 0 -7px 20px rgba(255, 255, 255, 0.8),
    inset 0 7px 20px rgba(255, 255, 255, 0.6);
}

.yoga-icon:hover::before {
  animation: shine 1.5s ease-in-out infinite;
}

/* Enhanced glass effect */
.yoga-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  pointer-events: none;
}

/* Feedback Form */
.feedback-form {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 8px 32px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-width: 600px;
  margin: 0 auto;
  transform: scale(0.95);
  opacity: 0;
}

.feedback-form.visible {
  transform: scale(1);
  opacity: 1;
}

.form-group {
  margin-bottom: 1.5rem;
  transform: translateY(20px);
  opacity: 0;
}

.form-group.visible {
  transform: translateY(0);
  opacity: 1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Animations */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes waveAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-66.6%);
  }
}

@keyframes wavePath {
  0% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.2);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes waveOpacity {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.2;
  }
}

@keyframes shine {
  0% {
    transform: rotate(45deg) translateX(-100%);
  }
  20% {
    transform: rotate(45deg) translateX(100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    transform: scale(50, 50);
    opacity: 1;
  }
  100% {
    transform: scale(100, 100);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lineExtend {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .masonry-grid {
    columns: 2;
  }
  .womens-cell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .section-title h2 {
    font-size: 2.2rem;
  }
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .masonry-grid {
    columns: 1;
  }
  .anti-ragging h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 4rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn-1 {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .card,
  .research-card,
  .welfare-card {
    padding: 1.5rem;
  }
  .anti-ragging {
    padding: 4rem 1rem;
  }
  .anti-ragging h2 {
    font-size: 2rem;
  }
  .feedback-form {
    padding: 2rem;
  }
}
