/* Vibrant Law College Color Scheme */
:root {
  --primary-blue: #1e5aa8;
  --secondary-blue: #2c5aa0;
  --accent-orange: #ff8c00;
  --accent-yellow: #ffd700;
  --light-blue: #e8f4fd;
  --dark-blue: #0f2c5c;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --light-gray: #f8f9fa;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-blue);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Navigation Styles */
.navbar-vibrant {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(30, 90, 168, 0.3);
  padding: 1rem 0;
  border-bottom: 3px solid var(--primary-blue);
}

.navbar-vibrant .navbar-brand {
  color: var(--primary-blue) !important;
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar-vibrant .navbar-brand:hover {
  color: var(--accent-orange) !important;
}

.navbar-vibrant .nav-link {
  color: var(--primary-blue) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  border-radius: 5px;
  margin: 0 0.2rem;
}

.navbar-vibrant .nav-link:hover {
  color: var(--primary-blue) !important;
  background-color: var(--light-blue);
  transform: translateY(-1px);
}

.navbar-vibrant .dropdown-toggle::after {
  color: var(--primary-blue);
}

.navbar-vibrant .dropdown-menu {
  background-color: var(--white);
  border: 1px solid var(--light-blue);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  margin-top: 0.5rem;
}

.navbar-vibrant .dropdown-item {
  color: var(--primary-blue);
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.navbar-vibrant .dropdown-item:hover {
  background-color: var(--light-blue);
  color: var(--primary-blue);
}

.navbar-toggler {
  border: 2px solid var(--primary-blue);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 90, 168, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-vibrant .dropdown-header {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem 0.25rem;
}

.navbar-vibrant .dropdown-divider {
  border-color: var(--light-blue);
  margin: 0.5rem 0;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 1000,0"/></svg>');
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Buttons */
.btn-vibrant-primary {
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
  border: none;
  color: var(--white);
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-vibrant-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
  color: var(--white);
}

.btn-vibrant-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-vibrant-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

/* Cards */
.card-vibrant {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card-vibrant:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-vibrant .card-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: var(--white);
  border: none;
  padding: 1.5rem;
}

.card-vibrant .card-body {
  padding: 2rem;
}

/* Feature Boxes */
.feature-box {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

/* Section Styles */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
}

/* Background Variations */
.bg-light-blue {
  background-color: var(--light-blue);
}

.bg-primary-blue {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: var(--white);
}

/* Footer */
.footer-vibrant {
  background: var(--dark-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-vibrant h5 {
  color: var(--accent-yellow);
  margin-bottom: 1rem;
}

.footer-vibrant a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-vibrant a:hover {
  color: var(--accent-yellow);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-box {
    margin-bottom: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom Spacing */
.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.my-6 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}