/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

/* Navigation */
.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.hero-section h1 {
  font-weight: 700;
  color: #2c3e50;
}

.hero-section .lead {
  color: #6c757d;
}

/* Cards */
.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 2rem;
}

/* Forms */
.form-control, .form-select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.form-control:focus, .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
  font-weight: 500;
  color: #495057;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-outline-primary {
  border-color: #0d6efd;
  color: #0d6efd;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: white;
}

/* Features Section */
.features-section i {
  color: #0d6efd;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: #212529;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #0d6efd !important;
}

.social-links a {
  font-size: 1.5rem;
  margin-right: 1rem;
}

/* Notifications */
.notification {
  max-width: 400px;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
      transform: translateX(100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

/* Form Validation */
.is-invalid {
  border-color: #dc3545;
}

.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
      padding: 40px 0;
  }
  
  .hero-section h1 {
      font-size: 2rem;
  }
  
  .card-body {
      padding: 1.5rem;
  }
  
  .btn-group {
      flex-direction: column;
  }
  
  .btn-group .btn {
      width: 100%;
      margin-bottom: 0.5rem;
  }
}

/* Profile Visibility Toggle */
.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* File Upload Styling */
input[type="file"] {
  padding: 0.5rem;
  font-size: 0.9rem;
}

/* Skills Input */
input[type="text"][placeholder*="Skills"] {
  font-size: 0.9rem;
}

/* Form Section Spacing */
.mb-3:last-child {
  margin-bottom: 0;
}

/* Card Shadow */
.card.shadow {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Link Styling */
a {
  text-decoration: none;
  color: #0d6efd;
  transition: color 0.3s ease;
}

a:hover {
  color: #0a58ca;
}

/* Form Text Helper */
.form-text {
  color: #6c757d;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Credit Packages */
.card.border-primary {
  border-width: 2px;
  position: relative;
  overflow: hidden;
}

/* Popular Ribbon */
.ribbon {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
}

.ribbon-top-right {
  top: -10px;
  right: -10px;
}

.ribbon-top-right::before,
.ribbon-top-right::after {
  border-top-color: transparent;
  border-right-color: transparent;
}

.ribbon-top-right::before {
  top: 0;
  left: 0;
}

.ribbon-top-right::after {
  bottom: 0;
  right: 0;
}

.ribbon-top-right span {
  position: absolute;
  top: 30px;
  right: -25px;
  transform: rotate(45deg);
  width: 200px;
  background-color: #0d6efd;
  padding: 5px 0;
  color: white;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Package Cards */
.card .display-6 {
  font-weight: 600;
}

.card-subtitle {
  color: #6c757d;
}

.card ul li {
  position: relative;
  padding-left: 25px;
}

.card ul li i {
  position: absolute;
  left: 0;
  top: 4px;
}

/* Credit History */
.table th {
  font-weight: 600;
  color: #495057;
}

.text-success {
  color: #198754 !important;
}

.text-danger {
  color: #dc3545 !important;
}

/* Referral Section */
.input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Share Buttons */
.btn-outline-primary:hover i {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* Credit Balance Card */
.display-4.text-primary {
  font-weight: 700;
  font-size: 3.5rem;
}

/* Animations */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .display-4.text-primary {
      font-size: 2.5rem;
  }
  
  .card-body {
      padding: 1.5rem;
  }
  
  .ribbon-top-right span {
      font-size: 12px;
      top: 20px;
      right: -35px;
  }
  
  .d-flex.gap-3 {
      flex-wrap: wrap;
  }
  
  .btn-outline-primary {
      width: 100%;
      margin-bottom: 0.5rem;
  }
}

/* Table Responsive */
.table-responsive {
  margin: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.table {
  margin-bottom: 0;
}

.table th:first-child,
.table td:first-child {
  padding-left: 1.5rem;
}

.table th:last-child,
.table td:last-child {
  padding-right: 1.5rem;
}

/* Package Features */
.list-unstyled li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.list-unstyled li:last-child {
  margin-bottom: 0;
}

/* Credit Balance Animation */
@keyframes countUp {
  from {
      transform: translateY(10px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

.display-4.text-primary {
  animation: countUp 0.5s ease-out;
}

/* Share Button Hover Effects */
.social-share .btn {
  position: relative;
  overflow: hidden;
}

.social-share .btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.social-share .btn:hover::after {
  width: 200%;
  height: 200%;
}

/* Icon Circle Styles */
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* All Pages Section Styles */
.bg-light {
  background-color: #f8f9fa;
}

.card .btn-outline-primary {
  margin-top: auto;
}

.card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-text {
  margin-bottom: 1.5rem;
}

/* Blog Card Styles */
.blog-card {
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.blog-card .badge {
  font-weight: 500;
  padding: 0.5em 1em;
}

.blog-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.blog-card .btn-link {
  color: var(--bs-primary);
  text-decoration: none;
  font-weight: 500;
}

.blog-card .btn-link:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}

/* Social Share Buttons */
.social-share .btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-share .btn:hover {
  transform: translateY(-2px);
}

.social-share .btn i {
  font-size: 0.875rem;
}

/* Responsive Blog Cards */
@media (max-width: 768px) {
  .blog-card .card-img-top {
      height: 180px;
  }
  
  .blog-card .card-title {
      font-size: 1rem;
  }
  
  .social-share .btn {
      width: 28px;
      height: 28px;
  }
} 