/*
Theme Name: Career4u - Premium GeneratePress Job Portal
Theme URI: https://career4u.in
Author: Career4u Team
Author URI: https://career4u.in
Description: An ultra-premium, modern, 100% Google AdSense, Dual Schema & Google Discover ready WordPress Theme designed for Career4u.in.
Version: 4.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, two-columns, custom-menu, featured-images, flexible-header
Text Domain: dailyjobs
*/

/* ==========================================================================
   Career4u.in Ultra-Premium Theme CSS (Version 4.3.0)
   ========================================================================== */

:root {
  --gp-primary: #1d4ed8;          /* Premium Electric Blue */
  --gp-primary-hover: #1e40af;
  --gp-accent: #ff6600;           /* Vibrant Amber Orange */
  --gp-accent-hover: #ea580c;
  --gp-yellow: #ffd700;           /* Gold Yellow */
  --gp-dark: #0f172a;             /* Deep Obsidian Slate */
  --gp-muted: #475569;            /* Slate Gray */
  --gp-light-muted: #64748b;
  --gp-bg: #f8fafc;               /* Premium Soft Background */
  --gp-card-bg: #ffffff;
  --gp-border: #e2e8f0;
  --gp-border-hover: #cbd5e1;
  --gp-shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06);
  --gp-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --gp-shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --gp-radius: 8px;
  --gp-radius-md: 12px;
  --gp-radius-lg: 16px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--gp-bg);
  color: var(--gp-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================================
   1. PREMIUM HEADER & LOGO
   ========================================================================== */
.gp-header {
  background: #ffffff;
  border-bottom: 1px solid var(--gp-border);
  padding: 14px 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; }

.gp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gp-dark); }
.site-logo-img, .gp-logo img { height: 46px; width: auto; max-width: 240px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05)); }

.gp-nav { display: flex; align-items: center; gap: 24px; }
.gp-nav ul { display: flex; list-style: none; gap: 24px; align-items: center; }
.gp-nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 6px;
}
.gp-nav a:hover { color: var(--gp-primary); background: #eff6ff; }

/* ==========================================================================
   2. VIBRANT PREMIUM BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--gp-radius);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
}

.btn-gp-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #0052cc 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}
.btn-gp-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #003d99 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.45);
}

.btn-gp-accent {
  background: linear-gradient(135deg, #ff6600 0%, #ea580c 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}
.btn-gp-accent:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.45);
}

.btn-gp-search { background: linear-gradient(135deg, #1d4ed8 0%, #0052cc 100%); color: white; padding: 12px 26px; border-radius: var(--gp-radius); }
.btn-gp-search:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(29, 78, 216, 0.4); }
.btn-block { width: 100%; }

/* ==========================================================================
   3. SCROLLING TICKER BAR (OBSIDIAN DARK TRACK)
   ========================================================================== */
.scrolling-ticker-bar {
  background: #0b132b;
  color: #f8fafc;
  padding: 9px 0;
  border-bottom: 1px solid #1e293b;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.ticker-inner { display: flex; align-items: center; gap: 16px; }
.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  background: #1e293b;
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--gp-yellow);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #334155;
}
.ticker-text-yellow { color: #ffd700 !important; font-weight: 800; }
.pulse-dot.yellow-dot { width: 9px; height: 9px; background: #ffd700; border-radius: 50%; animation: pulseYellow 2s infinite; }
@keyframes pulseYellow { 0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.8); } 70% { box-shadow: 0 0 0 7px rgba(255, 215, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); } }

.ticker-content-wrapper { overflow: hidden; width: 100%; }
.ticker-track { display: flex; align-items: center; gap: 36px; white-space: nowrap; animation: scrollTicker 32s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes scrollTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #f8fafc; text-decoration: none; font-weight: 600; }
.ticker-item:hover { color: #ffd700; text-decoration: underline; }
.ticker-yellow-star { color: #ffd700; font-size: 11px; }

/* ==========================================================================
   4. SEARCH BAR CARD (PREMIUM ELEVATION)
   ========================================================================== */
.gp-search-section { padding: 22px 0; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border-bottom: 1px solid var(--gp-border); }
.search-card { background: #ffffff; border: 1px solid var(--gp-border); padding: 14px; border-radius: var(--gp-radius-lg); box-shadow: var(--gp-shadow-md); }
.search-grid { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr auto; gap: 12px; align-items: center; }
.search-input-group { display: flex; align-items: center; gap: 10px; background: #f8fafc; border: 1px solid var(--gp-border); padding: 11px 16px; border-radius: var(--gp-radius-md); transition: all 0.2s ease; }
.search-input-group:focus-within { background: #ffffff; border-color: var(--gp-primary); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12); }
.search-input-group input, .search-input-group select { width: 100%; border: none; outline: none; font-family: inherit; font-size: 14px; color: var(--gp-dark); background: transparent; font-weight: 500; }

/* ==========================================================================
   5. MAIN LAYOUT & JOB CARDS
   ========================================================================== */
.gp-main-content { padding: 28px 0 60px; }
.gp-two-column-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.job-feed-list { display: flex; flex-direction: column; gap: 18px; }

/* Ultra-Premium Card Styling */
.gp-job-card {
  background: var(--gp-card-bg);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-lg);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--gp-shadow-sm);
  position: relative;
}

.gp-job-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--gp-shadow-md);
  transform: translateY(-3px);
  background: #ffffff;
}

.card-featured-img {
  width: 140px;
  height: 105px;
  border-radius: var(--gp-radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--gp-border);
  background: #f8fafc;
}
.card-featured-img img { width: 100%; height: 100%; object-fit: contain; background: #f8fafc; }

.card-info { display: flex; flex-direction: column; gap: 8px; }
.job-card-title { font-size: 17px; font-weight: 800; color: var(--gp-dark); line-height: 1.35; letter-spacing: -0.01em; }
.gp-job-card:hover .job-card-title { color: var(--gp-primary); }

.post-meta-details { font-size: 12px; color: var(--gp-muted); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.post-meta-details span { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }

.meta-category {
  background: #eff6ff;
  color: var(--gp-primary) !important;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700 !important;
  font-size: 11px;
  border: 1px solid #dbeafe;
}

.card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.card-salary { font-size: 15px; font-weight: 800; color: var(--gp-accent); }

/* FEATURED IMAGE DISPLAY (UNCROPPED) */
.single-featured-wrapper {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--gp-shadow-sm);
  display: flex;
  justify-content: center;
  align-items: center;
}

.single-featured-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

/* Static Page Content */
.gp-page-content p { margin-bottom: 16px; }
.gp-page-content h2, .gp-page-content h3 { margin: 24px 0 12px; color: var(--gp-dark); }
.gp-page-content ul, .gp-page-content ol { padding-left: 24px; margin-bottom: 16px; }

/* CAREER4U.IN TRUST BOX */
.career4u-trust-box {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-left: 5px solid #faad14;
  border-radius: var(--gp-radius-md);
  padding: 20px 22px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: var(--gp-shadow-sm);
}

.trust-badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #d48806;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.text-yellow { color: #faad14; font-size: 16px; }
.text-green { color: #52c41a; font-size: 14px; }
.text-orange { color: #ff6600; }

.trust-text { font-size: 14px; color: #595959; line-height: 1.6; margin-bottom: 10px; }
.trust-note { font-size: 13px; color: #1d39c4; background: #f0f5ff; border: 1px solid #adc6ff; padding: 10px 16px; border-radius: 8px; display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* ==========================================================================
   6. LEFT SIDE FLOATING SOCIAL SHARE BAR (PURE WHITE ICONS)
   ========================================================================== */
.floating-social-share-bar {
  position: fixed !important;
  left: 0 !important;
  right: auto !important;
  top: 25% !important;
  z-index: 99999 !important;
  display: flex;
  flex-direction: column;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
  box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.15);
}

.share-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-btn i, .share-btn svg {
  color: #ffffff !important;
  fill: #ffffff !important;
  font-size: 18px;
}

.share-btn:hover { transform: translateX(6px); color: #ffffff !important; }
.share-facebook { background: #3b5998 !important; }
.share-twitter  { background: #000000 !important; color: #ffffff !important; }
.share-twitter i { color: #ffffff !important; }
.share-pinterest{ background: #bd081c !important; }
.share-linkedin { background: #0077b5 !important; }
.share-whatsapp { background: #25d366 !important; }
.share-telegram { background: #0088cc !important; }

/* ==========================================================================
   7. RIGHT SIDEBAR WIDGETS
   ========================================================================== */
.right-column { display: flex; flex-direction: column; gap: 24px; }
.gp-widget { background: var(--gp-card-bg); border: 1px solid var(--gp-border); border-radius: var(--gp-radius-lg); padding: 20px; box-shadow: var(--gp-shadow-sm); }
.widget-title { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9; }
.widget-title h3 { font-size: 15px; font-weight: 800; color: var(--gp-dark); display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }

.trending-posts-list { display: flex; flex-direction: column; gap: 12px; }
.trending-item { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--gp-dark); padding: 8px; border-radius: 8px; transition: background 0.2s; border-bottom: 1px dashed var(--gp-border); }
.trending-item:hover { background: #f8fafc; }
.trending-rank-icon { width: 32px; height: 32px; background: #fff7ed; color: #ff6600; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; border: 1px solid #ffedd5; font-weight: 800; }
.trending-info h4 { font-size: 13px; font-weight: 700; line-height: 1.35; margin-bottom: 2px; }
.trending-views-meta { font-size: 11px; color: var(--gp-light-muted); display: flex; gap: 10px; }

.attractive-cat-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.attractive-cat-list li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #f8fafc; border: 1px solid var(--gp-border); border-radius: var(--gp-radius); text-decoration: none; font-size: 13px; font-weight: 700; color: var(--gp-dark); transition: all 0.2s; }
.attractive-cat-list li a:hover { background: #eff6ff; border-color: #bfdbfe; color: var(--gp-primary); transform: translateX(4px); }
.cat-left-info { display: flex; align-items: center; gap: 10px; }
.cat-count-badge { background: var(--gp-primary); color: white; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 12px; }

/* RECENT POSTS WIDGET THUMBNAILS */
.recent-posts-list { display: flex; flex-direction: column; gap: 12px; }
.recent-post-item { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--gp-dark); padding: 8px; border-radius: 10px; transition: all 0.2s; border-bottom: 1px solid var(--gp-border); }
.recent-post-item:hover { background: #f8fafc; transform: translateY(-1px); }
.recent-post-thumb { width: 68px; height: 68px; border-radius: 10px; overflow: hidden; background: #eff6ff; color: var(--gp-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--gp-border); box-shadow: var(--gp-shadow-sm); }
.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-post-info { display: flex; flex-direction: column; gap: 4px; }
.recent-post-info h4 { font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--gp-dark); }
.recent-post-info h4:hover { color: var(--gp-primary); }
.recent-post-date { font-size: 11px; color: var(--gp-light-muted); display: flex; align-items: center; gap: 4px; }

/* SIDEBAR ALERT CARD (OBSIDIAN GRADIENT) */
.widget-accent-box {
  background: linear-gradient(135deg, #0b132b 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid #334155;
  text-align: center;
}
.wbox-icon { font-size: 32px; color: #ff6600; margin-bottom: 8px; filter: drop-shadow(0 2px 6px rgba(255,102,0,0.4)); }
.widget-accent-box h3 { font-size: 16px; font-weight: 800; color: #ffffff; }
.widget-accent-box p { font-size: 12px; color: #cbd5e1; margin-bottom: 14px; }
.sidebar-alert-form { display: flex; flex-direction: column; gap: 10px; }
.alert-input { width: 100%; padding: 10px 14px; border-radius: var(--gp-radius); border: 1px solid #334155; background: rgba(255, 255, 255, 0.08); color: white; font-family: inherit; font-size: 13px; outline: none; transition: all 0.2s; }
.alert-input::placeholder { color: #94a3b8; }
.alert-input:focus { background: #ffffff; color: var(--gp-dark); border-color: var(--gp-accent); }

/* Pagination */
.gp-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; }
.gp-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border-radius: var(--gp-radius); background: white; border: 1px solid var(--gp-border); color: var(--gp-dark); font-size: 13px; font-weight: 700; text-decoration: none; transition: all 0.2s; }
.gp-pagination .page-numbers:hover, .gp-pagination .page-numbers.current { background: var(--gp-primary); color: white; border-color: var(--gp-primary); }

/* ==========================================================================
   8. SINGLE LINE COMPACT FOOTER - PURE WHITE TEXT (#ffffff)
   ========================================================================== */
.gp-footer {
  background: #0b132b;
  color: #ffffff !important;
  padding: 16px 0 !important;
  font-size: 13px;
  margin-top: 40px;
  border-top: 1px solid #1e293b;
}

.footer-single-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copyright-left p { margin: 0; color: #ffffff !important; font-size: 13px; font-weight: 600; }
.footer-links-right ul { display: flex; list-style: none; gap: 20px; flex-wrap: wrap; margin: 0; padding: 0; }
.footer-links-right ul li { margin: 0; padding: 0; }
.footer-links-right ul li a, .footer-links-right a { color: #ffffff !important; text-decoration: none; font-weight: 600; font-size: 13px; transition: color 0.2s; }
.footer-links-right ul li a:hover, .footer-links-right a:hover { color: #ff6600 !important; text-decoration: underline; }

/* ==========================================================================
   9. FLOATING WHATSAPP BUTTON (LIFTED ABOVE SINGLE-LINE FOOTER BY ~1 CM)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed !important;
  bottom: 70px !important;
  right: 22px !important;
  z-index: 99999 !important;
  background: #25d366;
  color: white;
  padding: 7px 16px 7px 7px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float-btn:hover {
  background: #128c7e;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7);
  color: white;
}

.wa-icon-box {
  width: 38px;
  height: 38px;
  background: white;
  color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.wa-text-box { display: flex; flex-direction: column; line-height: 1.2; }
.wa-label { font-size: 12px; font-weight: 800; color: white; }
.wa-sub { font-size: 9px; font-weight: 700; color: #e8f5e9; text-transform: uppercase; display: flex; align-items: center; gap: 4px; }

@media (max-width: 900px) {
  .gp-two-column-layout { grid-template-columns: 1fr; }
  .gp-job-card { grid-template-columns: 1fr; }
  .card-featured-img { width: 100%; height: 160px; }
  .search-grid { grid-template-columns: 1fr; }
  .gp-nav { display: none; }
  .footer-single-line { flex-direction: column; align-items: flex-start; gap: 10px; }
  .floating-social-share-bar { display: none; }
  .whatsapp-float-btn { bottom: 75px !important; }
}
