/* Container */
.blog-wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'proxima-n-w01-reg', sans-serif;
}

/* Grid layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

/* Card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #000;
  overflow: hidden;
  transition: opacity .2s ease;
}
.blog-card:hover { opacity: 0.95; }

/* Image */
.blog-image {
  height: 200px;
  background: #f3f3f3;
  overflow: hidden;
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.blog-card:hover .blog-image img { transform: scale(1.05); }

/* Content */
.blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-title {
  font-size: 20px;
  font-weight: bold;
  color: #004f8f;
  margin-bottom: 10px;
  line-height: 1.2;
}
.blog-title a { text-decoration: none; color: inherit; }
.blog-title a:hover { color: #da3675; }

.blog-desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Meta */
.blog-meta {
  font-size: 12px;
  color: #888;
}

@media(max-width:768px){
  .blog-wrapper { padding: 10px; }
  .blog-image { height: 180px; }
}




/* Header Styles */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

.navbar-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 80px;
  transition: all 0.3s ease;
}

/* Logo Styles */
.logo-section {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #2563eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: scale(1.05);
}

.nav-link.active {
  color: #2563eb;
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Account Section */
.account-section {
  position: relative;
}

.account-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  transition: all 0.3s ease;
}

.account-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
  transform: scale(1.05);
}

.account-icon, .dropdown-arrow {
  width: 20px;
  height: 20px;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.account-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Account Menu */
.account-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.account-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-menu-header {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px 16px 0 0;
}

.account-menu-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.account-menu-content {
  padding: 24px;
}

.account-menu-item {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #111827;
  transition: all 0.3s ease;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

.account-menu-item:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  transform: scale(1.02);
}

.menu-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: white;
}

.signup-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.menu-item-icon svg {
  width: 24px;
  height: 24px;
}

.menu-item-content {
  flex: 1;
}

.menu-item-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.menu-item-desc {
  font-size: 14px;
  color: #6b7280;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: #475569;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 0 0 16px 16px;
  margin-top: -1px;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  border-radius: 12px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  background: rgba(59, 130, 246, 0.05);
  color: #2563eb;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.mobile-account-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-account-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.mobile-account-btn svg {
  width: 20px;
  height: 20px;
}

.login-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.login-btn:hover {
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  transform: scale(1.02);
}

.signup-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.signup-btn:hover {
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .desktop-nav,
  .account-section {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 12px;
  }
  
  .navbar-wrapper {
    padding: 0 16px;
    height: 70px;
  }
  
  .logo-image {
    height: 35px;
  }
  
  .account-menu {
    width: 280px;
  }
}

/* Scroll Effects */
.fixed-header.scrolled .navbar-wrapper {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
