/* Slideshow styles for uniform, centered images */
#slideshow-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  background: #f7f7f7;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(60,60,60,0.07);
  overflow: hidden;
  aspect-ratio: 3/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slideshow-img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  background: #eaeaea;
  aspect-ratio: 3/1;
  display: block;
  transition: object-position 0.3s;
}
@media (max-width: 900px) {
  #slideshow-container {
    max-width: 100vw;
    aspect-ratio: 2/1;
  }
  .slideshow-img {
    max-height: 240px;
    aspect-ratio: 2/1;
  }
}
@media (max-width: 600px) {
  #slideshow-container {
    aspect-ratio: 1.5/1;
  }
  .slideshow-img {
    max-height: 160px;
    aspect-ratio: 1.5/1;
  }
}
/*
  Kaviguru College of Pharmacy - Main Stylesheet
  Calm, professional palette: blue, white, grey
  Responsive, accessible, and clean
*/
/* Airbnb-inspired palette: soft, modern, airy */
:root {
  --primary: #FF5A5F;
  --secondary: #008489;
  --accent: #FAFAFA;
  --text: #222222;
  --bg: #fff;
  --muted: #F7F7F7;
  --shadow: 0 4px 24px rgba(60,60,60,0.08);
  --radius: 18px;
}
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  letter-spacing: 0.01em;
  font-size: 1.08rem;
}
header, nav, footer {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 0 0.5rem 0;
  background: var(--bg);
  border-radius: var(--radius) var(--radius) 0 0;
}
.header-top .logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.header-top .logo img {
  height: 54px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-top .college-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.header-top .college-title .main-title {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 0.15em;
  text-shadow: 0 2px 8px rgba(255,90,95,0.06);
}
.header-top .college-title .subtitle {
  font-size: 1.02rem;
  color: var(--secondary);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-left: 2px;
}
.header-nav {
  display: flex;
  justify-content: center;
  background: var(--bg);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto 2.5rem auto;
  max-width: 1200px;
  overflow-x: auto;
}
.header-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin: 0;
  padding: 0.7rem 2vw;
  list-style: none;
}
.header-nav ul li a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.header-nav ul li a:hover, .header-nav ul li a:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,90,95,0.10);
  outline: none;
}
@media (max-width: 900px) {
  .header-nav ul {
    gap: 1rem;
    padding: 0.5rem 1vw;
  }
  .header-top .logo img {
    height: 36px;
  }
}
@media (max-width: 600px) {
  .header-top {
    padding: 0.7rem 0 0.3rem 0;
  }
  .header-top .logo img {
    height: 32px;
  }
  .header-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.5vw;
  }
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3vw;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
  margin: 1.5rem auto 2.5rem auto;
  max-width: 1200px;
}
nav .logo {
  display: flex;
  align-items: center;
}
nav .logo img {
  height: 44px;
  margin-right: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
}
nav ul li a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,90,95,0.10);
  outline: none;
}
main {
  padding: 2rem 1rem 1rem 1rem;
  max-width: 1200px;
  margin: auto;
}
section, article {
  margin-bottom: 2.5rem;
  background: var(--muted);
  border-radius: var(--radius);
  padding: 2.2rem 2vw;
  box-shadow: var(--shadow);
}
h1, h2, h3, h4 {
  color: var(--primary);
  margin-top: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
table, th, td {
  border: 1px solid #b0bec5;
}
th, td {
  padding: 0.75rem;
  text-align: left;
}
tr:nth-child(even) {
  background: #f0f4ff;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
footer {
  padding: 2.2rem 2vw 1.5rem 2vw;
  text-align: center;
  background: var(--muted);
  color: var(--text);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow);
  margin-top: 2.5rem;
  font-size: 1.02rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
  margin-bottom: 1.2rem;
}
.footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  transition: background 0.18s, color 0.18s;
}
.footer-links a:hover, .footer-links a:focus {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 900px) {
  nav ul {
    gap: 1rem;
  }
  nav {
    padding: 0.7rem 1vw;
    margin: 1rem auto 1.5rem auto;
  }
  main {
    padding: 1rem 0.5rem;
  }
}
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1vw;
    margin: 0.5rem auto 1rem auto;
  }
  nav .logo img {
    height: 32px;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  section, article {
    padding: 1rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
