:root {
  --red: #ed1c24;
  --heading: #252525;
  --dark-bg: #1a1a1a;
  --medium-bg: #2a2a2a;
  --light-text: #f8f9fa;
  --medium-text: #cccccc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
}

.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: 0 70px; */
}

.content {
  flex: 1;
  padding: 40px 20px;
  text-align: center;
}

h1 {
  /* color: var(--heading);
            margin-bottom: 20px;
            border-bottom: 3px solid var(--red);
            display: inline-block;
            padding-bottom: 10px; */
}

p {
  /* font-size: 18px;
            line-height: 1.6; */
  /* margin-bottom: 30px; */
  /* max-width: 800px;
            margin-left: auto;
            margin-right: auto; */
}

.color-demo {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.color-box {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.red-box {
  background-color: var(--red);
}

.heading-box {
  background-color: var(--heading);
}

/* Footer Styles */
.college-footer-container {
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;

  max-width: 1320px;
  margin: 0 auto;
}

.college-footer-section {
  background: linear-gradient(to right, var(--dark-bg), var(--heading), #333);
  color: var(--light-text);
}

.footer-wave {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%231a1a1a'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  animation: waveAnimation 10s linear infinite;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section {
  padding: 0 15px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.logo-icon {
  font-size: 32px;
  margin-right: 15px;
  color: var(--red);
  animation: pulse 2s infinite;
}

.logo-text h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
}

.logo-text span {
  color: var(--red);
  font-weight: 300;
}

.footer-about p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--medium-text);
}

.footer-heading {
  font-family: Outfit;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 20px;

  letter-spacing: 1%;

  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: white;
}

.footer-heading:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--red);
  transition: width 0.3s ease;
}

.footer-section:hover .footer-heading:after {
  width: 80px;
}

.quick-links ul {
  list-style: none;
}

.quick-links li {
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.quick-links li:hover {
  transform: translateX(8px);
}

.quick-links a {
  color: var(--medium-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  font-family: Outfit;
  font-weight: 400;
  font-style: Regular;
  font-size: 15px;

  letter-spacing: 1%;
}

.quick-links a:hover {
  color: var(--red);
  text-shadow: 0 0 5px rgba(237, 28, 36, 0.3);
}

.quick-links i {
  margin-right: 10px;
  font-size: 12px;
  color: var(--red);
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 15px;
  color: var(--medium-text);
}

.contact-info i {
  margin-right: 12px;
  color: var(--red);
  font-size: 16px;
  width: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--red);
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 5px 15px rgba(237, 28, 36, 0.4);
}

/* Newsletter */
.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter-input::placeholder {
  color: #aaa;
}

.newsletter-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.newsletter-btn:hover {
  background: #c4171d;
  letter-spacing: 1px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #aaa;
  position: relative;
}

.footer-bottom a {
  color: var(--red);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
  text-decoration: underline;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  color: rgba(237, 28, 36, 0.15);
  font-size: 24px;
  animation: floatAround 15s infinite linear;
}

/* Campus Life Section */
.campus-life {
  margin-top: 20px;
}

.campus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.tag {
  background: rgba(237, 28, 36, 0.1);
  color: var(--red);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgba(237, 28, 36, 0.3);
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--red);
  color: white;
  transform: translateY(-3px);
}

/* Red Highlight Animations */
.red-highlight {
  position: relative;
  overflow: hidden;
}

.red-highlight:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(237, 28, 36, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.red-highlight:hover:before {
  left: 100%;
}

/* Animations */
@keyframes waveAnimation {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1200px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes floatAround {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, 40px) rotate(90deg);
  }
  50% {
    transform: translate(40px, 10px) rotate(180deg);
  }
  75% {
    transform: translate(10px, 30px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes redGlow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(237, 28, 36, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(237, 28, 36, 0.8);
  }
}

/* Emergency Contact */
.emergency-contact {
  background: rgba(237, 28, 36, 0.1);
  border-left: 4px solid var(--red);
  padding: 15px;
  margin-top: 20px;
  border-radius: 0 8px 8px 0;
  animation: redGlow 3s infinite;
}

.emergency-contact p {
  margin: 5px 0;
  font-size: 14px;
}

.emergency-contact i {
  color: var(--red);
  margin-right: 8px;
}

/* TOP NAV */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-menu {
  display: flex;
  gap: 26px;
  list-style: none;
  font-size: 14px;
}

.footer-menu li {
  opacity: 0.85;
  cursor: pointer;
}

.footer-menu .highlight {
  color: #ff2b2b;
  border-bottom: 2px solid #ff2b2b;
}

.footer-social i {
  margin-left: 12px;
  font-size: 14px;
  opacity: 0.7;
}

/* CARDS */
.footer-cards {
  display: flex;
  justify-content: space-between;
  padding: 30px 70px;
  gap: 25px;
}

.footer-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
 padding: 18px 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  font-size: 14px;
  position: relative;
  overflow: hidden;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Soft border glow */
.footer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

/* Light sweep */
.footer-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

/* Hover */
.footer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.footer-card:hover::before {
  opacity: 1;
}

.footer-card:hover::after {
  left: 120%;
}

.footer-card small {
  opacity: 0.7;
}

.footer-card .icon,
.footer-card .badge {
  color: #ff2b2b;
  font-weight: 700;
  font-size: 16px;
}

/* BOTTOM */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 15px 70px;
  font-size: 13px;
  opacity: 0.7;
}

.footer-bottom span {
  color: #ff2b2b;
}

.footer-card img {
  /* width: 36px;
  height: 34px; */
  animation: floatIcon 2.6s ease-in-out infinite;
}

/* Smooth infinite float */
@keyframes floatIcon {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-6px) rotate(-6deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
/* ================= COMPACT DESKTOP (1200px – 1500px) ================= */
@media (min-width: 1200px) and (max-width: 1500px) {
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(189px, 1fr));
    gap: 0px;
    margin-bottom: 40px;
  }

  /* Container spacing */
  .container {
    padding: 0 60px;
  }

  /* Top menu */
  .footer-menu {
    gap: 18px;
    font-size: 13px;
  }

  /* Footer cards */
  .footer-card {
    padding: 14px 18px;
    font-size: 13px;
    gap: 10px;
  }

  .footer-card .icon,
  .footer-card .badge {
    font-size: 14px;
  }

  /* Headings */
  .footer-heading {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .footer-heading:after {
    width: 40px;
    height: 2px;
  }

  /* Paragraphs & links */
  .footer-about p,
  .quick-links a,
  .contact-info p {
    font-size: 14px;
  }

  /* Social icons */
  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  /* Footer bottom text */
  .footer-bottom {
    font-size: 12px;
    padding: 12px 60px;
  }

  /* Newsletter */
  .newsletter-input {
    font-size: 13px;
    padding: 10px 12px;
  }

  .newsletter-btn {
    font-size: 13px;
    padding: 0 16px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .color-demo {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-section {
    text-align: center;
  }

  .footer-heading:after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ================================================= */
/* ================= RESPONSIVE ==================== */
/* ================================================= */

/* -------- Tablet (≤1024px) -------- */
/* @media (max-width: 1100px) {
  .quick-links ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .container {
    padding: 0 40px;
  }

  .footer-top,
  .footer-cards,
  .footer-content,
  .footer-bottom {
    padding-left: 40px;
    padding-right: 40px;
  }

  .footer-cards {
    flex-wrap: wrap;
  }

  .footer-card {
    flex: 1 1 calc(50% - 15px);
  }
} */

/* -------- Mobile (≤768px) -------- */
@media (max-width: 1200px) {
  .quick-links ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .container {
    padding: 0 25px;
  }

  .footer-top {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-cards {
    flex-direction: column;
  }

  .footer-card {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* -------- Small Mobile (≤480px) -------- */
@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .footer-top,
  .footer-cards,
  .footer-content,
  .footer-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-heading {
    font-size: 18px;
  }

  .quick-links a,
  .footer-card {
    font-size: 14px;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
