/* --- Modernized Interface Enhancements --- */
:root {
  --primary: #2563eb; /* Modern blue */
  --primary-dark: #1e40af;
  --accent: #fbbf24; /* Soft yellow */
  --accent-light: #fef9c3;
  --bg: #f8fafc;
  --header-bg: linear-gradient(90deg, #2563eb 0%, #fbbf24 100%);
  --section-bg: #fff;
  --card-bg: #fff;
  --card-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
  --text: #1e293b;
  --nav-link: #fff;
  --nav-link-hover: #fbbf24;
  --border-radius: 16px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

header {
  background: var(--header-bg);
  color: var(--nav-link);
  padding: 14px 0 8px 0;
  text-align: center;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 4px 0 0 0;
}
nav a {
  color: var(--nav-link);
  margin: 0 2px;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--border-radius);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  font-size: 0.95em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04);
}
nav a:hover, nav a.active {
  background: var(--nav-link-hover);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.15);
}

/* --- Responsive Navigation Bar --- */
@media (max-width: 900px) {
  nav {
    gap: 4px;
  }
  nav a {
    font-size: 0.95em;
    padding: 7px 8px;
    margin: 0 2px;
  }
}
@media (max-width: 650px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  nav a {
    display: block;
    width: 100%;
    margin: 2px 0;
    font-size: 1em;
    text-align: center;
    padding: 10px 0;
  }
}

main {
  padding: 40px 8vw 32px 8vw;
  max-width: 1100px;
  margin: 0 auto;
}

.college-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--section-bg);
  padding: 32px 16px;
  text-align: center;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--primary);
  border-radius: var(--border-radius);
  margin: 24px 0 0 0;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.06);
}
.college-logo {
  height: 100px;
  margin-right: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.college-info h2, .college-name {
  color: var(--primary-dark);
  font-size: 22px;
  margin-bottom: 5px;
}
.college-info p, .unit-name, .blue-details {
  color: #b85c00;
  font-size: 13px;
  margin: 2px 0;
}

/* --- Banner & Section --- */
.main-banner {
  background: linear-gradient(120deg, #ff7300 60%, #ffb347 100%);
  background-size: cover;
  background-position: center;
  min-height: 320px;
  position: relative;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay {
  background: rgba(0,0,0,0.3);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}
.main-banner h1 {
  font-size: 54px;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 2px;
}
.main-banner h1 .orange {
  color: #fff8f0;
  text-shadow: 2px 2px 8px #ff7300;
}
.main-banner p {
  font-size: 22px;
  margin: 18px 0 0 0;
}
.join-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 32px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  margin-top: 24px;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.10);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.join-btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.18);
}

.section {
  background: var(--section-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.06);
  margin-bottom: 32px;
  padding: 32px 24px;
}

/* --- Card Layout --- */
.week-section {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  width: 320px;
  margin: 0 0 16px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary);
}
.card-content {
  padding: 24px 20px 20px 20px;
}
.card-content h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.25em;
}
.card-content p {
  color: #475569;
  font-size: 1em;
}

/* --- Feedback Form --- */
form {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(255, 115, 0, 0.10);
  padding: 28px 24px;
  max-width: 400px;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
form label {
  color: var(--primary-dark);
  font-weight: bold;
  margin-bottom: 4px;
}
form input, form textarea {
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  padding: 10px;
  font-size: 16px;
  background: #fff8f0;
  color: #222;
  resize: vertical;
}
form button {
  background: linear-gradient(90deg, #ff7300 60%, #ffb347 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(255,115,0,0.10);
}
form button:hover, form button:focus {
  background: linear-gradient(90deg, #d95a00 60%, #ffb347 100%);
  box-shadow: 0 6px 24px rgba(255,115,0,0.18);
  transform: translateY(-2px) scale(1.03);
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
  .week-section {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 95vw;
    max-width: 350px;
  }
  main, .section {
    padding: 18px 4vw;
  }
}
@media (max-width: 600px) {
  .college-header {
    flex-direction: column;
    padding: 10px;
  }
  .college-logo {
    margin: 0 0 10px 0;
    height: 60px;
  }
  .main-banner h1 {
    font-size: 32px;
  }
  .section {
    padding: 16px 2vw;
  }
  nav a {
    padding: 6px 8px;
    font-size: 15px;
  }
}

/* --- Utility: Orange background image class for index page --- */
.bg-orange-img {
  background-image: url('123.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

/* --- Parallax Banner --- */
.main-banner.bg-orange-img {
  background: linear-gradient(120deg, #ff7300 60%, #ffb347 100%);
  background-size: cover;
  background-position: center;
  min-height: 320px;
  position: relative;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .main-banner.bg-orange-img {
    background-attachment: scroll;
  }
}

/* --- Fade-in Animation for Cards --- */
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Main Footer Styling --- */
.main-footer {
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 24px 0;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  font-size: 1.1em;
  margin-top: 40px;
  letter-spacing: 0.5px;
}

/* --- Extra spacing between sections and footer --- */
.section {
  margin-bottom: 40px;
}
.main-footer {
  margin-top: 60px;
}

/* --- Main image hover effect for week pages --- */
.main-img-hover:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(255, 115, 0, 0.25);
  z-index: 2;
}

/* --- Section list background for key learnings --- */
.section ul {
  background: #fff8f0;
  border-radius: 10px;
  padding: 18px 24px;
  margin: 18px 0 0 0;
  box-shadow: 0 2px 8px rgba(255, 115, 0, 0.07);
  list-style: disc inside;
}
.section ul li {
  margin-bottom: 8px;
  font-size: 1.08em;
}

/* --- Team grid for members page --- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  justify-items: center;
  align-items: stretch;
  margin-top: 24px;
}
@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- Modern feedback form input and button effects --- */
form input:focus, form textarea:focus {
  outline: none;
  border: 2px solid var(--primary-dark);
  box-shadow: 0 0 0 2px #ffb34744;
  background: #fffdfa;
}
form input:hover, form textarea:hover {
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(255,115,0,0.10);
}

/* --- Survey Pictures Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.gallery-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(255,115,0,0.10);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(255,115,0,0.18);
  z-index: 2;
}
.gallery-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: filter 0.18s, transform 0.18s;
}
.gallery-card:hover img {
  filter: brightness(1.08) saturate(1.1);
  transform: scale(1.04) rotate(-1deg);
}
.gallery-caption {
  padding: 14px 0 12px 0;
  font-size: 1.08em;
  color: #d95a00;
  font-weight: bold;
  text-align: center;
  background: #fff8f0;
  width: 100%;
}
@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gallery-card img {
    height: 140px;
  }
}

/* Image scroll-in animation */
.scroll-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.scroll-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}