/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Global Styles */
:root {
  --primary-blue: #002D62;
  /* Medical/Royal Blue */
  --secondary-blue: #00509E;
  --primary-orange: #FF6600;
  /* Vibrant Orange */
  --light-orange: #FFF0E6;
  --text-dark: #1A1A1A;
  --text-light: #F4F4F9;
  --text-muted: #666;
  --white: #ffffff;
  --gray-bg: #F8F9FA;
  --border-color: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* Header & Nav */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  height: 45px;
  width: auto;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary-orange);
}

/* Navigation */
nav ul {
  display: flex;
  gap: 32px;
}

nav a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1rem;
  position: relative;
}

nav a.active,
nav a:hover {
  color: var(--primary-blue);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-orange);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-blue);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.9), rgba(0, 80, 158, 0.85)), url('header.JPG');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 140px 20px;
  position: relative;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), #e65c00);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #e65c00, var(--primary-orange));
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}


/* General Section Styles */
.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--gray-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary-blue);
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-orange);
  margin: 16px auto 0;
  border-radius: 2px;
}

.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.text-lg {
  font-size: 1.1rem;
}

.text-muted {
  color: var(--text-muted);
}

/* Organizer / Card Horizontal */
.card-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.card-horizontal-img {
  flex: 1;
  min-height: 100%;
}

.card-horizontal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-horizontal-content {
  flex: 1.5;
  padding: 40px;
  text-align: left;
}

.card-horizontal-content h3 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.card-horizontal-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}


/* Card Grids */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.card-subtitle {
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
  letter-spacing: 0.5px;
}

.card-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Forms */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
  background-color: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: var(--white);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-item i {
  color: var(--primary-orange);
  font-size: 1.25rem;
  margin-right: 16px;
  margin-top: 4px;
}

.contact-info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--primary-blue);
}

.contact-info-item p {
  color: var(--text-muted);
}

/* Organizer Profile Page specific */
.organizer-profile {
  display: flex;
  flex-direction: row;
  gap: 50px;
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  align-items: flex-start;
}

.organizer-img-wrapper {
  flex: 0 0 350px;
}

.organizer-img-wrapper img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.organizer-details {
  flex: 1;
}

.organizer-details h2 {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.organizer-designation {
  color: var(--primary-orange);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
  display: block;
}

.bio-block {
  margin-bottom: 2rem;
}

.bio-block h3 {
  color: var(--primary-blue);
  font-size: 1.25rem;
  border-bottom: 2px solid var(--light-orange);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 1rem;
}

.bio-block ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.bio-block li {
  margin-bottom: 0.5rem;
}


/* Footer */
footer {
  background-color: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 40px 0;
  margin-top: auto;
}

footer p {
  opacity: 0.8;
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE MEDIA QUERIES                                                   */
/* -------------------------------------------------------------------------- */

/* Improved Mobile Optimization */
@media (max-width: 992px) {
  .card-horizontal {
    flex-direction: column;
    max-width: 500px;
  }

  .card-horizontal-img {
    width: 100%;
    height: 300px;
  }

  .contact-container {
    gap: 30px;
  }

  .organizer-profile {
    padding: 30px;
    gap: 30px;
  }

  .organizer-img-wrapper {
    flex: 0 0 300px;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .about-image {
    flex: 0 0 auto;
    width: 280px;
    /* Slightly larger on tablet */
    position: static;
  }

  .about-content {
    text-align: left;
  }
}

@media (max-width: 768px) {

  /* Header & Nav */
  .menu-toggle {
    display: block;
    padding: 10px;
    /* Increase hit area */
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
  }

  nav.show {
    transform: scaleY(1);
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid var(--gray-bg);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 16px 20px;
    /* Larger tap target 44px+ */
    font-size: 1.15rem;
    /* Readable font size */
  }

  /* Sections */
  .section-padding {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  /* Contact */
  .contact-container {
    grid-template-columns: 1fr;
  }

  /* Organizer Profile */
  .organizer-profile {
    flex-direction: column;
  }

  .organizer-img-wrapper {
    flex: auto;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .organizer-details h2 {
    font-size: 1.8rem;
    /* Prevent overflow */
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-links {
    text-align: left;
    /* Keep links readable */
    max-width: 300px;
    margin: 0 auto;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Fix alignment for center aligned headers */
  .footer-links-section h3::after {
    /* If needed specific override */
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-about {
    margin: 0 auto;
  }

  .footer-btn-container {
    align-items: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
    /* Standard mobile padding */
  }

  .logo {
    font-size: 1.3rem;
    /* Downsize for small screens */
  }

  .logo-container img {
    height: 32px;
  }

  .hero {
    padding: 80px 16px 60px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .card-horizontal-content {
    padding: 20px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    /* Comfortable touch area */
  }
}

/* Compact Gallery Styles */
.gallery-header {
  text-align: center;
  margin-bottom: 25px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  padding: 10px 0;
  max-width: 100%;
}

.gallery-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  background: #f5f5f5;
}

.gallery-photo.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.gallery-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-photo:hover img {
  transform: scale(1.08);
}

.gallery-photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-photo:hover::before {
  opacity: 1;
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  color: white;
  z-index: 2;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  text-align: center;
}

.gallery-photo:hover .photo-overlay {
  transform: translateY(0);
}

.photo-overlay i {
  font-size: 20px;
  margin-bottom: 4px;
  display: block;
}

.photo-overlay p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 35px;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(99, 102, 241, 0.9);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 35px;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
}

.lightbox-nav:hover {
  background: rgba(99, 102, 241, 0.9);
}

.lightbox-prev {
  left: 15px;
}

.lightbox-next {
  right: 15px;
}

.gallery-year-badge {
  display: inline-block;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(99, 102, 241, 0.3);
}

.gallery-stats {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}


/* Video Wrapper for Responsive Iframes */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Corporate Footer */
.main-footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 30px 0 15px;
  /* Reduced padding */
  margin-top: auto;
}

.footer-logo img {
  height: 160px;
  width: auto;
  margin-bottom: 5px;
  /* Reduced margin */
  margin-left: auto;
  margin-right: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  /* Reduced gap */
  margin-bottom: 25px;
  /* Reduced margin */
}

.footer-section h3 {
  font-size: 1.1rem;
  /* Slightly smaller */
  margin-bottom: 15px;
  /* Reduced margin */
  position: relative;
  padding-bottom: 8px;
  /* Reduced padding */
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-orange);
}

.footer-logo {
  margin-bottom: 10px;
  /* Reduced margin */
}

.footer-logo .logo {
  color: var(--white);
}

.footer-about {
  font-size: 0.9rem;
  /* Slightly smaller */
  opacity: 0.8;
  line-height: 1.5;
  max-width: 350px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 Columns */
  gap: 10px 20px;
  /* Row gap 10px, Col gap 20px */
}

.footer-links li {
  margin-bottom: 0;
  /* Handled by gap */
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-orange);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  /* Reduced margin */
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--primary-orange);
  margin-right: 10px;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  /* Reduced padding */
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.designer-text {
  margin-top: 5px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-section {
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-about {
    margin: 0 auto;
  }
}


.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 12px;
  width: 100%;
  max-width: 250px;
  transition: all 0.3s ease;
}

.footer-whatsapp {
  background-color: #25D366;
  color: var(--white);
  border: 1px solid #25D366;
}

.footer-whatsapp:hover {
  background-color: #1FAF53;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.footer-call {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-call:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}


.footer-btn-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .footer-btn-container {
    align-items: center;
    width: 100%;
  }
}

/* About Page Specifics */
.about-container {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image {
  flex: 0 0 350px;
  position: sticky;
  top: 100px;
  /* Nice touch if content is long */
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-content {
  flex: 1;
}

@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Generally looks better on mobile if stacked */
    gap: 30px;
  }

  .about-image {
    flex: 0 0 auto;
    width: 250px;
    position: static;
  }

  .about-content {
    text-align: left;
    /* Keep text readable */
  }
}

/* Faculty Card - Portrait Image */
/* Faculty Card - Portrait Image */
.card.faculty-card img {
  height: 250px;
  object-fit: cover;
  object-position: top center;
}

.faculty-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .faculty-grid {
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns on mobile */
    gap: 6px;
  }

  .card.faculty-card img {
    height: 90px;
    /* Very small images */
  }

  .faculty-card .card-content {
    padding: 5px;
    /* Minimal padding */
  }

  .faculty-card .card-title {
    font-size: 0.75rem;
    /* Very small text */
    line-height: 1.1;
    word-break: break-word;
    /* Ensure valid break */
  }
}

.faculty-card .card-content {
  padding: 15px;
}

.faculty-card .card-title {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Floating Registration Button */
.floating-register-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #FF6600, #ff8533);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  border: 2px solid white;
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}

.floating-register-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
  background: linear-gradient(135deg, #ff8533, #FF6600);
  color: white;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 768px) {
  .floating-register-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    bottom: 15px;
    right: 15px;
  }
}

/* Gallery - Clean Reset */
.gallery-section {
  padding: 40px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
  background: #f0f0f0;

  /* Animation Start State */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Mobile Optimization: 3 per row */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    /* Tighter gap */
  }

  .gallery-item {
    border-radius: 4px;
    /* Smaller radius */
    box-shadow: none;
    /* Cleaner look for small items */
  }

  /* Faculty Grid 3 per row */
  .faculty-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .faculty-card .card-image {
    height: 100px !important;
  }

  .faculty-card .card-content {
    padding: 8px 4px !important;
  }

  .faculty-card .card-title {
    font-size: 0.75rem !important;
    line-height: 1.1 !important;
    margin-bottom: 2px !important;
  }

  .faculty-card p {
    font-size: 0.65rem !important;
  }
}

/* Lightbox - Clean */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}