/* import "./fonts.css"; */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  /* background: linear-gradient(rgba(19, 57, 49, 0.9), rgba(19, 57, 49, 0.9)) , url("./jpeg/tiger-print.jpeg") no-repeat center center/cover !important; */
  background-color: #ede8d0; /* https://www.figma.com/colors/beige/ */
  color: #133931;
}

/* Color Variables */
.bg-darker-green {
  background-color: #133931 !important;
}
.bg-dark-green {
  background-color: #1b4444 !important;
}
.text-gold {
  color: #fda715 !important;
}
.btn-gold {
  background-color: #fda715;
  color: white;
  border: none;
}
.btn-gold:hover {
  background-color: #e09c10;
}

/* Hero Section Styles */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(rgba(19, 57, 49, 0.9), rgba(19, 57, 49, 0.9)),
    url("./jpeg/tiger-print.jpeg") no-repeat center center/cover !important;
  background-attachment: fixed;
  color: #133931;
}

/* Animated Background Pattern */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #133931 25%, transparent 25%) -50px 0,
    linear-gradient(-45deg, #133931 25%, transparent 25%) -50px 0,
    linear-gradient(45deg, transparent 75%, #133931 75%),
    linear-gradient(-45deg, transparent 75%, #133931 75%);
  background-size: 100px 100px;
  opacity: 0.1;
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% {
    background-position: 0 0, 0 0, 50px 50px, 50px 50px;
  }
  100% {
    background-position: 100px 0, 100px 0, 150px 50px, 150px 50px;
  }
}

/* Decorative Frame */
.hero-frame {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid rgba(253, 167, 21, 0.2);
  border-radius: 10px;
}

/* Animated Corner Accents */
.hero-accent {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 3px solid #fda715;
  opacity: 0.6;
}

.accent-tl {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}

.accent-tr {
  top: 10px;
  right: 10px;
  border-left: 0;
  border-bottom: 0;
}

.accent-bl {
  bottom: 10px;
  left: 10px;
  border-right: 0;
  border-top: 0;
}

.accent-br {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
}

/* Title Decoration */
.hero-title {
  position: relative;
  display: inline-block;
  padding: 0 30px;
}

.hero-title::before,
.hero-title::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fda715;
  font-size: 24px;
  opacity: 0.8;
}

.hero-title::before {
  left: 0;
}

.hero-title::after {
  right: 0;
}

/* Floating Leaves Animation */
.leaf {
  position: absolute;
  color: #fda715;
  opacity: 0.3;
  animation: float-leaf 10s ease-in-out infinite;
}

@keyframes float-leaf {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(20px, -20px) rotate(180deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* Enhanced Button */
.btn-dark-gold {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-dark-gold::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: all 0.5s ease;
}

.btn-dark-gold:hover::before {
  left: 100%;
}

/* Button Styling */
.btn-dark-gold {
  background-color: #fda715;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-dark-gold:hover {
  background-color: #e09c10;
}

/* Card Styling */
.card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  box-shadow: 8px 8px 16px #e6e6e6, -8px -8px 16px #ffffff;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #133931, #fda715);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.card:hover::before {
  opacity: 1;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(253, 167, 21, 0.05) 5%,
      transparent 5%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(19, 57, 49, 0.05) 5%,
      transparent 5%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(253, 167, 21, 0.05) 8%,
      transparent 8%
    );
  pointer-events: none;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  position: relative;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

/* Chancellor's Agenda Styling */
.agenda-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.agenda-card img {
  transition: transform 0.3s ease;
}

.agenda-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.agenda-card:hover img {
  transform: scale(1.1);
}

/* Header Colors */
.text-gold {
  color: #fda715 !important;
}

/* Countdown Section */
.countdown-section {
  position: relative;
  background: url("./jpeg/DSC05579.jpg") no-repeat center
    center/cover;
  padding: 80px 0;
  background-attachment: fixed;
}

/* Dark Overlay for Better Visibility */
.countdown-section .overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 60px 0;
}

/* Countdown Timer */
.countdown-timer {
  display: flex;
  gap: 20px;
}

.time-box {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 8px;
  width: 100px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.time-box span {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
}

.time-box small {
  font-size: 1rem;
}

/* Gold Button */
.btn-gold {
  background-color: #fda715;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-gold:hover {
  background-color: #e09c10;
}

/* Signup Section */
.signup-section {
  padding: 80px 0;
  background: #fff6ea;
}

/* Signup Cards */
.signup-card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 250px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
  text-align: center;
  cursor: pointer;
}

/* Dark Overlay */
.signup-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
}

/* Card Content */
.signup-card .card-content {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  opacity: 0.9;
}

.signup-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.signup-card p {
  font-size: 1rem;
  margin: 10px 0;
}

/* Button */
.signup-card .btn {
  background: #fda715;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.signup-card .btn:hover {
  background: #e09c10;
}

/* Hover Effect */
.signup-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.signup-card:hover::before {
  background: rgba(0, 0, 0, 0.7);
}

.signup-card:hover .card-content {
  transform: scale(1.1);
  opacity: 1;
}








/* Section Rounding and Spacing */
section {
  position: relative;
  border-radius: 0 0 50px 50px;
  margin-bottom: 60px;
  overflow: hidden;
}

/* Decorative Doodles */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.section-title::before,
.section-title::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fda715;
  font-size: 24px;
  opacity: 0.4;
}

.section-title::before {
  left: -30px;
}

.section-title::after {
  right: -30px;
}

/* Decorative Corner Elements */
.corner-decoration {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.1;
}

.top-left {
  top: 20px;
  left: 20px;
  border-top: 3px solid #133931;
  border-left: 3px solid #133931;
}

.bottom-right {
  bottom: 20px;
  right: 20px;
  border-bottom: 3px solid #fda715;
  border-right: 3px solid #fda715;
}

/* Floating Elements Animation */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.floating-element {
  position: absolute;
  font-size: 24px;
  color: #133931;
  opacity: 0.1;
  animation: float 3s ease-in-out infinite;
}

/* Additional floating decorative elements */
.floating-doodle {
  position: absolute;
  font-size: 24px;
  opacity: 0.15;
  animation: float 4s ease-in-out infinite;
}

.doodle-1 {
  content: "●";
}
.doodle-2 {
  content: "✦";
}
.doodle-3 {
  content: "♦";
}
.doodle-4 {
  content: "○";
}

/* Section positioning */
.section {
  position: relative;
}

/* Fixed Side Doodles */
.fixed-doodle {
  position: fixed;
  font-size: 32px;
  opacity: 0.08;
  z-index: 9999;
  color: #133931;
  pointer-events: none; /* Makes sure they don't interfere with clicking */
}

/* Left side doodles */
.doodle-left-1 {
  left: 20px;
  top: 10vh;
}

.doodle-left-2 {
  left: 30px;
  top: 25vh;
}

.doodle-left-3 {
  left: 25px;
  top: 75vh;
}

.doodle-left-4 {
  left: 15px;
  top: 90vh;
}

/* Right side doodles */
.doodle-right-1 {
  right: 20px;
  top: 10vh;
}

.doodle-right-2 {
  right: 30px;
  top: 25vh;
}

.doodle-right-3 {
  right: 25px;
  top: 75vh;
}

.doodle-right-4 {
  right: 15px;
  top: 90vh;
}

/* section:not(.hero):not(.about-section):not(.countdown-section) {
  background: url("./jpeg/tiger-print.jpeg") no-repeat center center/cover;
   background-attachment: fixed;
   background-color: #fff6ea;
} */

header {
  /* Layer a semi-transparent dark green over the tiger image */
  background: linear-gradient(rgba(19, 57, 49, 0.9), rgba(19, 57, 49, 0.9)),
    url("./jpeg/tiger-print.jpeg") no-repeat center center/cover !important;
  /* background-attachment: fixed; */
}

header nav a {
  font-weight: 900;
  /* Optionally, increase font-size for extra emphasis */
  /* font-size: 1.1rem; */
  color: #ffffff;
}

footer {
  background: linear-gradient(rgba(19, 57, 49, 0.9), rgba(19, 57, 49, 0.9)),
    url("./jpeg/tiger-print.jpeg") no-repeat center center/cover !important;
  /* background-attachment: fixed; */
}

.section-title {
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

/* Leadership Slider Styles */
.leadership-section {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.leadership-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.leadership-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.leadership-slide.active {
  display: block;
  opacity: 1;
}

.leadership-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px;
}

@media (max-width: 768px) {
  .leadership-content {
    flex-direction: column;
    text-align: center;
  }
}

.leadership-image {
  flex: 0 0 300px;
}

.leadership-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.leadership-info {
  flex: 1;
}

.leadership-info h2 {
  color: #133931;
  font-size: 28px;
  margin-bottom: 20px;
}

.leadership-info p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.prev-btn,
.next-btn {
  background-color: #133931;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: #0a1e1a;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #133931;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .leadership-slider .carousel-control-prev,
  .leadership-slider .carousel-control-next {
    width: 10%;
  }
  
  .leadership-slider .row {
    flex-direction: column;
    text-align: center;
  }
}


/* About Sections Wrapper */
.about-sections-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 4rem 0;
  background: linear-gradient(rgba(19, 57, 49, 0.8), rgba(19, 57, 49, 0.8)),
    url("./jpeg/DSC_2249.jpg") no-repeat center center/cover;
  background-attachment: fixed;
}

/* Common styles for about sections */
.about-esa-section,
.about-career-section {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
}

.about-career-section .profile-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 250px;
  margin: 0 auto 20px;
}

.about-career-section .profile-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* About cards */
.about-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Profile layout */
.about-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-image {
  width: 150px;
  height: 150px;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Career services logo */
.logo-container {
  width: 100%;
  max-width: 250px;
  margin: 0 auto 2rem;
}

.logo-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Carousel controls */
#esaCarousel .carousel-indicators {
  bottom: -3rem;
}

#esaCarousel .carousel-control-prev,
#esaCarousel .carousel-control-next {
  width: 10%;
  filter: invert(1);
}

#esaCarousel .carousel-control-prev-icon,
#esaCarousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  padding: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
  .about-sections-wrapper {
    flex-direction: column;
  }
  
  .about-card .card-body {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-image {
    margin-bottom: 1rem;
  }
}

.exhibitors-slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.exhibitors-track {
  display: flex;
  gap: 20px;
  animation: moveExhibitors 40s linear infinite;
  width: max-content;
}

.exhibitor-img {
  height: 80px; /* Uniform height */
  width: auto;  /* Maintain aspect ratio */
  object-fit: contain;
}

@keyframes moveExhibitors {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

