/* Valencia College EduPorch Learning Platform Custom Styles */

:root {
  --brand-primary: #7B1D1D;
  --brand-accent: #E53935;
  --background: #F8FAFC;
  --text: #1F2937;
}

body {
  font-family: 'Inter', sans-serif !important;
  background: linear-gradient(135deg, var(--background) 0%, #f1f5f9 100%) !important;
  color: var(--text) !important;
  line-height: 1.6;
}

/* Override Bootstrap container for better control */
.container {
  max-width: 1200px !important;
}

/* Header */
header {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Hero Section */
.hero {
  text-align: center;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image Carousel */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero Content Overlay */
.hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 4px 8px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #f8f9fa;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: 400;
  line-height: 1.6;
}



/* Course Selection */
.course-selection {
  padding: 4rem 0;
  background: white;
}

.course-selection h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--brand-primary);
}

.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.course-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--brand-accent);
}

.course-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--brand-primary);
}

.course-card p {
  margin-bottom: 1.5rem;
  color: #6b7280;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--brand-accent);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn:hover {
  background-color: var(--brand-primary);
}



/* Fancy Button Animations */
.btn-animated {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.btn-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.btn-animated:hover::before {
  left: 100%;
}

.btn-animated:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-glow {
  box-shadow: 0 0 0 rgba(124, 58, 237, 0.4);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(124, 58, 237, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
  }
}

.btn-lift {
  transition: all 0.3s ease;
}

.btn-lift:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-gradient {
  background: linear-gradient(45deg, var(--brand-accent), var(--brand-primary));
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  color: white;
  border: none;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Special CTA Button */
.btn-cta {
  background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-primary) 100%);
  border: none;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
  animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
  }
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

/* Button hover effects for different states */
.btn-outline-primary {
  border-color: var(--brand-accent);
  color: var(--background);
  border-radius: 25px;
  transition: all 0.3s ease;
  border-width: 2px;
}

.btn-outline-primary:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--background);
  color: var(--brand-accent);
  border-radius: 25px;
  transition: all 0.3s ease;
  border-width: 2px;
}

.btn-outline:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Info Cards */
.info-section {
  padding: 4rem 0;
  background: var(--background);
}

.info-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--brand-primary);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
}

.info-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 50%, #4ECDC4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--brand-primary);
}

/* Footer */
footer {
  background: var(--text);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

footer p {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--brand-accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Footer Logos */
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.eduporch-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
  border-radius: 5px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.eduporch-logo:hover {
  opacity: 1;
}

/* Floating Academic Icons Animation */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.7;
  animation: floatOrbit linear infinite;
}

.floating-icon i {
  display: block;
  color: var(--brand-primary);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: color 0.3s ease;
}

.floating-icon:hover i {
  color: var(--brand-accent);
}

/* Individual icon animations with different orbits */
.icon-1 {
  top: 20%;
  left: 10%;
  animation-duration: 25s;
  animation-delay: 0s;
  font-size: 2.5rem;
}

.icon-2 {
  top: 15%;
  right: 15%;
  animation-duration: 30s;
  animation-delay: -5s;
  font-size: 1.8rem;
}

.icon-3 {
  bottom: 25%;
  left: 8%;
  animation-duration: 35s;
  animation-delay: -10s;
  font-size: 2.2rem;
}

.icon-4 {
  bottom: 20%;
  right: 10%;
  animation-duration: 28s;
  animation-delay: -15s;
  font-size: 1.6rem;
}

.icon-5 {
  top: 35%;
  left: 85%;
  animation-duration: 32s;
  animation-delay: -8s;
  font-size: 1.9rem;
}

.icon-6 {
  bottom: 35%;
  left: 80%;
  animation-duration: 27s;
  animation-delay: -12s;
  font-size: 2.1rem;
}

/* Orbital floating animation */
@keyframes floatOrbit {
  0% {
    transform: rotate(0deg) translateX(50px) rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(90deg) translateX(80px) rotate(-90deg) scale(1.1);
  }

  50% {
    transform: rotate(180deg) translateX(60px) rotate(-180deg) scale(0.9);
  }

  75% {
    transform: rotate(270deg) translateX(90px) rotate(-270deg) scale(1.05);
  }

  100% {
    transform: rotate(360deg) translateX(50px) rotate(-360deg) scale(1);
  }
}

/* Additional floating variations for more natural movement */
.icon-1 i {
  animation: gentleFloat 6s ease-in-out infinite alternate;
}

.icon-3 i {
  animation: gentleFloat 8s ease-in-out infinite alternate-reverse;
}

.icon-5 i {
  animation: gentleFloat 7s ease-in-out infinite alternate;
}

@keyframes gentleFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Navigation Menu Toggle (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--brand-primary);
  transition: 0.3s;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem;
  text-align: center;
}

nav a:hover {
  color: var(--brand-accent);
}

/* Responsive Design */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.4rem;
    max-width: 800px;
  }

  .courses {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium Desktops/Tablets (768px - 1199px) */
@media (max-width: 1199px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .course-selection h2,
  .info-section h2 {
    font-size: 1.8rem;
  }

  .courses {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .info-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Small Tablets (480px - 767px) */
@media (max-width: 767px) {
  .course-selection,
  .info-section {
    padding: 3rem 0;
  }

  .course-selection h2,
  .info-section h2 {
    font-size: 1.5rem;
  }

  .courses,
  .info-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .course-card,
  .info-card {
    padding: 1.5rem;
  }

  .course-card h3 {
    font-size: 1.25rem;
  }

  .info-card .icon {
    font-size: 2.5rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  footer {
    padding: 1.5rem 0;
  }

  footer p {
    font-size: 0.9rem;
  }
}

/* Mobile Phones (320px - 479px) */
@media (max-width: 479px) {
  .container {
    padding: 0 0.75rem;
  }

  .logo-img {
    height: 40px;
    max-width: 150px;
  }

  .course-selection,
  .info-section {
    padding: 2rem 0;
  }

  .course-selection h2,
  .info-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .course-card,
  .info-card {
    padding: 1.25rem;
    border-radius: 8px;
  }

  .course-card h3,
  .info-card h3 {
    font-size: 1.1rem;
  }

  .course-card p,
  .info-card p {
    font-size: 0.9rem;
  }

  .info-card .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .btn {
    padding: 0.625rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  footer {
    padding: 1.25rem 0;
  }

  footer p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .footer-logos {
    flex-direction: column;
    gap: 0.5rem;
  }

  .eduporch-logo {
    height: 30px;
  }
}
