/* CSS Variables are now in main.css */

/* Container styles are now in main.css */

.blog-hero-section .container {
  display: flex;
  justify-content: flex-start;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

/* Navigation styles are now in main.css */

/* Navigation link styles are now in main.css */

/* Mobile menu button styles are now in main.css */

/* Mobile menu base styles are now in main.css */

/* Mobile menu header styles are now in main.css */

/* Mobile menu close button styles are now in main.css */

/* Mobile menu link styles are now in main.css */

/* Hero Section Styles */
.blog-hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.95) 100%);
}

.blog-hero-section .container {
  width: 100%;
}

.blog-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 80% 20%,
      rgba(58, 64, 145, 0.03) 0%,
      transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.blog-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.blog-hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.1);
  animation: heroImageFloat 20s ease-in-out infinite;
}

@keyframes heroImageFloat {

  0%,
  100% {
    transform: scale(1.05) translateY(0);
  }

  50% {
    transform: scale(1.08) translateY(-10px);
  }
}

.blog-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 40%,
      rgba(255, 255, 255, 0.6) 70%,
      rgba(255, 255, 255, 0.3) 100%);
  z-index: 2;
  backdrop-filter: blur(1px);
}

.blog-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2rem 0 4rem 0;
  animation: heroContentFadeIn 1s ease-out 0.3s both;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

@keyframes heroContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-hero-left {
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  flex: 1;
}

.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg,
      rgba(58, 64, 145, 0.1),
      rgba(58, 64, 145, 0.05));
  color: var(--wood-primary);
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(58, 64, 145, 0.15);
  backdrop-filter: blur(10px);
  animation: heroBadgeSlideIn 1s ease-out 0.5s both;
  box-shadow: 0 4px 20px rgba(58, 64, 145, 0.1);
  transition: all 0.3s ease;
}

.blog-hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(58, 64, 145, 0.15);
  background: linear-gradient(135deg,
      rgba(58, 64, 145, 0.15),
      rgba(58, 64, 145, 0.08));
}

@keyframes heroBadgeSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.blog-hero-badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--wood-primary);
}

.blog-hero-title {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: heroTitleFadeIn 1s ease-out 0.7s both;
}

@keyframes heroTitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-hero-highlight {
  display: block;
  color: var(--wood-primary);
  margin-top: 0.5rem;
}

.blog-hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
  max-width: 500px;
  animation: heroDescriptionFadeIn 1s ease-out 0.9s both;
}

@keyframes heroDescriptionFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: heroButtonsFadeIn 1s ease-out 1.1s both;
}

@keyframes heroButtonsFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(rgb(36, 105, 254) 0%, rgb(23, 58, 225) 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(58, 64, 145, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(58, 64, 145, 0.4);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  background: white;
  color: var(--wood-primary);
  border-color: var(--wood-primary);
}

.btn-secondary:hover {
  background: var(--wood-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(58, 64, 145, 0.2);
}

@media (max-width: 768px) {
  .blog-hero-section {
    min-height: 80vh;
  }

  .blog-hero-content {
    padding: 2rem 0 2rem 0;
    justify-content: flex-start;
    text-align: left;
  }

  .blog-hero-left {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    flex: 1;
  }

  .blog-hero-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }

  .blog-hero-description {
    font-size: 1rem;
  }

  .blog-hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }
}

/* Section Styles */
.section {
  padding: 2rem 0 7rem 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
      rgba(58, 64, 145, 0.01) 0%,
      transparent 20%,
      transparent 80%,
      rgba(58, 64, 145, 0.01) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 0 6rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* Badge Styles (match index page) */
.section-badge {
  display: inline-block;
  background: radial-gradient(88% 75% at 50% 50%,
      #3A4091 37.445453265765764%,
      #6469C0 83.41427364864865%);
  border-radius: 64px;
  box-shadow: rgba(58, 64, 145, 0.01) 0px 0.421531px 1.26459px -0.416667px,
    rgba(58, 64, 145, 0.01) 0px 1.60197px 4.80592px -0.833333px,
    rgba(58, 64, 145, 0.03) 0px 7px 21px -1.25px;
  opacity: 1;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1;
}

@media (max-width: 768px) {
  .section-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 3rem;
  }
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg,
      var(--foreground) 0%,
      var(--wood-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem !important;
  }
}

.section-title .highlight {
  background: linear-gradient(135deg,
      var(--wood-primary) 0%,
      var(--wood-secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .section-description {
    font-size: 1rem;
    max-width: 90%;
  }
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .grid {
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .grid {
    gap: 1.5rem;
  }
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-content h3 {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {

  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: repeat(1, 1fr);
  }

  .event-content {
    padding: 0;
    margin-top: 1rem;
  }

  .event-content h3 {
    font-size: 1.125rem;
  }

  .event-meta {
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .event-category {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .event-date-text {
    font-size: 0.8rem;
  }
}

/* Event Cards */
.event-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-4px);
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: transparent;
  border-radius: 1rem;
  /* Subtle inner frame */
  border: 1px solid #e1e4eb;
  box-shadow: #fff 0 0 0 4px;
}

@media (max-width: 1024px) {
  .event-image-wrapper {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .event-image-wrapper {
    height: 200px;
  }
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  object-position: bottom;
  filter: brightness(1.05) saturate(1.1);
}

.event-card:hover .event-image {
  transform: scale(1.06);
  filter: brightness(1.1) saturate(1.2);
}

.event-date {
  display: none;
}

.event-day {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.event-year {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

/* overlay and read-more removed */

.event-content {
  padding: 0;
  margin-top: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.event-category {
  background: rgba(58, 64, 145, 0.08);
  color: var(--wood-primary);
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-date-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.event-content h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--wood-primary);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease, transform 0.25s ease;
  line-height: 1.3;
  letter-spacing: -0.02em;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card:hover .event-content h3 {
  color: var(--wood-secondary);
  transform: translateY(-2px);
}

.event-content p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card:hover .event-content p {
  color: var(--foreground);
}

/* Pagination Styles */
.pagination-container {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.pagination .nav-links,
.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(58, 64, 145, 0.1);
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 4px 20px rgba(58, 64, 145, 0.08);
}

.pagination .page-numbers,
.pagination-page,
.pagination-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(58, 64, 145, 0.15);
  border-radius: 9999px;
  color: var(--muted-foreground);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination-page:hover,
.pagination-btn:hover {
  background: rgba(58, 64, 145, 0.06);
  border-color: var(--wood-primary);
  color: var(--wood-primary);
  transform: translateY(-1px);
}

.pagination .page-numbers.current,
.pagination-page.active {
  background-image: url("../assets/icon-bg.svg"),
    linear-gradient(135deg, var(--wood-primary), var(--wood-secondary));
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  color: #ffffff !important;
  border-color: var(--wood-primary);
  box-shadow: rgba(131, 124, 124, 0.06) 0px 6px 8px 0px,
    rgba(129, 177, 251, 0.7) 0px 2px 2px 0px inset,
    rgba(129, 177, 251, 0.7) 2px 0px 2px 0px inset,
    0 4px 15px rgba(58, 64, 145, 0.25);
}

.pagination .page-numbers.dots,
.pagination-ellipsis {
  border: none;
  background: transparent;
  cursor: default;
  width: auto;
  padding: 0 0.25rem;
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers,
.pagination-btn {
  background: rgba(58, 64, 145, 0.06);
  color: var(--wood-primary);
}

.pagination-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.pagination .prev.page-numbers:hover,
.pagination .next.page-numbers:hover,
.pagination-btn:not([disabled]):hover {
  background: linear-gradient(135deg,
      var(--wood-primary),
      var(--wood-secondary));
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(58, 64, 145, 0.25);
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination-info {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Responsive Pagination */
@media (max-width: 768px) {
  .pagination-container {
    margin-top: 3rem;
  }

  .pagination .nav-links,
  .pagination {
    gap: 0.5rem;
    padding: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 2rem;
  }
}

@media (max-width: 480px) {
  .pagination-container {
    margin-top: 2rem;
  }

  .pagination .page-numbers,
  .pagination-page,
  .pagination-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .blog-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2rem);
  }

  .blog-hero-description {
    font-size: 0.95rem;
  }
}



/* Animations */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Global smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* Responsive styles are now in main.css */

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.hidden {
  display: none;
}

.relative {
  position: relative;
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
  .social-btn {
    width: 40px;
    height: 40px;
  }

  .social-links {
    gap: 1rem;
    margin-top: 1.2rem;
  }
}

/* Smooth scrolling for carousel */
.swiper-wrapper {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
.carousel-nav-btn:focus {
  outline: 2px solid var(--wood-secondary);
  outline-offset: 2px;
}

.swiper-slide:focus {
  outline: 2px solid var(--wood-primary);
  outline-offset: 4px;
}

/* Additional modern effects */
.carousel-section {
  position: relative;
}

.carousel-section::before,
.carousel-section::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(58, 64, 145, 0.1) 50%,
      transparent 100%);
  transform: translateY(-50%);
  z-index: 1;
}

.carousel-section::before {
  left: -50px;
}

.carousel-section::after {
  right: -50px;
}

/* Enhanced slide animations */
.swiper-slide {
  animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hover effects for better interactivity */
.carousel-nav-btn:hover {
  transform: translateY(-2px) scale(1.05);
}

.carousel-indicator:hover {
  transform: scale(1.2);
  background: var(--wood-secondary);
}

/* Loading animation for progress bar */
.carousel-progress-bar {
  position: relative;
}

.carousel-progress-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 100%);
  animation: loading 2s infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}