/* Global Variables */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-color: #2c3e50;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
  --success-color: #2ecc71;
  --warning-color: #f1c40f;
  --transition: all 0.3s ease;
}

/* Global Styles */
body {
  font-family: "Poppins", sans-serif !important;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  padding: 10rem 0;
  transition: var(--transition);
}

.navbar-scrolled {
  background: rgba(44, 62, 80, 0.95);
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 100px;
  transition: var(--transition);
}

.navbar-scrolled .navbar-brand img {
  height: 90px;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem !important;
}

.nav-link::after {
  content: "";
  /* position: absolute; */
  /* bottom: 0; */
  /* left: 50%; */
  width: 0;
  height: 2px;
  /* background: var(--secondary-color); */
  /* transition: var(--transition);
  transform: translateX(-50%); */
}

/* .nav-link:hover::after {
  width: 100%;
} */

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#heroVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 1rem;
}

/* Stats Section */
.stats-section {
  background: var(--light-gray);
}

.stat-card {
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Events Section */
.event-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.event-content {
  padding: 1.5rem;
}

/* Alumni Section */
.alumni-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.alumni-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.alumni-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.auth-image {
  position: relative;
  height: 100%;
}

.auth-image img {
  height: 100%;
  object-fit: cover;
}

.auth-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.8) 0%,
    rgba(44, 62, 80, 0.8) 100%
  );
}

.auth-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  width: 80%;
  z-index: 1;
}

.auth-form-wrapper {
  padding: 3rem;
}

.auth-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Form Styles */
.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border-color: #e1e1e1;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: var(--secondary-color);
}

.input-group-text {
  background: white;
  border-color: #e1e1e1;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-primary:hover {
  background: #2980b9;
  border-color: #2980b9;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: white;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: white;
}

.footer .social-links a {
  color: white !important;
  opacity: 1 !important;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.15);
  color: #ffe082 !important;
  opacity: 1 !important;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeUp {
  animation: fadeUp 0.6s ease forwards;
}

/* Dropdown Styles */
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 8px 0;
  background: var(--primary-color);
  min-width: 140px;
  margin-top: 8px;
}

.dropdown-item {
  padding: 8px 15px;
  color: var(--secondary-color);
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 5px;
  margin: 2px 8px;
  display: flex;
  align-items: center;
  background: transparent !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
  background: transparent !important;
  color: var(--secondary-color) !important;
}

/* .dropdown-item:hover {
  background: rgba(52, 152, 219, 0.2);
  color: var(--secondary-color);
} */

.dropdown-item i {
  width: 18px;
  text-align: center;
  margin-right: 8px;
  font-size: 1.1em;
  color: var(--secondary-color);
}

/* .dropdown-item:hover i {
  color: var(--secondary-color);
} */

.dropdown-divider {
  margin: 8px 16px;
  border-color: rgba(255, 255, 255, 0.1);
  height: 1px;
}

/* User Dropdown Button */
.user-dropdown {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 6px 15px;
  color: white;
  font-weight: 500;
}

.user-dropdown i {
  font-size: 1.1em;
  margin-right: 6px;
}

/* Responsive Dropdown Styles */
@media (max-width: 768px) {
  .dropdown-menu {
    min-width: 140px;
    margin-top: 4px;
  }
  
  .dropdown-item {
    padding: 6px 12px;
    font-size: 0.95rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .auth-image {
    display: none;
  }

  .navbar-nav {
    background: var(--primary-color);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}

/* Admin Dashboard Specific Styles */
.admin-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 250px;
  background: var(--primary-color);
  color: white;
  padding-top: 1rem;
  transition: var(--transition);
  z-index: 1000;
}

.admin-main {
  margin-left: 250px;
  padding: 2rem;
  transition: var(--transition);
}

.sidebar-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-link i {
  margin-right: 0.75rem;
}

.admin-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

/* Dashboard Cards */
.dashboard-stat {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.dashboard-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.developer p {
  align-items: center;
  text-align: center;
  margin-top: 50px;
}

.card-body {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  border-radius: 10px;
}
.reg {
  color: rgb(11, 235, 74);
}
.account {
  color: white;
}
.log {
  color: rgb(11, 235, 74);
}

/* Scroll Arrows Styles */
.scroll-arrow {
  position: fixed;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  border: none;
  opacity: 0;
  visibility: hidden;
}

.scroll-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.scroll-arrow.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top {
  bottom: 80px;
}

#scroll-bottom {
  bottom: 20px;
}

.scroll-arrow i {
  font-size: 20px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.scroll-arrow:hover i {
  animation: bounce 1s infinite;
}

/* Modern Alumni Services Section - New Design */
.alumni-services {
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  padding: 6rem 0;
  position: relative;
}

.service-card {
  background: none;
  border: none;
  padding: 2rem 1rem;
  position: relative;
  transition: transform 0.5s ease;
  margin-bottom: 2rem;
}

.service-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.service-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  filter: blur(15px);
  opacity: 0.3;
  transform: translateY(10px) scale(0.9);
  transition: all 0.4s ease;
}

.service-icon i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon::before {
  transform: translateY(5px) scale(1.2);
  opacity: 0.5;
}

.service-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 1rem 0;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.service-description {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
  opacity: 0.9;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover .service-title {
  transform: translateY(-5px);
}

.service-card:hover .service-description {
  opacity: 1;
  transform: translateY(-5px);
}

/* Notable Alumni Section - New Design */
.notable-alumni {
  background: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.notable-alumni::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* background: linear-gradient(
    45deg,
    rgba(30, 60, 114, 0.03) 0%,
    rgba(42, 82, 152, 0.03) 100%
  );
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); */
}

.alumni-card {
  position: relative;
  margin: 2rem 0;
  padding: 0;
  background: none;
  border: none;
}

.alumni-image-wrapper {
  position: relative;
  padding-bottom: 120%;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  transition: all 0.5s ease;
}

.alumni-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.alumni-info {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 100%;
  padding: 2rem;
  color: white;
  z-index: 2;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.5s ease;
}

.alumni-info::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background: linear-gradient(to top, rgba(30, 60, 114, 0.9), transparent);
  z-index: -1;
  transition: all 0.5s ease;
}

.alumni-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: all 0.5s ease 0.1s;
}

.alumni-designation {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1rem;
  transform: translateY(20px);
  transition: all 0.5s ease 0.2s;
}

.alumni-social {
  display: flex;
  gap: 1.5rem;
  transform: translateY(20px);
  transition: all 0.5s ease 0.3s;
}

.alumni-social a {
  color: white;
  font-size: 1.3rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.alumni-social a:hover {
  opacity: 1;
  transform: scale(1.2);
}

.alumni-card:hover .alumni-image {
  transform: scale(1.1) translateY(-5%);
}

.alumni-card:hover .alumni-info {
  transform: translateY(0);
  opacity: 1;
}

.alumni-card:hover .alumni-name,
.alumni-card:hover .alumni-designation,
.alumni-card:hover .alumni-social {
  transform: translateY(0);
}

/* Section Headers - New Design */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60%;
  height: 4px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.5s ease;
}

.section-title:hover h2::after {
  transform: translateX(-50%) scaleX(1);
}

.section-title p {
  color: #64748b;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .alumni-services,
  .notable-alumni {
    padding: 4rem 0;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .service-title {
    font-size: 1.5rem;
  }

  .alumni-image-wrapper {
    padding-bottom: 100%;
  }

  .alumni-info {
    padding: 1.5rem;
  }

  .alumni-name {
    font-size: 1.5rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }
}
