/* ==========================================
   DAILYWEBUTILS - COMPLETE MASTER CSS (SAAS UI)
   Version: 2.0 (Bulletproof & Fast)
   ========================================== */

/* --- GLOBAL & UTILS --- */
.dwu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.dwu-text-blue { color: #2563eb; }

/* 🚀 Underline Fix for ALL Links & Icons */
.dwu-icon-box, .dwu-icon-box:hover, .dwu-icon-box a, .dwu-box-text,
.dwu-hero-tags a, .dwu-job-title a, .dwu-read-more, .dwu-btn-solid {
    text-decoration: none !important;
}

/* --- 1. MINIMAL HERO SECTION --- */
.dwu-hero-minimal {
    padding: clamp(60px, 8vw, 100px) 0;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 40px;
}
.dwu-hero-badge {
    background: #eff6ff; color: #2563eb;
    padding: 6px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 700;
    font-family: 'Inter', sans-serif;
    display: inline-block; margin-bottom: 20px;
}
.dwu-hero-title {
    color: #0f172a; font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(32px, 5vw, 54px); font-weight: 800;
    margin: 0 0 15px; line-height: 1.2; letter-spacing: -0.5px;
}
.dwu-hero-subtitle {
    color: #64748b; font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 2vw, 18px); line-height: 1.6;
    margin: 0 auto 35px; max-width: 650px;
}

/* Hero Search Box */
.dwu-hero-search { max-width: 600px; margin: 0 auto 30px; }
.dwu-search-form {
    display: flex; gap: 10px; background: #ffffff;
    border: 1px solid #cbd5e1; padding: 6px; border-radius: 12px;
    box-shadow: 0 4px 15px rgba(15,23,42,0.03);
}
.dwu-search-input {
    flex: 1; border: none; padding: 12px 20px; font-size: 16px;
    font-family: 'Inter', sans-serif; outline: none; background: transparent; color: #0f172a;
}
.dwu-search-btn {
    background: #2563eb; color: #ffffff; border: none; padding: 12px 28px;
    border-radius: 8px; font-weight: 600; font-size: 16px; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: 0.2s;
}
.dwu-search-btn:hover { background: #1d4ed8; }

/* Hero Tags */
.dwu-hero-tags { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.tag-label { color: #94a3b8; font-size: 14px; font-family: 'Inter', sans-serif; }
.tag-link {
    color: #475569; font-size: 13px; text-decoration: none; background: #f8fafc;
    border: 1px solid #e2e8f0; padding: 6px 14px; border-radius: 20px;
    font-family: 'Inter', sans-serif; transition: 0.2s;
}
.tag-link:hover { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }


/* --- 2. APP-STYLE ICON GRID --- */
.dwu-category-app-section { padding: 20px 0 60px; }
.dwu-section-header { text-align: center; margin-bottom: 35px; }
.dwu-section-title {
    color: #0f172a; font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(24px, 4vw, 30px); font-weight: 800; margin: 0;
}

.dwu-icon-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px; width: 100%;
}
.dwu-icon-box {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px;
    padding: 20px 10px; text-align: center;
    transition: all 0.2s ease; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.dwu-icon-box:hover {
    border-color: #93c5fd; background: #f8fafc; transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15,23,42,0.04);
}
.dwu-box-icon { font-size: 32px; margin-bottom: 12px; transition: transform 0.2s ease; }
.dwu-icon-box:hover .dwu-box-icon { transform: scale(1.1); }
.dwu-box-text { color: #1e293b; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; line-height: 1.3; }


/* --- 3. LATEST JOBS SECTION --- */
.dwu-latest-jobs-section { padding: 60px 0; background: #f8fafc; }
.dwu-section-subtitle { color: #64748b; font-family: 'Inter', sans-serif; font-size: 16px; margin: 5px 0 0; text-align: center;}

/* Card Grid Layout */
.dwu-jobs-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }

.dwu-job-card {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px;
    overflow: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.dwu-job-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(15,23,42,0.06); border-color: #cbd5e1; }

.dwu-job-image { width: 100%; height: 180px; overflow: hidden; background: #f1f5f9; }
.dwu-job-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dwu-job-card:hover .dwu-job-image img { transform: scale(1.05); }

.dwu-job-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.dwu-job-cat {
    align-self: flex-start; background: #eff6ff; color: #2563eb;
    font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
    margin-bottom: 12px; text-transform: uppercase;
}
.dwu-job-title { margin: 0 0 10px; font-size: 17px; font-weight: 700; line-height: 1.4; font-family: 'Plus Jakarta Sans', sans-serif; }
.dwu-job-title a { color: #0f172a; transition: color 0.2s ease;}
.dwu-job-title a:hover { color: #2563eb; }
.dwu-job-meta { color: #64748b; font-size: 13px; margin-bottom: 15px; font-family: 'Inter', sans-serif; flex-grow: 1; }

/* 🚀 Improved View Details Animated Link */
.dwu-read-more {
    color: #2563eb; 
    font-weight: 600; 
    font-size: 14px; 
    border-top: 1px solid #f1f5f9; 
    padding-top: 15px; 
    margin-top: auto; 
    display: flex; 
    align-items: center;
    transition: color 0.3s ease;
}
.dwu-read-more .dwu-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}
.dwu-read-more:hover { color: #1d4ed8; }
.dwu-read-more:hover .dwu-arrow { transform: translateX(5px); } /* Slide arrow */

/* 🚀 Fixed View All Jobs Button */
.dwu-view-all-wrapper { text-align: center; margin-top: 40px; }
.dwu-btn-solid {
    background: #2563eb; 
    color: #ffffff !important; 
    padding: 16px 32px; 
    border-radius: 8px; 
    font-weight: 600; 
    font-family: 'Inter', sans-serif;
    display: inline-block; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37,99,235,0.2);
}
.dwu-btn-solid:hover {
    background: #1e40af; 
    color: #ffffff !important; 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(37,99,235,0.3);
}


/* --- 🚀 BULLETPROOF MEDIA QUERIES --- */

/* Mobile Phones (up to 600px) */
@media (max-width: 600px) {
    .dwu-search-form { flex-direction: column; padding: 12px; background: transparent; border: none; box-shadow: none; gap: 10px; }
    .dwu-search-input { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; }
    .dwu-search-btn { width: 100%; }
    .dwu-icon-grid { grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); } /* Adjusted for small mobiles */
}

/* Tablets (iPad, 768px and up) */
@media (min-width: 768px) {
    .dwu-jobs-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

/* Small Laptops (992px and up) */
@media (min-width: 992px) {
    .dwu-jobs-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .dwu-jobs-grid { grid-template-columns: repeat(4, 1fr); }
    .dwu-icon-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}