:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --success-color: #025023;
  --success-light-color: #008f3b;

  /* Fonts */
  --font-heading: "Domine", serif;
  --font-body: "Outfit", sans-serif;
  /* --font-body: 'Inter', 'Open Sans', sans-serif; */
  --font-serif: "Domine", serif;
}

body {
  font-family: var(--font-body);
  color: #333;
  line-height: 1.6;
  padding-top: 76px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 45px;
  width: 45px;
  object-fit: contain;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--light-color) !important;
}

.bg-success-custom {
  background-color: var(--success-color) !important;
}

.text-success-custom {
  color: var(--success-color) !important;
}

.btn-success-custom {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: white;
}

.btn-success-custom:hover {
  background-color: #026841;
  border-color: #026841;
  color: aliceblue;
}

.hero-section {
  position: relative;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0.55) 75%,
      rgba(0, 0, 0, 0.75) 100%
    ),
    url("../images/img_bg_1.jpg");
  background-size: cover;
  background-position: center;
  padding-top: 25rem;
  padding-bottom: 5rem;
}

.hero-about-section {
  position: relative;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0.55) 75%,
      rgba(0, 0, 0, 0.75) 100%
    ),
    url("../images/nick1.jpeg");
  background-size: cover;
  background-position: center;
  padding-top: 20rem;
  padding-bottom: 5rem;
}

.hero-section h1,
.hero-section p {
  color: #ffffff;
  text-shadow: 2px 3px 10px rgba(0, 0, 0, 0.8);
}
.hero-about-section h1,
.hero-about-section p {
  color: #ffffff;
  text-shadow: 2px 3px 10px rgba(0, 0, 0, 0.8);
}

.footer {
  background-color: var(--success-color);
  color: white;
  padding: 40px 0 20px;
}

.footer a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer h5 {
  color: var(--light-color);
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.badge-category {
  background-color: var(--secondary-color);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .hero-section {
    padding: 60px 0;
  }

  .hero-about-section {
    padding: 60px 0;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }

  .navbar-brand img {
    height: 40px;
    width: 40px;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.3rem;
  }

  .navbar-brand img {
    height: 35px;
    width: 35px;
    margin-right: 8px;
  }
}
@media (max-width: 991px) {
  .hero-section {
    padding-top: 28rem; /* pushes text down */
    padding-bottom: 6rem;
  }
  @media (max-width: 576px) {
    .hero-section {
      padding-top: 32rem;
      padding-bottom: 7rem;
    }

    .hero-about-section {
      padding-top: 28rem; /* pushes text down */
      padding-bottom: 6rem;
    }
  }
  @media (max-width: 576px) {
    .hero-about-section {
      padding-top: 32rem;
      padding-bottom: 7rem;
    }
  }
}
/* Founder/Organizations Section Styling */
.logo-container {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  max-width: 100%;
  height: auto;
  filter: grayscale(0%);
  transition: all 0.3s ease;
}

.card:hover .logo-container img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* About Page Specific Styles */
:root {
  --success-color: #025023;
  --success-light-color: #008f3b;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--success-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -36px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--success-color);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--success-color);
}

.timeline-date {
  font-weight: 600;
  color: var(--success-color);
  margin-bottom: 5px;
}

.timeline-content h5 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.card-header h5 {
  color: #ffffff;
}

/* Education Timeline */
.education-timeline {
  position: relative;
  padding-left: 20px;
}

.education-timeline:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--success-light-color);
}

.education-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
}

.education-item:last-child {
  margin-bottom: 0;
}

.education-item:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--success-light-color);
}

.education-year {
  font-weight: 600;
  color: var(--success-color);
  margin-bottom: 5px;
}

.education-details h6 {
  color: var(--primary-color);
  margin-bottom: 3px;
}

/* Divider Line */
.divider-line {
  height: 3px;
  width: 80px;
  background: linear-gradient(
    to right,
    var(--success-color),
    var(--success-light-color)
  );
  margin: 10px auto 30px;
  border-radius: 3px;
}

/* Certification Cards */
.certification-card {
  border: 1px solid rgba(2, 80, 35, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(2, 80, 35, 0.1);
  border-color: var(--success-color);
}

/* Profile Placeholder */
.profile-placeholder {
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Icon Container */
.icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: rgba(2, 80, 35, 0.1);
  border-radius: 50%;
  margin-bottom: 20px;
}

/* List Group Custom */
.list-group-item {
  border-left: 0;
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.list-group-item:first-child {
  border-top: 0;
}

.list-group-item:last-child {
  border-bottom: 0;
}
.profile-image {
  width: 250px;
  height: 250px;
  object-fit: cover; /* Keeps portrait proportional */
  object-position: top; /* Keeps face visible since he's seated */
  border: 5px solid #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .timeline {
    padding-left: 20px;
  }

  .timeline:before {
    left: 10px;
  }

  .timeline-item:before {
    left: -26px;
  }

  .profile-placeholder {
    width: 200px !important;
    height: 200px !important;
  }
}

/* Contact Page Specific Styles */
.office-card {
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(2, 80, 35, 0.1);
  transition: all 0.3s ease;
}

.office-card:hover {
  border-color: var(--success-color);
  box-shadow: 0 5px 15px rgba(2, 80, 35, 0.1);
  transform: translateY(-2px);
}

.office-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(2, 80, 35, 0.1);
  border-radius: 50%;
}

.map-placeholder {
  border-radius: 0 0 8px 8px;
  transition: all 0.3s ease;
}

.map-placeholder:hover {
  background-color: rgba(2, 80, 35, 0.05) !important;
}

/* Form Styling */
.form-label {
  font-weight: 600;
  color: var(--primary-color);
}

.input-group-text {
  background-color: rgba(2, 80, 35, 0.05);
  border-color: #dee2e6;
  color: var(--success-color);
}

.input-group:focus-within .input-group-text {
  background-color: var(--success-color);
  color: white;
  border-color: var(--success-color);
}

/* Accordion Styling */
.accordion-button {
  font-weight: 600;
  color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
  background-color: rgba(2, 80, 35, 0.1);
  color: var(--success-color);
  border-color: var(--success-color);
}

.accordion-button:focus {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.25rem rgba(2, 80, 35, 0.25);
}

/* Contact Details */
.contact-details a {
  color: #495057;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--success-color);
}

/* Success/Error Alert Enhancement */
.alert-success {
  background-color: rgba(2, 80, 35, 0.1);
  border-color: var(--success-color);
  color: var(--success-color);
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  border-color: #dc3545;
  color: #dc3545;
}

/* Responsive Adjustments for Contact Page */
@media (max-width: 768px) {
  .hero-section .card {
    margin-top: 20px;
  }
  .hero-about-section .card {
    margin-top: 20px;
  }

  .office-card {
    padding: 10px;
  }

  .map-placeholder {
    height: 200px !important;
  }
}

/* Form Validation Styling */
.form-control:invalid {
  border-color: #dc3545;
}

.form-control:valid {
  border-color: var(--success-color);
}
.form-control:focus {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.25rem rgba(2, 80, 35, 0.25);
}

/* Unique Hero Section for Videos Page */
.video-hero-section {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  padding: 100px 0 80px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.video-hero-section .min-vh-70 {
  min-height: 70vh;
}

.hero-content .display-3 {
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats .stat-item {
  text-align: center;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats .stat-number {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 5px;
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.video-preview-card {
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.video-preview-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.video-thumbnail {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 80, 35, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-button-overlay {
  opacity: 1;
}

.play-button-circle {
  width: 80px;
  height: 80px;
  background: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.play-button-circle i {
  font-size: 30px;
  color: white;
  margin-left: 5px;
}

.video-thumbnail:hover .play-button-circle {
  transform: scale(1);
}

.floating-element {
  position: absolute;
  font-size: 24px;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.floating-element.element-1 {
  top: -20px;
  right: 30px;
  animation-delay: 0s;
}

.floating-element.element-2 {
  bottom: 40px;
  right: -10px;
  animation-delay: 2s;
}

.floating-element.element-3 {
  top: 50%;
  left: -15px;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Animated Background Elements */
.hero-background-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.circle,
.square {
  position: absolute;
  border: 1px solid rgba(2, 80, 35, 0.1);
  border-radius: 50%;
  animation: pulse 15s infinite linear;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -50px;
  animation-delay: 5s;
}

.circle-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 20%;
  animation-delay: 10s;
}

.circle-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 7s;
}

.square {
  border-radius: 10px;
}

.square-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  transform: rotate(45deg);
  animation-delay: 3s;
}

.square-2 {
  width: 120px;
  height: 120px;
  bottom: 10%;
  right: 10%;
  transform: rotate(45deg);
  animation-delay: 8s;
}

@keyframes pulse {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.3;
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 0.1;
  }
}

/* Featured Video Section */
.featured-video-container {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-video-info .meta-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background: rgba(2, 80, 35, 0.1);
  border-radius: 20px;
  font-weight: 500;
}

/* Category Filter */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid #e9ecef;
  background: white;
  border-radius: 25px;
  font-weight: 600;
  color: #495057;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--success-color);
  color: white;
  border-color: var(--success-color);
  transform: translateY(-2px);
}

/* Video Cards */
.video-thumbnail-container {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.video-thumbnail-container img {
  transition: transform 0.5s ease;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.video-card:hover .video-thumbnail-container img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-btn {
  width: 60px;
  height: 60px;
  background: var(--success-color);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
  background: var(--success-light-color);
}

.duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
}

/* Subscribe Section */
.subscribe-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fills the div without distortion */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .video-hero-section {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .hero-stats .stat-number {
    font-size: 2rem;
  }

  .video-preview-card {
    transform: none;
    margin-top: 40px;
  }

  .hero-content .display-3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .video-hero-section {
    padding: 60px 0 40px;
  }

  .hero-stats {
    gap: 15px !important;
  }

  .hero-stats .stat-item {
    padding: 10px 15px;
    flex: 1;
    min-width: calc(50% - 15px);
  }

  .category-filter {
    gap: 5px;
  }

  .filter-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

/* =========================================
   PHOTOS PAGE – CLEAN & STABLE STYLES
========================================= */

/* =========================================
   PHOTO GALLERY – MODERN & APPEALING DESIGN
========================================= */

:root {
  --brand-green: #025023;
  --brand-green-light: #0a6b3c;
  --accent-green: #2ecc71;
  --dark-bg: #0a1929;
  --card-bg: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -----------------------------------------
   HERO SECTION - IMPROVED
------------------------------------------ */
.photos-hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #152642 100%);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.photos-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(46, 204, 113, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 80% 20%, rgba(2, 80, 35, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.photos-hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #2ecc71 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.photos-hero-section .lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Search Form */
.search-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.search-form-wrapper .form-control {
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1.1rem;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.search-form-wrapper .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
  outline: none;
}

.search-form-wrapper .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-form-wrapper .btn {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--accent-green);
  border: 2px solid var(--accent-green);
  padding: 1.2rem 2rem;
  font-weight: 600;
  transition: var(--transition);
}

.search-form-wrapper .btn:hover {
  background: #27ae60;
  border-color: #27ae60;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

/* Stats Counter */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* Add these styles to your existing CSS file */

/* Text gradient effect */
.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Letter spacing utility */
.letter-spacing-1 {
  letter-spacing: 1px;
}

/* Hero image wrapper with subtle effects */
.hero-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.hero-image-wrapper img {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-image-wrapper:hover img {
  transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
}

/* Search form improvements */
.search-form-wrapper .input-group-lg .form-control {
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
}

.search-form-wrapper .btn-success {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  transition: all 0.3s ease;
}

.search-form-wrapper .btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Stats items */
.hero-stats .stat-item {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  min-width: 140px;
  transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .display-5 {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stats .stat-item {
    min-width: 100%;
  }

  .hero-image-wrapper img {
    transform: none !important;
  }
}

/* Subtle border animation for search input */
.search-form-wrapper input:focus {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  border-color: #667eea;
}

/* Smooth transitions */
.stat-item,
.search-form-wrapper .btn,
.hero-image-wrapper img {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-green);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* -----------------------------------------
   FILTERS SECTION - MODERN
------------------------------------------ */
.filter-section {
  background: var(--card-bg);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex: 1;
}

.category-btn {
  padding: 0.6rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  background: white;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-btn:hover {
  border-color: var(--accent-green);
  color: var(--brand-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-btn.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: white;
  box-shadow: var(--shadow-sm);
}

.category-btn.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-green);
}

.category-count {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-left: 4px;
}

.filter-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.total-counter {
  font-weight: 600;
  color: var(--brand-green);
}

/* -----------------------------------------
   GALLERY SECTION - MASONRY STYLE
------------------------------------------ */
.gallery-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.gallery-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.gallery-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--brand-green),
    var(--accent-green)
  );
  border-radius: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Photo Card - Modern Design */
.photo-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.photo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.photo-card:hover .photo-image img {
  transform: scale(1.05);
}

.photo-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.photo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.photo-card:hover .photo-overlay {
  opacity: 1;
}

.photo-actions {
  display: flex;
  gap: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.photo-card:hover .photo-actions {
  transform: translateY(0);
}

.photo-actions .btn {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.btn-view {
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-green);
}

.btn-view:hover {
  background: white;
  color: var(--brand-green);
  transform: translateY(-1px);
}

.btn-download {
  background: var(--accent-green);
  color: white;
}

.btn-download:hover {
  background: #27ae60;
  transform: translateY(-1px);
}

.photo-info {
  padding: 1.5rem;
}

.photo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.photo-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.photo-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(46, 204, 113, 0.1);
  color: var(--brand-green);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.photo-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.photo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.photo-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.photo-date i {
  color: var(--accent-green);
}

.photo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #f5f5f5;
  color: #666;
  border-radius: 4px;
  font-size: 0.75rem;
  transition: var(--transition);
}

.tag:hover {
  background: #e0e0e0;
  color: var(--text-primary);
}

/* Empty State */
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
}

.empty-icon {
  font-size: 4rem;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
}

.empty-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* -----------------------------------------
   PAGINATION - MODERN
------------------------------------------ */
.pagination-section {
  padding: 2rem 0;
}

.pagination-custom .page-item .page-link {
  border: none;
  color: var(--text-secondary);
  padding: 0.75rem 1.25rem;
  margin: 0 0.25rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: var(--transition);
  background: white;
}

.pagination-custom .page-item .page-link:hover {
  background: #f5f5f5;
  color: var(--brand-green);
  transform: translateY(-1px);
}

.pagination-custom .page-item.active .page-link {
  background: linear-gradient(135deg, var(--brand-green), var(--accent-green));
  color: white;
  box-shadow: var(--shadow-sm);
}

.pagination-custom .page-item.disabled .page-link {
  color: #ccc;
  background: #fafafa;
}

.pagination-info {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* -----------------------------------------
   MODAL - FULLSCREEN VIEWER
------------------------------------------ */
.modal-fullscreen .modal-content {
  background: #000;
  border: none;
  border-radius: 0;
}

.modal-photo-viewer .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.8);
  padding: 1rem;
}

.modal-photo-viewer .modal-title {
  color: white;
  font-weight: 500;
}

.modal-photo-viewer .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.modal-photo-viewer .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.modal-photo-viewer .modal-body img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.modal-photo-viewer .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.8);
  padding: 1rem;
}

.photo-details {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

/* -----------------------------------------
   ANIMATIONS
------------------------------------------ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* -----------------------------------------
   RESPONSIVE DESIGN
------------------------------------------ */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 992px) {
  .photos-hero-section {
    padding: 4rem 0;
  }

  .photos-hero-section h1 {
    font-size: 2.8rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .photos-hero-section h1 {
    font-size: 2.2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .filter-container {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-categories {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-item {
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 576px) {
  .photos-hero-section {
    padding: 3rem 0;
  }

  .photos-hero-section h1 {
    font-size: 1.8rem;
  }

  .photos-hero-section .lead {
    font-size: 1rem;
  }

  .search-form-wrapper .form-control,
  .search-form-wrapper .btn {
    padding: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .photo-info {
    padding: 1rem;
  }

  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* Loading Animation */
.loading-photos {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--accent-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--brand-green);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Articles Page Specific Styles */
.articles-hero-section {
  position: relative;
  background: linear-gradient(135deg, #0a192f 0%, #172a45 50%, #0a192f 100%);
  color: white;
  padding: 100px 0;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.articles-hero-section .min-vh-70 {
  min-height: 70vh;
}

.hero-badge {
  animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-form .input-group {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  overflow: hidden;
}

.search-form .form-control {
  border: none;
  padding: 18px 25px;
  font-size: 1.1rem;
  border-radius: 50px 0 0 50px;
}

.search-form .btn {
  padding: 18px 40px;
  border-radius: 0 50px 50px 0;
  font-weight: 600;
}

/* Featured Article Slider */
.featured-article-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-slider {
  position: relative;
  height: 400px;
}

.featured-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.featured-slide.active {
  opacity: 1;
  z-index: 1;
}

.featured-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}

.featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  z-index: 2;
}

.featured-badge {
  margin-bottom: 15px;
}

.featured-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.featured-title a:hover {
  color: var(--success-color) !important;
}

.featured-excerpt {
  font-size: 0.95rem;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
}

.slider-control:hover {
  background: var(--success-color);
}

.slider-control.prev {
  left: 15px;
}

.slider-control.next {
  right: 15px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
  background: var(--success-color);
  transform: scale(1.2);
}

/* Background Pattern */
.articles-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.pattern-line {
  position: absolute;
  height: 1px;
  background: rgba(2, 80, 35, 0.1);
  transform: rotate(45deg);
}

.pattern-line:nth-child(1) {
  width: 300px;
  top: 10%;
  left: -100px;
}

.pattern-line:nth-child(2) {
  width: 200px;
  top: 40%;
  right: -50px;
}

.pattern-line:nth-child(3) {
  width: 400px;
  bottom: 20%;
  left: -150px;
}

/* Filter and Sort Bar */
.filter-sort-bar {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Article Cards */
.article-card {
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.article-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background-color: #f2f2f2; /* prevents flash */
}

.article-image img {
  display: block; /* CRITICAL */
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0); /* prevents repaint glitch */
  will-change: transform;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.read-time-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
}

.article-stats {
  display: flex;
  align-items: center;
}

.like-btn {
  transition: all 0.3s ease;
}

.like-btn:hover,
.like-btn.liked {
  color: #dc3545;
  border-color: #dc3545;
}

.like-btn.liked i {
  font-weight: 900;
}

/* List View */
#articlesGrid.list-view {
  display: block;
}

#articlesGrid.list-view .article-item {
  width: 100%;
  margin-bottom: 20px;
}

#articlesGrid.list-view .article-card {
  flex-direction: row;
  height: auto;
}

#articlesGrid.list-view .article-image {
  width: 40%;
  height: 200px;
  border-radius: 10px 0 0 10px;
}

#articlesGrid.list-view .card-body {
  width: 60%;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.widget-header {
  padding-bottom: 15px;
  border-bottom: 2px solid var(--success-color);
}

.widget-header h5 {
  color: var(--primary-color);
  font-weight: 600;
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
}

.tag-item {
  transition: all 0.3s ease;
}

.tag-item:hover {
  background: var(--success-color) !important;
  color: white !important;
  transform: translateY(-2px);
}

/* Recent Articles */
.recent-article-item {
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.recent-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-article-item img {
  height: 70px;
  object-fit: cover;
}

.recent-article-item h6 {
  font-size: 0.9rem;
  line-height: 1.4;
}

.recent-article-item h6 a:hover {
  color: var(--success-color) !important;
}

/* Newsletter Box */
.newsletter-box {
  border: 2px solid rgba(2, 80, 35, 0.1);
}

/* Pagination */
.pagination {
  margin-top: 30px;
}

.page-link {
  border-radius: 5px;
  margin: 0 3px;
  border: 1px solid #dee2e6;
  color: var(--success-color);
}

.page-item.active .page-link {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

/* Empty State */
.empty-state {
  padding: 60px 20px;
}

.empty-state i {
  opacity: 0.3;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .articles-hero-section {
    padding: 80px 0;
    min-height: auto;
  }

  .featured-slider {
    height: 350px;
    margin-top: 40px;
  }

  #articlesGrid.list-view .article-card {
    flex-direction: column;
  }

  #articlesGrid.list-view .article-image,
  #articlesGrid.list-view .card-body {
    width: 100%;
  }

  #articlesGrid.list-view .article-image {
    border-radius: 10px 10px 0 0;
  }
}

@media (max-width: 768px) {
  .articles-hero-section {
    padding: 60px 0;
  }

  .hero-content .display-3 {
    font-size: 2.5rem;
  }

  .search-form .form-control {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .search-form .btn {
    padding: 15px 25px;
  }

  .featured-slider {
    height: 300px;
  }

  .featured-content {
    padding: 20px;
  }

  .featured-title {
    font-size: 1.3rem;
  }

  .filter-sort-bar .col-md-6 {
    text-align: center;
  }

  .sidebar-widget {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .featured-slider {
    height: 250px;
  }

  .article-image {
    height: 150px;
  }

  .hero-stats .stat-number {
    font-size: 2rem;
  }

  .slider-control {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

/* Article Page Specific Styles */
.article-hero-section {
  padding-top: 100px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.article-title {
  line-height: 1.3;
  color: var(--primary-color);
}

.author-avatar {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.featured-image-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.article-content-section {
  background: white;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.article-content blockquote {
  border-left: 4px solid var(--success-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #666;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: var(--success-color);
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

/* Author Bio */
.author-bio-card {
  background: linear-gradient(
    to right,
    rgba(2, 80, 35, 0.05),
    rgba(2, 80, 35, 0.02)
  );
}

.author-bio-img {
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Comments */
.comment-avatar,
.comment-avatar-placeholder {
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-avatar-placeholder i {
  font-size: 1.5rem;
}

/* Table of Contents */
.table-of-contents a {
  color: #495057;
  transition: all 0.3s ease;
  display: block;
  padding: 5px 0;
}

.table-of-contents a:hover {
  color: var(--success-color);
  padding-left: 10px;
}

/* Social Sharing */
.share-buttons .btn {
  transition: all 0.3s ease;
}

.share-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .article-hero-section {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .article-title {
    font-size: 2rem;
  }

  .featured-image-container img {
    height: 250px;
  }

  .article-content {
    font-size: 1rem;
  }

  .share-buttons {
    justify-content: center;
  }

  .share-buttons .btn {
    flex: 1;
    min-width: 120px;
    margin-bottom: 5px;
  }
}

/* LOGIN CSS */

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.login-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: none;
  width: 100%;
  max-width: 450px;
  animation: fadeIn 0.5s ease;
}

.login-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--success-color)
  );
  color: white;
  padding: 40px 30px 30px;
  text-align: center;
  position: relative;
}

.login-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
}

.logo-container {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logo-container img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.login-body {
  padding: 40px 30px;
}

.form-control {
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(2, 80, 35, 0.25);
}

.input-group-text {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 0 20px;
}

.input-group .form-control {
  border-left: none;
  border-radius: 0 10px 10px 0;
}

.btn-login {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--success-color)
  );
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(2, 80, 35, 0.3);
}

.btn-login:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-check-input:checked {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

.alert {
  border-radius: 10px;
  border: none;
  padding: 15px 20px;
  margin-bottom: 20px;
  animation: slideDown 0.3s ease;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.login-footer {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-radius: 0 0 20px 20px;
}

.login-footer a {
  color: var(--success-color);
  text-decoration: none;
  font-weight: 500;
}

.login-footer a:hover {
  text-decoration: underline;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  z-index: 10;
}

.password-toggle:focus {
  outline: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 576px) {
  body {
    padding: 10px;
  }

  .login-card {
    max-width: 100%;
  }

  .login-header,
  .login-body {
    padding: 30px 20px;
  }

  .logo-container {
    width: 70px;
    height: 70px;
  }

  .logo-container img {
    width: 40px;
    height: 40px;
  }
}

/* Loading State */
.loading {
  position: relative;
  pointer-events: none;
}

.loading:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  z-index: 1;
}

.login-body-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}
