/* ===========================
   CCE FOOTER STYLES
   =========================== */

/* Body Layout for Sticky Footer */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main, #main-content {
  flex: 1 0 auto;
}

/* Main Footer Container */
.cce-footer {
  flex-shrink: 0;
  width: 100%;
  background: linear-gradient(135deg, #252163 0%, #2E1065 50%, #1a0d45 100%);
  color: #fff;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin-top: 4rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 -0.25rem 1.5rem rgba(0, 0, 0, 0.15);
}

.cce-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #ff8800 20%, 
    #ff8800 80%, 
    transparent 100%
  );
}

/* Footer Content Grid */
.cce-footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: 87.5rem;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  box-sizing: border-box;
}

.cce-footer__col {
  display: flex;
  flex-direction: column;
}

/* About Section */
.cce-footer__about {
  padding-right: 1rem;
}

.cce-footer__logo {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
  margin-bottom: 1.25rem;
}

.cce-footer__brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ff8800;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.cce-footer__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.cce-footer__inspire {
  font-style: italic;
  color: #ff8800;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Section Headings */
.cce-footer__heading {
  color: #ff8800;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.75rem;
}

.cce-footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 0.1875rem;
  background: #ff8800;
  border-radius: 0.125rem;
}

/* Links Section */
.cce-footer__links ul,
.cce-footer__faculty ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cce-footer__links li,
.cce-footer__faculty li {
  margin-bottom: 0.75rem;
}
.cce-footer__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding: 0.25rem 0;
}

.cce-footer__links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: #ff8800;
  transition: width 0.3s ease;
}

.cce-footer__links a:hover {
  color: #ff8800;
  padding-left: 0.5rem;
}

.cce-footer__links a:hover::before {
  width: 100%;
}

/* Faculty Section */
.cce-footer__faculty li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
}

.cce-footer__faculty li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #ff8800;
}

/* Contact Section */
.cce-footer__contact {
  font-size: 0.95rem;
}

.cce-footer__contact p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cce-footer__label {
  color: #ff8800;
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.cce-footer__contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cce-footer__contact a:hover {
  color: #ff8800;
}

.cce-footer__contact-btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #ff8800 0%, #ff6600 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem;
  padding: 0.875rem 2rem;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0.25rem 0.75rem rgba(255, 136, 0, 0.3);
  text-align: center;
}

.cce-footer__contact-btn:hover {
  background: linear-gradient(135deg, #ff6600 0%, #ff8800 100%);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1.25rem rgba(255, 136, 0, 0.4);
}

/* Bottom Bar */
.cce-footer__bottom-bar {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border-top: 0.0625rem solid rgba(255, 136, 0, 0.3);
  color: #fff;
  padding: 0;
  margin: 0;
  position: relative;
  backdrop-filter: blur(0.625rem);
}

.cce-footer__bottom-bar-container {
  max-width: 87.5rem;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
}

.cce-footer__bottom-bar-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.cce-footer__bottom-bar-right {
  display: flex;
  align-items: center;
}

.cce-footer__powered {
  color: rgba(255, 255, 255, 0.8);
}

.cce-footer__powered a {
  color: #ffd36c;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0 0.25rem;
  border-radius: 0.1875rem;
}

.cce-footer__powered a:hover {
  color: #ff8800;
  background: rgba(255, 136, 0, 0.1);
}

/* Social Icons */
.cce-footer__socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cce-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
  position: relative;
  text-decoration: none;
  backdrop-filter: blur(0.625rem);
}

.cce-footer__socials a i {
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cce-footer__socials a[href*="facebook"]:hover {
  background: #1877f3;
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.375rem 1rem rgba(24, 119, 243, 0.4);
}

.cce-footer__socials a[href*="twitter"]:hover {
  background: #1da1f2;
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.375rem 1rem rgba(29, 161, 242, 0.4);
}

.cce-footer__socials a[href*="linkedin"]:hover {
  background: #0077b5;
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.375rem 1rem rgba(0, 119, 181, 0.4);
}

.cce-footer__socials a[href*="instagram"]:hover {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.375rem 1rem rgba(214, 36, 159, 0.4);
}

.cce-footer__socials a[href*="youtube"]:hover {
  background: #ff0000;
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.375rem 1rem rgba(255, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 64em) {
  .cce-footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 3rem 2rem 2.5rem;
  }

  .cce-footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 48em) {
  .cce-footer__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 1.5rem 2rem;
  }

  .cce-footer__about {
    grid-column: 1;
    padding-right: 0;
    text-align: left;
  }

  .cce-footer__logo {
    margin-left: 0;
    margin-right: 0;
  }

  .cce-footer__heading {
    text-align: left;
  }

  .cce-footer__heading::after {
    left: 0;
    transform: none;
  }

  .cce-footer__links ul,
  .cce-footer__faculty ul {
    text-align: left;
  }

  .cce-footer__links li,
  .cce-footer__faculty li {
    padding-left: 0;
    text-align: left;
  }

  .cce-footer__links a {
    display: block;
  }

  .cce-footer__faculty li {
    padding-left: 1rem;
  }

  .cce-footer__faculty li::before {
    display: block;
  }

  .cce-footer__contact {
    text-align: left;
  }

  .cce-footer__contact p {
    margin-bottom: 1.25rem;
  }

  .cce-footer__contact-btn {
    width: 100%;
    max-width: 100%;
    padding: 1rem 2rem;
  }

  .cce-footer__bottom-bar-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem;
    text-align: center;
  }

  .cce-footer__bottom-bar-left {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .cce-footer__bottom-bar-right {
    justify-content: center;
  }

  .cce-footer__socials {
    gap: 1rem;
    justify-content: center;
  }

  .cce-footer__socials a {
    width: 2.75rem;
    height: 2.75rem;
  }

  .cce-footer__socials a i {
    font-size: 1.125rem;
  }
}

@media (max-width: 30em) {
  .cce-footer__container {
    padding: 2rem 1.25rem 1.5rem;
    gap: 2rem;
  }

  .cce-footer__logo {
    width: 4rem;
    height: 4rem;
  }

  .cce-footer__brand {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .cce-footer__desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .cce-footer__inspire {
    font-size: 0.95rem;
  }

  .cce-footer__heading {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .cce-footer__links a,
  .cce-footer__faculty li {
    font-size: 0.875rem;
  }

  .cce-footer__links li,
  .cce-footer__faculty li {
    margin-bottom: 0.625rem;
  }

  .cce-footer__contact {
    font-size: 0.875rem;
  }

  .cce-footer__contact p {
    margin-bottom: 1rem;
    line-height: 1.7;
  }

  .cce-footer__label {
    font-size: 0.9rem;
  }

  .cce-footer__contact-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    margin-top: 1rem;
  }

  .cce-footer__bottom-bar-container {
    padding: 1.25rem 1.25rem;
  }

  .cce-footer__bottom-bar-left {
    font-size: 0.8rem;
  }

  .cce-footer__copyright,
  .cce-footer__powered {
    font-size: 0.8rem;
  }

  .cce-footer__socials a {
    width: 2.5rem;
    height: 2.5rem;
  }
}