/* ============================================= */
/*               FONT IMPORTS & SETUP            */
/* ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap'); /* Fallback for Gotham */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600&display=swap'); /* Fallback for Della Robbia BT */

/* If you have Gotham font files (host them yourself) */
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Bold.woff2') format('woff2'),
       url('fonts/Gotham-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Medium.woff2') format('woff2'),
       url('fonts/Gotham-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Book.woff2') format('woff2'),
       url('fonts/Gotham-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* If you have Della Robbia BT font files (host them yourself) */
@font-face {
  font-family: 'Della Robbia BT';
  src: url('fonts/DellaRobbiaBT-Roman.woff2') format('woff2'),
       url('fonts/DellaRobbiaBT-Roman.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* ============================================= */
/*               GLOBAL VARIABLES                */
/* ============================================= */
:root {
  --primary-green: #093916;
  --primary-gold: #eaa321;
  --dark-green: #052712;
  --light-gold: #f8d7a3;
  --light-gray: #f8f9fa;
  --dark-gray: #212529;
  --sparkle: rgba(255, 255, 255, 0.8);

  /* Font Variables */
  --big-font: 'Gotham', 'Montserrat', sans-serif; /* For big text (headings, buttons) */
  --small-font: 'Della Robbia BT', 'EB Garamond', serif; /* For small text (body, paragraphs) */
}

/* ============================================= */
/*               BASE STYLES                     */
/* ============================================= */
body {
  font-family: var(--small-font);
  color: var(--dark-gray);
  overflow-x: hidden;
  background-color: white;
  line-height: 1.6;
}

/* Big Text (Gotham) */
h1, h2, h3, h4, h5, h6,
.hero-title, 
.section-title,
.campus-btn,
.explore-btn,
.floating-tamtam,
.feature-card h3,
.news-card h3,
.tamtam-section h2,
.tamtam-feature h5 {
  font-family: var(--big-font);
  font-weight: 700;
}

/* Small Text (Della Robbia BT) */
p, a, li,
.hero-subtitle,
.feature-card p,
.news-card p,
.tamtam-section p,
.tamtam-feature p,
.footer p {
  font-family: var(--small-font);
  font-weight: 400;
}

/* ============================================= */
/*               ANIMATIONS                      */
/* ============================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes shine {
  0% { transform: rotate(30deg) translate(-25%, -25%); }
  100% { transform: rotate(30deg) translate(25%, 25%); }
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* ============================================= */
/*               HERO SECTION                    */
/* ============================================= */
.hero-section {
  min-height: 82vh;
  height: auto;
  background: 
    radial-gradient(circle at 20% 30%, rgba(234, 163, 33, 0.3) 0%, transparent 30%),
    linear-gradient(to bottom, var(--primary-green), var(--dark-green));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
}

.hero-content {
  z-index: 10;
  text-align: center;
  width: 100%;
  transform-style: preserve-3d;
  padding: 40px 0;
}

.hero-subtitle {
  font-size: clamp(0.8rem, 3vw, 1.5rem);
  letter-spacing: 3px;
  color: var(--primary-gold);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: bolder;
  color: white;
  text-shadow: 4px 4px 0px rgba(0,0,0,0.2);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
  position: relative;
  padding: 0 10px;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-gold);
  opacity: 0;
  animation: fadeIn 0.5s ease-out 1s forwards;
}

/* Hero Button */
.explore-btn {
  background-color: var(--primary-gold);
  color: var(--primary-green);
  border: none;
  padding: 0.8rem 2rem;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  opacity: 0;
  animation: fadeIn 0.5s ease-out 0.8s forwards;
  margin-top: 1rem;
}

.explore-btn:hover {
  transform: translateY(-5px) rotateX(15deg) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.explore-btn:active {
  transform: translateY(0) rotateX(0) scale(0.98);
}

.explore-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    transparent 45%,
    var(--sparkle) 50%,
    transparent 55%
  );
  transform: rotate(30deg) translate(-25%, -25%);
  opacity: 0;
  transition: all 0.5s ease;
}

.explore-btn:hover::before {
  opacity: 0.8;
  animation: shine 1.5s ease infinite;
}

/* Hero Floating Elements */
.campus-float {
  position: absolute;
  width: clamp(150px, 30vw, 300px);
  height: clamp(150px, 30vw, 300px);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
  animation: float 8s ease-in-out infinite;
  z-index: 1;
}

.campus-float:nth-child(1) {
  /* background-image: url('https://i.imgur.com/JK5X8yP.png'); - Removed floating image */
  display: none; /* Hide until proper image is added */
  top: 10%;
  left: 5%;
  animation-delay: 0s, 1s;
  animation-name: float, fadeIn;
}

.campus-float:nth-child(2) {
  /* background-image: url('https://i.imgur.com/JK5X8yP.png'); - Removed floating image */
  display: none; /* Hide until proper image is added */
  bottom: 10%;
  right: 5%;
  animation-delay: 2s, 1.5s;
  animation-name: float, fadeIn;
}

/* Hero Particles */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--primary-gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle linear infinite;
}

/* ============================================= */
/*               UI COMPONENTS                   */
/* ============================================= */

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-gold);
  color: var(--primary-green);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(234, 163, 33, 0.3);
}

.btn-primary-custom:hover {
  background-color: #e0951d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 163, 33, 0.4);
  color: var(--primary-green);
}

.btn-outline-custom {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: white;
  color: var(--primary-green);
  transform: translateY(-2px);
}

/* Section Titles */
.section-title {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 3rem;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 4px;
  background: var(--primary-gold);
  bottom: -12px;
  left: 0;
  border-radius: 2px;
}

.section-title.center:after {
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================= */
/*               CAMPUS SELECTOR                 */
/* ============================================= */
.campus-selector {
  display: inline-flex;
  background: white;
  border-radius: 50px;
  padding: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.campus-btn {
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  color: var(--dark-gray);
}

.campus-btn.active {
  background: var(--primary-green);
  color: white;
  box-shadow: 0 4px 10px rgba(9, 57, 22, 0.2);
}

/* ============================================= */
/*               FEATURE CARDS                   */
/* ============================================= */
.feature-card {
  height: 100%;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary-green);
  background-color: var(--light-gold);
}

/* ============================================= */
/*               NEWS CARDS                      */
/* ============================================= */
.news-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-gold);
  color: var(--primary-green);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================= */
/*               TAMTAM SECTION                  */
/* ============================================= */
.tamtam-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: white;
  border-radius: 20px;
}

.tamtam-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(234, 163, 33, 0.1);
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
}

.tamtam-feature {
  padding: 25px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tamtam-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.tamtam-feature i {
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

/* ============================================= */
/*               STATS SECTION                   */
/* ============================================= */
.stats-section {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

/* ============================================= */
/*               FLOATING TAMTAM                 */
/* ============================================= */
.floating-tamtam {
  position: fixed;
  width: 80px;
  height: 80px;
  background: var(--primary-gold);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: float 6s ease-in-out infinite;
}

.floating-tamtam:hover {
  transform: scale(1.1) translateY(-5px);
}

/* ============================================= */
/*               UTILITY CLASSES                 */
/* ============================================= */
.custom-link {
  text-decoration: none;
  color: inherit;
}

/* Optional: Change color on hover if needed */
.custom-link:hover {
  color: your-desired-hover-color;
}

/* ============================================= */
/*               RESPONSIVE STYLES               */
/* ============================================= */
@media (max-width: 992px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  
  .hero-subtitle {
    font-size: clamp(0.8rem, 3vw, 1.1rem);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px;
  }
  
  .hero-title::after {
    width: 60px;
    bottom: -10px;
  }
  
  .campus-float {
    opacity: 0.2;
  }
  
  .section-title.center:after {
    left: 0;
    transform: none;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-group .btn {
    width: 100%;
  }
  
  .tamtam-circle {
    display: none;
  }
  
  .tamtam-feature {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 40px 15px;
  }
  
  .hero-subtitle {
    letter-spacing: 2px;
  }
  
  .hero-title {
    margin-bottom: 1rem;
  }
  
  .explore-btn {
    padding: 0.7rem 1.8rem;
  }
  
  .campus-float {
    display: none;
  }
  
  .campus-selector {
    flex-direction: column;
    border-radius: 12px;
  }
  
  .campus-btn {
    width: 100%;
    border-radius: 0;
  }
  
  .campus-btn:first-child {
    border-radius: 12px 12px 0 0;
  }
  
  .campus-btn:last-child {
    border-radius: 0 0 12px 12px;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .floating-tamtam {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}