/* Modern CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #202020;
  background: #F3F6F8;
}

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

/* Modern Navbar */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 115, 177, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e1e5e9;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #0073B1;
}

.nav-logo i {
  font-size: 1.8rem;
  color: #0073B1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #5A6C7D;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #0073B1;
  background: #F3F6F8;
  transform: none;
  box-shadow: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #202020;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

/* (Removed blog-only pill styling to keep all nav links consistent) */

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Enhanced Navbar Hover Effects (apply to all nav links) */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #0073B1;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Small eye-catching FREE badge for navbar links */
.nav-link .badge-free {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffffff;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  padding: 2px 6px;
  border-radius: 9999px;
  margin-left: 6px;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
  transform-origin: center;
  animation: badge-pop 1.5s ease-in-out infinite;
}

@keyframes badge-pop {
  0%, 100% { transform: scale(1); filter: saturate(1); }
  50% { transform: scale(1.08); filter: saturate(1.2); }
}

/* Ensure Blog nav link uses the same normal style as others (no orange pill) */
.nav-link[href="blog.html"] {
  background: transparent !important;
  color: #5A6C7D !important;
  padding: 10px 15px !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
.nav-link[href="blog.html"] i {
  color: inherit !important;
  animation: none !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0073B1 0%, #005885 50%, #004066 100%);
  color: white;
  padding: 20px 0 60px; /* slight top padding inside hero */
  text-align: center;
  margin-top: 0; /* remove external gap */
  position: relative;
  overflow: hidden;
}

.hero::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 100 100"><circle cx="20" cy="20" r="2" fill="%23F5A623" opacity="0.3"><animate attributeName="opacity" values="0.3;0.8;0.3" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="60" r="1.5" fill="%230A66C2" opacity="0.4"><animate attributeName="opacity" values="0.4;0.9;0.4" dur="3s" repeatCount="indefinite"/></circle><circle cx="60" cy="80" r="1" fill="%23F5A623" opacity="0.5"><animate attributeName="opacity" values="0.5;1;0.5" dur="2.5s" repeatCount="indefinite"/></circle></svg>') repeat;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* New hero redesign */
.hero-inner { max-width:1200px; margin:0 auto; padding:0 20px; display:grid; grid-template-columns:1.05fr 0.95fr; gap:60px; align-items:center; }
@media (max-width:980px){ .hero-inner { grid-template-columns:1fr; gap:50px; } .hero-right { order:-1; } }
.hero-left { text-align:left; position:relative; z-index:2; }
.hero-title { font-size:clamp(2.1rem,4.2vw,3.2rem); line-height:1.1; background:linear-gradient(90deg,#fff,#dbeafe); -webkit-background-clip:text; background-clip:text; color:#fff; }
.hero-sub { font-size:1.05rem; max-width:560px; margin:18px 0 26px; color:rgba(255,255,255,.92); }
.hero-sub .highlight { color:#F5A623; font-weight:600; }
.hero-search { display:flex; gap:12px; background:rgba(255,255,255,0.12); padding:10px 12px; border-radius:16px; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,0.25); max-width:620px; }
.hero-search-field { flex:1; display:flex; align-items:center; gap:10px; }
.hero-search-field i { color:#F5A623; }
.hero-search-field input { width:100%; background:transparent; border:none; color:#fff; font-size:.95rem; padding:8px 4px; }
.hero-search-field input:focus { outline:none; }
.hero-search-btn { background:linear-gradient(135deg,#F5A623,#ff9100); color:#1f2937; border:none; padding:12px 20px; border-radius:14px; font-weight:600; display:flex; align-items:center; gap:6px; cursor:pointer; font-size:.9rem; box-shadow:0 6px 18px -4px rgba(245,166,35,.55); transition:transform .25s ease, box-shadow .25s ease; }
.hero-search-btn:hover { transform:translateY(-2px); box-shadow:0 10px 26px -4px rgba(245,166,35,.7); }
.hero-actions { display:flex; gap:18px; margin:30px 0 26px; flex-wrap:wrap; }
.btn-primary, .btn-secondary { text-decoration:none; font-weight:600; display:inline-flex; align-items:center; gap:8px; padding:14px 24px; border-radius:16px; font-size:.9rem; position:relative; overflow:hidden; }
.btn-primary { background:linear-gradient(135deg,#0A66C2,#004182); color:#fff; box-shadow:0 10px 28px -6px rgba(10,102,194,.55); }
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 16px 34px -6px rgba(10,102,194,.7); }
.btn-secondary { background:linear-gradient(135deg,#22c55e,#16a34a); color:#fff; box-shadow:0 10px 28px -6px rgba(34,197,94,.45); }
.btn-secondary:hover { transform:translateY(-3px); box-shadow:0 16px 34px -6px rgba(34,197,94,.6); }
.hero-benefits { list-style:none; display:flex; gap:24px; flex-wrap:wrap; padding:0; margin:6px 0 34px; font-size:.8rem; letter-spacing:.5px; text-transform:uppercase; font-weight:600; }
.hero-benefits li { display:flex; align-items:center; gap:6px; background:rgba(255,255,255,0.12); padding:8px 14px; border-radius:40px; color:#fff; border:1px solid rgba(255,255,255,0.18); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.hero-benefits i { color:#F5A623; }

/* Hero visual */
.hero-right { position:relative; }
.hero-visual { position:relative; width:100%; max-width:480px; margin:0 auto; aspect-ratio:4/3; }
.hv-card { position:absolute; inset:0; background:linear-gradient(145deg,#ffffff,#f1f5f9); border-radius:26px; padding:34px 36px 40px; box-shadow:0 25px 80px -15px rgba(0,42,70,.45),0 10px 28px -6px rgba(0,0,0,.3); overflow:hidden; display:flex; flex-direction:column; gap:14px; }
.hv-card-main .hv-line { height:12px; border-radius:6px; background:linear-gradient(90deg,#0A66C2,#004182); animation: heroLine 3.2s ease-in-out infinite; transform-origin:left; }
.hv-card-main .hv-line.short { width:55%; background:linear-gradient(90deg,#F5A623,#ff9100); animation-delay:.9s; }
@keyframes heroLine { 0%,70%,100% { transform:scaleX(0); opacity:0; } 10% { opacity:1; } 40% { transform:scaleX(1); opacity:1; } }
.hv-badge { position:absolute; top:14px; right:14px; background:#0A66C2; color:#fff; font-size:.65rem; font-weight:700; letter-spacing:.5px; padding:6px 10px; border-radius:10px; box-shadow:0 6px 18px -4px rgba(10,102,194,.55); text-transform:uppercase; }
.hv-floating { position:absolute; width:62px; height:62px; border-radius:20px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#ffffff,#e2e8f0); color:#0A66C2; box-shadow:0 15px 40px -10px rgba(0,42,70,.4); animation: floatIcon 8s ease-in-out infinite; font-size:1.4rem; }
.hv-f1 { top:-30px; left:-20px; animation-delay:.2s; }
.hv-f2 { bottom:-26px; left:30px; animation-delay:1s; }
.hv-f3 { top:20%; right:-30px; animation-delay:2s; }
@keyframes floatIcon { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-26px); } }
.hv-glow { position:absolute; inset:-30%; background:radial-gradient(circle at 55% 45%, rgba(10,102,194,.35), transparent 60%), radial-gradient(circle at 70% 70%, rgba(245,166,35,.25), transparent 65%); filter:blur(40px); opacity:.9; pointer-events:none; }

@media (max-width:600px){
  .hero-search { flex-direction:column; align-items:stretch; }
  .hero-search-btn { width:100%; justify-content:center; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .btn-primary, .btn-secondary { width:100%; justify-content:center; }
  .hero-benefits { gap:10px; }
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 25px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

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

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
  animation: statFadeIn 0.6s ease-out forwards;
}

.stat:nth-child(1) { animation-delay: 0.7s; }
.stat:nth-child(2) { animation-delay: 0.9s; }
.stat:nth-child(3) { animation-delay: 1.1s; }

@keyframes statFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.stat i {
  font-size: 2rem;
  color: #F5A623;
  opacity: 1;
}

.stat span {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Counter Animation Styles */
.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: all 0.3s ease;
}

.stat:hover .counter {
  transform: scale(1.05);
  color: #F5A623;
}

/* Add pulsing effect during animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.counter.animating {
  animation: pulse 0.5s ease-in-out;
}

/* Categories Header with View All button */
.categories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.view-all-btn {
  display: inline-block;
  background: #0073B1;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 115, 177, 0.3);
}

.view-all-btn:hover {
  background: #005a8c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 115, 177, 0.4);
}

.view-all-btn i {
  margin-right: 6px;
}

@media (max-width: 768px) {
  .categories-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .view-all-btn {
    align-self: flex-start;
  }
}

/* Categories Grid */
#categories {
  padding: 50px 0;
}

#categories h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 35px;
  color: #202020;
  position: relative;
}

#categories h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0073B1, #0A66C2);
  border-radius: 2px;
}

/* Categories Section */
#categories {
  padding: 60px 0;
  background: #F8FAFC;
}

#categories h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 40px;
  font-weight: 600;
}

/* Categories Grid - Original (now disabled for carousel) */
.categories-grid-original {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px auto;
  max-width: 1600px;
  padding: 0 20px;
}

.category-card {
  background: white;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.08);
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 115, 177, 0.1), transparent);
  transition: left 0.5s ease;
}

.category-card:hover::before {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 115, 177, 0.2);
  border-color: #0073B1;
}

.category-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0073B1 0%, #005885 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 20px rgba(0, 115, 177, 0.25);
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  transform: rotate(360deg) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 115, 177, 0.35);
}

.category-icon i {
  font-size: 1.75rem;
  color: white;
}

.category-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #202020;
  font-weight: 600;
}

.category-card p {
  color: #7F8C8D;
  margin-bottom: 16px;
  line-height: 1.4;
  font-size: 0.9rem;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
  color: white;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.25);
  position: relative;
  overflow: hidden;
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.category-btn:hover::before {
  width: 300px;
  height: 300px;
}

.category-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 102, 194, 0.4);
}

/* Page Header (Category Page) */
.page-header {
  background: linear-gradient(135deg, #0073B1 0%, #005885 50%, #004066 100%);
  color: white;
  padding: 80px 0 40px;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.page-header::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 100 100"><circle cx="20" cy="20" r="2" fill="%23F5A623" opacity="0.3"><animate attributeName="opacity" values="0.3;0.8;0.3" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="60" r="1.5" fill="%230A66C2" opacity="0.4"><animate attributeName="opacity" values="0.4;0.9;0.4" dur="3s" repeatCount="indefinite"/></circle></svg>') repeat;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #F5A623;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Blog Page Styles */
.blog-hero {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff8c42 100%);
  padding: 100px 0 60px;
  margin-top: 70px;
  color: white;
  text-align: center;
}

.blog-header-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.blog-header-content h1 i {
  font-size: 2.5rem;
  animation: pulse 2s infinite;
}

.blog-header-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.blog-main {
  padding: 60px 0;
  background: #f8fafc;
}

.blog-grid {
  display: grid;
  gap: 40px;
}

.blog-post.featured {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 300px 1fr;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.blog-post {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.post-image {
  height: 200px;
  background: linear-gradient(135deg, #0073B1, #005885);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.blog-post.featured .post-image {
  height: 100%;
  font-size: 4rem;
}

.post-content {
  padding: 25px;
}

.post-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.category {
  background: #ff6b35;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: 500;
}

.date {
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

.date::before {
  content: '📅';
  font-size: 0.8rem;
}

.post-content h2,
.post-content h3 {
  color: #2d3748;
  margin-bottom: 12px;
  line-height: 1.3;
}

.post-content h2 {
  font-size: 1.8rem;
}

.post-content h3 {
  font-size: 1.3rem;
}

.post-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #f7931e;
  gap: 12px;
}

.newsletter-section {
  background: white;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.newsletter-content h3 {
  color: #2d3748;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.newsletter-content h3 i {
  color: #ff6b35;
}

.newsletter-content p {
  color: #666;
  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #ff6b35;
}

.newsletter-form button {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-form button:hover {
  background: linear-gradient(45deg, #f7931e, #ff6b35);
  transform: translateY(-1px);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0073B1 0%, #005885 100%);
  color: white;
  padding: 40px 0 15px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0073B1, #0A66C2, #0073B1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 25px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  color: #ffffff;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #F5A623;
}

.footer-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
}

.footer-section h3 i {
  color: #F5A623;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #BDC3C7;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-section ul li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F5A623;
  transition: width 0.3s ease;
}

.footer-section ul li a:hover {
  color: #F5A623;
  transform: translateX(5px);
}

.footer-section ul li a:hover::before {
  width: 100%;
}

/* Highlighted CV link inside footer (eye-catching) */
footer .footer-section a[href*="freecvcreator"],
footer .footer-section a[title*="Create your CV"] {
  position: relative;
  font-weight: 600;
  background: linear-gradient(90deg,#ffb347,#ff9248,#ff6b35);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* fallback */
  -webkit-text-fill-color: transparent; /* keep gradient in webkit */
  text-shadow: 0 2px 6px rgba(255,107,53,0.35);
}
/* Ensure inner badge text remains visible */
footer .footer-section a[href*="freecvcreator"] .badge-free { -webkit-text-fill-color:#fff; color:#fff; }

/* =============================
   Static Pages & Contact Form
   ============================= */
.static-page {
  margin: 90px auto 0; /* below fixed navbar */
  padding: 48px 24px 70px;
  max-width: 1000px;
  position: relative;
}
@media (max-width: 780px){
  .static-page { padding: 60px 20px 50px; margin-top: 80px; }
}
@media (max-width: 520px){
  .static-page { padding: 55px 16px 45px; }
}

.static-page h1 {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  margin: 0 0 20px;
  background: linear-gradient(90deg,#0A66C2,#004b88);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.static-page h1::after {
  content:""; position:absolute; left:0; bottom:-10px; width:70px; height:4px; border-radius:3px; background:linear-gradient(90deg,#0A66C2,#F5A623);
}

/* Contact form card */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  padding: 34px 38px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 35px -5px rgba(15,42,60,0.18), 0 2px 6px -1px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content:""; position:absolute; inset:0; background:radial-gradient(circle at 85% 15%, rgba(10,102,194,0.12), transparent 60%), radial-gradient(circle at 10% 90%, rgba(245,166,35,0.15), transparent 60%); pointer-events:none;
}
.contact-form label {
  font-size: .68rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: #475569;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.6px solid #cbd5e1;
  border-radius: 12px;
  background: #f1f5f9;
  font: 500 0.95rem/1.4 'Segoe UI', system-ui, sans-serif;
  color: #1e293b;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .15s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #0A66C2;
  box-shadow: 0 0 0 3px rgba(10,102,194,0.25);
}
.contact-form input:hover,
.contact-form textarea:hover { border-color:#94a3b8; }
.contact-form textarea { min-height: 160px; }

.contact-form .apply-btn {
  align-self: flex-start;
  background: linear-gradient(135deg,#0A66C2,#004182) !important;
  padding: 14px 28px !important;
  border-radius: 14px !important;
  font-size: .9rem !important;
  letter-spacing: .5px;
  display: inline-flex;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.contact-form .apply-btn::before { content:""; position:absolute; left:-40%; top:-40%; width:40%; height:180%; background:linear-gradient(120deg, rgba(255,255,255,0.35), transparent 60%); transform: rotate(25deg); transition: left .6s ease; }
.contact-form .apply-btn:hover::before { left:120%; }

@media (max-width: 640px){
  .contact-form { padding: 28px 24px 34px; gap:16px; }
  .contact-form textarea { min-height: 140px; }
}

/* Styled lists in policy pages */
.static-page ul { margin: 0 0 22px 20px; }
.static-page li { margin-bottom: 8px; line-height: 1.5; }
.static-page h2 { margin-top: 40px; font-size: 1.4rem; color:#0f172a; position:relative; }
.static-page h2::before { content:""; position:absolute; left:0; bottom:-6px; width:40px; height:3px; background:linear-gradient(90deg,#0A66C2,#F5A623); border-radius:3px; }
.static-page h3 { margin-top: 28px; font-size: 1.15rem; color:#1e293b; }

/* Subtle card style if policy content is in a card */
.policy-card { background:#ffffff; padding:34px 40px; border-radius:20px; box-shadow:0 6px 28px -6px rgba(15,23,42,0.15); }
@media (max-width:640px){ .policy-card { padding:26px 22px; } }

/* Contact page specific */
.contact-wrapper { margin-bottom: 40px; }
.contact-intro { margin-bottom:22px; font-size:1rem; color:#334155; }

footer .footer-section a[href*="freecvcreator"] .badge-free {
  background: linear-gradient(135deg,#22c55e,#16a34a,#15803d);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25),0 4px 14px -2px rgba(34,197,94,0.45);
  animation: cv-badge-pulse 1.8s ease-in-out infinite;
}
@keyframes cv-badge-pulse {
  0%,100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.15); filter: brightness(1.2); }
}
footer .footer-section a[href*="freecvcreator"]:hover { text-shadow: 0 3px 10px rgba(255,107,53,0.55); }

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #005885, #0073B1);
  color: #BDC3C7;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #F5A623;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
  z-index: 0;
}

.social-links a i {
  position: relative;
  z-index: 1;
}

.social-links a:hover::before {
  width: 100px;
  height: 100px;
}

.social-links a:hover {
  color: white;
  transform: translateY(-3px) scale(1.1);
  border-color: #F5A623;
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid #34495E;
  color: white;
  font-weight: 500;
}

.back-to-top {
  margin-left: 12px;
  color: #F5A623;
  text-decoration: none;
}
.back-to-top:hover { text-decoration: underline; }

/* Energetic Animations for Sri Lankan Startup Style */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes slideInUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

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

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
  40%, 43% { transform: translate3d(0, -10px, 0); }
  70% { transform: translate3d(0, -5px, 0); }
  90% { transform: translate3d(0, -2px, 0); }
}

/* Apply animations to elements */
.category-card {
  animation: slideInUp 0.6s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }

.job-card {
  animation: fadeInLeft 0.5s ease forwards;
}

.job-card:nth-child(odd) { animation-delay: 0.1s; }
.job-card:nth-child(even) { animation-delay: 0.2s; }

.apply-btn:hover {
  animation: pulse 0.8s ease-in-out infinite;
}

.nav-logo:hover {
  animation: bounce 1s ease infinite;
}

/* High contrast focus states for accessibility */
*:focus {
  outline: 3px solid #F5A623;
  outline-offset: 2px;
}

/* Sri Lankan startup energy - vibrant accents */
.vibrant-accent {
  background: linear-gradient(45deg, #0073B1, #0A66C2, #0073B1);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =============================
   Performance & Progressive Enhancement
   ============================= */
html.post-paint body .fade-in { opacity:1; transform:none; }
.fade-in { opacity:0; transform:translateY(8px); transition:opacity .5s ease, transform .5s ease; }
img[loading="lazy"] { filter: blur(0.0001px); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Accessibility & utility helpers */
.visually-hidden-initial { display:none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* Inline style replacements / utilities */
.cors-warning { background:#dc2626; color:#fff; padding:15px; text-align:center; position:fixed; top:0; left:0; right:0; z-index:9999; font-weight:700; }
.inline-demo-url { background: rgba(255,255,255,0.2); padding: 4px 8px; border-radius: 4px; margin: 0 5px; }
.inline-hide-link { color:#fff; text-decoration:underline; margin-left:10px; cursor:pointer; }
.page-header-compact { margin:10px 0 16px; }
.jobs-results-title { margin:6px 0 0; font-size:1.4rem; }
.seo-categories-intro { max-width:860px; margin:0 auto 25px; font-size:.9rem; line-height:1.55; color:#475569; }
.seo-categories-intro a { color:#0A66C2; text-decoration:none; }
.seo-categories-intro a:hover { text-decoration:underline; }
.hidden-el { display:none; }

/* AI marketing strip */
.ai-feed-strip { background:linear-gradient(90deg,#0A66C2,#004182); color:#fff; padding:10px 0; position:relative; overflow:hidden; margin-top:70px; }
.ai-feed-strip::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 85% 50%,rgba(255,255,255,.15),transparent 60%),radial-gradient(circle at 10% 50%,rgba(245,166,35,.18),transparent 65%); pointer-events:none; }
.ai-feed-inner { display:flex; align-items:center; gap:18px; min-height:34px; }
.ai-badge { background:#F5A623; color:#1e293b; font-weight:700; padding:4px 10px; border-radius:999px; font-size:.7rem; display:inline-flex; align-items:center; gap:6px; letter-spacing:.5px; box-shadow:0 4px 10px -2px rgba(0,0,0,.25); text-transform:uppercase; }
.ai-badge i { color:#1e293b; }
.ai-tagline { margin:0; font-size:.85rem; font-weight:500; letter-spacing:.25px; }
@media (max-width:640px){
  .ai-feed-inner { flex-direction:column; align-items:flex-start; gap:6px; }
  .ai-tagline { font-size:.78rem; }
}


/* Enhanced hover effects for high energy feel */
.category-btn:hover,
.apply-btn:hover {
  animation: pulse 0.6s ease-in-out;
}

.job-card:hover .job-card-header {
  animation: slideInUp 0.3s ease;
}

/* Newsletter signup button (if exists) */
.newsletter-btn,
.subscribe-btn,
.cta-btn {
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%) !important;
  color: white !important;
  border: none !important;
  padding: 12px 25px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(10, 102, 194, 0.3) !important;
}

.newsletter-btn:hover,
.subscribe-btn:hover,
.cta-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(10, 102, 194, 0.4) !important;
}

/* Jobs Content Layout */
.jobs-main-layout {
  margin-top: 20px;
}

.jobs-content {
  min-width: 0; /* Prevents grid overflow */
}

/* Jobs Grid Layout */
.jobs-content .jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

/* Responsive behavior */
@media (min-width: 1400px) {
  .jobs-content .jobs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .jobs-content .jobs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1199px) {
  .jobs-content .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .jobs-content .jobs-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .jobs-content .jobs-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
  }
}

/* Mobile spacing optimizations */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 35px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .hero-stats {
    gap: 25px;
    margin-top: 20px;
  }
  
  #categories {
    padding: 35px 0;
  }
  
  #categories h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  
  .categories-grid {
    gap: 20px;
    margin-top: 20px;
  }
  
  .category-card {
    padding: 25px 20px;
  }
  
  .page-header {
    padding: 60px 0 30px;
  }
  
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .jobs-section {
    padding: 25px 0;
  }
  
  .jobs-filter {
    margin-bottom: 20px;
    padding: 15px;
    flex-direction: column;
    gap: 15px;
  }
  

  
  footer {
    padding: 30px 0 10px;
  }
  
  .footer-content {
    gap: 20px;
    margin-bottom: 15px;
  }
}

/* Categories Carousel Styles */
.categories-carousel {
  position: relative;
  margin: 40px 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 115, 177, 0.1);
  min-height: 500px;
}

/* Free CV Maker Section */
.cv-maker-section {
  padding: 50px 0 30px;
}

.cv-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 115, 177, 0.12);
  padding: 30px;
  align-items: center;
}

.cv-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.cv-title i { color: #0A66C2; }

.cv-subtitle { color: #475569; margin-bottom: 16px; }

.cv-features { list-style: none; margin: 0 0 18px; padding: 0; }
.cv-features li { display: flex; align-items: center; gap: 8px; color: #334155; margin: 6px 0; }
.cv-features i { color: #22c55e; }

.cv-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(10, 102, 194, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cv-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10, 102, 194, 0.45); }

.cv-right { display: flex; justify-content: center; }

.cv-visual { position: relative; width: 260px; height: 200px; }
.cv-paper {
  position: absolute; inset: 0; border-radius: 14px; background: #f8fafc;
  border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.cv-paper i { font-size: 2rem; color: #64748b; position: absolute; top: 16px; left: 16px; }
.cv-lines { position: absolute; bottom: 16px; left: 16px; right: 16px; height: 60px; background: repeating-linear-gradient(#e2e8f0, #e2e8f0 2px, transparent 2px, transparent 10px); border-radius: 6px; }
.cv-badge { position: absolute; right: -10px; top: -10px; width: 42px; height: 42px; border-radius: 50%; background: #22c55e; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(34,197,94,0.4); }

@media (max-width: 900px) {
  .cv-card { grid-template-columns: 1fr; }
  .cv-right { display: none; }
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 700%; /* 7 slides * 100% */
  height: 100%;
}

.carousel-slide {
  width: calc(100% / 7);
  flex-shrink: 0;
  padding: 40px 20px;
  box-sizing: border-box;
  min-height: 450px;
}

/* Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: #0073B1;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 115, 177, 0.2);
}

.carousel-nav:hover {
  background: #0073B1;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 115, 177, 0.3);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav.prev {
  left: 20px;
}

.carousel-nav.next {
  right: 20px;
}

/* Dots Indicator */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #cbd5e0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.dot:hover {
  background: #0073B1;
  transform: scale(1.2);
}

.dot.active {
  background: #0073B1;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(0, 115, 177, 0.3);
}

.dot.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

/* Enhanced Categories Grid for Carousel */
.carousel-slide .categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Fallback for regular categories-grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Enhanced Category Cards */
.category-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 115, 177, 0.1), transparent);
  transition: left 0.6s ease;
}

.category-card:hover::before {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 115, 177, 0.15);
  border-color: #0073B1;
}

.category-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #0073B1, #005885);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
}

.category-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #0073B1, #005885);
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.4s ease;
}

.category-card:hover .category-icon::after {
  opacity: 0.2;
  transform: scale(1.4);
}

.category-icon i {
  font-size: 32px;
  color: white;
  z-index: 1;
  position: relative;
}

.category-card h3 {
  font-size: 1.3rem;
  color: #2d3748;
  margin: 0 0 12px 0;
  font-weight: 600;
  transition: color 0.3s ease;
}

.category-card:hover h3 {
  color: #0073B1;
}

.category-card p {
  color: #718096;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

/* Article Page Styles */
.blog-article {
  background: #f8fafc;
  min-height: 100vh;
}

.article-header {
  background: linear-gradient(135deg, #0073B1 0%, #005885 100%);
  color: white;
  padding: 100px 0 60px;
  margin-top: 70px;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.6);
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-meta .category {
  background: #ff6b35;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.article-meta time {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.read-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.article-header h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 700;
}

.article-subtitle {
  font-size: 1.3rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 30px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.author-title {
  font-size: 0.9rem;
  opacity: 0.8;
}

.article-content {
  padding: 60px 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.article-body {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-image {
  text-align: center;
  margin-bottom: 40px;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 2px dashed #cbd5e0;
}

.article-image i {
  font-size: 4rem;
  color: #0073B1;
  margin-bottom: 15px;
  display: block;
}

.image-caption {
  color: #666;
  font-style: italic;
  margin: 0;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  color: #2d3748;
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

.content-section h2 i {
  color: #ff6b35;
}

.content-section h3 {
  color: #4a5568;
  font-size: 1.4rem;
  margin: 25px 0 15px 0;
}

.content-section p {
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.highlight-box {
  background: linear-gradient(135deg, #fff5f2 0%, #fed7cc 100%);
  border-left: 4px solid #ff6b35;
  padding: 25px;
  border-radius: 8px;
  margin: 25px 0;
}

.highlight-box h3 {
  color: #c53030;
  margin-bottom: 15px;
}

.highlight-box ul {
  margin: 0;
  padding-left: 20px;
}

.highlight-box li {
  margin-bottom: 8px;
  color: #744210;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f7fafc;
  border-radius: 8px;
  border-left: 4px solid #48bb78;
}

.checklist-item i {
  color: #48bb78;
  font-size: 1.2rem;
}

.qa-section {
  margin: 30px 0;
}

.question-block {
  background: #f8fafc;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 4px solid #0073B1;
}

.question-block h4 {
  color: #2d3748;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.question-block h4 i {
  color: #0073B1;
}

.answer-tips {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}

.answer-tips p {
  margin-bottom: 10px;
}

.answer-tips ol {
  margin-left: 20px;
}

.answer-tips li {
  margin-bottom: 8px;
  color: #4a5568;
}

.employer-expectations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.expectation-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.expectation-card i {
  font-size: 2.5rem;
  color: #ff6b35;
  margin-bottom: 15px;
  display: block;
}

.expectation-card h4 {
  color: #2d3748;
  margin-bottom: 10px;
}

.expectation-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.tip-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.tip-card i {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
  opacity: 0.9;
}

.tip-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.tip-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.call-to-action {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  margin: 40px 0;
}

.call-to-action h3 {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.call-to-action p {
  margin-bottom: 25px;
  opacity: 0.9;
}

.cta-button {
  background: white;
  color: #ff6b35;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Sidebar Styles */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
  color: #2d3748;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
}

.sidebar-widget h3 i {
  color: #ff6b35;
}

.related-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.related-post {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f7fafc;
  border-radius: 8px;
  text-decoration: none;
  color: #4a5568;
  transition: all 0.3s ease;
}

.related-post:hover {
  background: #e2e8f0;
  color: #0073B1;
}

.related-post i {
  color: #0073B1;
  font-size: 1.2rem;
}

.social-share {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.share-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-3px);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

/* Mobile Responsive */
@media (max-width: 768px) {
  .article-header h1 {
    font-size: 2.2rem;
  }
  
  .article-subtitle {
    font-size: 1.1rem;
  }
  
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .article-body {
    padding: 25px;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .employer-expectations {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .social-share {
    flex-wrap: wrap;
  }
}

/* Article Page Styles */
.blog-article {
  background: #f8fafc;
  min-height: 100vh;
}

.article-header {
  background: linear-gradient(135deg, #0073B1 0%, #005885 100%);
  color: white;
  padding: 100px 0 60px;
  margin-top: 70px;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.6);
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-meta .category {
  background: #ff6b35;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.article-meta time {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.read-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.article-header h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 700;
}

.article-subtitle {
  font-size: 1.3rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 30px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.author-title {
  font-size: 0.9rem;
  opacity: 0.8;
}

.article-content {
  padding: 60px 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.article-body {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-image {
  text-align: center;
  margin-bottom: 40px;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 2px dashed #cbd5e0;
}

.article-image i {
  font-size: 4rem;
  color: #0073B1;
  margin-bottom: 15px;
  display: block;
}

.image-caption {
  color: #666;
  font-style: italic;
  margin: 0;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  color: #2d3748;
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

.content-section h2 i {
  color: #ff6b35;
}

.content-section h3 {
  color: #4a5568;
  font-size: 1.4rem;
  margin: 25px 0 15px 0;
}

.content-section p {
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.highlight-box {
  background: linear-gradient(135deg, #fff5f2 0%, #fed7cc 100%);
  border-left: 4px solid #ff6b35;
  padding: 25px;
  border-radius: 8px;
  margin: 25px 0;
}

.highlight-box h3 {
  color: #c53030;
  margin-bottom: 15px;
}

.highlight-box ul {
  margin: 0;
  padding-left: 20px;
}

.highlight-box li {
  margin-bottom: 8px;
  color: #744210;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f7fafc;
  border-radius: 8px;
  border-left: 4px solid #48bb78;
}

.checklist-item i {
  color: #48bb78;
  font-size: 1.2rem;
}

.qa-section {
  margin: 30px 0;
}

.question-block {
  background: #f8fafc;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 4px solid #0073B1;
}

.question-block h4 {
  color: #2d3748;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.question-block h4 i {
  color: #0073B1;
}

.answer-tips {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}

.answer-tips p {
  margin-bottom: 10px;
}

.answer-tips ol {
  margin-left: 20px;
}

.answer-tips li {
  margin-bottom: 8px;
  color: #4a5568;
}

.employer-expectations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.expectation-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.expectation-card i {
  font-size: 2.5rem;
  color: #ff6b35;
  margin-bottom: 15px;
  display: block;
}

.expectation-card h4 {
  color: #2d3748;
  margin-bottom: 10px;
}

.expectation-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.tip-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.tip-card i {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
  opacity: 0.9;
}

.tip-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.tip-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.call-to-action {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  margin: 40px 0;
}

.call-to-action h3 {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.call-to-action p {
  margin-bottom: 25px;
  opacity: 0.9;
}

.cta-button {
  background: white;
  color: #ff6b35;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Sidebar Styles */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
  color: #2d3748;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
}

.sidebar-widget h3 i {
  color: #ff6b35;
}

.related-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.related-post {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f7fafc;
  border-radius: 8px;
  text-decoration: none;
  color: #4a5568;
  transition: all 0.3s ease;
}

.related-post:hover {
  background: #e2e8f0;
  color: #0073B1;
}

.related-post i {
  color: #0073B1;
  font-size: 1.2rem;
}

.social-share {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.share-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-3px);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

/* Mobile Responsive */
@media (max-width: 768px) {
  .article-header h1 {
    font-size: 2.2rem;
  }
  
  .article-subtitle {
    font-size: 1.1rem;
  }
  
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .article-body {
    padding: 25px;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .employer-expectations {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .social-share {
    flex-wrap: wrap;
  }
}

/* Article Page Styles */
.blog-article {
  background: #f8fafc;
  min-height: 100vh;
}

.article-header {
  background: linear-gradient(135deg, #0073B1 0%, #005885 100%);
  color: white;
  padding: 100px 0 60px;
  margin-top: 70px;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.6);
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-meta .category {
  background: #ff6b35;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.article-meta time {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.read-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.article-header h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 700;
}

.article-subtitle {
  font-size: 1.3rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 30px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.author-title {
  font-size: 0.9rem;
  opacity: 0.8;
}

.article-content {
  padding: 60px 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.article-body {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-image {
  text-align: center;
  margin-bottom: 40px;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 2px dashed #cbd5e0;
}

.article-image i {
  font-size: 4rem;
  color: #0073B1;
  margin-bottom: 15px;
  display: block;
}

.image-caption {
  color: #666;
  font-style: italic;
  margin: 0;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  color: #2d3748;
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

.content-section h2 i {
  color: #ff6b35;
}

.content-section h3 {
  color: #4a5568;
  font-size: 1.4rem;
  margin: 25px 0 15px 0;
}

.content-section p {
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.highlight-box {
  background: linear-gradient(135deg, #fff5f2 0%, #fed7cc 100%);
  border-left: 4px solid #ff6b35;
  padding: 25px;
  border-radius: 8px;
  margin: 25px 0;
}

.highlight-box h3 {
  color: #c53030;
  margin-bottom: 15px;
}

.highlight-box ul {
  margin: 0;
  padding-left: 20px;
}

.highlight-box li {
  margin-bottom: 8px;
  color: #744210;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f7fafc;
  border-radius: 8px;
  border-left: 4px solid #48bb78;
}

.checklist-item i {
  color: #48bb78;
  font-size: 1.2rem;
}

.qa-section {
  margin: 30px 0;
}

.question-block {
  background: #f8fafc;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 4px solid #0073B1;
}

.question-block h4 {
  color: #2d3748;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.question-block h4 i {
  color: #0073B1;
}

.answer-tips {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}

.answer-tips p {
  margin-bottom: 10px;
}

.answer-tips ol {
  margin-left: 20px;
}

.answer-tips li {
  margin-bottom: 8px;
  color: #4a5568;
}

.employer-expectations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.expectation-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.expectation-card i {
  font-size: 2.5rem;
  color: #ff6b35;
  margin-bottom: 15px;
  display: block;
}

.expectation-card h4 {
  color: #2d3748;
  margin-bottom: 10px;
}

.expectation-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.tip-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.tip-card i {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
  opacity: 0.9;
}

.tip-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.tip-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.call-to-action {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  margin: 40px 0;
}

.call-to-action h3 {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.call-to-action p {
  margin-bottom: 25px;
  opacity: 0.9;
}

.cta-button {
  background: white;
  color: #ff6b35;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Sidebar Styles */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
  color: #2d3748;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
}

.sidebar-widget h3 i {
  color: #ff6b35;
}

.related-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* End of related posts block fix */

/* --------------------------------------------------
   Mobile Responsiveness Enhancements (2025-09)
   Added by AI to improve usability on small screens
   -------------------------------------------------- */

/* 1. Navigation / Hamburger */
@media (max-width: 900px) {
  .hamburger { display: flex; z-index: 1100; }
  .hamburger .bar { background:#0073B1; }
  .hamburger.active .bar:nth-child(2){ opacity:0; }
  .hamburger.active .bar:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  .hamburger.active .bar:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

  .nav-menu {
    position: fixed;
    top: 70px; /* below navbar */
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 10px 18px 22px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: max-height .35s ease;
  }
  .nav-menu.active { max-height: 420px; }
  .nav-menu .nav-item { width: 100%; }
  .nav-menu .nav-link { width: 100%; border-radius: 8px; }
  .nav-menu .nav-link:hover { background:#f1f5f9; }
}

/* 2. Hero Section Tweaks */
@media (max-width: 780px) {
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .stat { flex: 1 1 calc(50% - 18px); min-width: 140px; padding:16px; }
  .hero-content h1 { font-size: 1.9rem; }
  .hero-content p { font-size: .95rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.55rem; }
  .stat { flex: 1 1 100%; }
}

/* 3. Categories Carousel Grid */
@media (max-width: 1100px) {
  .carousel-slide .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .carousel-slide { padding: 30px 16px; min-height: unset; }
  .categories-carousel { min-height: 0; }
  .carousel-slide .categories-grid { grid-template-columns: 1fr; gap:18px; }
  .category-card { height: auto; min-height: 0; padding: 22px 20px; }
  .category-card p { height: auto; -webkit-line-clamp: unset; line-clamp: unset; }
  .carousel-nav { width:42px; height:42px; }
  .carousel-nav.prev { left: 8px; }
  .carousel-nav.next { right: 8px; }
  .carousel-dots { flex-wrap: wrap; gap:8px; }
}

/* 4. CV Card */
@media (max-width: 620px) {
  .cv-card { padding: 24px 20px; }
  .cv-title { font-size: 1.5rem; }
  .cv-subtitle { font-size: .9rem; }
  .cv-features li { font-size: .85rem; }
  .cv-cta { padding:10px 16px; font-size:.9rem; }
}

/* 5. Blog Layout */
@media (max-width: 960px) {
  .blog-post.featured { grid-template-columns: 1fr; }
  .blog-post.featured .post-image { height: 220px; }
}
@media (max-width: 600px) {
  .blog-posts-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .post-content { padding: 20px; }
  .post-content h2 { font-size: 1.4rem; }
}

/* 6. Job Cards Grid Fine Tune */
@media (max-width: 640px) {
  .jobs-content .jobs-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap:14px; }
  .job-card h2 { font-size: .85rem; }
  .company-info span { font-size: .65rem; }
  .apply-btn { padding:6px 10px; font-size:.7rem; }
}

/* 7. Footer adjustments */
@media (max-width: 640px) {
  footer { padding: 34px 0 12px; }
  .footer-content { gap: 16px; }
  .footer-section h3 { font-size: 1.1rem; }
}

/* 8. Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 9. High-density screen tweaks */
@media (max-width: 360px) {
  .nav-logo span { font-size: 1.1rem; }
  .category-card h3 { font-size: 1.05rem; }
  .category-btn { padding:8px 18px; font-size:.75rem; }
}

/* 10. Accessibility: larger tap targets on mobile */
@media (max-width: 600px) {
  a, button { min-height: 40px; }
  .nav-link { padding: 14px 16px; }
}

/* =============================
   Enhanced Footer UI (2025-09)
   ============================= */
footer {
  background: linear-gradient(140deg,#012e4a 0%, #004b73 50%, #006fa8 100%);
  position: relative;
  overflow: hidden;
}
footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,0.07) 0, transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,0.08) 0, transparent 60%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

footer .footer-content { 
  position: relative; 
  z-index: 1; 
  display: grid; 
  grid-template-columns: minmax(200px, 1.2fr) repeat(auto-fit, minmax(160px, 1fr)); 
  align-items: flex-start; 
  max-width: 1200px;
  margin: 0 auto 25px auto;
  padding: 0 28px; /* added horizontal padding so left section not flush */
}
@media (max-width: 640px){
  footer .footer-content { padding: 0 20px; }
}

.footer-section { position: relative; }

.footer-section h3, .footer-section h4 {
  font-weight: 600;
  letter-spacing: .5px;
}

/* Brand block refinements */
.footer-section h3 i { filter: drop-shadow(0 3px 6px rgba(0,0,0,.25)); }

/* Links */
.footer-section ul li a {
  display: inline-block;
  padding: 4px 0;
  font-size: .92rem;
  color: #d3e2ec;
  opacity: .9;
  transition: color .25s ease, transform .25s ease;
}
.footer-section ul li a:hover { color:#ffffff; transform: translateX(4px); }
.footer-section ul li a:focus { outline:2px solid #F5A623; outline-offset:4px; }

/* Animated underline */
.footer-section ul li a { position:relative; }
.footer-section ul li a::after {
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background:#F5A623; transition:width .3s ease; border-radius:2px;
}
.footer-section ul li a:hover::after, .footer-section ul li a:focus::after { width:100%; }

/* Social icons refined */
.social-links a {
  background:rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border:1px solid rgba(255,255,255,0.15);
  color:#e2f2fa;
  transition: background .3s ease, transform .3s ease, color .3s ease, border-color .3s ease;
}
.social-links a:hover {
  background:#F5A623;
  color:#062b44;
  border-color:#f5c96f;
  transform: translateY(-4px) scale(1.06);
  box-shadow:0 8px 18px -4px rgba(0,0,0,0.4);
}

.footer-bottom { 
  position: relative; 
  z-index:1; 
  background: linear-gradient(to right, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 10px;
}
.footer-bottom p { font-size:.8rem; letter-spacing:.5px; opacity:.85; }

/* Extra spacing for left (brand) footer section */
footer .footer-content .footer-section:first-child {
  padding-right: 48px;
}
@media (max-width: 860px){
  footer .footer-content .footer-section:first-child { padding-right: 32px; }
}
@media (max-width: 640px){
  footer .footer-content .footer-section:first-child { padding-right: 0; }
}

/* Optional subtle separator lines inside grid */
.footer-section:not(:first-child)::before {
  content:""; position:absolute; top:8px; left:-15px; bottom:8px; width:1px; background:linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent); pointer-events:none;
}
@media (max-width: 860px){
  .footer-section:not(:first-child)::before { display:none; }
}

/* Mobile stack & collapsible headings */
@media (max-width: 640px){
  footer { padding-top: 50px; }
  footer .footer-content { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-section { padding: 0 4px; }
}
@media (max-width: 480px){
  footer .footer-content { grid-template-columns: 1fr; }
  .footer-section { border:1px solid rgba(255,255,255,0.12); border-radius:10px; padding:14px 16px; background:rgba(255,255,255,0.04); }
  .footer-section h4 { cursor:pointer; position:relative; padding-right:26px; }
  .footer-section h4::after { content:"\25BC"; position:absolute; right:4px; top:50%; transform:translateY(-50%) rotate(0deg); font-size:.7rem; opacity:.7; transition: transform .3s ease; }
  .footer-section[data-collapsed="true"] ul { display:none; }
  .footer-section[data-collapsed="false"] h4::after { transform:translateY(-50%) rotate(180deg); }
}

/* Utility class for JS enablement (progressive enhancement) */
.footer-js-enabled .footer-section h4 { transition:color .25s ease; }
.footer-js-enabled .footer-section h4:focus { outline:2px solid #F5A623; outline-offset:4px; }

/* ==============================================
   Global Mobile Refinements (Phase 2 – Consolidated)
   ==============================================
   Purpose: final pass to normalize touch sizes, spacing & typography
   without removing earlier styles (safe overriding only)
*/

/* Unify primary action buttons */
.apply-btn,
.search-btn,
.btn-primary,
.cta-btn,
.newsletter-btn,
.subscribe-btn {
  background: linear-gradient(135deg,#0073B1,#0A66C2);
  color:#fff;
  border:none;
  box-shadow:0 2px 6px -1px rgba(0,115,177,.35);
  position:relative;
  isolation:isolate;
}
.apply-btn::after,
.search-btn::after,
.btn-primary::after,
.cta-btn::after,
.newsletter-btn::after,
.subscribe-btn::after {
  content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(160deg,rgba(255,255,255,.15),transparent 60%); pointer-events:none; mix-blend-mode:overlay; opacity:.9; transition:opacity .3s ease;
}
.apply-btn:hover::after,
.search-btn:hover::after,
.btn-primary:hover::after,
.cta-btn:hover::after,
.newsletter-btn:hover::after,
.subscribe-btn:hover::after { opacity:1; }

/* Consistent focus ring */
.apply-btn:focus-visible,
.search-btn:focus-visible,
.category-toggle:focus-visible,
button:focus-visible,
a.button:focus-visible { outline:2px solid #F5A623; outline-offset:3px; }

/* Improve tap targets on very small phones */
@media (max-width:480px){
  .apply-btn, .search-btn, .category-toggle, .cta-btn, .btn-primary { min-height:44px; font-size:.85rem; }
  .apply-btn, .search-btn { padding:10px 18px; }
}

/* Extra-narrow handset adjustments */
@media (max-width:360px){
  .ai-feed-strip { padding:6px 0; }
  .ai-feed-inner { gap:4px; }
  .ai-badge { font-size:.6rem; padding:3px 8px; }
  .ai-tagline { font-size:.7rem; }
  .hero-inner { padding:28px 16px; }
  .hero-search form { flex-direction:column; }
  .hero-benefits li { font-size:.7rem; }
}

/* Slight hero tightening for sub-400px widths */
@media (max-width:400px){
  .hero h1 { font-size:1.55rem; }
  .hero p.lead { font-size:.9rem; }
  .hero-visual { max-width:260px; margin:0 auto; }
}

/* Prevent oversized margins on stacked sections */
@media (max-width:640px){
  .section, .categories, .jobs-main, .static-page { margin-left:auto; margin-right:auto; }
}

/* Fluid typography soft step-down */
@media (max-width:520px){
  body { font-size:15px; }
}
@media (max-width:400px){
  body { font-size:14px; }
}

/* Reduce excessive vertical gaps on tiny screens */
@media (max-width:480px){
  .hero { padding-top:40px; padding-bottom:40px; }
  footer { padding-top:40px; }
}

/* Jobs card minor density tweak (global override, safe) */
@media (max-width:420px){
  .job-card, .jobs-content .job-card { padding:12px 14px; }
  .job-card h2, .job-header h3 { font-size:1rem; }
  .job-description { -webkit-line-clamp:3; line-clamp:3; }
}

/* Ensure category pills wrap cleanly */
@media (max-width:480px){
  .category-list { column-gap:6px; }
}

/* Defensive: avoid overflow of long company names */
.company-info span { overflow:hidden; text-overflow:ellipsis; }

/* Subtle performance hint: remove heavy hover translation on touch (mobile) */
@media (hover:none){
  .job-card:hover, .apply-btn:hover, .category-toggle:hover { transform:none !important; box-shadow:none !important; }
}
