:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --gradient-warning: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Header Styles */
.navbar {
  background: var(--gradient-primary);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: white !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #f8f9fa !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  height: 70vh;
  background: var(--gradient-primary);
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
  margin-top: 114px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,80 0,100"/></svg>');
  background-size: cover;
  background-position: bottom;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.btn-primary-custom {
  background: var(--gradient-secondary);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Search Bar */
.search-section {
  padding: 40px 0;
  background: var(--bg-light);
}

.search-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  border: 2px solid #e9ecef;
  border-radius: 50px;
  padding: 15px 60px 15px 20px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary-color);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  color: white;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

/* Featured Post */
.featured-post {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  cursor: pointer;
}

.featured-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-img {
  height: 300px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.featured-img i {
  font-size: 4rem;
  color: white;
  z-index: 2;
  position: relative;
}

.featured-content {
  padding: 30px;
}

.featured-badge {
  background: var(--accent-color);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 15px;
}

.featured-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 15px 0 10px;
  line-height: 1.3;
}

.featured-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.featured-meta i {
  color: var(--secondary-color);
}

.blog-text-content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 25em;
  line-height: 1.5em;
}

.featured-excerpt {
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 0.9rem;
}

.read-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.read-more:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-img.programming {
  background: var(--gradient-primary);
}

.blog-img.cybersecurity {
  background: var(--gradient-secondary);
}

.blog-img.mobile {
  background: var(--gradient-success);
}

.blog-img.datascience {
  background: var(--gradient-warning);
}

.blog-img.webdev {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-img.ai {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

.blog-img i {
  font-size: 3rem;
  color: white;
}

.blog-content {
  padding: 25px;
}

.blog-category {
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.blog-category.programming {
  background: var(--secondary-color);
}

.blog-category.cybersecurity {
  background: var(--accent-color);
}

.blog-category.mobile {
  background: var(--success-color);
}

.blog-category.datascience {
  background: var(--warning-color);
}

.blog-category.webdev {
  background: #9b59b6;
}

.blog-category.ai {
  background: #e67e22;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 10px 0 15px;
  line-height: 1.4;
}

.blog-meta {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.blog-meta i {
  color: var(--secondary-color);
}

.blog-excerpt {
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-time {
  color: var(--text-light);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Sidebar */
.sidebar {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.sidebar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--secondary-color);
  position: relative;
}

.sidebar-title::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.category-item,
.recent-post {
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
  transition: all 0.3s ease;
}

.category-item:hover,
.recent-post:hover {
  padding-left: 10px;
  background: rgba(52, 152, 219, 0.05);
}

.category-item a,
.recent-post a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.category-item a:hover,
.recent-post a:hover {
  color: var(--secondary-color);
}

.post-count {
  color: var(--text-light);
  font-size: 0.9rem;
}

.recent-post-meta {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-top: 5px;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  border: none;
}

.modal-header {
  background: var(--gradient-primary);
  color: white;
  border-radius: 15px 15px 0 0;
}

.modal-body {
  padding: 30px;
  line-height: 1.7;
}

.article-content h3 {
  color: var(--primary-color);
  margin: 25px 0 15px;
}

.article-content p {
  margin-bottom: 15px;
}

.article-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 8px;
}

.code-block {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  font-family: "Courier New", monospace;
  overflow-x: auto;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeInUp 0.6s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-section {
    height: 100vh;
    margin-top: 0px;
  }
  .hero-section .lap-icon-wrap {
    display: none;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .featured-post {
    margin-bottom: 20px;
  }
  .sidebar {
    margin-top: 30px;
  }
  .featured-title {
    font-size: 1.5rem;
  }
}
/* Loading Animation */
.loading {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
/* Statistics Section */
.stats-section {
  background: var(--bg-light);
  padding: 60px 0;
  margin: 40px 0;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}/*# sourceMappingURL=blog.css.map */