<!-- IEEE SB MCET Website - HTML and CSS Improved Version -->
<!-- (Includes design polish, spacing fixes, color upgrades, and modern card styling) -->

<!-- HTML remains mostly same but styles updated in external stylesheet -->
<!-- Only CSS shown below -->
/* Make each section scroll-snappable */
html, body {
  height: 100%;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/* Make #home take full height of the screen */
#home {
  height: 80vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.scroll-down {
  position: absolute;
  bottom: 20px;
  font-size: 2rem;
  animation: bounce 2s infinite;
  color: #0077b6;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* All sections will snap into view */
section {
  scroll-snap-align: start;
  min-height: 10vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}
.light-rays {
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(0, 123, 255, 0.2) 0deg,    /* Bright blue */
    rgba(0, 123, 255, 0.05) 10deg,  /* Faded blue */
    transparent 20deg
  );
  filter: blur(40px);       /* Stronger glow */
  z-index: 0;
  pointer-events: none;
  transform-origin: center;
}


body {
  background-color: transparent;
  color: #1a1a1a;
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
}
.team-head{
  text-align: left;
  font-size: 30px;
  padding-top: 10px;
  padding-left: 5px;
}

/* Loading page */
#loading-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20vh;
  background:#ffffff;
}
.loading-logo {
  width: 280px;
  animation: fadeIn 2s ease-in-out;
}

/* Navbar */
header nav {
  background-color: #002855;
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}
nav a {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s;
}
nav a:hover {
  color: #00b4d8;
  text-decoration: none;
}

/* Hero section */
.hero img {
  width: 30%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}
h1 {
  text-align: center;
  margin-top: 1rem;
  color: #003566;
  font-weight: bold;
  font-size: 2.5rem;
}

.quick-access {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.quick-access a {
  background: #0077b6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.quick-access a:hover {
  background: #023e8a;
}

/* Marquee */
marquee {
  background: transparent;
  padding: 0.5rem;
  font-weight: bold;
  color: #003566;
  border-bottom: 2px solid #90e0ef;
}

section {
  padding: 2rem;
  background: #ffffff;
  margin: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.tabs button {
  padding: 0.6rem 1.2rem;
  background: #eeeeee;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.tabs button.active,
.tabs button:hover {
  background: #0077b6;
  color: white;
}

/* Execom section */
.committee-2025 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.member {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: 0.3s;
}
.member:hover {
  transform: translateY(-5px);
}
.member img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

/* Events */
.event {
  background-color: #e0f7fa;
  padding: 1rem;
  border-left: 5px solid #0077b6;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Resources */
ol li a {
  color: #0077b6;
  font-weight: 500;
  text-decoration: none;
}
ol li a:hover {
  text-decoration: underline;
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
}
form input,
form textarea,
form button {
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}
form button {
  background: #0077b6;
  color: white;
  border: none;
  transition: 0.3s;
}
form button:hover {
  background: #023e8a;
}
#blur-text span {
  display: inline-block;
  opacity: 0;
  filter: blur(5px);
  transform: translateY(20px);
  animation: blurIn 0.6s ease-out forwards;
  margin-right: 0.4em;
}

@keyframes blurIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

/* Footer */
footer {
  background-color: #002855;
  color: #ffffff;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}
footer a {
  color: #90e0ef;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
  .quick-access {
    flex-direction: column;
  }
  h1 {
    font-size: 1.75rem;
  }
}
#split-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: splitFade 0.5s ease forwards;
}

@keyframes splitFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.head-navbar{
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(01, 0, 0, 0.1); /* X Y Blur Color */
}


home-img{
  background-image: url(ieeeesbmcet.jpg);
  background-size: cover;
  opacity: 70%;
}
.text-home{
  text-shadow: #1a1a1a;
}
.sb-img{
  height: 450px;
  width:640px;
}
/* ---------- GALLERY IMAGE SECTION ---------- */

.main-image-container {
  width: 100%;
  aspect-ratio: 16 / 9; /* Keeps 16:9 ratio */
  overflow: hidden;
  border-radius: 12px;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: opacity 0.4s ease-in-out;
}

.thumbnail-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.thumbnail {
  width: 120px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .main-image-container {
    aspect-ratio: 4 / 3;
  }

  .thumbnail {
    width: 90px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .main-image-container {
    aspect-ratio: 1 / 1;
  }

  .thumbnail {
    width: 70px;
    height: 50px;
  }
}
.bento-gallery {
  display: grid;
  grid-template-areas:
    "big small1 small2"
    "big small3 small4";
  grid-gap: 10px;
  max-width: 1000px;
  margin: auto;
}

.bento-gallery .card {
  position: relative;
  overflow: hidden;
}

.card.big {
  grid-area: big;
}

.card.small:nth-of-type(2) { grid-area: small1; }
.card.small:nth-of-type(3) { grid-area: small2; }
.card.small:nth-of-type(4) { grid-area: small3; }
.card.small:nth-of-type(5) { grid-area: small4; }

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bento-gallery {
    grid-template-areas:
      "big"
      "small1"
      "small2"
      "small3"
      "small4";
    grid-template-columns: 1fr;
  }
}
.circular-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px;
}

.circular-gallery img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circular-gallery img:hover {
  transform: scale(1.1);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}
.true-focus {
  font-size: 3rem;
  font-weight: bold;
  color: #002855;
  display: block;       /* make it a block so text-align works */
  text-align: center;   /* center the text horizontally */
  overflow: hidden;
}

/* Animate each letter */
.true-focus span {
  display: inline-block;
  animation: focusLoop 2s ease-in-out infinite;
}

@keyframes focusLoop {
  0%, 100% {
    filter: blur(4px);
    transform: translateY(2px);
    opacity: 1.0;
  }
  50% {
    filter: blur(0px);
    transform: translateY(0);
    opacity: 1;
  }
}
footer {
  text-align: center;
  padding: 10px 0;
  background-color: #111; /* Your footer color */
  color: white;
}

.scroll-float-text {
  display: inline-block;
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.rotating-heading {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.rotating-words {
  position: relative;
  display: inline-block;
  height: 1em; /* ensures container height stays fixed */
  overflow: hidden;
}

.rotating-words .word {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  animation: rotateWords 4s linear infinite;
}

.rotating-words .word:nth-child(1) {
  animation-delay: 0s;
}
.rotating-words .word:nth-child(2) {
  animation-delay: 2s;
}

@keyframes rotateWords {
  0% { opacity: 0; transform: translateY(100%); }
  10% { opacity: 1; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 0; transform: translateY(-100%); }
}
.linkss{
  background-color: #ebf3fc;
}
.social-text{
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 25px;
  padding-left: 5px;
}
.title {
  font-size: 2rem;   /* adjust as per your design */
  font-weight: bold;
}

/* Typing cursor style */
.typed-cursor {
  font-weight: bold;
  color: #00f5d4; /* neon green cursor */
}
