
html{
  scroll-behavior:smooth;
}
@font-face {
  font-family: 'uppea';
  src: url('fonts/UppEa Italic.ttf');
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background-color: #fcfbf7;
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow-x: hidden;
}
/* POPUP FIX */
#popup-toggle {
  display: none;
}

.popup-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #1a1a2e, #16213e, #0f3460);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  z-index: 99999;

  transform: translateY(-120%);
  opacity: 0;
  animation: popupIn 0.7s ease 2s forwards;
}

@keyframes popupIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-banner-close {
  cursor: pointer;
  font-size: 24px;
  padding: 10px 16px;
  border-radius: 50%;
  user-select: none;
}

.popup-banner-close:hover {
  background: rgba(255,255,255,0.2);
}

#popup-toggle:checked ~ .popup-banner {
  display: none;
}
a { text-decoration: none; color: inherit; }

#abt-us-oriel {
  font-style: italic;
  color: #367588;
  font-weight: 500;
}

/* === HEADER === */
#faculty-header {
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.fac-eyebrow {
  font-size: 14px;
  color: #888;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.fac-title {
  font-size: clamp(2.5rem, 5vw, 56px);
  font-weight: 500;
  color: #2c2c2a;
  font-family: 'Crimson Pro', serif;
  margin: 0;
}

.fac-divider-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.fac-line {
  height: 2px;
  width: 70px;
  background: #5dcaa5;
  border-radius: 2px;
}

.fac-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5dcaa5;
}

.fac-sub {
  font-size: 16px;
  color: #5f5e5a;
  max-width: 600px;
  margin: 0 auto;
}

/* === POLAROID SECTION === */
#polaroid-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  padding: 40px 0 120px;
}

.section-label {
  font-family: 'Crimson Pro', serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #2c2c2a;
}

.vcm-row {
  display: flex;
  justify-content: center;
  gap: 100px;
  width: 100%;
  flex-wrap: wrap;
}

.polaroid-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 15px;
}

.tape {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 35px;
  background-color: rgba(255,255,255,0.45);
  backdrop-filter: blur(3px);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.polaroid {
  width: 340px;
  background-color: #fefef9;
  padding: 15px 15px 35px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  transform: rotate(-1.5deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.04);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  z-index: 20;
}

.polaroid img {
  width: 100%;
  height: auto;
  border: 1px solid #f0f0f0;
  display: block;
}

.polaroid .container {
  text-align: center;
  margin-top: 20px;
}

.name {
  font-family: 'Crimson Pro', serif;
  font-size: 1.4rem;
  margin: 0;
  color: #1a1a1a;
}

.role {
  font-size: 0.95rem;
  color: #777;
  margin: 8px 0 0;
  letter-spacing: 0.02em;
}

/* === NAVIGATION === */
.dropdown {
  position: fixed;
  top: 25px;
  left: 25px;
  z-index: 1000;
  display: inline-block;
}


.btn {
  width: 150px;
  height: 55px;
  border-radius: 5px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn .icon {
  position: absolute;
  left: 12px;
  height: 40px;
  width: 35px;
  background: url('image-resources/menuuuuu.png') no-repeat center/contain;
  transition: all 0.5s ease;
}

.btn .text {
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.dropdown:hover .icon {
  left: 50%;
  transform: translateX(-50%) scale(1.1);
}

.dropdown:hover .text {
  opacity: 0;
  transform: translateY(-5px);
}

/* ICON */
.btn .icon {
  position: absolute;
  left: 0px;
  height: 40x;
  width: 35px;
  background: url('image-resources/menuuuuu.png') no-repeat center/contain;
  transition: all 0.5s ease;
}



.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(160,147,147,0.95);
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
  margin-top: 0px;
  overflow: hidden;
}

.dropdown:hover .dropdown-content { display: block; }

.dropdown-content a {
  color: #333;
  padding: 12px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}

.dropdown-content a:hover { background-color: #f5f5f5; }

.content-img {
  width: 22px;
  height: auto;
}

/* === FOOTER === */
#footer {
  background: linear-gradient(135deg, #686c92, #4ba095);
  color: #fff;
  padding: 60px 40px 30px;
  text-align: center;
}

#footer p {
  margin: 6px 0;
  opacity: 0.85;
  font-size: 0.95rem;
}

#footer a {
  color: #fff;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

#footer hr {
  width: 70%;
  margin: 25px auto;
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

#footer img {
  width: 40px;
  height: 40px;
  opacity: 0.75;
  transition: 0.3s;
}

#footer img:hover {
  opacity: 1;
  transform: scale(1.15);
}

#login-tut {
  font-size: 13px;
  opacity: 0.65;
  margin-top: 15px;
}

#login-tut a {
  color: #5dcaa5;
}

.oriel-name {
  font-style: italic;
  color: #5dcaa5;
  font-weight: 600;
}

#download-app-div {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}
/* MAIN GRID */
.footer-container{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: auto;
}

/* HEADINGS */
.footer-container h3{
  font-family: 'Crimson Pro', serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.footer-container h4{
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #5dcaa5;
}

/* TEXT */
.footer-small{
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-middle p,
.footer-left p{
  margin: 6px 0;
  opacity: 0.85;
  font-size: 0.95rem;
}

/* SOCIAL ICONS */
.social-icons{
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons img{
  width: 34px;
  height: 34px;
  opacity: 0.75;
  transition: 0.3s ease;
}

.social-icons img:hover{
  opacity: 1;
  transform: scale(1.15);
}

/* LOGIN NOTE */
.login-note{
  margin-top: 15px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.login-note a{
  color: #5dcaa5;
  text-decoration: none;
}

/* BOTTOM */
.footer-bottom{
  text-align: center;
  margin-top: 40px;
}

.footer-bottom hr{
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin-bottom: 15px;
}

.footer-bottom p{
  font-size: 0.85rem;
  opacity: 0.6;
}

/* MOBILE */
@media(max-width:768px){
  .footer-container{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons{
    justify-content: center;
  }
}


dropdown {
  position: fixed;
  top: 5px;
  left: 5px;
  z-index: 1000;
}

/* removes annoying hover gap bug */
.dropdown:hover {
  padding-bottom: 10px;
}

.btn {
  width: 150px;
  height: 50px;
  border-radius: 5px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.btn:hover {
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.btn .icon {
  position: relative;
  height: 40px;
  width: 40px;
  background: url('image-resources/menuuuuu.png') no-repeat center/contain;
  transition: all 0.5s ease;
}

.btn .text {
  transition: 0.4s;
}

/* icon moves center instead of glitching */
.dropdown:hover .icon {
  position: absolute;
  left: 25%;
  transform: translateX(50%);
}

.dropdown:hover .text {
  opacity: 0;
}

/* dropdown box */
.dropdown-content {
  display: none;
  position: absolute;
  top: 55px;
  left: 0;
  background: rgba(160,147,147,0.95);
  min-width: 210px;
  border-radius: 6px;
  overflow: hidden;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 16px;
  transition: 0.2s;
}

.dropdown-content a:hover {
  background: #ddd;
}

.content-img {
  width: 25px;
}



#oriel-font-2{
  font-family :'uppea';
font-size: 200%;
}


#faculty-chairman {
  display: flex;
  justify-content: center;
  align-items: center;
}

.polaroid-wrapper:first-of-type {
  display: flex;
  justify-content: center;
  width: 100%;
}


.polaroid-wrapper:first-of-type .tape {
  left: 50%;
  transform: translateX(-50%);
}