/* Vivekananda College of Law - Design System & Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Color Palette strictly from design reference */
  --jet-black: #111111;
  --charcoal-gray: #333333;
  --charcoal-light: #222222;
  --charcoal-card: #1c1c1c;
  --vibrant-orange: #FF8A00;
  --vibrant-orange-hover: #e57c00;
  --light-orange: #FFC580;
  --orange-tint: rgba(255, 138, 0, 0.08);
  --orange-glow: rgba(255, 138, 0, 0.28);
  --light-gray: #F5F5F5;
  --border-light: #E5E7EB;
  --border-dark: #2a2a2a;
  --surface-white: #FFFFFF;
  --text-muted: #6B7280;
  --text-dark: #1F2937;
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--surface-white);
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  color: var(--jet-black);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

/* Backgrounds */
.bg-jet-black {
  background-color: var(--jet-black);
}

.bg-charcoal {
  background-color: var(--charcoal-gray);
}

.bg-charcoal-card {
  background-color: var(--charcoal-card);
}

.bg-light-gray {
  background-color: var(--light-gray);
}

.bg-vibrant-orange {
  background-color: var(--vibrant-orange);
}

.bg-light-orange {
  background-color: var(--light-orange);
}

.text-vibrant-orange {
  color: var(--vibrant-orange);
}

.text-light-orange {
  color: var(--light-orange);
}

.border-vibrant-orange {
  border-color: var(--vibrant-orange);
}

/* Hero Section Split Layout & Diagonal Cut */
.hero-wrapper {
  position: relative;
  background-color: var(--jet-black);
  min-height: 600px;
  overflow: hidden;
}

.hero-diagonal-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54%;
  width: 14px;
  background: linear-gradient(180deg, #FF8A00 0%, #FFC580 100%);
  transform: skewX(-14deg);
  z-index: 10;
  box-shadow: 0 0 25px rgba(255, 138, 0, 0.4);
}

@media (max-width: 1024px) {
  .hero-diagonal-divider {
    display: none;
  }
}

.hero-watermark {
  position: absolute;
  left: -5%;
  bottom: -10%;
  width: 520px;
  height: 520px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

/* Page Inner Banner Hero */
.page-hero {
  background-color: var(--jet-black);
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem 4.5rem;
  border-bottom: 3px solid var(--vibrant-orange);
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb-link {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--vibrant-orange);
}

.nav-link-active {
  color: var(--vibrant-orange) !important;
  border-bottom: 2px solid var(--vibrant-orange);
}

/* Buttons strictly matching UI Elements section */
.btn-primary-orange {
  background-color: var(--vibrant-orange);
  color: #ffffff !important;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.85rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 138, 0, 0.3);
}

.btn-primary-orange:hover {
  background-color: var(--vibrant-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.45);
}

.btn-secondary-dark {
  background-color: var(--charcoal-gray);
  color: #ffffff !important;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.85rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary-dark:hover {
  background-color: #000000;
  border-color: var(--vibrant-orange);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff !important;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.85rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  border: 2px solid #ffffff;
  cursor: pointer;
  text-decoration: none;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--jet-black) !important;
  transform: translateY(-2px);
}

.btn-outline-orange {
  background-color: transparent;
  color: var(--vibrant-orange) !important;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.85rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  border: 2px solid var(--vibrant-orange);
  cursor: pointer;
  text-decoration: none;
}

.btn-outline-orange:hover {
  background-color: var(--vibrant-orange);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 138, 0, 0.3);
}

.text-link-orange {
  color: var(--vibrant-orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.text-link-orange:hover {
  color: var(--vibrant-orange-hover);
  gap: 0.6rem;
}

/* Badges */
.badge-orange {
  background-color: var(--vibrant-orange);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-block;
}

.badge-dark {
  background-color: var(--charcoal-gray);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-block;
}

.badge-outline {
  border: 1px solid var(--vibrant-orange);
  color: var(--vibrant-orange);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-block;
}

/* Feature Pillar Cards */
.pillar-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.12);
  border-color: rgba(255, 138, 0, 0.25);
}

.pillar-card:hover::before {
  background: var(--vibrant-orange);
}

.pillar-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 138, 0, 0.09);
  color: var(--vibrant-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 138, 0, 0.2);
}

.pillar-card:hover .pillar-icon-circle {
  background: var(--vibrant-orange);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(255, 138, 0, 0.35);
}

/* Quick Stats Bar */
.stats-strip {
  background-color: var(--jet-black);
  border-top: 1px solid #222222;
  border-bottom: 1px solid #222222;
  position: relative;
}

.stat-item {
  position: relative;
  text-align: center;
  padding: 2.25rem 1.5rem;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--vibrant-orange);
  border-radius: 2px;
}

.stat-number {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  color: #9CA3AF;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Program Cards */
.program-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--vibrant-orange);
}

.program-image-container {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: var(--charcoal-gray);
}

.program-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-image {
  transform: scale(1.06);
}

.program-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  border-left: 3px solid var(--vibrant-orange);
}

.program-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jet-black);
  margin-bottom: 0.25rem;
}

.program-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.program-desc {
  font-size: 0.9rem;
  color: #4B5563;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex-grow: 1;
}

.program-footer {
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Call to Action Banner */
.cta-banner {
  background-color: var(--jet-black);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 2.75rem 2.5rem;
  border: 1px solid #222222;
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Section Title Styling */
.section-tag {
  color: var(--vibrant-orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--vibrant-orange);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--jet-black);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Tab Navigation */
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
}

.tab-btn.active {
  background-color: var(--vibrant-orange);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

.tab-btn:hover:not(.active) {
  background-color: #f3f4f6;
  color: var(--jet-black);
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.close-modal-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #4b5563;
  z-index: 10;
}

.close-modal-btn:hover {
  background: var(--vibrant-orange);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--vibrant-orange);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}
