

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary-blue: #0060fe;
  --primary-hover: #004cce;
  --secondary-purple: #6366f1;
  --accent-cyan: #06b6d4;
  --dark-slate: #0f172a;
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 35px -10px rgba(0, 96, 254, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Site Header White Background & Flex Layout Override */
.site-header {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 15px 40px !important;
  position: relative !important;
  width: 100% !important;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-branding .site-logo {
  height: 40px;
  width: auto;
}

/* Header Action Buttons Styling */
.nav-secondary {
  margin: 0;
  padding: 0;
}

.nav-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.nav-buttons .button-wrapper {
  margin: 0 !important;
}

.nav-buttons .button {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-block !important;
  text-align: center !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.nav-buttons .button-white {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.nav-buttons .button-white:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0060fe !important;
}

.nav-buttons .button:not(.button-white) {
  background: #0060fe !important;
  color: #ffffff !important;
  border: 1.5px solid #0060fe !important;
  box-shadow: 0 4px 14px rgba(0, 96, 254, 0.35) !important;
}

.nav-buttons .button:not(.button-white):hover {
  background: #0052db !important;
  box-shadow: 0 6px 18px rgba(0, 96, 254, 0.45) !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

/* ==================== TOP ANNOUNCEMENT / PHONE BAR ==================== */
.top-contact-bar {
  background-color: #050b12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.88rem;
  padding: 10px 0;
  font-family: 'Inter', sans-serif;
}

.top-bar-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info-group {
  display: flex;
  align-items: center;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #cbd5e1;
}

.contact-item svg {
  color: #38bdf8;
  width: 16px;
  height: 16px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-pulse span {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* ==================== HERO HEADER SECTION ==================== */
.blog-hero {
  position: relative;
  background-image:
    radial-gradient(circle 800px at 50% 20%, rgba(0, 96, 254, 0.22) 0%, rgba(37, 99, 235, 0.08) 50%, transparent 100%),
    radial-gradient(circle 600px at 85% 70%, rgba(0, 114, 255, 0.15) 0%, transparent 70%),
    radial-gradient(circle 600px at 15% 70%, rgba(0, 81, 212, 0.15) 0%, transparent 70%),
    linear-gradient(180deg, #153491 0%, #142853 50%, #1a1f2e 100%);
  padding: 85px 20px 95px;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 96, 254, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, #00d2ff 0%, #0060fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 35px;
  font-weight: 400;
}

/* --- Search & Category Filters --- */
.search-filter-wrapper {
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 8px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.search-box:focus-within {
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.search-icon-svg {
  margin-right: 12px;
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.search-box:focus-within .search-icon-svg {
  stroke: #38bdf8;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
}

.search-input::placeholder {
  color: #64748b;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(0, 96, 254, 0.35);
  transform: translateY(-2px);
}

/* ==================== BLOG CARDS SECTION ==================== */
.blog-grid-section {
  padding: 60px 0 100px;
  background-color: var(--bg-main);
}

.blog-grid-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 30px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

/* --- Premium Tech Blog Card UI --- */
.blog-card {
  background: var(--card-bg);
  border-radius: 0;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  height: 100%;
}

/* Card Thumbnail */
.card-thumb-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  overflow: hidden !important;
  background-color: #0f172a !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.card-thumb-wrapper a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.card-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
}

/* Card Content Area */
.card-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Top Meta Bar: Tag + Date */
.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.82rem;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform var(--transition-fast);
}

.tag-cloud {
  background: rgba(0, 96, 254, 0.1);
  color: #0060fe;
  border: 1px solid rgba(0, 96, 254, 0.2);
}

.tag-ssl {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tag-managed {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.card-date {
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-date svg {
  color: #94a3b8;
  width: 15px;
  height: 15px;
}

/* Card Title */
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 12px;
  line-height: 1.45;
  transition: color var(--transition-fast);
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card:hover .card-title {
  color: var(--primary-blue);
}

/* Card Excerpt */
.card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Card Footer Bar inside Body */
.card-footer {
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: auto !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  position: relative !important;
}

.card-footer .author-info {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  position: static !important;
  float: none !important;
  margin: 0 !important;
}

.card-footer .author-avatar {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #0060fe 0%, #6366f1 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  box-shadow: 0 2px 8px rgba(0, 96, 254, 0.25) !important;
  flex-shrink: 0 !important;
  position: static !important;
}

.card-footer .author-text {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  white-space: nowrap !important;
  position: static !important;
}

.card-footer .read-btn {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--primary-blue) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  position: static !important;
  float: none !important;
  margin: 0 !important;
}

.blog-card:hover .read-btn {
  gap: 10px;
  color: #004cce;
}

.read-btn svg {
  transition: transform var(--transition-fast);
}

.blog-card:hover .read-btn svg {
  transform: translateX(2px);
}

/* ==================== NEWSLETTER CTA SECTION ==================== */
.newsletter-section {
  max-width: 1360px;
  margin: 0 auto 100px;
  padding: 0 30px;
}

.newsletter-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  border-radius: 24px;
  padding: 60px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 96, 254, 0.3) 0%, transparent 70%);
  filter: blur(40px);
}

.newsletter-left {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.newsletter-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}

.newsletter-desc {
  color: #94a3b8;
  font-size: 1.05rem;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 2;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px 24px;
  font-size: 1rem;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: all var(--transition-fast);
}

.newsletter-input::placeholder {
  color: #94a3b8;
}

.newsletter-input:focus {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
}

.newsletter-btn {
  background: var(--primary-blue);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 30px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 96, 254, 0.3);
}

.newsletter-btn:hover {
  background: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 96, 254, 0.5);
}

/* ==================== PAGINATION STYLES ==================== */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 96, 254, 0.25);
  transform: translateY(-2px);
}

.page-btn.next {
  width: auto;
  padding: 0 20px;
  gap: 6px;
}

/* ==================== FOOTER STYLES ==================== */
.site-footer {
  background-color: #050b12;
  color: #94a3b8;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
}

/* ==================== RESPONSIVE QUERIES ==================== */
@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .newsletter-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
  }

  .newsletter-form {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .top-contact-bar {
    display: none;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
