/* ============================================
   CCA - Career Counselling Advisor
   CLEAN + USED CSS (SEO & Performance Optimized)
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --gold: #C9A961;
  --gold-light: #E5D4A6;
  --gold-dark: #A68B4A;

  --cream: #FFF8E7;
  --dark: #1A1A1A;
  --white: #FFFFFF;

  --shadow-gold: 0 8px 25px rgba(201,169,97,.25);
}

/* ============================================
   GLOBAL RESET
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Remove ugly focus box */
a:focus,
button:focus {
  outline: none;
  box-shadow: none;
}

/* ============================================
   UTILITY (USED)
   ============================================ */
.text-gold { color: var(--gold); }
.bg-gold { background: var(--gold); }
.bg-cream { background: var(--cream); }
.shadow-gold { box-shadow: var(--shadow-gold); }

/* ============================================
   BUTTONS (USED)
   ============================================ */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  padding: 12px 32px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: .3s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(201,169,97,.35);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 32px;
  border-radius: 12px;
  background: transparent;
  font-weight: 600;
  transition: .3s ease;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
}

/* ============================================
   SECTION TITLE (USED)
   ============================================ */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #FF6B35);
  display: block;
  margin: 12px auto 0;
  border-radius: 999px;
}

/* ============================================
   HERO SLIDER (USED)
   ============================================ */
.hero-slider {
  position: relative;
  height: auto;
  min-height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 900px;
  z-index: 10;
}

.hero-content h1 {
  font-size: clamp(2rem,5vw,4rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: clamp(1rem,2vw,1.25rem);
  margin-bottom: 2rem;
}

/* ============================================
   SLIDER CONTROLS (USED)
   ============================================ */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201,169,97,.8);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.slider-arrow.prev { left: 2rem; }
.slider-arrow.next { right: 2rem; }

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .75rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  cursor: pointer;
}

.slider-dot.active {
  background: var(--gold);
  width: 30px;
  border-radius: 6px;
}

/* ============================================
   NAVBAR LOGO (USED)
   ============================================ */
.navbar-logo {
  height: 80px;
  transition: .3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

/* ============================================
   SCROLLBAR (ONE VERSION ONLY)
   ============================================ */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

/* ============================================
   RESPONSIVE (MINIMUM REQUIRED)
   ============================================ */
@media (max-width: 768px) {
  .hero-slider { min-height: 500px; }
  .navbar-logo { height: 65px; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 575px) {

  .hero-slider {
    min-height: auto;
    height: auto;
  }

  .slide {
    position: relative;
  }

  .slide img {
    height: auto;
    width: 100%;
    object-fit: contain; /* 🔥 THIS FIXES CUTTING */
  }

  .slider-arrow {
    width: 35px;
    height: 35px;
  }
}
