/*
Theme Name: VisaConsult Pro
Description: Modern WordPress theme for visa consultation services with Bootstrap 5. Includes Hero section with consultation form, management system through admin panel, beautiful page templates and full responsiveness.
Version: 1.0.0
Author: VisaConsult Team
Author URI: https://visaconsult.com
Theme URI: https://visaconsult.com/theme
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: visaconsult
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Tags: business, consulting, visa, travel, responsive, bootstrap, custom-admin, hero-section, modern
*/

/* Bootstrap 5 CDN */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary-blue: #1e40af;
  --secondary-gold: #f59e0b;
  --accent-teal: #0d9488;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(30, 64, 175, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 40px rgba(30, 64, 175, 0.15);
  padding: 0.8rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-blue) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: var(--accent-teal) !important;
}

.navbar-brand img {
  height: 45px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(30, 64, 175, 0.2));
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem !important;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.navbar-nav .nav-link:hover::before {
  left: 0;
}

.navbar-nav .nav-link.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  color: white !important;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.navbar-nav .nav-link::after {
  display: none;
}

/* Mobile Navigation */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(30, 64, 175, 0.1);
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.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, 64, 175, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(30, 64, 175, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(30, 64, 175, 0.15);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-item {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 0.5rem;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  color: white;
  transform: translateX(5px);
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.15);
  }
  
  .navbar-nav {
    gap: 0.25rem;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem 1.5rem !important;
    border-radius: 8px;
    margin: 0.25rem 0;
    text-align: center;
  }
  
  .navbar-nav .nav-link:hover {
    transform: translateX(5px);
  }
}

/* CTA Button in Navigation */
.nav-cta {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  color: white !important;
  border-radius: 25px;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
  color: white !important;
}

/* Active page indicator */
.navbar-nav .nav-link.active::before {
  left: 0;
}

/* Navigation animations */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-nav .nav-item {
  animation: slideInFromTop 0.6s ease forwards;
}

.navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }
.navbar-nav .nav-item:nth-child(5) { animation-delay: 0.5s; }

/* Hero Section */
.hero-section {
  height: 100vh;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(13, 148, 136, 0.8)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.visa-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.visa-form .form-select {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.visa-form .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.btn-consultation {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  border: none;
  padding: 12px 33px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-consultation:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Features Section */
.features-section {
  padding: 0 0 60px 0;
  background: transparent;
  position: absolute;
  top: calc(100vh - 80px);
  left: 0;
  right: 0;
  z-index: 10;
  min-height: 300px;
}

.features-section .container {
  padding-top: 0;
}

.features-section .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}

.features-section .col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 5px;
  margin-bottom: 15px;
}

@media (max-width: 991.98px) {
  .features-section .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767.98px) {
  .features-section .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Background section after features */
.features-background {
  background: var(--bg-light);
  padding: 100px 0 0 0;
  margin-top: 0;
  position: relative;
  z-index: 5;
}

.feature-badge {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 160px;
}

.feature-badge:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-badge i {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  display: block;
  visibility: visible;
}

.feature-badge h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.2;
  display: block;
  visibility: visible;
}

.feature-badge p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.3;
  display: block;
  visibility: visible;
}

/* Section Dividers */
.section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, var(--primary-blue) 20%, var(--primary-blue) 80%, transparent 90%);
  margin: 30px 0;
  position: relative;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 15px;
  background: var(--secondary-gold);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
  padding: 40px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.02) 0%, rgba(13, 148, 136, 0.02) 100%);
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.about-content h2 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  line-height: 1.3;
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
}

.about-content p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Stats Items */
.stats-item {
  text-align: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.stats-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: white;
  font-size: 1.25rem;
}

.stats-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stats-label {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

.about-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: all 0.3s ease;
  border-radius: 15px;
}

.about-image:hover img {
  transform: scale(1.02);
}

/* News Section */
.news-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.news-section h2 {
  text-align: center;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
}

.news-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary-gold);
  border-radius: 2px;
}

.news-filters {
  text-align: center;
  margin-bottom: 3rem;
}

.filter-btn {
  background: white;
  border: 2px solid #e5e7eb;
  color: var(--text-light);
  padding: 10px 25px;
  margin: 5px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

.news-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 1.5rem;
}

.news-card h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

.news-category {
  background: var(--primary-blue);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer h5 {
  color: var(--secondary-gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer p,
.footer a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--secondary-gold);
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: #6b7280;
}

/* Single Post Styles */
.single-post {
  padding: 80px 0;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.post-meta {
  color: var(--text-light);
  font-size: 1rem;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: var(--text-dark);
  font-weight: 600;
  margin: 2rem 0 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .visa-form {
    padding: 1.5rem;
  }
  
  .visa-form .col-md-4 {
    margin-bottom: 1rem;
  }
  
  .about-content {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
  }
  
  .about-content h2 {
    font-size: 1.75rem;
  }
  
  .about-image img {
    height: 300px;
  }
  
  .stats-item {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .stats-number {
    font-size: 1.75rem;
  }
  
  .stats-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .feature-badge {
    padding: 0.75rem;
    min-height: 140px;
  }
  
  .feature-badge i {
    font-size: 1.5rem;
  }
  
  .feature-badge h4 {
    font-size: 0.9rem;
  }
  
  .feature-badge p {
    font-size: 0.75rem;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .features-section {
    top: calc(100vh - 70px);
  }
  
  .features-background {
    margin-top: -30px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .visa-form {
    padding: 1rem;
  }
  
  .btn-consultation {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .features-section {
    top: calc(100vh - 60px);
  }
  
  .features-background {
    margin-top: -20px;
  }
}

/* Loading Animation */
.loading {
  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;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-teal);
}

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 300px;
  box-shadow: var(--shadow-lg);
  border: none;
  border-radius: 10px;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: white;
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

/* Animate on Scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Counter Animation */
.counter {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Typing Animation */
.typing-text {
  border-right: 2px solid var(--primary-blue);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { border-color: var(--primary-blue); }
  51%, 100% { border-color: transparent; }
}

/* Lazy Loading */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

img.lazy.loaded {
  opacity: 1;
}

/* Enhanced Form Styles */
.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.is-invalid {
  border-color: #dc3545;
}

/* Enhanced Button Styles */
.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-teal), var(--primary-blue));
}

/* Enhanced Card Styles */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Enhanced Modal Styles */
.modal-content {
  border: none;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: 1px solid #e5e7eb;
  border-radius: 20px 20px 0 0;
}

.modal-footer {
  border-top: 1px solid #e5e7eb;
  border-radius: 0 0 20px 20px;
}

/* Enhanced Alert Styles */
.alert {
  border: none;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  color: #856404;
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  color: #0c5460;
}

/* Enhanced Badge Styles */
.badge {
  border-radius: 20px;
  font-weight: 500;
  padding: 8px 16px;
}

/* Enhanced Progress Bar */
.progress {
  height: 8px;
  border-radius: 10px;
  background: #e5e7eb;
}

.progress-bar {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  border-radius: 10px;
}

/* Enhanced Spinner */
.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

/* Enhanced Tooltip */
.tooltip {
  font-size: 0.875rem;
}

.tooltip-inner {
  background: var(--text-dark);
  border-radius: 8px;
  padding: 8px 12px;
}

/* Enhanced Popover */
.popover {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

.popover-header {
  background: var(--bg-light);
  border-bottom: 1px solid #e5e7eb;
  border-radius: 15px 15px 0 0;
  font-weight: 600;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .notification,
  .cookie-banner {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .container {
    max-width: none;
    width: 100%;
  }
}

/* Sidebar Styles */
.sidebar {
  padding-left: 2rem;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.1);
  transition: all 0.3s ease;
}

.sidebar-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-blue);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-teal);
}


/* Recent Posts Widget */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recent-post-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.recent-post-item:hover {
  background: rgba(30, 64, 175, 0.05);
  transform: translateX(5px);
}

.recent-post-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
  transform: scale(1.1);
}

.recent-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recent-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.recent-post-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.recent-post-title a:hover {
  color: var(--primary-blue);
}

.recent-post-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Categories Widget */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.category-item:last-child {
  border-bottom: none;
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.category-link:hover {
  color: var(--primary-blue);
  padding-left: 10px;
}

.category-name {
  font-weight: 500;
}

.category-count {
  background: var(--primary-blue);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Tags Widget */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tag-link:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

/* Newsletter Widget */
.newsletter-description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.newsletter-form .form-control {
  border: 2px solid rgba(30, 64, 175, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.newsletter-form .btn {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact Widget */
.contact-info {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item i {
  width: 20px;
  color: var(--primary-blue);
  font-size: 1rem;
}

.contact-item span {
  color: var(--text-dark);
  font-weight: 500;
}

/* Responsive Sidebar */
@media (max-width: 991.98px) {
  .sidebar {
    padding-left: 0;
    margin-top: 3rem;
  }
  
  .sidebar-widget {
    padding: 1.5rem;
  }
  
  .recent-post-item {
    padding: 0.75rem;
  }
  
  .recent-post-thumb {
    width: 50px;
    height: 50px;
  }
}

/* Archive Links Styles */
.archive-links-section {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.archive-links-section h2 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.archive-links-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  border-radius: 2px;
}

.archive-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.archive-links-widget {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.archive-links-widget:hover {
  background: white;
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.archive-links-widget h3 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.archive-links-widget h3 i {
  color: var(--primary-blue);
  font-size: 1.2rem;
}

.archive-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-links-list li {
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
  transition: all 0.3s ease;
}

.archive-links-list li:last-child {
  border-bottom: none;
}

.archive-links-list li:hover {
  background: rgba(30, 64, 175, 0.05);
  border-radius: 6px;
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
}

.archive-links-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.archive-links-list a:hover {
  color: var(--primary-blue);
  padding-left: 0.5rem;
}

.archive-links-list .count {
  background: var(--primary-blue);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.archive-links-list a:hover .count {
  background: var(--accent-teal);
  transform: scale(1.1);
}

/* Archive Navigation Styles */
.archive-nav {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.archive-nav .btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.archive-nav .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.archive-nav .btn-outline-primary {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.archive-nav .btn-outline-primary:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

.archive-nav .btn-outline-secondary {
  border-color: var(--text-light);
  color: var(--text-light);
}

.archive-nav .btn-outline-secondary:hover {
  background: var(--text-light);
  border-color: var(--text-light);
  color: white;
}

/* Archive Calendar Styles */
.archive-calendar {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.archive-calendar h3 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  background: var(--bg-light);
  border: 2px solid transparent;
}

.calendar-day.has-posts {
  background: rgba(30, 64, 175, 0.1);
  border-color: var(--primary-blue);
  cursor: pointer;
}

.calendar-day.has-posts:hover {
  background: var(--primary-blue);
  color: white;
  transform: scale(1.1);
}

.calendar-day a {
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.calendar-day.has-posts a:hover {
  color: white;
}

/* Archive Stats */
.archive-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.archive-stat {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.1);
  transition: all 0.3s ease;
  min-width: 150px;
}

.archive-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.archive-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.archive-stat-label {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Responsive Archive Styles */
@media (max-width: 768px) {
  .archive-links-section {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .archive-links-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .archive-links-widget {
    padding: 1rem;
  }
  
  .archive-nav {
    padding: 1rem;
  }
  
  .archive-nav .col-md-4 {
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .archive-calendar {
    padding: 1.5rem;
  }
  
  .calendar-grid {
    gap: 0.25rem;
  }
  
  .archive-stats {
    gap: 0.5rem;
  }
  
  .archive-stat {
    padding: 1rem;
    min-width: 120px;
  }
  
  .archive-stat-number {
    font-size: 1.5rem;
  }
}